This repository has been archived on 2024-06-26. You can view files and clone it, but cannot push or open issues or pull requests.
sakura/templates/yuuno/elements/settingsNav.tpl
flashwave 7da4685d89 r20151212
Signed-off-by: Flashwave <me@flash.moe>
2015-12-12 18:57:34 +01:00

13 lines
454 B
Smarty

<div class="head">
Navigation
</div>
<div class="right-menu-nav">
{% for catname,category in pages %}
<div>{{ category.title }}</div>
{% for mname,mode in category.modes %}
{% if mode.access and mode.menu %}
<a href="{{ urls.format(templates == 'settings' ? 'SETTING_MODE' : 'MANAGE_MODE', [catname, mname]) }}">{{ mode.title }}</a>
{% endif %}
{% endfor %}
{% endfor %}
</div>