Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 1123 | Revision 1135 | Zur aktuellen Revision | Details | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1117 lars 1
{extends file="admin/index.tpl"}
2
{block name="maincontent"}
3
    <!--$Id$ BEGIN -->
1134 lars 4
    <div class="section__content section__content--p30">
5
        <div class="container-fluid">
6
            <div class="row">
7
                <div class="col-lg-9">
8
                    <div class="table-responsive table--no-card m-b-30">
9
                        <table class="keinRand ui-list-nav" id="submenu">
10
                            <tr>
11
                                <th>Funktionen und Tools</th>
12
                            </tr>
13
                            {*include file="common/tool_edit_config.tpl"}
14
                            {include file="common/tool_klone.tpl"}
15
                            {include file="common/tool_logbuch.tpl"}
16
                            {include file="common/tool_bilderverwaltung.tpl"}
17
                            {include file="common/tool_exorbyte.tpl"}
18
                            {include file="common/tool_kennungen_import.tpl"}
19
                            {include file="common/tool_lang_admin.tpl"}
20
                            {include file="common/tool_bestellungen_archivieren.tpl"}
21
                            {include file="common/tool_star_garantie.tpl"}
22
                            {include file="common/tool_finanzierung.tpl"}
23
                            {include file="common/tool_amazon_download.tpl"}
24
                            {include file="common/tool_amazonfeeds.tpl"}
25
                            {include file="common/tool_artikel_import.tpl"}
26
                            {include file="common/tool_bestand_import.tpl"}
27
                            {include file="common/tool_services.tpl"}
28
                            {include file="common/tool_scheduler.tpl"}
29
                            {include file="common/tool_edit_preiskalkulation.tpl"}
30
                            {include file="common/tool_edit_autobestellung_config.tpl"}
31
                            {include file="common/tool_preisagentur_config.tpl"}
32
                            {include file="common/tool_job_monitor.tpl"}
33
                            {include file="common/tool_del_smarty_cache.tpl"*}
34
                            {include file="admin/toolbox/tool_change_shop_version.tpl"}
35
                            {*include file="common/tool_alias_url.tpl"}
36
                            {include file="common/tool_plausibility.tpl"}
37
                            {include file="common/tool_ebay_tokens.tpl"}
38
                            {include file="common/tool_ga.tpl"*}
39
                            {*Sondertemplate für Weban.de - bitte immer als letztes einbinden!*}
40
                            {*include file="common/tool_samba.tpl"*}
41
                        </table>
42
                        <p><b>Achtung!</b> Bitte nutzen Sie diese Funktionen und Tools nur, wenn Sie sicher in der
43
                            Nutzung sind. <br/>
44
                            Bei einer falschen Nutzung können Schäden an Daten und im Shop verursacht werden.</p>
45
                    </div>
46
                </div>
47
            </div>
48
        </div>
49
    </div>
1121 lars 50
    <script>
1134 lars 51
        $(document).ready(function () {
52
            $('.loading').click(function () {
1121 lars 53
                $('#loadingDLG').dialog("open");
54
            })
55
            $('#loadingDLG').dialog({
1134 lars 56
                autoOpen: false,
57
                modal: true,
58
                resizable: false
1121 lars 59
            })
60
            $('#resultDlg').dialog({
1134 lars 61
                autoOpen: false,
62
                modal: true,
63
                resizable: false,
64
                width: "90%",
65
                height: 300,
1121 lars 66
                buttons:
67
                    {
1134 lars 68
                        "OK": function () {
1121 lars 69
                            $('#resultDlg').dialog("close");
70
                        }
71
                    }
72
            });
73
            $('#createAliasLinksDlg').dialog({
1134 lars 74
                autoOpen: false,
75
                modal: true,
76
                resizable: false,
77
                width: "90%",
1121 lars 78
                buttons:
79
                    {
1134 lars 80
                        "ausfuehren": function () {
81
                            param = "";
82
                            url = "/toolbox/createAliasLinks.php?mode=artikel&json=1";
83
                            if ($('#newArtikel').prop("checked")) {
84
                                param = "new";
85
                                url += "&type=" + param;
1121 lars 86
                            }
1134 lars 87
                            $.getJSON(url, function (html) {
1121 lars 88
                                $('#resultDlg').dialog("open").html(html.msg);
89
                                $('#createAliasLinksDlg').dialog("close");
90
                            })
91
                        }
92
                    }
93
            })
94
            $('#itemPlausibility').click(showPlausibilityDlg)
95
            $('#aliasArtikel').click(showDlg)
96
            $('#submenu tr td').button();
97
            $('input[type=radio]').button();
98
        });
99
 
1134 lars 100
        function showDlg() {
1121 lars 101
            $('#createAliasLinksDlg').dialog("open");
102
        }
1134 lars 103
 
104
        function showPlausibilityDlg() {
105
            url = "/toolbox/checkPlausibility.php?mode=artikel&json=1";
106
            if ($('#newArtikel').prop("checked")) {
107
                param = "new";
108
                url += "&type=" + param;
1121 lars 109
            }
1134 lars 110
            $.getJSON(url, function (html) {
1121 lars 111
                $('#resultDlg').dialog("open").html(html.msg);
112
            })
113
        }
114
    </script>
115
    <style>
116
        #submenu th {
1134 lars 117
            text-align: left;
118
            font-size: 20px;
1121 lars 119
        }
1134 lars 120
 
1121 lars 121
        #submenu td {
1134 lars 122
            width: 100%;
123
            text-align: left;
124
            padding: 0;
1121 lars 125
        }
1134 lars 126
 
1121 lars 127
        #submenu td span {
1134 lars 128
            padding: 0;
1121 lars 129
        }
1134 lars 130
 
1121 lars 131
        #submenu td a {
1134 lars 132
            display: block;
133
            text-align: left;
134
            width: 100%;
135
            margin: 0;
136
            padding: 1.5% 10px;
1121 lars 137
        }
138
    </style>
139
    <div id="createAliasLinksDlg" title="Welche Aktion soll ausgef&uml;hrt werden?">
1134 lars 140
        <input type="radio" name="alias" value="new" id="newArtikel" checked="checked"/>
1121 lars 141
        <label for="newArtikel">nur Artikel ohne Alias</label>
1134 lars 142
        <br/>
143
        <input type="radio" name="alias" value="all" id="alleArtikel"/>
144
        <label for="alleArtikel">alle Aliase neu setzen (nicht empfohlen, da hierdurch bestehende Links verloren
145
            gehen)</label>
146
        <br/>
147
        <br/>
148
        Hinweis: Alias ist der Artikellink, der aus dem Hersteller und dem Artikelnamen erzeugt wird und so den
149
        Artikellink besser lesbar macht.<br/>
1121 lars 150
        Dies hat positive Auswirkungen auf SEO.
151
    </div>
152
    <div id="loadingDLG" title="Lade gewuenschte Funktion">
153
        <center>
1134 lars 154
            <img src="{$smarty.session.loadingGif}"/>
155
            <br/>
1121 lars 156
            Bitte warten ...
157
        </center>
158
    </div>
159
    <div id="resultDlg" title="Ergebnis"></div>
1117 lars 160
    <!--$Id$ END -->
161
{/block}