mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-13 17:24:54 +02:00
* updated polish locale (translation) on install
* fixed hidding shop system menu on tibiacom template when disabled in config * some changes to sample characters: chanced town_id to 1, posx: 1000, posy: 1000, posz: 1000 and default group_id to 1 so you can change in-game outfits and they will be used * fixed account.login redirect not working on tibiacom template * installation: warn about wrong admin account name/id and password * (internal) removed some duplicated code on install finish * (internal) renamed installation step files to be in correct order * added TODO file * bumped version to 0.7.3
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
<form action="{{ getLink('account/manage') }}" method="post" style="margin: 0px; padding: 0px;">
|
||||
{% if redirect is not null %}
|
||||
<input type="hidden" name="redirect" value="{{ redirect }}" />
|
||||
{% endif %}
|
||||
<div class="TableContainer" >
|
||||
<table class="Table4" cellpadding="0" cellspacing="0" >
|
||||
<div class="CaptionContainer" >
|
||||
|
@@ -21,6 +21,9 @@ if(isset($config['boxes']))
|
||||
if(PAGE != 'news') {
|
||||
if(strpos(URI, 'subtopic=') !== false) {
|
||||
$tmp = $_REQUEST['subtopic'];
|
||||
if($tmp == 'accountmanagement') {
|
||||
$tmp = 'accountmanage';
|
||||
}
|
||||
}
|
||||
else {
|
||||
$tmp = str_replace('/', '', URI);
|
||||
@@ -316,7 +319,7 @@ if(isset($config['boxes']))
|
||||
$menus = get_template_menus();
|
||||
|
||||
foreach($config['menu_categories'] as $id => $cat) {
|
||||
if(!isset($menus[$id])) {
|
||||
if(!isset($menus[$id]) || ($id == MENU_CATEGORY_SHOP && !$config['gifts_system'])) {
|
||||
continue;
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user