diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-14 14:15:06 +0000 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-14 14:15:06 +0000 |
commit | cefd374290b6d0ebfa22e0af8d289e51481f6f90 (patch) | |
tree | f9302202770988d9e7f7ff0f576bd430033bc72a /series/trunk/admin/main.php | |
parent | b20c87df8f9eed0c8e883efca9bf6e127f94b5ce (diff) | |
download | instadisc-cefd374290b6d0ebfa22e0af8d289e51481f6f90.tar.gz instadisc-cefd374290b6d0ebfa22e0af8d289e51481f6f90.tar.bz2 instadisc-cefd374290b6d0ebfa22e0af8d289e51481f6f90.zip |
Series: Reverted Update integration
Refs #55
Diffstat (limited to 'series/trunk/admin/main.php')
-rw-r--r-- | series/trunk/admin/main.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/series/trunk/admin/main.php b/series/trunk/admin/main.php index eb0e35b..f2d8e9e 100644 --- a/series/trunk/admin/main.php +++ b/series/trunk/admin/main.php | |||
@@ -20,6 +20,12 @@ if (!isset($_SESSION['username'])) | |||
20 | 20 | ||
21 | $template = new FITemplate('main'); | 21 | $template = new FITemplate('main'); |
22 | $template->add('SITENAME',instaDisc_getConfig('siteName')); | 22 | $template->add('SITENAME',instaDisc_getConfig('siteName')); |
23 | |||
24 | if (instaDisc_isAdmin($_SESSION['username']) | ||
25 | { | ||
26 | $template->adds_block('ADMIN', array('exi'=>1)); | ||
27 | } | ||
28 | |||
23 | $template->display(); | 29 | $template->display(); |
24 | 30 | ||
25 | ?> | 31 | ?> |