Subversion-Projekte lars-tiefland.webanos.marine-sales.de

Revision

Revision 97 | Revision 99 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 97 Revision 98
Zeile 1... Zeile 1...
1
<!-- $Id: manufacturer.tpl 97 2023-07-14 19:53:00Z lars $ BEGIN -->
1
<!-- $Id: manufacturer.tpl 98 2023-07-14 21:36:55Z lars $ BEGIN -->
2
<script>
2
<script>
3
    $(function () {
3
    $(function () {
4
        $('#alle').button().click(function() {
4
        $('#alle').button().click(function() {
5
            $('.gesperrte_hersteller').prop("checked",true);
5
            $('.gesperrte_hersteller').prop("checked",true);
6
        })
6
        })
Zeile 12... Zeile 12...
12
                $(this).prop("checked",!$(this).prop("checked"));
12
                $(this).prop("checked",!$(this).prop("checked"));
13
            });
13
            });
14
        })
14
        })
15
    })
15
    })
16
</script>
16
</script>
17
<table width="100%" border="1" cellspacing="0" cellpadding="3" bordercolorlight="#FFFFFF" bordercolordark="#999999">
-
 
18
    <tr>
17
<form id="manufacturerForm">
19
        <td colspan="2" class="links">Hersteller: {if $zeile.ID}Bearbeiten{else}Neueintrag{/if}</td>
18
    <input type="hidden" name="_method" value="PATCH">
20
    </tr>
-
 
21
    {$Feld="headline"}
19
    <input type="hidden" name="_token" value="{csrf_token()}">
22
    {if ( isset( $user_rechte[ "online_shop" ][ "hersteller" ][ $Feld ] ) )}
20
    <table width="100%" border="1" cellspacing="0" cellpadding="3" bordercolorlight="#FFFFFF" bordercolordark="#999999">
23
        <tr>
21
        <tr>
24
            <td class="links" width="20%">
-
 
25
                <b>{$web_rechte[ "online_shop" ][ "hersteller" ][ $Feld ]|default:"$Feld"}</b>
22
            <td colspan="2" class="links">Hersteller: {if $zeile.id}Bearbeiten{else}Neueintrag{/if}</td>
26
            </td>
-
 
27
            <td class="rechts">
-
 
28
                <input type="text" name="{$Feld}" size="40" value="{{$zeile[$Feld]|htmlentities:$smarty.const.ENT_COMPAT:$smarty.session["charset"]}}" maxlength="255"/>
-
 
29
            </td>
-
 
30
        </tr>
-
 
31
    {/if}
-
 
32
    {$Feld="Name"}
-
 
33
    {if ( isset( $user_rechte[ "online_shop" ][ "hersteller" ][ $Feld ] ) )}
-
 
34
        <tr>
-
 
35
            <td class="links" width="20%">
-
 
36
                <b>{$web_rechte[ "online_shop" ][ "hersteller" ][ $Feld ]|default:"$Feld"}</b>
-
 
37
            </td>
-
 
38
            <td class="rechts">
-
 
39
                <input type="text" name="name" size="40" value="{$zeile["name"]|htmlentities:$smarty.const.ENT_COMPAT:$smarty.session["charset"]}" maxlength="255"/>
-
 
40
            </td>
-
 
41
        </tr>
-
 
42
    {/if}
-
 
43
    {$Feld="Bezeichnung"}
-
 
44
    {if ( isset( $user_rechte[ "online_shop" ][ "hersteller" ][ $Feld ] ) )}
-
 
45
        <tr>
-
 
46
            <td class="links" width="20%">
-
 
47
                <b>{$web_rechte[ "online_shop" ][ "hersteller" ][ $Feld ]|default:"$Feld"}</b>
-
 
48
            </td>
-
 
49
            <td class="rechts">
-
 
50
                <input type="text" name="description" size="40" value="{$zeile["description"]|htmlentities:$smarty.const.ENT_COMPAT:$smarty.session["charset"]}" maxlength="255"/>
-
 
51
            </td>
-
 
52
        </tr>
-
 
53
    {/if}
-
 
54
    {if $sub}
-
 
55
        <tr>
-
 
56
            <td class="links" width="20%"><b>Aliase</b></td>
-
 
57
            <td class="rechts">
