mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 22:03:49 -07:00
Forums' map fix
Небольшой фикс.
This commit is contained in:
parent
5470d8a289
commit
49393a2458
1 changed files with 1 additions and 2 deletions
|
@ -280,7 +280,7 @@ foreach ($cat_forums as $cid => $c)
|
||||||
|
|
||||||
$template->assign_vars(array(
|
$template->assign_vars(array(
|
||||||
'SHOW_FORUMS' => $forums_count,
|
'SHOW_FORUMS' => $forums_count,
|
||||||
'SHOW_MAP' => isset($_GET['map']) ? true : false,
|
'SHOW_MAP' => isset($_GET['map']),
|
||||||
'PAGE_TITLE' => ($viewcat) ? $cat_title_html[$viewcat] : $lang['HOME'],
|
'PAGE_TITLE' => ($viewcat) ? $cat_title_html[$viewcat] : $lang['HOME'],
|
||||||
'NO_FORUMS_MSG' => ($only_new) ? $lang['NO_NEW_POSTS'] : $lang['NO_FORUMS'],
|
'NO_FORUMS_MSG' => ($only_new) ? $lang['NO_NEW_POSTS'] : $lang['NO_FORUMS'],
|
||||||
|
|
||||||
|
@ -428,7 +428,6 @@ if (IS_AM)
|
||||||
// Display page
|
// Display page
|
||||||
define('SHOW_ONLINE', $show_online_users);
|
define('SHOW_ONLINE', $show_online_users);
|
||||||
|
|
||||||
|
|
||||||
if (isset($_GET['map'])) $template->assign_vars(array('PAGE_TITLE' => $lang['FORUM_MAP']));
|
if (isset($_GET['map'])) $template->assign_vars(array('PAGE_TITLE' => $lang['FORUM_MAP']));
|
||||||
|
|
||||||
print_page('index.tpl');
|
print_page('index.tpl');
|
Loading…
Add table
Add a link
Reference in a new issue