diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-14 15:49:20 +0000 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-14 15:49:20 +0000 |
commit | abb2d3c67ddc132c4cc7ea435e13731527c32634 (patch) | |
tree | 65aa76b08708397dd79cee29f4bc09826825a1bb /series/trunk/subscription.php | |
parent | 7bb63b11cd21e97ddece876d46d9e06e81b95a55 (diff) | |
download | instadisc-abb2d3c67ddc132c4cc7ea435e13731527c32634.tar.gz instadisc-abb2d3c67ddc132c4cc7ea435e13731527c32634.tar.bz2 instadisc-abb2d3c67ddc132c4cc7ea435e13731527c32634.zip |
Series: Worked on ACP
Refs #53
Diffstat (limited to 'series/trunk/subscription.php')
-rw-r--r-- | series/trunk/subscription.php | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/series/trunk/subscription.php b/series/trunk/subscription.php index 81c3870..4db5736 100644 --- a/series/trunk/subscription.php +++ b/series/trunk/subscription.php | |||
@@ -18,16 +18,19 @@ if (!instaDisc_subscriptionExists($_GET['id'])) | |||
18 | 18 | ||
19 | $sub = instaDisc_getSubscription($_GET['id']); | 19 | $sub = instaDisc_getSubscription($_GET['id']); |
20 | 20 | ||
21 | echo('Subscription: ' . $sub['url'] . "\n"); | 21 | $template = new FITemplate('subscription'); |
22 | echo('Title: ' . $sub['title'] . "\n"); | 22 | $template->add('SUBSCRIPTION', $sub['url']); |
23 | echo('Category: ' . $sub['category'] . "\n"); | 23 | $template->add('TITLE', $sub['title']); |
24 | $template->add('CATEGORY', $sub['category']); | ||
24 | 25 | ||
25 | if ($sub['password'] != '') | 26 | if ($sub['password'] != '') |
26 | { | 27 | { |
27 | echo("Password: On\n"); | 28 | $template->add('PASSWORD', "Password: On\n"); |
28 | } | 29 | } |
29 | 30 | ||
30 | echo('Series-Control-URL: http://' . $_SERVER['SERVER_NAME'] . str_replace(basename($_SERVER['PHP_SELF']), 'xmlrpc.php', $_SERVER['PHP_SELF']) . "\n"); | 31 | $template->add('SERIESURL', 'http://' . $_SERVER['SERVER_NAME'] . str_replace(basename($_SERVER['PHP_SELF']), 'xmlrpc.php', $_SERVER['PHP_SELF'])); |
31 | echo('Subscription-ID: ' . $_GET['id'] . "\n"); | 32 | $template->add('SUBID', $_GET['id']); |
33 | |||
34 | $template->display(); | ||
32 | 35 | ||
33 | ?> | 36 | ?> |