diff options
Diffstat (limited to 'series/core/trunk/index.php')
-rw-r--r-- | series/core/trunk/index.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/series/core/trunk/index.php b/series/core/trunk/index.php index 7d3916c..9d8cb05 100644 --- a/series/core/trunk/index.php +++ b/series/core/trunk/index.php | |||
@@ -5,13 +5,14 @@ | |||
5 | include('includes/instadisc.php'); | 5 | include('includes/instadisc.php'); |
6 | 6 | ||
7 | $template = new FITemplate('index'); | 7 | $template = new FITemplate('index'); |
8 | $template->add('SITENAME', instaDisc_getConfig('siteName')); | ||
8 | 9 | ||
9 | $subs = instaDisc_getAllSubscriptions(); | 10 | $subs = instaDisc_getAllSubscriptions(); |
10 | foreach ($subs as $name => $value) | 11 | foreach ($subs as $name => $value) |
11 | { | 12 | { |
12 | if ($value['personal'] == 'false') | 13 | if ($value['personal'] == 'false') |
13 | { | 14 | { |
14 | $template->adds_block('SUBSCRIPTION', array( 'IDENTITY' => $name, | 15 | $template->adds_block('SUBSCRIPTIONS', array( 'IDENTITY' => $value['identity'], |
15 | 'TITLE' => $value['title'], | 16 | 'TITLE' => $value['title'], |
16 | 'CATEGORY' => $value['category'])); | 17 | 'CATEGORY' => $value['category'])); |
17 | } | 18 | } |