From 0314c21ae6c0eb9878650ad0e7aa4ad53be734b4 Mon Sep 17 00:00:00 2001 From: Andreas Gohr <gohr@cosmocode.de> Date: Mon, 23 Nov 2009 16:32:04 +0100 Subject: [PATCH] tpl_subscription fixes Ignore-this: 35c31736664920607a8a78769f560d82 darcs-hash:20091123153204-6e07b-e4637bd20c6e703885f3c3c5fd3de8ee37fc3693.gz --- inc/template.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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 '<h2>' . $lang['subscr_m_current_header'] . '</h2>'; echo '<div class="level2">'; if ($INFO['subscribed'] === false) { @@ -1378,7 +1372,7 @@ function tpl_subscribe() { if ($sub['target'] !== $ID) { $stgt = '<code class="ns">'.hsc(prettyprint_id($sub['target'])).'</code>'; } else { - $stgt = '<code class="ns">'.hsc(prettyprint_id($sub['target'])).'</code>'; + $stgt = '<code class="page">'.hsc(prettyprint_id($sub['target'])).'</code>'; } $sstl = $lang['subscr_style_'.$sub['style']]; if(!$sstl) $sstl = hsc($sub['style']); -- GitLab