Subversion-Projekte lars-tiefland.laravel_shop

Revision

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

Revision 1257 Revision 1261
Zeile 1... Zeile 1...
1
{extends file="admin/index.tpl"}
1
{extends file="admin/index.tpl"}
2
{block name="maincontent"}
2
{block name="maincontent"}
Zeile -... Zeile 106...
-
 
106
 
-
 
107
                </td>
-
 
108
            </tr>
167
 
109
            <tr>
168
        .zuweisungTable tr:first-child td {
110
                <td valign="top" width="13%">
169
            border-bottom: 1px solid #ccc;
111
                    <b>Mitarbeiter</b>
-
 
112
                </td>
-
 
113
                <td colspan="2">
-
 
114
                    <input type="hidden" name="Mitarbeiter" value="0" />
Zeile -... Zeile 115...
-
 
115
                    <input type="checkbox" name="Mitarbeiter" value="1" {if $user["Mitarbeiter"] == 1}checked="checked"{/if}/>
-
 
116
 
-
 
117
                </td>
170
        }
118
            </tr>
-
 
119
            <tr>
-
 
120
                <td class="links">
-
 
121
                    <b><label for="rang">Rang</label></b>
-
 
122
                </td>
-
 
123
                <td class="rechts">
-
 
124
                    <input type="number" name="rang" id="rang" value="{$user["rang"]}" min="0">
-
 
125
                </td>
-
 
126
            </tr>
-
 
127
            <tr>
-
 
128
                <td class="links">
-
 
129
                    <b><label for="terminpflege">Terminbenutzer</label></b>
-
 
130
                </td>
-
 
131
                <td class="rechts">
171
 
132
                    <input type="hidden" name="terminpflege">
-
 
133
                    <input type="checkbox" name="terminpflege" id="terminpflege" {if $user["terminpflege"]}checked="checked"{/if} value="1">
-
 
134
                </td>
-
 
135
            </tr>
-
 
136
            <tr>
172
        .zuweisungTable tr td label {
137
                <td>
-
 
138
                    <b>App User</b>
-
 
139
                </td>
-
 
140
                <td colspan="2">
Zeile 173... Zeile -...
173
            clear: both;
-
 
174
            float: left;
-
 
175
 
-
 
176
        }
-
 
177
    </style>
-
 
178
    <table class="keinRand" width="100%" cellspacing="0" cellpadding="3">
-
 
179
        <tr bgcolor="#{$webs.bgcolor_links}">
-
 
180
            <td class="headline" colspan="3">
-
 
181
                <font color="{$webs.font_color_links}">
-
 
182
                    Benutzer: Bearbeiten
-
 
183
                </font>
-
 
184
            </td>
-
 
185
        </tr>
-
 
186
        <tr bgcolor="#{$webs.bgcolor_links}">
-
 
187
            <td class="headline">
-
 
188
                <font color="{$webs.font_color_links}">
-
 
189
                    Login
-
 
190
                </font>
-
 
191
            </td>
-
 
192
            <td class="headline">
-
 
193
                <font color="{$webs.font_color_links}">
-
 
194
                    2FA
-
 
195
                </font>
-
 
196
            </td>
-
 
197
            <td class="headline">
-
 
198
                <font color="{$webs.font_color_links}">
-
 
199
                    Letztes Login
-
 
200
                </font>
-
 
201
            </td>
-
 
202
        </tr>
-
 
203
        {foreach $users as $user}
-
 
204
            {cycle values=' ,gerade' assign='class'}
-
 
205
            <tr class="rechts {$class}">
-
 
206
                <td>
-
 
207
                    <a href="/backend/backend_users/edit/{$user.id}">
-
 
208
                        {$user.email}
-
 
209
                    </a>
-
 
210
                </td>
-
 
211
                <td>
-
 
212
                    {if $user["2fa"] == true}
-
 
213
                        <div class="locked" title="Zwei-Faktor-Authentifizierung aktiv"
-
 
214
                             data-id="{$users.id}"></div>
-
 
215
                    {else}
-
 
216
                        <div class="unlocked" title="Zwei-Faktor-Authentifizierung inaktiv"
-
 
217
                             {if $users.id==$smarty.session.admin.uid}data-id="{$user.id}"
-
 
218
                             id="en2fa"{/if}></div>
-
 
219
                    {/if}
-
 
220
                </td>
-
 
221
                <td>
-
 
222
                    {if !is_null($user.last_login)}
-
 
223
                        {$user.last_login|date_format:"%d.%m.%Y %H:%M"} |
-
 
224
                        <a href="#" id="ip_{$smarty.section.u_ind.index}_{$user.ip}"
141
                    <input type="hidden" name="app_user" value="0" />
-
 
142
                    <input type="checkbox" name="app_user" value="1" {if $user["app_user"] == 1}checked="checked"{/if}/>
-
 
143
 
-
 
144
                </td>
-
 
145
            </tr>
-
 
146
            <tr>
-
 
147
                <td>
-
 
148
                    <b>Session spichern?</b>
-
 
149
                </td>
