mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 17:59:22 +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);">
|
<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);">
|
<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>
|
||||||
<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>
|
</a>
|
||||||
<div class="Bottom" style="background-image:url(<?php echo $template_path; ?>/images/general/box-bottom.gif);"></div>
|
<div class="Bottom" style="background-image:url(<?php echo $template_path; ?>/images/general/box-bottom.gif);"></div>
|
||||||
</div>
|
</div>
|
@ -24,6 +24,16 @@ if(isset($config['boxes']))
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$tmp = str_replace('/', '', URI);
|
$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 {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user