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

41 lines
3.9 KiB
Smarty
Raw Normal View History

2024-01-22 14:06:08 +01:00
[{block name="ordermanager_admin_requ_orderfield"}]
<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_orderfield_editor"}]
<label for="RequOrderFieldField">[{oxmultilang ident="D3_ORDERMANAGER_REQU_ORDERFIELDVALUE_FIELD"}]</label>
<input id="RequOrderFieldField" class="editinput" type="text" size="30" maxlength="100" name="value[sOrderField_FieldName]" value="[{$edit->getValue('sOrderField_FieldName')}]" [{$readonly}] [{$blActionRestriction}]>
[{oxinputhelp ident="D3_ORDERMANAGER_REQU_ORDERFIELDVALUE_FIELD_DESC"}]<br>
[{oxmultilang ident="D3_ORDERMANAGER_REQU_ORDERFIELDVALUE_VALUE"}] <br>
<input id="RequOrderFieldTypeContent" type="radio" style="margin-left: 30px;" name="value[sCheckOrderFieldType]" value="content" [{if $edit->getValue('sCheckOrderFieldType') == 'content' || $edit->getValue('sCheckOrderFieldType') == ''}]checked[{/if}] [{$readonly}] [{$blActionRestriction}]>
<label for="RequOrderFieldTypeContent">[{oxmultilang ident="D3_ORDERMANAGER_REQU_ORDERFIELDVALUETYPE_CONTENT"}]</label>
<label for="sOrderFieldValue" style="position: absolute; left: -2000px">[{oxmultilang ident="D3_ORDERMANAGER_REQU_ORDERFIELDVALUE"}]</label>
<input id="sOrderFieldValue" class="editinput" type="text" size="30" maxlength="100" name="value[sOrderField_FieldValue]" value="[{$edit->getValue('sOrderField_FieldValue')}]" [{$readonly}] [{$blActionRestriction}]>
[{oxinputhelp ident="D3_ORDERMANAGER_REQU_ARTICLECONTENT2_DESC"}]<br>
<input id="RequOrderFieldTypeEmpty" type="radio" style="margin-left: 30px;" name="value[sCheckOrderFieldType]" value="empty" [{if $edit->getValue('sCheckOrderFieldType') == 'empty'}]checked[{/if}] [{$readonly}] [{$blActionRestriction}]>
<label for="RequOrderFieldTypeEmpty">[{oxmultilang ident="D3_ORDERMANAGER_REQU_ORDERFIELDVALUETYPE_EMPTY"}]</label><br>
<input id="RequOrderFieldTypeNotEmpty" type="radio" style="margin-left: 30px;" name="value[sCheckOrderFieldType]" value="notempty" [{if $edit->getValue('sCheckOrderFieldType') == 'notempty'}]checked[{/if}] [{$readonly}] [{$blActionRestriction}]>
<label for="RequOrderFieldTypeNotEmpty">[{oxmultilang ident="D3_ORDERMANAGER_REQU_ORDERFIELDVALUETYPE_NOTEMPTY"}]</label>
[{/block}]
[{else}]
[{block name="ordermanager_admin_requ_orderfield_viewer"}]
[{oxmultilang ident="D3_ORDERMANAGER_REQU_ORDERFIELDVALUE_FIELD"}] [{$edit->getValue('sOrderField_FieldName')}]<br>
[{oxmultilang ident="D3_ORDERMANAGER_REQU_ORDERFIELDVALUE_VALUE"}] <br>
[{if $edit->getValue('sCheckOrderFieldType') == 'content' || $edit->getValue('sCheckOrderFieldType') == ''}]
[{oxmultilang ident="D3_ORDERMANAGER_REQU_ORDERFIELDVALUETYPE_CONTENT"}] [{$edit->getValue('sOrderField_FieldValue')}]
[{oxinputhelp ident="D3_ORDERMANAGER_REQU_ARTICLECONTENT2_DESC"}]<br>
[{/if}]
[{if $edit->getValue('sCheckOrderFieldType') == 'empty'}]
[{oxmultilang ident="D3_ORDERMANAGER_REQU_ORDERFIELDVALUETYPE_EMPTY"}]
[{/if}]
[{if $edit->getValue('sCheckOrderFieldType') == 'notempty'}]
[{oxmultilang ident="D3_ORDERMANAGER_REQU_ORDERFIELDVALUETYPE_NOTEMPTY"}]
[{/if}]
[{/block}]
[{/if}]
[{oxinputhelp ident="D3_ORDERMANAGER_REQU_ORDERFIELD_DESC"}]
</dd>
<div class="spacer"></div>
</dl>
[{/block}]