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

40 lines
3.0 KiB
Smarty
Raw Normal View History

2024-01-22 14:06:08 +01:00
[{block name="ordermanager_admin_requ_noarticlecontent"}]
<dl class="[{$blActionRestriction}]">
<dt>
<input type="hidden" name="value[blCheckNoOrderArticle[{$oRequ->getSlotId()}]_status]" value="0">
[{assign var="sStatusVarName" value="blCheckNoOrderArticle"|cat:$oRequ->getSlotId()|cat:"_status"}]
<input id="RequNoArticleContent[{$oRequ->getSlotId()}]" class="edittext ext_edittext" type="checkbox" name="value[blCheckNoOrderArticle[{$oRequ->getSlotId()}]_status]" value='1' [{if $edit->getValue($sStatusVarName) == 1}]checked[{/if}] [{$blActionRestriction}] [{$readonly}]>
<label for="RequNoArticleContent[{$oRequ->getSlotId()}]">[{oxmultilang ident="D3_ORDERMANAGER_REQU_NOARTICLECONTENT"}] ([{$oRequ->getSlotId()}])</label>
</dt>
<dd>
[{assign var="sRegExpVarName" value="sNoArticleContent"|cat:$oRequ->getSlotId()|cat:"RegExp"}]
[{assign var="sTypeVarName" value="sNoArticleContent"|cat:$oRequ->getSlotId()|cat:"Type"}]
[{if $oView->isEditMode()}]
[{block name="ordermanager_admin_requ_noarticlecontent_editor"}]
<label for="RequNoArticleContent[{$oRequ->getSlotId()}]Type">[{oxmultilang ident="D3_ORDERMANAGER_REQU_ARTICLECONTENT2"}]</label>
<SELECT id="RequNoArticleContent[{$oRequ->getSlotId()}]Type" class="editinput" name="value[sNoArticleContent[{$oRequ->getSlotId()}]Type]" size="1" [{$blActionRestriction}] [{$readonly}]>
[{foreach from=$oRequ->getTypeList() key="type" item="translation"}]
<option value="[{$type}]" [{if $edit->getValue($sTypeVarName) == $type}]selected[{/if}]>[{oxmultilang ident=$translation}]</option>
[{/foreach}]
</SELECT>:
<label for="sNoArticleContentRegExp" style="position: absolute; left: -2000px">[{oxmultilang ident="D3_ORDERMANAGER_REQU_NOARTICLECONTENT"}]</label>
<input id="sNoArticleContentRegExp" class="editinput" type="text" size="30" maxlength="100" name="value[sNoArticleContent[{$oRequ->getSlotId()}]RegExp]" value="[{$edit->getValue($sRegExpVarName)}]" [{$blActionRestriction}] [{$readonly}]>
[{/block}]
[{else}]
[{block name="ordermanager_admin_requ_noarticlecontent_viewer"}]
<label for="RequNoArticleContent[{$oRequ->getSlotId()}]Type">[{oxmultilang ident="D3_ORDERMANAGER_REQU_ARTICLECONTENT2"}]</label>
[{foreach from=$oRequ->getTypeList() key="type" item="translation"}]
[{if $edit->getValue($sTypeVarName) == $type}]
[{oxmultilang ident=$translation}]
[{/if}]
[{/foreach}]
: [{$edit->getValue($sRegExpVarName)}]
[{/block}]
[{/if}]
[{oxinputhelp ident="D3_ORDERMANAGER_REQU_ARTICLECONTENT2_DESC"}]
</dd>
<div class="spacer"></div>
</dl>
[{/block}]