芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/sommatv/views/inline.twig
{% macro disabled(name, title, value, helpText, groupClass) %}
{{ title }}
{{ value }}
{% endmacro %} {% macro hidden(name, value) %}
{% endmacro %} {% macro raw(text, groupClass) %}
{{ text }}
{% endmacro %} {% macro message(message, groupClass) %}
{{ message }}
{% endmacro %} {% macro button(title, type, link, groupClass) %}
{% if type == "link" %}
{{ title }}
{% else %}
{{ title }}
{% endif %}
{% endmacro %} {% macro input(name, title, value, helpText, groupClass, validation, accessKey) %}
{{ title }}
{% endmacro %} {% macro inputWithTags(name, title, value, helpText, groupClass, validation, accessKey) %}
{{ title }}
{% endmacro %} {% macro number(name, title, value, helpText, groupClass, validation, accessKey) %}
{{ title }}
{% endmacro %} {% macro email(name, title, value, helpText, groupClass, validation, accessKey) %}
{{ title }}
{% endmacro %} {% macro password(name, title, value, helpText, groupClass, validation, accessKey) %}
{{ title }}
{% endmacro %} {% macro checkbox(name, title, value, groupClass, accessKey) %}
{{ title }}
{% endmacro %} {% macro radio(name, id, title, value, helpText, groupClass, accessKey, setValue) %}
{{ title }}
{% endmacro %} {% macro dropdown(name, type, title, value, options, optionId, optionValue, helpText, groupClass, validation, accessKey, callBack, dataAttributes, optionGroups) %}
{{ title }}
0 %} {% for attribute in dataAttributes %} {{ attribute.name }}="{{ attribute.value }}" {% endfor %} {% endif %}> {% set hasGroups = optionGroups|length > 0 %} {% if not hasGroups %} {% set optionGroups = {label: "General"} %} {% endif %} {% for group in optionGroups %} {% if hasGroups %}
{% set options = attribute(options, group.label) %} {% endif %} {% for option in options %} {% set itemOptionId = attribute(option, optionId) %} {% set itemOptionValue = attribute(option, optionValue) %} {% if type == "dropdownmulti" %} {% set selected = (itemOptionId in value) %} {% else %} {% set selected = (itemOptionId == value) %} {% endif %}
{{ itemOptionValue }}
{% endfor %} {% if hasGroups %}
{% endif %} {% endfor %}
{% endmacro %} {% macro permissions(name, options) %}
{% trans "Group" %}
{% trans "View" %}
{% trans "Edit" %}
{% trans "Delete" %}
{% for item in options %}
{{ name }}
{% endfor %}
{% endmacro %} {% macro date(name, title, value, helpText, groupClass, validation, accessKey) %}
{{ title }}
{% set linkedName %}{{ name }}Link{% endset %}
{% endmacro %} {% macro dateMonth(name, title, value, helpText, groupClass, validation, accessKey) %}
{{ title }}
{% set linkedName %}{{ name }}Link{% endset %}
{% endmacro %} {% macro time(name, title, value, helpText, groupClass, validation, accessKey) %}
{{ title }}
{% set linkedName %}{{ name }}Link{% endset %}
{% endmacro %}