mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
*Rework old code
This commit is contained in:
parent
6ff65050f5
commit
a897b5e98c
@ -79,12 +79,12 @@ $template['link_account_logout'] = internalLayoutLink(($config['friendly_urls']
|
||||
|
||||
$template['link_news_archive'] = internalLayoutLink('news' . ($config['friendly_urls'] ? '/' : '') . 'archive');
|
||||
|
||||
$links = array('news', 'changelog', 'rules', 'downloads', 'characters', 'online', 'highscores', 'powergamers', 'lastkills', 'houses', 'guilds', 'wars', 'polls', 'bans', 'team', 'creatures', 'spells', 'commands', 'experienceStages', 'freeHouses', 'screenshots', 'movies', 'serverInfo', 'experienceTable', 'faq', 'points', 'shopoffer', 'bugtracker');
|
||||
$links = array('news', 'changelog', 'rules', 'downloads', 'characters', 'online', 'highscores', 'powergamers', 'lastkills', 'houses', 'guilds', 'wars', 'polls', 'bans', 'team', 'creatures', 'spells', 'commands', 'experienceStages', 'freeHouses', 'screenshots', 'movies', 'serverInfo', 'experienceTable', 'faq', 'points', 'gifts', 'bugtracker');
|
||||
foreach($links as $link) {
|
||||
$template['link_' . $link] = internalLayoutLink($link);
|
||||
}
|
||||
|
||||
$template['link_gifts_history'] = internalLayoutLink('shopoffer', 'show_history_transactions');
|
||||
$template['link_gifts_history'] = internalLayoutLink('gifts', 'show_history');
|
||||
if($config['forum'] != '')
|
||||
{
|
||||
if(strtolower($config['forum']) == 'site')
|
||||
|
Loading…
x
Reference in New Issue
Block a user