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

Revision

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

Revision 93 Revision 94
Zeile 1... Zeile 1...
1
<!-- $Id: manufacturer.tpl 93 2023-07-14 19:39:16Z lars $ BEGIN -->
1
<!-- $Id: manufacturer.tpl 94 2023-07-14 19:41:14Z 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 17... Zeile 17...
17
<table width="100%" border="1" cellspacing="0" cellpadding="3" bordercolorlight="#FFFFFF" bordercolordark="#999999">
17
<table width="100%" border="1" cellspacing="0" cellpadding="3" bordercolorlight="#FFFFFF" bordercolordark="#999999">
18
    <tr>
18
    <tr>
19
        <td colspan="2" class="links">Hersteller: {if $zeile.ID}Bearbeiten{else}Neueintrag{/if}</td>
19
        <td colspan="2" class="links">Hersteller: {if $zeile.ID}Bearbeiten{else}Neueintrag{/if}</td>
20
    </tr>
20
    </tr>
21
    {$Feld="headline"}
21
    {$Feld="headline"}
22
    {if ( isset( $user_rechte[ $smarty.const.modul_name ][ $smarty.const.tool_name ][ $Feld ] ) )}
22
    {if ( isset( $user_rechte[ "online_shop" ][ "hersteller" ][ $Feld ] ) )}
23
        <tr>
23
        <tr>
24
            <td class="links" width="20%">
24
            <td class="links" width="20%">
25
                <b>{$web_rechte[ $smarty.const.modul_name ][ $smarty.const.tool_name ][ $Feld ]|default:"$Feld"}</b>
25
                <b>{$web_rechte[ "online_shop" ][ "hersteller" ][ $Feld ]|default:"$Feld"}</b>
26
            </td>
26
            </td>
27
            <td class="rechts">
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"/>
28
                <input type="text" name="{$Feld}" size="40" value="{{$zeile[$Feld]|htmlentities:$smarty.const.ENT_COMPAT:$smarty.session["charset"]}}" maxlength="255"/>
29
            </td>
29
            </td>
30
        </tr>
30
        </tr>
31
    {/if}
31
    {/if}
32
    {$Feld="Name"}
32
    {$Feld="Name"}
33
    {if ( isset( $user_rechte[ $smarty.const.modul_name ][ $smarty.const.tool_name ][ $Feld ] ) )}
33
    {if ( isset( $user_rechte[ "online_shop" ][ "hersteller" ][ $Feld ] ) )}
34
        <tr>
34
        <tr>
35
            <td class="links" width="20%">
35
            <td class="links" width="20%">
36
                <b>{$web_rechte[ $smarty.const.modul_name ][ $smarty.const.tool_name ][ $Feld ]|default:"$Feld"}</b>
36
                <b>{$web_rechte[ "online_shop" ][ "hersteller" ][ $Feld ]|default:"$Feld"}</b>
37
            </td>
37
            </td>
38
            <td class="rechts">
38
            <td class="rechts">
39
                <input type="text" name="{$Feld}" size="40" value="{$zeile[$Feld]|htmlentities:$smarty.const.ENT_COMPAT:$smarty.session["charset"]}" maxlength="255"/>
39
                <input type="text" name="{$Feld}" size="40" value="{$zeile[$Feld]|htmlentities:$smarty.const.ENT_COMPAT:$smarty.session["charset"]}" maxlength="255"/>
40
            </td>
40
            </td>
41
        </tr>
41
        </tr>
42
    {/if}
42
    {/if}
43
    {$Feld="Bezeichnung"}
43
    {$Feld="Bezeichnung"}
44
    {if ( isset( $user_rechte[ $smarty.const.modul_name ][ $smarty.const.tool_name ][ $Feld ] ) )}
44
    {if ( isset( $user_rechte[ "online_shop" ][ "hersteller" ][ $Feld ] ) )}
45
        <tr>
45
        <tr>
46
            <td class="links" width="20%">
46
            <td class="links" width="20%">
47
                <b>{$web_rechte[ $smarty.const.modul_name ][ $smarty.const.tool_name ][ $Feld ]|default:"$Feld"}</b>
47
                <b>{$web_rechte[ "online_shop" ][ "hersteller" ][ $Feld ]|default:"$Feld"}</b>
48
            </td>
48
            </td>
49
            <td class="rechts">