-
 
58
                <a id="add_hs">Herstelleralias anlegen</a>
-
 
59
                <br/>
-
 
60
                <div id="show_hersteller_alias">
-
 
61
                    {include file="herstelleraliase.tpl"}
-
 
62
                </div>
-
 
63
            </td>
-
 
64
        </tr>
23
        </tr>
-
 
24
        {$Feld="headline"}
-
 
25
        {if ( isset( $user_rechte[ "online_shop" ][ "hersteller" ][ $Feld ] ) )}
-
 
26
            <tr>
-
 
27
                <td class="links" width="20%">
-
 
28
                    <b>{$web_rechte[ "online_shop" ][ "hersteller" ][ $Feld ]|default:"$Feld"}</b>
-
 
29
                </td>
-
 
30
                <td class="rechts">
-
 
31
                    <input type="text" name="{$Feld}" size="40" value="{{$zeile[$Feld]|htmlentities:$smarty.const.ENT_COMPAT:$smarty.session["charset"]}}" maxlength="255"/>
-
 
32
                </td>
-
 
33
            </tr>
-
 
34
        {/if}
-
 
35
        {$Feld="Name"}
-
 
36
        {if ( isset( $user_rechte[ "online_shop" ][ "hersteller" ][ $Feld ] ) )}
-
 
37
            <tr>
-
 
38
                <td class="links" width="20%">
-
 
39
                    <b>{$web_rechte[ "online_shop" ][ "hersteller" ][ $Feld ]|default:"$Feld"}</b>
-
 
40
                </td>
-
 
41
                <td class="rechts">
-
 
42
                    <input type="text" name="name" size="40" value="{$zeile["name"]|htmlentities:$smarty.const.ENT_COMPAT:$smarty.session["charset"]}" maxlength="255"/>
-
 
43
                </td>
-
 
44
            </tr>
-
 
45
        {/if}
-
 
46
        {$Feld="Bezeichnung"}
-
 
47
        {if ( isset( $user_rechte[ "online_shop" ][ "hersteller" ][ $Feld ] ) )}
-
 
48
            <tr>
-
 
49
                <td class="links" width="20%">
-
 
50
                    <b>{$web_rechte[ "online_shop" ][ "hersteller" ][ $Feld ]|default:"$Feld"}</b>
-
 
51
                </td>
-
 
52
                <td class="rechts">
-
 
53
                    <input type="text" name="description" size="40" value="{$zeile["description"]|htmlentities:$smarty.const.ENT_COMPAT:$smarty.session["charset"]}" maxlength="255"/>
-
 
54
                </td>
-
 
55
            </tr>
-
 
56
        {/if}
-
 
57
        {if $sub}
-
 
58
            <tr>
-
 
59
                <td class="links" width="20%"><b>Aliase</b></td>
-
 
60
                <td class="rechts">
-
 
61
                    <a id="add_hs">Herstelleralias anlegen</a>
-
 
62
                    <br/>
-
 
63
                    <div id="show_hersteller_alias">
-
 
64
                        {include file="herstelleraliase.tpl"}
-
 
65
                    </div>
-
 
66
                </td>
-
 
67
            </tr>
Zeile 65... Zeile -...
65
 
-
 
66
    {/if}
-
 
67
    {$Feld = "Text"}
-
 
68
    {if ( isset( $user_rechte[ "online_shop" ][ "hersteller" ][ $Feld ] ) )}
-
 
69
        <tr>
-
 
70
            <td class="links" width="20%">
-
 
71
                <b><label for="{$Feld}">{$web_rechte[ "online_shop" ][ "hersteller" ][ $Feld ]|default:"$Feld"}</label></b>
-
 
72
            </td>
-
 
73
            <td class="rechts">
-
 
74
                <textarea name="{$Feld}" id="{$Feld}" cols="50" rows="4">{$zeile[$Feld]}</textarea>
-
 
75
            </td>
68
 
76
        </tr>
-
 
77
    {/if}
-
 
78
    {$Feld = "Text2"}
-
 
79
    {if ( isset( $user_rechte[ "online_shop" ][ "hersteller" ][ $Feld ] ) )}
-
 
80
        <tr>
-
 
81
            <td class="links" width="20%">
-
 
