summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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");