芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/fmd/views/user-form-change-password.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 "Change Password" %} {% endblock %} {% block formButtons %} {% trans "Help" %}, XiboHelpRender("{{ help.changePassword }}") {% trans "Cancel" %}, XiboDialogClose() {% trans "Save" %}, $("#userChangePasswordForm").submit() {% endblock %} {% block formHtml %}
{% set title %}{% trans "User Name" %}{% endset %} {{ forms.disabled("userName", title, currentUser.userName) }} {% set title %}{% trans "Password" %}{% endset %} {% set helpText %}{% trans "Please enter your current password" %}{% endset %} {{ forms.password("password", title, "", helpText, "", "required") }} {% set title %}{% trans "New Password" %}{% endset %} {% set helpText %}{% trans "Please enter your new password" %}{% endset %} {{ forms.password("newPassword", title, "", helpText, "", "required") }} {% set title %}{% trans "Retype New Password" %}{% endset %} {% set helpText %}{% trans "Please repeat the new Password." %}{% endset %} {{ forms.password("retypeNewPassword", title, "", helptext, "", "required") }}
{% endblock %}