82
                <b><label for="{$Feld}">{$web_rechte[ "online_shop" ][ "hersteller" ][ $Feld ]|default:"$Feld"}</label></b>
-
 
83
            </td>
-
 
84
            <td class="rechts">
-
 
85
                <textarea name="{$Feld}" id="{$Feld}" cols="50" rows="4">{$zeile[$Feld]}</textarea>
-
 
86
            </td>
-
 
87
        </tr>
-
 
88
    {/if}
69
        {/if}
89
    {$Feld = "Text3"}
-
 
90
    {if ( isset( $user_rechte[ "online_shop" ][ "hersteller" ][ $Feld ] ) )}
-
 
91
        <tr>
-
 
92
            <td class="links" width="20%">
-
 
93
                <b><label for="{$Feld}">{$web_rechte[ "online_shop" ][ "hersteller" ][ $Feld ]|default:"$Feld"}</label></b>
-
 
94
            </td>
-
 
95
            <td class="rechts">
-
 
96
                <textarea name="{$Feld}" id="{$Feld}" cols="50" rows="4">{$zeile[$Feld]}</textarea>
-
 
97
            </td>
-
 
98
        </tr>
-
 
99
    {/if}
-
 
100
    {for $bild_nr = 1; $bild_nr <= 2; $bild_nr++}
-
 
101
        {$Feld="Logo$bild_nr"}
70
        {$Feld = "Text"}
102
        {if ( isset( $user_rechte[ "online_shop" ][ "hersteller" ][ $Feld ] ) )}
71
        {if ( isset( $user_rechte[ "online_shop" ][ "hersteller" ][ $Feld ] ) )}
103
            <tr>
72
            <tr>
104
                <td class="links" width="20%">
73
                <td class="links" width="20%">
105
                    {$name=$web_rechte[ "online_shop" ][ "hersteller" ][ $Feld ]}
-
 
106
                    {$name=";"|explode:$name}
-
 
107
                    {$name=$name[0]}
-
 
108
                    <b><label for="{$Feld}">{$name|default:"$Feld"}</label></b>
74
                    <b><label for="{$Feld}">{$web_rechte[ "online_shop" ][ "hersteller" ][ $Feld ]|default:"$Feld"}</label></b>
109
                </td>
75
                </td>
110
                <td class="rechts">
76
                <td class="rechts">
111
                    <table>
77
                    <textarea name="{$Feld}" id="{$Feld}" cols="50" rows="4">{$zeile[$Feld]}</textarea>
112
                        <tr>
78
                </td>
113
                            <td>
-
 
114
                                {$pfadExtra="/images/manufacturer/$bild_nr/"}
-
 
115
                                <input type="hidden" name="{$Feld}_Pfad" value="{$webs.verzeichnis}{$pfadExtra}">
-
 
116
                                {if $zeile[$Feld]}
-
 
117
                                    <input type="radio" name="_{$Feld}" value="0" id="{$Feld}_0" checked="checked">
-
 
118
                                    <label for="{$Feld}_0"><a href="{$domain}{$pfadExtra}/{$zeile[$Feld]}" target="_blank">{$zeile[$Feld]}</a>
-
 
119
                                        {$zeile.size[$bild_nr]|fsize_format:"":2:",":"."}
-
 
120
                                        ({$zeile.imgsize[$bild_nr][0]} x {$zeile.imgsize[$bild_nr][1]} Pixel)</label>
79
            </tr>
121
                                    <br>
80
        {/if}
122
                                {/if}
-
 
123
                                <input type="radio" name="_{$Feld}" value="1" {if !$zeile[$Feld]}checked="checked"{/if} id="{$Feld}_1"><label for="{$Feld}_1">kein Bild</label><br>
81
        {$Feld = "Text2"}
124
                                <input type="radio" name="_{$Feld}" value="2" id="{$Feld}_2"><input type="file" name="{$Feld}" onfocus="$('#{$Feld}_2').prop('checked',true)">
82
        {if ( isset( $user_rechte[ "online_shop" ][ "hersteller" ][ $Feld ] ) )}
125
                            </td>
83
            <tr>
126
                            <td width="45%" nowrap align="center">
-
 
127
                                {if ( $zeile[ $Feld ] != "" )}
84
                <td class="links" width="20%">
