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

Revision

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

Revision 82 Revision 83
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 82 2023-05-20 22:24:29Z lars $ BEGIN -->
3
    <!-- $Id: index.tpl 83 2023-05-20 22:43:42Z 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 71... Zeile 71...
71
        {
71
        {
72
            let 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
            let url="/salesPortals/create";
-
 
77
            if(vp_id)
-
 
78
            {
-
 
79
                url="/salesPortals/"+vp_id+"/edit";
-
 
80
            }
76
            $('#vportale_dlg').load("vportale.php?action=edit&id="+vp_id).dialog("open");
81
            $('#vportale_dlg').load(url).dialog("open");
77
        }
82
        }
78
        function del_vportale()
83
        function del_vportale()
79
        {
84
        {
80
            let vp_id = this.id;
85
            let vp_id = this.id;
81
            vp_id = vp_id.split("_");
86
            vp_id = vp_id.split("_");
Zeile 100... Zeile 105...
100
                    }
105
                    }
101
                }
106
                }
102
            })
107
            })
103
        }
108
        }
104
    </script>
109
    </script>
105
    <!-- $Id: index.tpl 82 2023-05-20 22:24:29Z lars $ END -->
110
    <!-- $Id: index.tpl 83 2023-05-20 22:43:42Z lars $ END -->
106
{/block}
111
{/block}
107
112