49
            <td class="rechts">
50
                <input type="text" name="{$Feld}" size="40" value="{$zeile[$Feld]|htmlentities:$smarty.const.ENT_COMPAT:$smarty.session["charset"]}" maxlength="255"/>
50
                <input type="text" name="{$Feld}" size="40" value="{$zeile[$Feld]|htmlentities:$smarty.const.ENT_COMPAT:$smarty.session["charset"]}" maxlength="255"/>
51
            </td>
51
            </td>
52
        </tr>
52
        </tr>
Zeile 63... Zeile 63...
63
            </td>
63
            </td>
64
        </tr>
64
        </tr>
Zeile 65... Zeile 65...
65
 
65
 
66
    {/if}
66
    {/if}
67
    {$Feld = "Text"}
67
    {$Feld = "Text"}
68
    {if ( isset( $user_rechte[ $smarty.const.modul_name ][ $smarty.const.tool_name ][ $Feld ] ) )}
68
    {if ( isset( $user_rechte[ "online_shop" ][ "hersteller" ][ $Feld ] ) )}
69
        <tr>
69
        <tr>
70
            <td class="links" width="20%">
70
            <td class="links" width="20%">
71
                <b><label for="{$Feld}">{$web_rechte[ $smarty.const.modul_name ][ $smarty.const.tool_name ][ $Feld ]|default:"$Feld"}</label></b>
71
                <b><label for="{$Feld}">{$web_rechte[ "online_shop" ][ "hersteller" ][ $Feld ]|default:"$Feld"}</label></b>
72
            </td>
72
            </td>
73
            <td class="rechts">
73
            <td class="rechts">
74
                <textarea name="{$Feld}" id="{$Feld}" cols="50" rows="4">{$zeile[$Feld]}</textarea>
74
                <textarea name="{$Feld}" id="{$Feld}" cols="50" rows="4">{$zeile[$Feld]}</textarea>
75
            </td>
75
            </td>
76
        </tr>
76
        </tr>
77
    {/if}
77
    {/if}
78
    {$Feld = "Text2"}
78
    {$Feld = "Text2"}
79
    {if ( isset( $user_rechte[ $smarty.const.modul_name ][ $smarty.const.tool_name ][ $Feld ] ) )}
79
    {if ( isset( $user_rechte[ "online_shop" ][ "hersteller" ][ $Feld ] ) )}
80
        <tr>
80
        <tr>
81
            <td class="links" width="20%">
81
            <td class="links" width="20%">
82
                <b><label for="{$Feld}">{$web_rechte[ $smarty.const.modul_name ][ $smarty.const.tool_name ][ $Feld ]|default:"$Feld"}</label></b>
82
                <b><label for="{$Feld}">{$web_rechte[ "online_shop" ][ "hersteller" ][ $Feld ]|default:"$Feld"}</label></b>
83
            </td>
83
            </td>
84
            <td class="rechts">
84
            <td class="rechts">
85
                <textarea name="{$Feld}" id="{$Feld}" cols="50" rows="4">{$zeile[$Feld]}</textarea>
85
                <textarea name="{$Feld}" id="{$Feld}" cols="50" rows="4">{$zeile[$Feld]}</textarea>
86
            </td>
86
            </td>
87
        </tr>
87
        </tr>
88
    {/if}
88
    {/if}
89
    {$Feld = "Text3"}
89
    {$Feld = "Text3"}
90
    {if ( isset( $user_rechte[ $smarty.const.modul_name ][ $smarty.const.tool_name ][ $Feld ] ) )}
90
    {if ( isset( $user_rechte[ "online_shop" ][ "hersteller" ][ $Feld ] ) )}
91
        <tr>
91
        <tr>
92
            <td class="links" width="20%">
92
            <td class="links" width="20%">
93
                <b><label for="{$Feld}">{$web_rechte[ $smarty.const.modul_name ][ $smarty.const.tool_name ][ $Feld ]|default:"$Feld"}</label></b>
93
                <b><label for="{$Feld}">{$web_rechte[ "online_shop" ][ "hersteller" ][ $Feld ]|default:"$Feld"}</label></b>
94
            </td>
94
            </td>
95
            <td class="rechts">
95
            <td class="rechts">
96
                <textarea name="{$Feld}" id="{$Feld}" cols="50" rows="4">{$zeile[$Feld]}</textarea>
