mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 09:19:22 +02:00
Reformatting code
This commit is contained in:
parent
d9526d4021
commit
9c7794fe13
@ -28,7 +28,7 @@ defined('MYAAC') or die('Direct access not allowed!');
|
||||
}
|
||||
?>
|
||||
var category = '<?php
|
||||
if(strpos(URI, 'subtopic=') !== false) {
|
||||
if(isset($_REQUEST['subtopic'])) {
|
||||
$tmp = array($_REQUEST['subtopic']);
|
||||
}
|
||||
else {
|
||||
@ -51,6 +51,9 @@ defined('MYAAC') or die('Direct access not allowed!');
|
||||
echo 'account';
|
||||
elseif(in_array($tmp[0], get_template_pages(MENU_CATEGORY_SHOP)))
|
||||
echo 'shops';
|
||||
else {
|
||||
echo 'news';
|
||||
}
|
||||
?>';
|
||||
</script>
|
||||
<?php echo template_place_holder('head_end'); ?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user