From 2af943d7526703db4d5d2fb9dbd2f00600d8f1bb Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Tue, 3 Aug 2010 19:34:33 -0700 Subject: [PATCH] cleanup sysmsg --- index.php | 6 ++---- view/style.css | 4 ++++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/index.php b/index.php index a2d05d5b7..a30c69d37 100644 --- a/index.php +++ b/index.php @@ -36,9 +36,7 @@ if(strlen($a->module)) { $a->module_loaded = true; } else { - // TODO - // search builtin function module table, else - // return 403, 404, etc. Right now unresolved pages return blank. + notice( t('Page not found' ) . EOL); } } @@ -85,7 +83,7 @@ if($a->module_loaded) { // report anything important happening if(x($_SESSION,'sysmsg')) { - $a->page['content'] = "
{$_SESSION['sysmsg']}
\r\n" + $a->page['content'] = "
{$_SESSION['sysmsg']}
\r\n" . $a->page['content']; unset($_SESSION['sysmsg']); } diff --git a/view/style.css b/view/style.css index 5c5a58cd5..ba5e55e6f 100644 --- a/view/style.css +++ b/view/style.css @@ -12,6 +12,10 @@ img { border: none; } +#sysmsg { + width: 600px; +} + body { background: #FEFEFE; color: #444444;