96
                <textarea name="{$Feld}" id="{$Feld}" cols="50" rows="4">{$zeile[$Feld]}</textarea>
97
            </td>
97
            </td>
98
        </tr>
98
        </tr>
99
    {/if}
99
    {/if}
100
    {for $bild_nr = 1; $bild_nr <= 2; $bild_nr++}
100
    {for $bild_nr = 1; $bild_nr <= 2; $bild_nr++}
101
        {$Feld="Logo$bild_nr"}
101
        {$Feld="Logo$bild_nr"}
102
        {if ( isset( $user_rechte[ $smarty.const.modul_name ][ $smarty.const.tool_name ][ $Feld ] ) )}
102
        {if ( isset( $user_rechte[ "online_shop" ][ "hersteller" ][ $Feld ] ) )}
103
            <tr>
103
            <tr>
104
                <td class="links" width="20%">
104
                <td class="links" width="20%">
105
                    {$name=$web_rechte[ $smarty.const.modul_name ][ $smarty.const.tool_name ][ $Feld ]}
105
                    {$name=$web_rechte[ "online_shop" ][ "hersteller" ][ $Feld ]}
106
                    {$name=";"|explode:$name}
106
                    {$name=";"|explode:$name}
107
                    {$name=$name[0]}
107
                    {$name=$name[0]}
108
                    <b><label for="{$Feld}">{$name|default:"$Feld"}</label></b>
108
                    <b><label for="{$Feld}">{$name|default:"$Feld"}</label></b>
109
                </td>
109
                </td>
Zeile 132... Zeile 132...
132
                    </table>
132
                    </table>
133
                </td>
133
                </td>
134
            </tr>
134
            </tr>
135
            {$extra="_href"}
135
            {$extra="_href"}
136
            {$Feld2="$Feld$extra"}
136
            {$Feld2="$Feld$extra"}
137
            {if ( isset( $user_rechte[ $smarty.const.modul_name ][ $smarty.const.tool_name ][ $Feld2 ] ) )}
137
            {if ( isset( $user_rechte[ "online_shop" ][ "hersteller" ][ $Feld2 ] ) )}
138
                <tr>
138
                <tr>
139
                    <td class="links" width="20%"><b><label for="{$Feld2}">{$web_rechte[ $smarty.const.modul_name ][ $smarty.const.tool_name ][ $Feld2 ]|default:"$Feld-Link"}</label> </b></td>
139
                    <td class="links" width="20%"><b><label for="{$Feld2}">{$web_rechte[ "online_shop" ][ "hersteller" ][ $Feld2 ]|default:"$Feld-Link"}</label> </b></td>
140
                    <td class="rechts">
140
                    <td class="rechts">
141
                        <input type="text" name="{$Feld2}" id="{$Feld2}" size="40" value="{$zeile[ $Feld2 ]}" maxlength="255"/>
141
                        <input type="text" name="{$Feld2}" id="{$Feld2}" size="40" value="{$zeile[ $Feld2 ]}" maxlength="255"/>
142
                    </td>
142
                    </td>
143
                </tr>
143
                </tr>
144
            {/if}
144
            {/if}
145
        {/if}
145
        {/if}
146
    {/for}
146
    {/for}
147
    {for $i=1;$i<=10;$i++}
147
    {for $i=1;$i<=10;$i++}
148
        {$Feld="Eigenschaft_$i"}
148
        {$Feld="Eigenschaft_$i"}
149
        {if isset($web_rechte[ $smarty.const.modul_name ][ $smarty.const.tool_name ][strtolower($Feld)])}
149
        {if isset($web_rechte[ "online_shop" ][ "hersteller" ][strtolower($Feld)])}
150
            <tr>
150
            <tr>
151
                <td class="links" width="20%">
151
                <td class="links" width="20%">
152
                    <b><label for="{$Feld}">{$web_rechte[ $smarty.const.modul_name ][ $smarty.const.tool_name ][ strtolower($Feld) ]|default:"$Feld"}</label></b>
152
                    <b><label for="{$Feld}">{$web_rechte[ "online_shop" ][ "hersteller" ][ strtolower($Feld) ]|default:"$Feld"}</label></b>
153
                </td>
153
                </td>
154
                <td class="rechts">
154
                <td class="rechts">
