aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_display.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/includes/functions_display.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/includes/functions_display.php')
-rw-r--r--phpBB/includes/functions_display.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php
index 18db64cc68..7c1d007d55 100644
--- a/phpBB/includes/functions_display.php
+++ b/phpBB/includes/functions_display.php
@@ -1219,6 +1219,7 @@ function watch_topic_forum($mode, &$s_watching, $user_id, $forum_id, $topic_id,
{
$s_watching['link'] = append_sid("{$phpbb_root_path}view$mode.$phpEx", "$u_url=$match_id&amp;" . (($is_watching) ? 'unwatch' : 'watch') . "=$mode&amp;start=$start&amp;hash=" . generate_link_hash("{$mode}_$match_id"));
$s_watching['title'] = $user->lang[(($is_watching) ? 'STOP' : 'START') . '_WATCHING_' . strtoupper($mode)];
+ $s_watching['toggle'] = $user->lang[((!$is_watching) ? 'STOP' : 'START') . '_WATCHING_' . strtoupper($mode)];
$s_watching['is_watching'] = $is_watching;
}