summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2009-01-05 18:08:17 -0500
committerStarla Insigna <hatkirby@fourisland.com>2009-01-05 18:08:17 -0500
commit3c430b5be7cd75f419fc45e32e8ace489d897bce (patch)
tree0a4b26da95b08b1db268ef16b9a16d388b47dd38
parent38f73720eaec5f49752589ac088b04b3fa734117 (diff)
downloadfourisland-3c430b5be7cd75f419fc45e32e8ace489d897bce.tar.gz
fourisland-3c430b5be7cd75f419fc45e32e8ace489d897bce.tar.bz2
fourisland-3c430b5be7cd75f419fc45e32e8ace489d897bce.zip
Added Admin link to navbar
-rwxr-xr-xincludes/header.php5
-rwxr-xr-xtheme/header.tpl7
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-->&amp;redirect=<!--REDIRPAGE-->&amp;sid=<!--SID-->">Log<!--LOGDATA--></A> 65 <A HREF="http://fourisland.com/fourm/ucp.php?mode=log<!--LOGDATA-->&amp;redirect=<!--REDIRPAGE-->&amp;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>