summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordeva <deva>2009-04-28 18:59:36 +0000
committerdeva <deva>2009-04-28 18:59:36 +0000
commit8ad91c8b87f58fe7d3cac44ae317caf98e82aa63 (patch)
treeb367b7ed157060626a26bcca9a0727f4d3485373
parent94378f9408309fe74daaa424e4eabdfc1fe68621 (diff)
Added close button to admin.
-rw-r--r--htdocs/admin.css4
-rw-r--r--utils/admin.php5
2 files changed, 6 insertions, 3 deletions
diff --git a/htdocs/admin.css b/htdocs/admin.css
index fe11c56..41ecde7 100644
--- a/htdocs/admin.css
+++ b/htdocs/admin.css
@@ -17,6 +17,10 @@
text-align: right;
}
+.admin .close {
+ text-align: right;
+}
+
.admin .menu {
background-image: none;
border-bottom: solid blue 1px;
diff --git a/utils/admin.php b/utils/admin.php
index 8efbb56..03f56bc 100644
--- a/utils/admin.php
+++ b/utils/admin.php
@@ -9,9 +9,8 @@ if($loggedin == true) {
else $UID = $HTTP_COOKIE_VARS["UserID"];
$user = $users->findUser($UID);
?>
-<div class="logout">
-<a href="?page=admin&amp;action=logout">Logout <em><?php echo $UID;?></em></a>
-</div>
+<div class="close"><a href="?page=">[X]</a></div>
+<div class="logout"><a href="?page=admin&amp;action=logout">Logout <em><?php echo $UID;?></em></a></div>
<div class="menu">
<?php
include_once($UTIL_DIR . "/modules.php");