128
                                    <a href="{$domain}{$pfadExtra}{$zeile[ $Feld ]}" target="_blank"><img src="{$domain}{$pfadExtra}{$zeile[ $Feld ]}" border="0"/></a>
-
 
129
                                {/if}
85
                    <b><label for="{$Feld}">{$web_rechte[ "online_shop" ][ "hersteller" ][ $Feld ]|default:"$Feld"}</label></b>
130
                            </td>
86
                </td>
131
                        </tr>
87
                <td class="rechts">
132
                    </table>
88
                    <textarea name="{$Feld}" id="{$Feld}" cols="50" rows="4">{$zeile[$Feld]}</textarea>
133
                </td>
89
                </td>
-
 
90
            </tr>
134
            </tr>
91
        {/if}
-
 
92
        {$Feld = "Text3"}
-
 
93
        {if ( isset( $user_rechte[ "online_shop" ][ "hersteller" ][ $Feld ] ) )}
-
 
94
            <tr>
-
 
95
                <td class="links" width="20%">
-
 
96
                    <b><label for="{$Feld}">{$web_rechte[ "online_shop" ][ "hersteller" ][ $Feld ]|default:"$Feld"}</label></b>
-
 
97
                </td>
-
 
98
                <td class="rechts">
-
 
99
                    <textarea name="{$Feld}" id="{$Feld}" cols="50" rows="4">{$zeile[$Feld]}</textarea>
-
 
100
                </td>
-
 
101
            </tr>
-
 
102
        {/if}
135
            {$extra="_href"}
103
        {for $bild_nr = 1; $bild_nr <= 2; $bild_nr++}
136
            {$Feld2="$Feld$extra"}
104
            {$Feld="Logo$bild_nr"}
137
            {if ( isset( $user_rechte[ "online_shop" ][ "hersteller" ][ $Feld2 ] ) )}
105
            {if ( isset( $user_rechte[ "online_shop" ][ "hersteller" ][ $Feld ] ) )}
-
 
106
                <tr>
138
                <tr>
107
                    <td class="links" width="20%">
-
 
108
                        {$name=$web_rechte[ "online_shop" ][ "hersteller" ][ $Feld ]}
-
 
109
                        {$name=";"|explode:$name}
-
 
110
                        {$name=$name[0]}
-
 
111
                        <b><label for="{$Feld}">{$name|default:"$Feld"}</label></b>
139
                    <td class="links" width="20%"><b><label for="{$Feld2}">{$web_rechte[ "online_shop" ][ "hersteller" ][ $Feld2 ]|default:"$Feld-Link"}</label> </b></td>
112
                    </td>
-
 
113
                    <td class="rechts">
-
 
114
                        <table>
-
 
115
                            <tr>
-
 
116
                                <td>
-
 
117
                                    {$pfadExtra="/images/manufacturer/$bild_nr/"}
-
 
118
                                    <input type="hidden" name="{$Feld}_Pfad" value="{$webs.verzeichnis}{$pfadExtra}">
140
                    <td class="rechts">
119
                                    {if $zeile[$Feld]}
-
 
120
                                        <input type="radio" name="_{$Feld}" value="0" id="{$Feld}_0" checked="checked">
-
 
121
                                        <label for="{$Feld}_0"><a href="{$domain}{$pfadExtra}/{$zeile[$Feld]}" target="_blank">{$zeile[$Feld]}</a>
-
 
122
                                            {$zeile.size[$bild_nr]|fsize_format:"":2:",":"."}
-
 
123
                                            ({$zeile.imgsize[$bild_nr][0]} x {$zeile.imgsize[$bild_nr][1]} Pixel)</label>
-
 
124
                                        <br>
-
 
125
                                    {/if}
-
 
126
                                    <input type="radio" name="_{$Feld}" value="1" {if !$zeile[$Feld]}checked="checked"{/if} id="{$Feld}_1"><label for="{$Feld}_1">kein Bild</label><br>
-
 
127
                                    <input type="radio" name="_{$Feld}" value="2" id="{$Feld}_2"><input type="file" name="{$Feld}" onfocus="$('#{$Feld}_2').prop('checked',true)">
-
 
128
                                </td>
-
 
129
                                <td width="45%" nowrap align="center">
-
 
