芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/fmd/views/usergroup-form-add.twig
{# /* * Spring Signage Ltd - http://www.springsignage.com * Copyright (C) 2015-16 Spring Signage Ltd * (usergroup-form-add.twig) */ #} {% extends "form-base.twig" %} {% import "forms.twig" as forms %} {% block formTitle %} {% trans "Add User Group" %} {% endblock %} {% block formButtons %} {% trans "Help" %}, XiboHelpRender("{{ help.add }}") {% trans "Cancel" %}, XiboDialogClose() {% trans "Save" %}, $("#userGroupAddForm").submit() {% endblock %} {% block callBack %}userGroupFormOpen{% endblock %} {% block formHtml %}
{% set title %}{% trans "Name" %}{% endset %} {% set helpText %}{% trans "The Name for this User Group" %}{% endset %} {{ forms.input("group", title, "", helpText, "", "required maxlength='50'") }} {% set title %}{% trans "Library Quota" %}{% endset %} {% set helpText %}{% trans "The quota that should be applied. Enter 0 for no quota." %}{% endset %}
{{ title }}
{{ helpText }}
KiB
MiB
GiB
{% if currentUser.userTypeId == 1 %} {% set title %}{% trans "Receive System Notifications?" %}{% endset %} {% set helpText %}{% trans "Should members of this Group receive system notifications?" %}{% endset %} {{ forms.checkbox("isSystemNotification", title, 0, helpText) }} {% set title %}{% trans "Receive Display Notifications?" %}{% endset %} {% set helpText %}{% trans "Should members of this Group receive Display notifications for Displays they have permission to see?" %}{% endset %} {{ forms.checkbox("isDisplayNotification", title, 0, helpText) }} {% endif %}
{% endblock %}