* 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:
slawkens
2017-10-24 14:42:23 +02:00
parent 195ec4b11e
commit 6c9e09ea73
22 changed files with 497 additions and 604 deletions

View File

@@ -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()
{