芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/avenida/views/module-form-delete.twig
{# /* * Spring Signage Ltd - http://www.springsignage.com * Copyright (C) 2015 Spring Signage Ltd * (${FILE_NAME}) */ #} {% extends "form-base.twig" %} {% import "forms.twig" as forms %} {% block formTitle %} {% trans "Delete Widget" %} {% endblock %} {% block formButtons %} {% trans "Help" %}, XiboHelpRender("{{ help }}") {% trans "Cancel" %}, XiboDialogClose() {% trans "Yes" %}, $("#widgetDeleteForm").submit() {% endblock %} {% block formHtml %}
{% set message %}{% trans "Are you sure you want to remove this widget?" %}{% endset %} {{ forms.message(message) }} {% set message %}{% trans "This action cannot be undone." %}{% endset %} {{ forms.message(message) }} {% if module.getModule().regionSpecific == 0 and module.widget.mediaIds|length > 0 %} {% if module.getMedia().isUsed(1) %} {% set message %}{% trans "This widget is linked to Media in the Library which is also in use elsewhere. If this should be deleted then please do so from the Library page." %}{% endset %} {{ forms.message(message) }} {% else %} {% set title %}{% trans "Also delete from the Library?" %}{% endset %} {% set helpText %}{% trans "This widget is linked to Media in the Library. Check this option to also delete that Media." %}{% endset %} {{ forms.checkbox("deleteMedia", title, 0, helpText) }} {% endif %} {% endif %}
{% endblock %}