diff --git a/includes/theme.inc b/includes/theme.inc
index e8b69c1d6e671b26423c9e2b0b3a7fe53584081f..6aae3d6e66ff5a515630acf25e76590c2ffa44ea 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -27,6 +27,11 @@ function menu($name, $module) {
     $content .= "<LI><A HREF=\"account.php?op=edit&topic=user\">edit your information</A></LI>\n";
     $content .= "<LI><A HREF=\"account.php?op=edit&topic=site\">edit your preferences</A></LI>\n";
     $content .= "<LI><A HREF=\"account.php?op=edit&topic=content\">edit site content</A></LI>\n";
+		if (($user->id) && ($user->permissions == 1 || $user->id == 1)) {
+      $content .= "<P>\n";
+      $content .= "<LI><A HREF=\"admin.php\">administrate " . $site_name . "</A></LI>\n";
+		}
+		$content .= "
     $content .= "<P>\n";
     if (ksort($menu)) {
       foreach ($menu as $link=>$url) $content .= "<LI><A HREF=\"$url\">$link</A></LI>\n";