130
                                    {if ( $zeile[ $Feld ] != "" )}
-
 
131
                                        <a href="{$domain}{$pfadExtra}{$zeile[ $Feld ]}" target="_blank"><img src="{$domain}{$pfadExtra}{$zeile[ $Feld ]}" border="0"/></a>
-
 
132
                                    {/if}
-
 
133
                                </td>
-
 
134
                            </tr>
141
                        <input type="text" name="{$Feld2}" id="{$Feld2}" size="40" value="{$zeile[ $Feld2 ]}" maxlength="255"/>
135
                        </table>
142
                    </td>
136
                    </td>
-
 
137
                </tr>
-
 
138
                {$extra="_href"}
-
 
139
                {$Feld2="$Feld$extra"}
-
 
140
                {if ( isset( $user_rechte[ "online_shop" ][ "hersteller" ][ $Feld2 ] ) )}
-
 
141
                    <tr>
-
 
142
                        <td class="links" width="20%"><b><label for="{$Feld2}">{$web_rechte[ "online_shop" ][ "hersteller" ][ $Feld2 ]|default:"$Feld-Link"}</label> </b></td>
-
 
143
                        <td class="rechts">
-
 
144
                            <input type="text" name="{$Feld2}" id="{$Feld2}" size="40" value="{$zeile[ $Feld2 ]}" maxlength="255"/>
-
 
145
                        </td>
-
 
146
                    </tr>
143
                </tr>
147
                {/if}
144
            {/if}
148
            {/if}
145
        {/if}
-
 
146
    {/for}
149
        {/for}
147
    {for $i=1;$i<=10;$i++}
150
        {for $i=1;$i<=10;$i++}
148
        {$Feld="Eigenschaft_$i"}
151
            {$Feld="Eigenschaft_$i"}
-
 
152
            {if isset($web_rechte[ "online_shop" ][ "hersteller" ][strtolower($Feld)])}
-
 
153
                <tr>
-
 
154
                    <td class="links" width="20%">
-
 
155
                        <b><label for="{$Feld}">{$web_rechte[ "online_shop" ][ "hersteller" ][ strtolower($Feld) ]|default:"$Feld"}</label></b>
-
 
156
                    </td>
-
 
157
                    <td class="rechts">
-
 
158
                        <input type="hidden" name="property_{$i}" value="0"/>
-
 
159
                        <input type="checkbox" name="property_{$i}" id="{$Feld}" value="1" {if ( $zeile[ "property_$i" ] == 1 )}checked="checked"{/if}/>
-
 
160
                    </td>
-
 
161
                </tr>
-
 
162
            {/if}
-
 
163
        {/for}
-
 
164
        {*assign var=Feld value="meta_daten"}
-
 
165
        {if ( isset( $user_rechte["online_shop"]['directory'][$Feld] ) )}
149
        {if isset($web_rechte[ "online_shop" ][ "hersteller" ][strtolower($Feld)])}
166
            {include file="google_seo.tpl"}
-
 
167
            <tr>
150
            <tr>
168
                <td class="links" valign="top"><b>Meta-Robots:</b></td>
151
                <td class="links" width="20%">
169
                <td class="rechts">
152
                    <b><label for="{$Feld}">{$web_rechte[ "online_shop" ][ "hersteller" ][ strtolower($Feld) ]|default:"$Feld"}</label></b>
170
                    {html_options name="meta_robots" options=$meta_robots selected=$zeile.meta.meta_robots.meta_content}
-
 
171
                </td>
-
 
172
            </tr>
-
 
173
        {/if*}
-
 
174
        {assign var=Feld value="abwKalkulation"}
-
 
175
        {if ( isset( $user_rechte["online_shop"]["hersteller"][$Feld] ) )}
-
 
176
            <tr>
153
                </td>
177
                <td class="links"><b>abweichende Preiskalkulation</b></td>
154
                <td class="rechts">
178
                <td class="rechts">
155
                    <input type="hidden" name="property_{$i}" value="0"/>
179
                    <input type="hidden" name="calculation" value="0"/>
-
 
180
                    <input type="checkbox" name="calculation" value="1" {if ( $zeile[ "calculation" ] == 1 )}checked="checked"{/if} />
-
 
181
                    {*if $zeile.calculation}
-
 
