Ordermanager/views/smarty/admin/Requirements/d3ordermanager_requ_datenotset.tpl

28 lines
1.6 KiB
Smarty
Raw Normal View History

2024-01-22 14:06:08 +01:00
[{block name="ordermanager_admin_requ_datenotset"}]
<dl class="[{$blActionRestriction}]">
[{include file="@d3ordermanager/admin/inc/d3ordermanager_activeswitch.tpl" oActionRequ=$oRequ blActionRestriction=$blActionRestriction readonly=$readonly}]
<dd>
[{if $oView->isEditMode()}]
[{block name="ordermanager_admin_requ_datenotset_editor"}]
<label for="RequNotSetDateType" style="position: absolute; left: -2000px">[{oxmultilang ident="D3_ORDERMANAGER_REQU_NOTSETDATE"}]</label>
<SELECT id="RequNotSetDateType" class="editinput" name="value[sNotSetDateType]" size="1" [{$blActionRestriction}] [{$readonly}]>
[{foreach from=$oRequ->getTypeList() key="type" item="translation"}]
<option value="[{$type}]" [{if $edit->getValue('sNotSetDateType') == $type}]selected[{/if}]>[{oxmultilang ident=$translation}]</option>
[{/foreach}]
</SELECT>
[{/block}]
[{else}]
[{block name="ordermanager_admin_requ_datenotset_viewer"}]
[{foreach from=$oRequ->getTypeList() key="type" item="translation"}]
[{if $edit->getValue('sNotSetDateType') == $type}]
[{oxmultilang ident=$translation}]
[{/if}]
[{/foreach}]
[{/block}]
[{/if}]
[{oxinputhelp ident="D3_ORDERMANAGER_REQU_NOTSETDATE_DESC"}]
</dd>
<div class="spacer"></div>
</dl>
[{/block}]