27 Zeilen
2.0 KiB
Twig
27 Zeilen
2.0 KiB
Twig
{% block usermanager_admin_requ_wishlistcount %}
|
|
<dl class="{{ blActionRestriction }}">
|
|
{% include "@d3usermanager/admin/inc/d3usermanager_activeswitch.html.twig" with {oActionRequ: oRequ, blActionRestriction: blActionRestriction, readonly: readonly} %}
|
|
<dd>
|
|
{% if oView.isEditMode() %}
|
|
{% block usermanager_admin_requ_wishlistcount_editor %}
|
|
<SELECT id="RequWishListCountType" class="editinput" name="value[sWishListCountType]" size="1" {{ blActionRestriction }} {{ readonly }}>
|
|
{% for type, translation in oRequ.getTypeList() %}
|
|
<option value="{{ type }}" {% if edit.getValue('sWishListCountType') == type %}selected{% endif %}>{{ translate({ ident: translation }) }}</option>
|
|
{% endfor %}
|
|
</SELECT>
|
|
<input id="RequWishListCountValue" style="text-align: right;" class="edittext ext_edittext" type="text" size="5" maxlength="4" name="value[sWishListCountValue]" value='{{ edit.getValue('sWishListCountValue') }}' {{ blActionRestriction }} {{ readonly }}>
|
|
<label for="RequWishListCountValue">{{ translate({ ident: "D3_USERMANAGER_REQU_WISHLISTCOUNT_VALUE" }) }}</label>
|
|
{% endblock %}
|
|
{% else %}
|
|
{% block usermanager_admin_requ_wishlistcount_viewer %}
|
|
{% for type, translation in oRequ.getTypeList() %}
|
|
{% if edit.getValue('sWishListCountType') == type %}{{ translate({ ident: translation }) }}{% endif %}
|
|
{% endfor %}
|
|
{{ edit.getValue('sWishListCountValue') }} {{ translate({ ident: "D3_USERMANAGER_REQU_WISHLISTCOUNT_VALUE" }) }}
|
|
{% endblock %}
|
|
{% endif %}
|
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_USERMANAGER_REQU_WISHLISTCOUNT_DESC"), 'sHelpText': help_text("D3_USERMANAGER_REQU_WISHLISTCOUNT_DESC")} %}
|
|
</dd>
|
|
<dd class="spacer"></dd>
|
|
</dl>
|
|
{% endblock %} |