diff options
author | deva <deva> | 2010-02-28 10:54:45 +0000 |
---|---|---|
committer | deva <deva> | 2010-02-28 10:54:45 +0000 |
commit | 90ed713a8c23e77028a413e9c3a7e88b51575b7c (patch) | |
tree | 248e0d95d16c05f16e51981fd559c33cdff31882 /htdocs | |
parent | a87d1861c843289cbc925fd26447a00621819ec8 (diff) |
Changed how the admin modules is shown.
Diffstat (limited to 'htdocs')
-rw-r--r-- | htdocs/admin.css | 15 | ||||
-rw-r--r-- | htdocs/index.php | 16 |
2 files changed, 23 insertions, 8 deletions
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") { // --> </script> </head> -<body> +<body><?php +if($page == "admin") { + include($UTIL_DIR."/admin.php"); +} +?> <div style="display: none;"> <?php $_ps = $config->value('preload'); @@ -117,13 +121,9 @@ if(sizeof($menu)) { <div class="wrapper"> <div class="content"> <?php -if($page == "admin") { - include($UTIL_DIR."/admin.php"); -} else { - if($page) $_p = $pages->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(); ?> </div> <div class="column"> |