diff options
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 | ?> |