mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-17 19:23:27 +02:00
Fix links to some pages that has been renamed
This commit is contained in:
@@ -114,9 +114,10 @@ $template['link_account_logout'] = getLink('account/logout');
|
||||
|
||||
$template['link_news_archive'] = getLink('news/archive');
|
||||
|
||||
$links = array('news', 'changelog', 'rules', 'downloads', 'characters', 'online', 'highscores', 'powergamers', 'lastkills', 'houses', 'guilds', 'wars', 'polls', 'bans', 'team', 'creatures', 'spells', 'commands', 'experienceStages', 'freeHouses', 'serverInfo', 'experienceTable', 'faq', 'points', 'gifts', 'bugtracker', 'gallery');
|
||||
foreach($links as $link) {
|
||||
$template['link_' . $link] = getLink($link);
|
||||
$links = array('news', 'changelog', 'rules', 'downloads', 'characters', 'online', 'highscores', 'powergamers', 'lastkills' => 'last-kills', 'houses', 'guilds', 'wars', 'polls', 'bans', 'team', 'creatures', 'spells', 'commands', 'exp-stages', 'freeHouses', 'serverInfo', 'exp-table', 'faq', 'points', 'gifts', 'bugtracker', 'gallery');
|
||||
foreach($links as $key => $value) {
|
||||
$key = is_string($key) ? $key : $value;
|
||||
$template['link_' . $key] = getLink($value);
|
||||
}
|
||||
|
||||
$template['link_screenshots'] = getLink('gallery');
|
||||
|
Reference in New Issue
Block a user