mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
* fixed tibiacom menus extending on some pages
This commit is contained in:
parent
583f3394fc
commit
c05e7f29c5
@ -1,7 +1,5 @@
|
||||
<div id="PremiumBox" class="Themebox" style="background-image:url(<?php echo $template_path; ?>/images/themeboxes/premium/premiumbox.gif);">
|
||||
<a class="ThemeboxButton" href="<?php echo getLink('premium'); ?>" onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" style="background-image:url(<?php echo $template_path; ?>/images/global/buttons/sbutton.gif);">
|
||||
<div class="BigButtonOver" style="background-image:url(<?php echo $template_path; ?>/images/global/buttons/sbutton_over.gif);"></div>
|
||||
<div class="ButtonText" style="background-image:url(<?php echo $template_path; ?>/images/global/buttons/_sbutton_getpremium.gif);"></div>
|
||||
<a class="ThemeboxButton" href="<?php echo getLink('premium'); ?>" onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" style="background-image:url(<?php echo $template_path; ?>/images/global/buttons/sbutton.gif);"><div class="BigButtonOver" style="background-image:url(<?php echo $template_path; ?>/images/global/buttons/sbutton_over.gif);"></div><div class="ButtonText" style="background-image:url(<?php echo $template_path; ?>/images/global/buttons/_sbutton_getpremium.gif);"></div>
|
||||
</a>
|
||||
<div class="Bottom" style="background-image:url(<?php echo $template_path; ?>/images/general/box-bottom.gif);"></div>
|
||||
</div>
|
@ -24,6 +24,16 @@ if(isset($config['boxes']))
|
||||
}
|
||||
else {
|
||||
$tmp = str_replace('/', '', URI);
|
||||
$exp = explode('/', URI);
|
||||
if(isset($exp[1]) && URI != 'account/create' && URI != 'account/lost') {
|
||||
if ($exp[0] == 'account') {
|
||||
$tmp = 'accountmanage';
|
||||
} else if ($exp[0] == 'news' && $exp[1] == 'archive') {
|
||||
$tmp = 'newsarchive';
|
||||
}
|
||||
else
|
||||
$tmp = $exp[0];
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user