/** * ----------------------------------------------------------------------------- * @package smartVISU * @author Martin Gleiß * @copyright 2012 * @license GPL [http://www.gnu.de] * ----------------------------------------------------------------------------- */ /** * the smartVISU-logo */ {% macro smartvisu(mode) %} {% if mode == 'app' %}
smart
VISU
{% else %} smartVISU {% endif %} {% endmacro %} /** * Check for new updates of smartVISU */ {% macro updatecheck( ) %} {% endmacro %} /** * Widget to place an app-symbol * If you write an app yourself, place a @title, @icon, @color tag in your * header. These tags are used to display the symbol * * @param the name of the app (located in pages/apps) * @param title of the app */ {% macro app(name, title) %} {% set app = docu('apps/'~name~'.html') %}
{{ title|default(app.title|e) }}
{% endmacro %}