From 0314c21ae6c0eb9878650ad0e7aa4ad53be734b4 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Mon, 23 Nov 2009 16:32:04 +0100 Subject: tpl_subscription fixes Ignore-this: 35c31736664920607a8a78769f560d82 darcs-hash:20091123153204-6e07b-e4637bd20c6e703885f3c3c5fd3de8ee37fc3693.gz --- inc/template.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'inc') diff --git a/inc/template.php b/inc/template.php index 3aff96a46..6b0314b84 100644 --- a/inc/template.php +++ b/inc/template.php @@ -1358,14 +1358,8 @@ function tpl_subscribe() { global $INFO; global $ID; global $lang; - $targets = array($ID => 'the current page', - 'namespace' => 'the namespace ā€œ%sā€'); - $styles = array('every' => 'a notice on every change', - 'digest' => 'a digest for each changed page*', - 'list' => 'a list of changed pages*'); echo p_locale_xhtml('subscr_form'); - echo '

' . $lang['subscr_m_current_header'] . '

'; echo '
'; if ($INFO['subscribed'] === false) { @@ -1378,7 +1372,7 @@ function tpl_subscribe() { if ($sub['target'] !== $ID) { $stgt = ''.hsc(prettyprint_id($sub['target'])).''; } else { - $stgt = ''.hsc(prettyprint_id($sub['target'])).''; + $stgt = ''.hsc(prettyprint_id($sub['target'])).''; } $sstl = $lang['subscr_style_'.$sub['style']]; if(!$sstl) $sstl = hsc($sub['style']); -- cgit v1.2.3