mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 01:34:55 +02:00
* moved template menus to database, they're now dynamically loaded
* you can edit them in Admin Panel under 'Menus' option. * you can also add custom links, like http://google.pl * removed videos pages, as it can be easily added using custom Menus and Pages with insert Media * removed bug_report configurable, its now enabled by default
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
var list = new Array();
|
||||
list[0] = 'news';
|
||||
list[1] = 'account';
|
||||
list[2] = 'community';
|
||||
list[3] = 'library';
|
||||
{% if config.gifts_system %}
|
||||
list[4] = 'shops';
|
||||
{% endif %}
|
||||
{% set i = 0 %}
|
||||
{% for cat in categories %}
|
||||
{% if cat.id != 'shops' or config.gifts_system %}
|
||||
list[{{ i }}] = '{{ cat.id }}';
|
||||
{% endif %}
|
||||
{% set i = i + 1 %}
|
||||
{% endfor %}
|
||||
|
||||
function initMenu()
|
||||
{
|
||||
|
Reference in New Issue
Block a user