1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-09-08 23:31:04 +02:00

[ticket/10811] Make it easier for MODs/Extensions to define the alt-text

PHPBB3-10811
This commit is contained in:
Joas Schilling
2012-05-16 13:44:40 +02:00
parent 53a47fdcc3
commit fc3a19567f
5 changed files with 14 additions and 9 deletions

View File

@@ -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) ? '' : "&start=$start")),
'S_DISPLAY_SEARCHBOX' => ($auth->acl_get('u_search') && $auth->acl_get('f_search', $forum_id) && $config['load_search']) ? true : false,