Improved large file size error message.

This commit is contained in:
Paul Merrill 2010-11-04 04:30:23 -07:00
parent 2eddc7a4ee
commit 455f0c2602
4 changed files with 25 additions and 6 deletions

View file

@ -15,7 +15,7 @@
}
function error($message) {
die(Element('page.html', Array('index' => ROOT, 'title'=>'Error', 'subtitle'=>'An error has occured.', 'body'=>"<h1>$message</h1><p style=\"text-align:center;\"><a href=\"" . ROOT . FILE_INDEX . "\">Go back</a>.</p>")));
die(Element('page.html', Array('index' => ROOT, 'title'=>'Error', 'subtitle'=>'An error has occured.', 'body'=>"<center><h2>$message</h2></center><p style=\"text-align:center;\"><a href=\"" . ROOT . FILE_INDEX . "\">Go back</a>.</p>")));
}
class Post {