Subversion-Projekte lars-tiefland.webanos.faltradxxs.de

Revision

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

Revision 78 Revision 79
Zeile 1... Zeile 1...
1
{extends file="index.tpl"}
1
{extends file="index.tpl"}
2
{block name="maincontent"}
2
{block name="maincontent"}
3
    <!-- $Id: index.tpl 78 2023-05-20 22:18:49Z lars $ BEGIN -->
3
    <!-- $Id: index.tpl 79 2023-05-20 22:20:23Z lars $ BEGIN -->
4
    <button class="neu" id="vportale_0" title="neues Portal anlegen">Neues Portal anlegen</button>
4
    <button class="neu" id="vportale_0" title="neues Portal anlegen">Neues Portal anlegen</button>
5
    <table style="width: 100%" id="vPortale">
5
    <table style="width: 100%" id="vPortale">
6
        <thead>
6
        <thead>
7
        <tr>
7
        <tr>
8
            <td>Name</td>
8
            <td>Name</td>
Zeile 67... Zeile 67...
67
                }
67
                }
68
            })
68
            })
69
        });
69
        });
70
        function edit_vportale()
70
        function edit_vportale()
71
        {
71
        {
72
            vp_id = this.id;
72
            let vp_id = this.id;
73
            vp_id = vp_id.split("_");
73
            vp_id = vp_id.split("_");
74
            vp_id = vp_id[1];
74
            vp_id = vp_id[1];
75
            //(vp_id);
75
            //(vp_id);
76
            $('#vportale_dlg').load("vportale.php?action=edit&id="+vp_id).dialog("open");
76
            $('#vportale_dlg').load("vportale.php?action=edit&id="+vp_id).dialog("open");
77
        }
77
        }
78
        function del_vportale()
78
        function del_vportale()
79
        {
79
        {
80
            vp_id = this.id;
80
            let vp_id = this.id;
81
            vp_id = vp_id.split("_");
81
            vp_id = vp_id.split("_");
82
            vp_name = vp_id[2];
82
            let vp_name = vp_id[2];
83
            vp_id = vp_id[1];
83
            vp_id = vp_id[1];
84
            //(vp_id);
84
            //(vp_id);
85
            //$('#vportale_dlg').load("vportale.php?action=del&id="+vp_id).dialog("open");
85
            //$('#vportale_dlg').load("vportale.php?action=del&id="+vp_id).dialog("open");
86
            $('#vportale_del_dlg').dialog({
86
            $('#vportale_del_dlg').dialog({
87
                modal:true,
87
                modal:true,
88
                width:400,
88
                width:400,
89
                modal:true,
-
 
90
                resizable:false,
89
                resizable:false,
91
                title:"Verkaufsportal "+vp_name+" l&ouml;schen",
90
                title:"Verkaufsportal "+vp_name+" löschen",
92
                buttons:{
91
                buttons:{
93
                    "Nein":function()
92
                    "Nein":function()
94
                    {
93
                    {
95
                        $(this).dialog("close");
94
                        $(this).dialog("close");
96
                    },
95
                    },
Zeile 101... Zeile 100...
101
                    }
100
                    }
102
                }
101
                }
103
            })
102
            })
104
        }
103
        }
105
    </script>
104
    </script>
106
    <!-- $Id: index.tpl 78 2023-05-20 22:18:49Z lars $ END -->
105
    <!-- $Id: index.tpl 79 2023-05-20 22:20:23Z lars $ END -->
107
{/block}
106
{/block}
108
107