155
                    <input type="hidden" name="{$Feld}" value="0"/>
155
                    <input type="hidden" name="{$Feld}" value="0"/>
156
                    <input type="checkbox" name="{$Feld}" id="{$Feld}" value="1" {if ( $zeile[ $Feld ] == 1 )}checked="checked"{/if}/>
156
                    <input type="checkbox" name="{$Feld}" id="{$Feld}" value="1" {if ( $zeile[ $Feld ] == 1 )}checked="checked"{/if}/>
157
                </td>
157
                </td>
158
            </tr>
158
            </tr>
159
        {/if}
159
        {/if}
160
    {/for}
160
    {/for}
161
    {assign var=Feld value="meta_daten"}
161
    {assign var=Feld value="meta_daten"}
162
    {if ( isset( $user_rechte[$smarty.const.modul_name]['directory'][$Feld] ) )}
162
    {if ( isset( $user_rechte["online_shop"]['directory'][$Feld] ) )}
163
        {include file="google_seo.tpl"}
163
        {include file="google_seo.tpl"}
164
        <tr>
164
        <tr>
165
            <td class="links" valign="top"><b>Meta-Robots:</b></td>
165
            <td class="links" valign="top"><b>Meta-Robots:</b></td>
166
            <td class="rechts">
166
            <td class="rechts">
167
                {html_options name="meta_robots" options=$meta_robots selected=$zeile.meta.meta_robots.meta_content}
167
                {html_options name="meta_robots" options=$meta_robots selected=$zeile.meta.meta_robots.meta_content}
168
            </td>
168
            </td>
169
        </tr>
169
        </tr>
170
    {/if}
170
    {/if}
171
    {assign var=Feld value="abwKalkulation"}
171
    {assign var=Feld value="abwKalkulation"}
172
    {if ( isset( $user_rechte[$smarty.const.modul_name][$smarty.const.tool_name][$Feld] ) )}
172
    {if ( isset( $user_rechte["online_shop"]["hersteller"][$Feld] ) )}
173
        <tr>
173
        <tr>
174
            <td class="links"><b>abweichende Preiskalkulation</b></td>
174
            <td class="links"><b>abweichende Preiskalkulation</b></td>
175
            <td class="rechts">
175
            <td class="rechts">
176
                <input type="hidden" name="{$Feld}" value="0"/>
176
                <input type="hidden" name="{$Feld}" value="0"/>
177
                <input type="checkbox" name="{$Feld}" value="1" {if ( $zeile[ $Feld ] == 1 )}checked="checked"{/if} />
177
                <input type="checkbox" name="{$Feld}" value="1" {if ( $zeile[ $Feld ] == 1 )}checked="checked"{/if} />
Zeile 192... Zeile 192...
192
                    <option value="2" {if ( $zeile['hstatus'] == 2 )}selected='selected'{/if}>gesperrt</option>
192
                    <option value="2" {if ( $zeile['hstatus'] == 2 )}selected='selected'{/if}>gesperrt</option>
193
                </select>
193
                </select>
194
            </td>
194
            </td>
195
        </tr>
195
        </tr>
196
    {/if}
196
    {/if}
197
    {if ( isset( $user_rechte[ $smarty.const.modul_name ][ $smarty.const.tool_name ]["herstellersperren"] ) )}
197
    {if ( isset( $user_rechte[ "online_shop" ][ "hersteller" ]["herstellersperren"] ) )}
198
        <tr>
198
        <tr>
199
            <td class="links">gesperrte Hersteller</td>
199
            <td class="links">gesperrte Hersteller</td>
200
            <td>
200
            <td>
201
                <table class="keinRand">
201
                <table class="keinRand">
202
                    <tr>
202
                    <tr>
Zeile 234... Zeile 234...
234
            <input type="submit" value="   OK   "/>
234
            <input type="submit" value="   OK   "/>
235
            <input type="reset" name="Button" value="Abbrechen"/>
235
            <input type="reset" name="Button" value="Abbrechen"/>
236
        </td>
236
        </td>
237
    </tr>
237
    </tr>
238
</table>
238
</table>
239
<!-- $Id: manufacturer.tpl 93 2023-07-14 19:39:16Z lars $ END -->
239
<!-- $Id: manufacturer.tpl 94 2023-07-14 19:41:14Z lars $ END -->