mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 05:43:55 -07:00
Guest map fix
Фиксим вывод карты форума для гостей.
This commit is contained in:
parent
49393a2458
commit
506597ef09
1 changed files with 1 additions and 1 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']),
|
'SHOW_MAP' => (isset($_GET['map']) && !IS_GUEST),
|
||||||
'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'],
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue