From 90ed713a8c23e77028a413e9c3a7e88b51575b7c Mon Sep 17 00:00:00 2001 From: deva Date: Sun, 28 Feb 2010 10:54:45 +0000 Subject: Changed how the admin modules is shown. --- htdocs/admin.css | 15 +++++++++++++++ htdocs/index.php | 16 ++++++++-------- 2 files changed, 23 insertions(+), 8 deletions(-) (limited to 'htdocs') diff --git a/htdocs/admin.css b/htdocs/admin.css index 40be6e5..8078d1e 100644 --- a/htdocs/admin.css +++ b/htdocs/admin.css @@ -1,6 +1,8 @@ /*** Admin ***/ .admin { + z-index: 666; + position: absolute; top: 0%; left: 0%; @@ -23,6 +25,15 @@ border-radius: 6px; } +.admin .windowtitle { + text-shadow: #222 1px 1px 2px; + + filter:alpha(opacity=70); + -moz-opacity:0.70; + -khtml-opacity: 0.70; + opacity: 0.70; +} + .admin .header { display: inline-block; text-align: center; @@ -37,7 +48,11 @@ } .admin .logout { + padding-top: 3px; + padding-right: 6px; float: right; + font-size: 0.9em; + font-style: italic; } .admin .close { diff --git a/htdocs/index.php b/htdocs/index.php index aea0dfe..1a9e5af 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -88,7 +88,11 @@ if($config->value('splash') == "true") { // --> - +
value('preload'); @@ -117,13 +121,9 @@ if(sizeof($menu)) {
getPage($page); - else $_p = $pages->getPage($config->value('default')); - if($_p) $_p->show(); -} +if($page && $page != "admin") $_p = $pages->getPage($page); +else $_p = $pages->getPage($config->value('default')); +if($_p) $_p->show(); ?>
-- cgit v1.2.3