Subversion-Projekte lars-tiefland.ci

Revision

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

Revision 1980 Revision 2043
Zeile 1... Zeile 1...
1
{include file="header.tpl"}
1
{include file="header.tpl"}
2
<!-- $Id: herstellerkatalog.tpl 1980 2017-01-21 00:01:53Z lars $ BEGIN -->
2
<!-- $Id: herstellerkatalog.tpl 2043 2017-02-17 23:14:26Z lars $ BEGIN -->
3
<script>
3
<script>
4
	$(function(){
4
	$(function(){
5
		$('#result').dialog({
5
		$('#result').dialog({
6
			autoOpen:false,
6
			autoOpen:false,
7
			resizable:false,
7
			resizable:false,
Zeile 34... Zeile 34...
34
				icons: {
34
				icons: {
35
					primary: "ui-icon-check"
35
					primary: "ui-icon-check"
36
				},
36
				},
37
				click:function()
37
				click:function()
38
				{
38
				{
39
					$('#result').load("/backend/herstellerkatalog/save",$('#herstellerForm').serializeArray(),function(){
39
					$('#result').load("/herstellerkatalog/save",$('#herstellerForm').serializeArray(),function(){
40
						$('#result').dialog("open");
40
						$('#result').dialog("open");
41
					})
41
					})
42
					$('#hstEditDlg').dialog("close");
42
					$('#hstEditDlg').dialog("close");
43
				}
43
				}
44
			},
44
			},
Zeile 73... Zeile 73...
73
			}
73
			}
74
		})
74
		})
75
	})
75
	})
76
	function editHst()
76
	function editHst()
77
	{
77
	{
78
		$('#hstEditDlg').load("/backend/herstellerkatalog/edit/"+$(this).attr('data-id'),function(){
78
		$('#hstEditDlg').load("/herstellerkatalog/edit/"+$(this).attr('data-id'),function(){
79
			$('#hstEditDlg').dialog('open');
79
			$('#hstEditDlg').dialog('open');
80
		});
80
		});
81
	}
81
	}
82
	function delHst()
82
	function delHst()
83
	{
83
	{
84
		$('#hstDelDlg').load("/backend/herstellerkatalog/del/"+$(this).attr('data-id'),function(){
84
		$('#hstDelDlg').load("/herstellerkatalog/del/"+$(this).attr('data-id'),function(){
85
			$('#hstDelDlg').dialog('open');
85
			$('#hstDelDlg').dialog('open');
86
		});
86
		});
87
	}
87
	}
88
</script>
88
</script>
89
<table style="width:100%">
89
<table style="width:100%">
Zeile 104... Zeile 104...
104
	{/foreach}
104
	{/foreach}
105
</table>
105
</table>
106
<div id="hstEditDlg"></div>
106
<div id="hstEditDlg"></div>
107
<div id="hstDelDlg" title="Hersteller löschen"></div>
107
<div id="hstDelDlg" title="Hersteller löschen"></div>
108
<div id="result" title="Ergebnis"></div>
108
<div id="result" title="Ergebnis"></div>
109
<!-- $Id: herstellerkatalog.tpl 1980 2017-01-21 00:01:53Z lars $ END -->
109
<!-- $Id: herstellerkatalog.tpl 2043 2017-02-17 23:14:26Z lars $ END -->
110
{include file="footer.tpl"}
110
{include file="footer.tpl"}
111
111