summaryrefslogtreecommitdiff
path: root/inc/display.php
diff options
context:
space:
mode:
authorPaul Merrill <napalminc@gmail.com>2010-11-04 04:30:23 -0700
committerPaul Merrill <napalminc@gmail.com>2010-11-04 04:30:23 -0700
commit455f0c2602350f229e6f58d624790c3d7448a68b (patch)
tree9dcc84e33f757846e37ae896c829e433bed2d4d7 /inc/display.php
parent2eddc7a4ee2a48ca6197c4dba2f8f563a81354aa (diff)
Improved large file size error message.
Diffstat (limited to 'inc/display.php')
-rw-r--r--inc/display.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/display.php b/inc/display.php
index b988e3bc..92f6eca8 100644
--- a/inc/display.php
+++ b/inc/display.php
@@ -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 {