aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewforum.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2012-05-16 13:44:40 +0200
committerJoas Schilling <nickvergessen@gmx.de>2012-05-16 13:44:40 +0200
commitfc3a19567f1852389dfa78472cca4b1d01387bfa (patch)
tree19dc8c3e9d655166ff5c98daf4b72fdda6bf3790 /phpBB/viewforum.php
parent53a47fdcc323a5d7dc3696215cc47285a0c99042 (diff)
downloadforums-fc3a19567f1852389dfa78472cca4b1d01387bfa.tar
forums-fc3a19567f1852389dfa78472cca4b1d01387bfa.tar.gz
forums-fc3a19567f1852389dfa78472cca4b1d01387bfa.tar.bz2
forums-fc3a19567f1852389dfa78472cca4b1d01387bfa.tar.xz
forums-fc3a19567f1852389dfa78472cca4b1d01387bfa.zip
[ticket/10811] Make it easier for MODs/Extensions to define the alt-text
PHPBB3-10811
Diffstat (limited to 'phpBB/viewforum.php')
-rw-r--r--phpBB/viewforum.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php
index 2d91581cf4..5b79471fb3 100644
--- a/phpBB/viewforum.php
+++ b/phpBB/viewforum.php
@@ -205,6 +205,7 @@ if (!$config['use_system_cron'])
$s_watching_forum = array(
'link' => '',
'title' => '',
+ 'toggle' => '',
'is_watching' => false,
);
@@ -320,6 +321,7 @@ $template->assign_vars(array(
'S_TOPIC_ICONS' => ($s_display_active && sizeof($active_forum_ary)) ? max($active_forum_ary['enable_icons']) : (($forum_data['enable_icons']) ? true : false),
'S_WATCH_FORUM_LINK' => $s_watching_forum['link'],
'S_WATCH_FORUM_TITLE' => $s_watching_forum['title'],
+ 'S_WATCH_FORUM_TOGGLE' => $s_watching_forum['toggle'],
'S_WATCHING_FORUM' => $s_watching_forum['is_watching'],
'S_FORUM_ACTION' => append_sid("{$phpbb_root_path}viewforum.$phpEx", "f=$forum_id" . (($start == 0) ? '' : "&amp;start=$start")),
'S_DISPLAY_SEARCHBOX' => ($auth->acl_get('u_search') && $auth->acl_get('f_search', $forum_id) && $config['load_search']) ? true : false,