diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-07 13:14:00 +0000 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-07 13:14:00 +0000 |
commit | e37f9866bf28a011cc2e884c7a5e2ea6e8508fc0 (patch) | |
tree | 53e9b2b303d78b5f856646fac6d3883f735f875d /series/core/trunk/index.php | |
parent | 0c61e34109d7c69b1093463ece88e5545c6f1c16 (diff) | |
download | instadisc-e37f9866bf28a011cc2e884c7a5e2ea6e8508fc0.tar.gz instadisc-e37f9866bf28a011cc2e884c7a5e2ea6e8508fc0.tar.bz2 instadisc-e37f9866bf28a011cc2e884c7a5e2ea6e8508fc0.zip |
Series: Fixed up index.php
Refs #53
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 | } |