summaryrefslogtreecommitdiff
path: root/inc/template.php
diff options
context:
space:
mode:
authorAndreas Gohr <gohr@cosmocode.de>2009-11-23 16:32:04 +0100
committerAdrian Lang <lang@cosmocode.de>2010-01-20 10:53:22 +0100
commit0314c21ae6c0eb9878650ad0e7aa4ad53be734b4 (patch)
treeff04f00c30f24bee6bfc79895730efe7ab133ba8 /inc/template.php
parent15741132b4a2b6f006441f4c11e021062c168af8 (diff)
downloadrpg-0314c21ae6c0eb9878650ad0e7aa4ad53be734b4.tar.gz
rpg-0314c21ae6c0eb9878650ad0e7aa4ad53be734b4.tar.bz2
tpl_subscription fixes
Ignore-this: 35c31736664920607a8a78769f560d82 darcs-hash:20091123153204-6e07b-e4637bd20c6e703885f3c3c5fd3de8ee37fc3693.gz
Diffstat (limited to 'inc/template.php')
-rw-r--r--inc/template.php8
1 files changed, 1 insertions, 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']);