Subversion-Projekte lars-tiefland.laravel_shop

Revision

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

{extends file="admin/index.tpl"}
{block name="maincontent"}
    <!--$Id$ BEGIN -->
    <div class="section__content section__content--p30">
        <div class="container-fluid">
            <div class="row">
                <div class="col-lg-9">
                    <div class="table-responsive table--no-card m-b-30">
                        <table class="keinRand ui-list-nav" id="submenu">
                            <tr>
                                <th>Funktionen und Tools</th>
                            </tr>
                            {*include file="common/tool_edit_config.tpl"}
                            {include file="common/tool_klone.tpl"}
                            {include file="common/tool_logbuch.tpl"}
                            {include file="common/tool_bilderverwaltung.tpl"}
                            {include file="common/tool_exorbyte.tpl"}
                            {include file="common/tool_kennungen_import.tpl"}
                            {include file="common/tool_lang_admin.tpl"}
                            {include file="common/tool_bestellungen_archivieren.tpl"}
                            {include file="common/tool_star_garantie.tpl"}
                            {include file="common/tool_finanzierung.tpl"}
                            {include file="common/tool_amazon_download.tpl"}
                            {include file="common/tool_amazonfeeds.tpl"}
                            {include file="common/tool_artikel_import.tpl"}
                            {include file="common/tool_bestand_import.tpl"}
                            {include file="common/tool_services.tpl"}
                            {include file="common/tool_scheduler.tpl"}
                            {include file="common/tool_edit_preiskalkulation.tpl"}
                            {include file="common/tool_edit_autobestellung_config.tpl"}
                            {include file="common/tool_preisagentur_config.tpl"}
                            {include file="common/tool_job_monitor.tpl"}
                            {include file="common/tool_del_smarty_cache.tpl"*}
                            {include file="admin/toolbox/tool_change_shop_version.tpl"}
                            {*include file="common/tool_alias_url.tpl"}
                            {include file="common/tool_plausibility.tpl"}
                            {include file="common/tool_ebay_tokens.tpl"}
                            {include file="common/tool_ga.tpl"*}
                            {*Sondertemplate für Weban.de - bitte immer als letztes einbinden!*}
                            {*include file="common/tool_samba.tpl"*}
                        </table>
                        <p><b>Achtung!</b> Bitte nutzen Sie diese Funktionen und Tools nur, wenn Sie sicher in der
                            Nutzung sind. <br/>
                            Bei einer falschen Nutzung können Schäden an Daten und im Shop verursacht werden.</p>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script>
        $(document).ready(function () {
            $('.loading').click(function () {
                $('#loadingDLG').dialog("open");
            })
            $('#loadingDLG').dialog({
                autoOpen: false,
                modal: true,
                resizable: false
            })
            $('#resultDlg').dialog({
                autoOpen: false,
                modal: true,
                resizable: false,
                width: "90%",
                height: 300,
                buttons:
                    {
                        "OK": function () {
                            $('#resultDlg').dialog("close");
                        }
                    }
            });
            $('#createAliasLinksDlg').dialog({
                autoOpen: false,
                modal: true,
                resizable: false,
                width: "90%",
                buttons:
                    {
                        "ausfuehren": function () {
                            param = "";
                            url = "/toolbox/createAliasLinks.php?mode=artikel&json=1";
                            if ($('#newArtikel').prop("checked")) {
                                param = "new";
                                url += "&type=" + param;
                            }
                            $.getJSON(url, function (html) {
                                $('#resultDlg').dialog("open").html(html.msg);
                                $('#createAliasLinksDlg').dialog("close");
                            })
                        }
                    }
            })
            $('#itemPlausibility').click(showPlausibilityDlg)
            $('#aliasArtikel').click(showDlg)
            $('#submenu tr td').button();
            $('input[type=radio]').button();
        });

        function showDlg() {
            $('#createAliasLinksDlg').dialog("open");
        }

        function showPlausibilityDlg() {
            url = "/toolbox/checkPlausibility.php?mode=artikel&json=1";
            if ($('#newArtikel').prop("checked")) {
                param = "new";
                url += "&type=" + param;
            }
            $.getJSON(url, function (html) {
                $('#resultDlg').dialog("open").html(html.msg);
            })
        }
    </script>
    <style>
        #submenu th {
            text-align: left;
            font-size: 20px;
        }

        #submenu td {
            width: 100%;
            text-align: left;
            padding: 0;
        }

        #submenu td span {
            padding: 0;
        }

        #submenu td a {
            display: block;
            text-align: left;
            width: 100%;
            margin: 0;
            padding: 1.5% 10px;
        }
    </style>
    <div id="createAliasLinksDlg" title="Welche Aktion soll ausgef&uml;hrt werden?">
        <input type="radio" name="alias" value="new" id="newArtikel" checked="checked"/>
        <label for="newArtikel">nur Artikel ohne Alias</label>
        <br/>
        <input type="radio" name="alias" value="all" id="alleArtikel"/>
        <label for="alleArtikel">alle Aliase neu setzen (nicht empfohlen, da hierdurch bestehende Links verloren
            gehen)</label>
        <br/>
        <br/>
        Hinweis: Alias ist der Artikellink, der aus dem Hersteller und dem Artikelnamen erzeugt wird und so den
        Artikellink besser lesbar macht.<br/>
        Dies hat positive Auswirkungen auf SEO.
    </div>
    <div id="loadingDLG" title="Lade gewuenschte Funktion">
        <center>
            <img src="{$smarty.session.loadingGif}"/>
            <br/>
            Bitte warten ...
        </center>
    </div>
    <div id="resultDlg" title="Ergebnis"></div>
    <!--$Id$ END -->
{/block}