182
                        {include file="../toolbox/templates/common/edit_preiskalkulation.tpl"}
-
 
183
                    {/if*}
-
 
184
                </td>
-
 
185
            </tr>
-
 
186
        {/if}
-
 
187
        {if isset($zeile.hstatus)}
-
 
188
            <tr>
-
 
189
                <td class="links" width="20%"><b>Status:</b></td>
-
 
190
                <td class="rechts">
-
 
191
                    <input type="hidden" name="hstatus" value="0"/>
-
 
192
                    <select name="hstatus">
-
 
193
                        <option value="0" {if ( $zeile['hstatus'] == 0 )}selected='selected'{/if}>freigegeben</option>
-
 
194
                        <option value="1" {if ( $zeile['hstatus'] == 1 )}selected='selected'{/if}>verborgen</option>
-
 
195
                        <option value="2" {if ( $zeile['hstatus'] == 2 )}selected='selected'{/if}>gesperrt</option>
-
 
196
                    </select>
-
 
197
                </td>
-
 
198
            </tr>
-
 
199
        {/if}
-
 
200
        {if ( isset( $user_rechte[ "online_shop" ][ "hersteller" ]["herstellersperren"] ) )}
-
 
201
            <tr>
-
 
202
                <td class="links">gesperrte Hersteller</td>
-
 
203
                <td>
-
 
204
                    <table class="keinRand">
-
 
205
                        <tr>
-
 
206
                            <th>Preisagentur</th>
-
 
207
                            <th>sperren?
-
 
208
                                <br>
-
 
209
                                <a id="alle">alle</a>&nbsp;<a id="keine">keine</a>&nbsp;<a id="umkehren">umkehren</a>
-
 
210
                            </th>
-
 
211
                        </tr>
-
 
212
                        {foreach $preisagenturen as $pa}
-
 
213
                            <tr class="{cycle values=",gerade"}">
-
 
214
                                <td><label for="pa_{$pa.id}">{$pa.titel}</label></td>
-
 
215
                                <td>
-
 
216
                                    <input type="hidden" name="gesperrte_hersteller[{$pa.id}]" value="0">
-
 
217
                                    <input class="gesperrte_hersteller" type="checkbox" name="gesperrte_hersteller[{$pa.id}]" value="1" id="pa_{$pa.id}" {if in_array($zeile.ID,$pa.gesperrte_hersteller)}checked="checked"{/if}>
-
 
218
                                </td>
-
 
219
                            </tr>
-
 
220
                        {/foreach}
156
                    <input type="checkbox" name="property_{$i}" id="{$Feld}" value="1" {if ( $zeile[ "property_$i" ] == 1 )}checked="checked"{/if}/>
221
                    </table>
157
                </td>
222
                </td>
158
            </tr>
223
            </tr>
159
        {/if}
-
 
160
    {/for}
-
 
161
    {*assign var=Feld value="meta_daten"}
-
 
162
    {if ( isset( $user_rechte["online_shop"]['directory'][$Feld] ) )}
-
 
163
        {include file="google_seo.tpl"}
-
 
164
        <tr>
-
 
165
            <td class="links" valign="top"><b>Meta-Robots:</b></td>
-
 
166
            <td class="rechts">
-
 
167
                {html_options name="meta_robots" options=$meta_robots selected=$zeile.meta.meta_robots.meta_content}
-
 
168
            </td>
-
 
169
        </tr>
-
 
170
    {/if*}
-
 
171
    {assign var=Feld value="abwKalkulation"}
-
 
172
    {if ( isset( $user_rechte["online_shop"]["hersteller"][$Feld] ) )}
224
        {/if}
173
        <tr>
225
        <tr>
174
            <td class="links"><b>abweichende Preiskalkulation</b></td>
-
 
175
            <td class="rechts">
-
 
176
                <input type="hidden" name="calculation" value="0"/>
226
            <td class="links" width="20%"><b>erstellt:</b></td>
177
                <input type="checkbox" name="calculation" value="1" {if ( $zeile[ "calculation" ] == 1 )}checked="checked"{/if} />
-
 
178
                {*if $zeile.calculation}
-
 
179
                    {include file="../toolbox/templates/common/edit_preiskalkulation.tpl"}
-
 
180
                {/if*}
-
 
