diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-08-03 19:34:33 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-08-03 19:34:33 -0700 |
commit | 2af943d7526703db4d5d2fb9dbd2f00600d8f1bb (patch) | |
tree | d319e29650997812d9144f124e3787935dd6f45d | |
parent | b38f875732b0dd3424716a5f37061558df4a64bc (diff) | |
download | volse-hubzilla-2af943d7526703db4d5d2fb9dbd2f00600d8f1bb.tar.gz volse-hubzilla-2af943d7526703db4d5d2fb9dbd2f00600d8f1bb.tar.bz2 volse-hubzilla-2af943d7526703db4d5d2fb9dbd2f00600d8f1bb.zip |
cleanup sysmsg
-rw-r--r-- | index.php | 6 | ||||
-rw-r--r-- | view/style.css | 4 |
2 files changed, 6 insertions, 4 deletions
@@ -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'] = "<div class=\"error-message\">{$_SESSION['sysmsg']}</div>\r\n" + $a->page['content'] = "<div id=\"sysmsg\" class=\"error-message\">{$_SESSION['sysmsg']}</div>\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; |