about summary refs log tree commit diff stats
path: root/series/trunk/subscription.php
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2008-09-14 15:49:20 +0000
committerKelly Rauchenberger <fefferburbia@gmail.com>2008-09-14 15:49:20 +0000
commitabb2d3c67ddc132c4cc7ea435e13731527c32634 (patch)
tree65aa76b08708397dd79cee29f4bc09826825a1bb /series/trunk/subscription.php
parent7bb63b11cd21e97ddece876d46d9e06e81b95a55 (diff)
downloadinstadisc-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.php15
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
21echo('Subscription: ' . $sub['url'] . "\n"); 21$template = new FITemplate('subscription');
22echo('Title: ' . $sub['title'] . "\n"); 22$template->add('SUBSCRIPTION', $sub['url']);
23echo('Category: ' . $sub['category'] . "\n"); 23$template->add('TITLE', $sub['title']);
24$template->add('CATEGORY', $sub['category']);
24 25
25if ($sub['password'] != '') 26if ($sub['password'] != '')
26{ 27{
27 echo("Password: On\n"); 28 $template->add('PASSWORD', "Password: On\n");
28} 29}
29 30
30echo('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']));
31echo('Subscription-ID: ' . $_GET['id'] . "\n"); 32$template->add('SUBID', $_GET['id']);
33
34$template->display();
32 35
33?> 36?>