Zeile -... Zeile 150...
-
 
150
                <td colspan="2">
-
 
151
                    <input type="hidden" name="save_session" value="0" />
-
 
152
                    <input type="checkbox" name="save_session" value="1" {if $user["save_session"] == 1}checked="checked"{/if}/>
-
 
153
 
-
 
154
                </td>
-
 
155
            </tr>
-
 
156
            {if isset($web_rechte.admin.toolbox.bildverwaltung) && $access_medien_exists}
-
 
157
                <script type="text/javascript" src="/js/bildverwaltung.js?{$smarty.now}"></script>
-
 
158
                <tr>
-
 
159
                    <td class="links">
-
 
160
                        <div style="float:left"><strong>Bildverwaltung</strong></div>
-
 
161
                    </td>
-
 
162
                    <td class="rechts">
-
 
163
                        <div id="bildverwaltung">
-
 
164
                            <img src="/images/loading.gif" />
-
 
165
                        </div>
-
 
166
                        <input type="button" value="neues Bild zuordnen" id="add_u_image"/>
-
 
167
                        <!--<input type="button" value="Bilder hochladen" id="upload_images"/>-->
-
 
168
                        <input type="hidden" name="l_id" value="{$user["ID"]}" />
-
 
169
                    </td>
-
 
170
                </tr>
-
 
171
            {/if}
-
 
172
            {if isset($web_rechte.general.design.neu)}
-
 
173
                <tr>
-
 
174
                    <td bgcolor="#{$webs.bgcolor_links}">
-
 
175
                        <font color="#{$webs.font_color_links}"><b>Position der Navigation</(b></font>
-
 
176
                    </td>
-
 
177
                    <td colspan="2" bgcolor="#{$webs.bgcolor_rechts}">
-
 
178
                        {html_radios options=$nav_pos selected=$nav_pos_sel name=navigation_pos}
-
 
179
                    </td>
-
 
180
                </tr>
-
 
181
            {/if}
-
 
182
            {if $user["admin"] != 1 && ( isset($user_rechte.admin.admin.shopzuweisung) || isset($user_rechte.admin.admin.bestellartzuweisung) )}
-
 
183
                <tr>
-
 
184
                    <td><b>Zuweisung</b></td>
-
 
185
                    <td>
-
 
186
                        <table class="zuweisungTable">
-
 
187
                            <tr>
-
 
188
                                {if isset($user_rechte.admin.admin.shopzuweisung)}
-
 
189
                                    <td><b>Shop zuweisen</b></td>
-
 
190
                                {/if}
-
 
191
                                {if isset($user_rechte.admin.admin.bestellartzuweisung)}
-
 
192
                                    <td><b>Bestellart zuweisen</b></td>
-
 
193
                                {/if}
-
 
194
                            </tr>
-
 
195
                            <tr>
-
 
196
                                {if isset($user_rechte.admin.admin.shopzuweisung)}
-
 
197
                                    <td>{html_checkboxes options=$shops selected=$user["datenquellen"]["shops"] name=selected_shops}</td>
-
 
198
                                {/if}
-
 
199
                                {if isset($user_rechte.admin.admin.bestellartzuweisung)}
-
 
200
                                    <td>{html_checkboxes options=$bestellarten selected=$user["datenquellen"]["bestellarten"] name=selected_bestellarten}</td>
-
 
201
                                {/if}
-
 
202
                            </tr>
-
 
203
                        </table>
-
 
204
                    </td>
-
 
205
                </tr>
-
 
206
                <tr>
-
 
207
                    <td>
-
 
208
                        <b>Zuweisung anwenden auf</b>
-
 
209
                    </td>
-
 
210
                    <td colspan="2">
-
 
211
                        {html_checkboxes options=$zuweisungen selected=$user["datenquellen"]["zuweisung"] name=selected_zuweisung separator="<br/>"}
-
 
212
                    </td>
-
 
213
                </tr>
-
 
214
            {/if}
-
 
215
            <tr>
-
 
216
                <td colspan="3">
-
 
217
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
-
 
218
                        <tr>
-
 
219
                            <td>
-
 
220
                                {if $smarty.get.id}
-
 
221
                                {if $user["admin"] != 1}
-
 
222
                                    <input type="button" value="Rechte verwalten" onclick="document.location='admin_user_rechte.php?ID={$smarty.get.id}'"/>
-
 
223
                                {/if}
-
 
224
                                {/if}&nbsp;
-
 
225
                                <input type="button" value="Benutzercache löschen" onclick="deleteusersession();"/>
-
 
226
                            </td>
-
 
227
                            <td>
-
 
228
                                <input type="hidden" name="ID" value="{$user.id}"/>
-
 
229
                                <input type="hidden" name="action" value="update"/>
-
 
230
                                <input type="submit" value="OK"/>
-
 
231
                                <input type="reset" name="Button" value="Zurücksetzen"/>
225
                           class="ipAdress">{$user.ip}</a>
232
                            </td>
226
                    {/if}
233
                        </tr>
227
                </td>
234
                    </table>
228
 
235
                </td>