| Zeile 1... |
Zeile 1... |
| 1 |
{if $smarty.session.username=="admin" || (is_array($typeField["@"])&&$typeField["@"]["customeredit"]==1) || $site == "weban.de"}
|
1 |
{if $smarty.session.uname=="admin" || (is_array($typeField["@"])&&$typeField["@"]["customeredit"]==1) || $site == "weban.de"}
|
| 2 |
{if is_array($typeField) && isset($typeField["@"].type)}
|
2 |
{if is_array($typeField) && isset($typeField["@"].type)}
|
| 3 |
{assign var="type" value=$typeField["@"].type}
|
3 |
{assign var="type" value=$typeField["@"].type}
|
| 4 |
{if $type=="bool"}
|
4 |
{if $type=="bool"}
|
| 5 |
<input type="hidden" value="0" name="{$htmlName}[#]" id="hidden-{$htmlId}" {$disabled}>
|
5 |
<input type="hidden" value="0" name="{$htmlName}[#]" id="hidden-{$htmlId}" {$disabled}>
|
| 6 |
<input type="checkbox" value="1" {if $wert==1} checked="checked"{/if} name="{$htmlName}[#]" id="{$htmlId}" {$disabled}>
|
6 |
<input type="checkbox" value="1" {if $wert==1} checked="checked"{/if} name="{$htmlName}[#]" id="{$htmlId}" {$disabled}>
|
| Zeile 37... |
Zeile 37... |
| 37 |
{else}
|
37 |
{else}
|
| 38 |
<input type="hidden" value="{$wert}" name="{$htmlName}[#]" id="hidden-{$htmlId}" {$disabled}>
|
38 |
<input type="hidden" value="{$wert}" name="{$htmlName}[#]" id="hidden-{$htmlId}" {$disabled}>
|
| 39 |
{$wert}
|
39 |
{$wert}
|
| 40 |
{/if}
|
40 |
{/if}
|
| 41 |
<br />
|
41 |
<br />
|
| 42 |
{if $smarty.session.username=="admin" || $site == "weban.de"}
|
42 |
{if $smarty.session.uname=="admin" || $site == "weban.de"}
|
| 43 |
{if is_array($typeField) && $isTemplate}
|
43 |
{if is_array($typeField) && $isTemplate}
|
| 44 |
<div style="float:left;margin-right:15px;">
|
44 |
<div style="float:left;margin-right:15px;">
|
| 45 |
<input type="hidden" name="{$attribField|default:$htmlName}[@][customeredit]" id="hidden-{$htmlId}_customeredit" value="0" />
|
45 |
<input type="hidden" name="{$attribField|default:$htmlName}[@][customeredit]" id="hidden-{$htmlId}_customeredit" value="0" />
|
| 46 |
<input type="checkbox" value="1" {if $typeField["@"]["customeredit"]==1} checked="checked"{/if} name="{$attribField|default:$htmlName}[@][customeredit]" id="attrib_{$htmlId}_customeredit" {$disabled}>
|
46 |
<input type="checkbox" value="1" {if $typeField["@"]["customeredit"]==1} checked="checked"{/if} name="{$attribField|default:$htmlName}[@][customeredit]" id="attrib_{$htmlId}_customeredit" {$disabled}>
|
| 47 |
<label for="attrib_{$htmlId}_customeredit">durch Kunden editierbar?</label>
|
47 |
<label for="attrib_{$htmlId}_customeredit">durch Kunden editierbar?</label>
|