diff options
-rwxr-xr-x | includes/header.php | 5 | ||||
-rwxr-xr-x | theme/header.tpl | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/includes/header.php b/includes/header.php index 4460d0a..8b9810a 100755 --- a/includes/header.php +++ b/includes/header.php | |||
@@ -50,6 +50,11 @@ if (($pageCategory != 'fourm') && ($pageCategory != 'wiki')) | |||
50 | $headerTemp->add('LOGDATA',echoLogData()); | 50 | $headerTemp->add('LOGDATA',echoLogData()); |
51 | $headerTemp->add('SID',getSessionID()); | 51 | $headerTemp->add('SID',getSessionID()); |
52 | $headerTemp->adds_block('MEMBERS',array('exi' => 1)); | 52 | $headerTemp->adds_block('MEMBERS',array('exi' => 1)); |
53 | |||
54 | if (isAdmin()) | ||
55 | { | ||
56 | $headerTemp->adds_block('ADMIN',array('exi' => 1)); | ||
57 | } | ||
53 | } | 58 | } |
54 | 59 | ||
55 | $headerTemp->display(); | 60 | $headerTemp->display(); |
diff --git a/theme/header.tpl b/theme/header.tpl index 8e43e31..b8e2681 100755 --- a/theme/header.tpl +++ b/theme/header.tpl | |||
@@ -65,6 +65,13 @@ | |||
65 | <A HREF="http://fourisland.com/fourm/ucp.php?mode=log<!--LOGDATA-->&redirect=<!--REDIRPAGE-->&sid=<!--SID-->">Log<!--LOGDATA--></A> | 65 | <A HREF="http://fourisland.com/fourm/ucp.php?mode=log<!--LOGDATA-->&redirect=<!--REDIRPAGE-->&sid=<!--SID-->">Log<!--LOGDATA--></A> |
66 | </LI> | 66 | </LI> |
67 | <!--END MEMBERS--> | 67 | <!--END MEMBERS--> |
68 | |||
69 | <!--BEGIN ADMIN--> | ||
70 | <LI<!--PANELACTIVE-->> | ||
71 | <IMG SRC="/theme/images/icons/rainbow.png" ALT="Admin"> | ||
72 | <A HREF="http://fourisland.com/admin/">Admin</A> | ||
73 | </LI> | ||
74 | <!--END ADMIN--> | ||
68 | </UL> | 75 | </UL> |
69 | </DIV> | 76 | </DIV> |
70 | </DIV> | 77 | </DIV> |