| 1 |
lars |
1 |
<h1>Optionen auf alle Artikel in diesem Ordner kopieren</h1>
|
|
|
2 |
{if $error}
|
|
|
3 |
<div class="error">{$meld}</div>
|
|
|
4 |
{else}
|
|
|
5 |
<form method="post">
|
|
|
6 |
<table width="100%">
|
|
|
7 |
<tr class="links">
|
|
|
8 |
<td>Option</td>
|
|
|
9 |
<td>Werte</td>
|
|
|
10 |
</tr>
|
|
|
11 |
{foreach from=$features key=f_ind item=feature}
|
|
|
12 |
<tr class="{cycle values='rechts,links'}">
|
|
|
13 |
<td valign="top">
|
|
|
14 |
<input type="hidden" name="Option[{$feature.ID}]" value="0">
|
|
|
15 |
<input type="checkbox" name="Option[{$feature.ID}]" value="1" {if $artikel.features[$feature.ID].Feature == $feature.ID}checked="checked"{/if} id="Option_{$feature.ID}" class="option">{$feature.Name}
|
|
|
16 |
</td>
|
|
|
17 |
<td id="Option_{$feature.ID}_Values" {if $artikel.features[$feature.ID].Feature == $feature.ID}style="display:;"{else}style="display:none;"{/if}>
|
|
|
18 |
{section loop=$feature.options name=fo_ind}
|
|
|
19 |
<input type="checkbox" name="Value[{$feature.ID}][]" value="{$feature.options[fo_ind].bit_input}" {if $artikel.features[$feature.ID].values[fo_ind] == $feature.options[fo_ind].bit_input && $artikel.features[$feature.ID].Feature == $feature.ID}checked="checked"{/if}>{$feature.options[fo_ind].Value}<br>
|
|
|
20 |
{/section}
|
|
|
21 |
</td>
|
|
|
22 |
</tr>
|
|
|
23 |
{/foreach}
|
|
|
24 |
<tr>
|
|
|
25 |
<td colspan="2">
|
|
|
26 |
<center>
|
|
|
27 |
<input type="submit" value="Optionen kopieren">
|
|
|
28 |
</center>
|
|
|
29 |
</td>
|
|
|
30 |
</tr>
|
|
|
31 |
</table>
|
|
|
32 |
<input type="hidden" name="dir" value="{$dir}">
|
|
|
33 |
<input type="hidden" name="mode" value="save">
|
|
|
34 |
</form>
|
|
|
35 |
{/if}
|