{# Strich-Icons im Stil von lumina-ascendens.de (includes/functions.php, icon()) #} {% macro icon(name) %} {%- set paths = { "home": '', "settings": '', "welcome": '', "smile": '', "shield": '', "flag": '', "ticket": '', "users": '', "chart": '', "clipboard": '', "mail": '', "mic": '', "key": '', "list": '', "log-out": '', } -%} {%- endmacro %} {# Ein/Aus-Schalter (wie bei MEE6) #} {% macro switch(id, checked) %} {% endmacro %} {# Auswahlliste fuer Textkanaele, gruppiert nach Kategorie #} {% macro channel_select(name, channels, selected, types=("text", "news"), empty="– keiner –") %} {% set cats = channels | selectattr("type", "equalto", "category") | list %} {% endmacro %}