181
            </td>
227
            <td class="rechts">am: {$zeile.created_at|date_format:"%x"} um: {$zeile.created_at|date_format:"%X"} Uhr von: {$zeile["created_by"]}</td>
182
        </tr>
-
 
183
    {/if}
-
 
184
    {if isset($zeile.hstatus)}
228
        </tr>
185
        <tr>
229
        <tr>
186
            <td class="links" width="20%"><b>Status:</b></td>
-
 
187
            <td class="rechts">
-
 
188
                <input type="hidden" name="hstatus" value="0"/>
-
 
189
                <select name="hstatus">
230
            <td class="links" width="20%"><b>letzte&nbsp;Änderung:</b></td>
190
                    <option value="0" {if ( $zeile['hstatus'] == 0 )}selected='selected'{/if}>freigegeben</option>
-
 
191
                    <option value="1" {if ( $zeile['hstatus'] == 1 )}selected='selected'{/if}>verborgen</option>
-
 
192
                    <option value="2" {if ( $zeile['hstatus'] == 2 )}selected='selected'{/if}>gesperrt</option>
-
 
193
                </select>
-
 
194
            </td>
231
            <td class="rechts">am: {$zeile.update_at|date_format:"%x"} um: {$zeile.updated_at|date_format:"%X"} Uhr von: {$zeile["updated_by"]}</td>
195
        </tr>
-
 
196
    {/if}
-
 
197
    {if ( isset( $user_rechte[ "online_shop" ][ "hersteller" ]["herstellersperren"] ) )}
232
        </tr>
198
        <tr>
233
        <tr>
199
            <td class="links">gesperrte Hersteller</td>
-
 
200
            <td>
-
 
201
                <table class="keinRand">
-
 
202
                    <tr>
-
 
203
                        <th>Preisagentur</th>
-
 
204
                        <th>sperren?
-
 
205
                            <br>
-
 
206
                            <a id="alle">alle</a>&nbsp;<a id="keine">keine</a>&nbsp;<a id="umkehren">umkehren</a>
-
 
207
                        </th>
-
 
208
                    </tr>
-
 
209
                    {foreach $preisagenturen as $pa}
234
            <td align="right" colspan="2" class="links">
210
                        <tr class="{cycle values=",gerade"}">
-
 
211
                            <td><label for="pa_{$pa.id}">{$pa.titel}</label></td>
-
 
212
                            <td>
-
 
213
                                <input type="hidden" name="gesperrte_hersteller[{$pa.id}]" value="0">
-
 
214
                                <input class="gesperrte_hersteller" type="checkbox" name="gesperrte_hersteller[{$pa.id}]" value="1" id="pa_{$pa.id}" {if in_array($zeile.ID,$pa.gesperrte_hersteller)}checked="checked"{/if}>
-
 
215
                            </td>
-
 
216
                        </tr>
-
 
217
                    {/foreach}
-
 
218
                </table>
235
                <input type="hidden" name="action" value="update"/>
219
            </td>
236
            </td>
220
        </tr>
-
 
221
    {/if}
-
 
222
    <tr>
-
 
223
        <td class="links" width="20%"><b>erstellt:</b></td>
-
 
224
        <td class="rechts">am: {$zeile.created_at|date_format:"%x"} um: {$zeile.created_at|date_format:"%X"} Uhr von: {$zeile["created_by"]}</td>
237
        </tr>
225
    </tr>
-
 
226
    <tr>
-
 
227
        <td class="links" width="20%"><b>letzte&nbsp;Änderung:</b></td>
-
 
228
        <td class="rechts">am: {$zeile.update_at|date_format:"%x"} um: {$zeile.updated_at|date_format:"%X"} Uhr von: {$zeile["updated_by"]}</td>
-
 
229
    </tr>
-
 
230
    <tr>
-
 
231
        <td align="right" colspan="2" class="links">
-
 
232
            <input type="hidden" name="ID" value="{$zeile.ID}"/>
-
 
233
            <input type="hidden" name="action" value="update"/>
-
 
234
            <input type="submit" value="   OK   "/>
-
 
235
            <input type="reset" name="Button" value="Abbrechen"/>
-
 
236
        </td>
-
 
237
    </tr>
238
    </table>1
238
</table>
239
</form>