27 regels
1.7 KiB
Twig
27 regels
1.7 KiB
Twig
{% block usermanager_admin_action_setactiveflag %}
|
|
<dl class="{{ blActionRestriction }}">
|
|
{% include "@d3usermanager/admin/inc/d3usermanager_activeswitch.html.twig" with {oActionRequ: oAction, blActionRestriction: blActionRestriction, readonly: readonly} %}
|
|
<dd>
|
|
{% if oView.isEditMode() %}
|
|
{% block usermanager_admin_action_setactiveflag_editor %}
|
|
<label for="ActionCustActivateType" style="position: absolute; left: -2000px">{{ translate({ ident: "D3_USERMANAGER_ACTION_SETACTIVEFLAG" }) }}</label>
|
|
<SELECT id="ActionCustActivateType" class="editinput" name="value[sActionCustActivateType]" size="1" {{ blActionRestriction }} {{ readonly }}>
|
|
{% for type, translation in oAction.getTypeList() %}
|
|
<option value="{{ type }}" {% if edit.getValue('sActionCustActivateType') == type %}selected{% endif %}>{{ translate({ ident: translation }) }}</option>
|
|
{% endfor %}
|
|
</SELECT>
|
|
{% endblock %}
|
|
{% else %}
|
|
{% block usermanager_admin_action_addtogroup_viewer %}
|
|
{% for type, translation in oAction.getTypeList() %}
|
|
{% if edit.getValue('sActionCustActivateType') == type %}
|
|
{{ translate({ ident: translation }) }}
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endblock %}
|
|
{% endif %}
|
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_USERMANAGER_ACTION_CUSTACTIVATE_DESC"), 'sHelpText': help_text("D3_USERMANAGER_ACTION_CUSTACTIVATE_DESC")} %}
|
|
</dd>
|
|
<div class="spacer"></div>
|
|
</dl>
|
|
{% endblock %} |