Subversion-Projekte lars-tiefland.ci

Revision

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

Revision 1554 Revision 1575
Zeile 5... Zeile 5...
5
		$('.edit').button({
5
		$('.edit').button({
6
			icons:{
6
			icons:{
7
				primary:"ui-icon-pencil"
7
				primary:"ui-icon-pencil"
8
			},
8
			},
9
			text:false			
9
			text:false			
-
 
10
		}).click(edit_category);
-
 
11
		$('.edit_item').button({
-
 
12
			icons:{
-
 
13
				primary:"ui-icon-pencil"
10
		});
14
			},
-
 
15
			text:false			
-
 
16
		}).click(edit_item);
11
		$('.del').button({
17
		$('.del').button({
12
			text:false,
18
			text:false,
13
			icons:{
19
			icons:{
14
				primary:"ui-icon-trash"
20
				primary:"ui-icon-trash"
15
			}
21
			}
-
 
22
		}).click(del_category);
-
 
23
		$('.del_item').button({
-
 
24
			text:false,
-
 
25
			icons:{
-
 
26
				primary:"ui-icon-trash"
16
		});
27
			}
-
 
28
		}).click(del_item);
17
	})
29
	})
Zeile -... Zeile 30...
-
 
30
	
-
 
31
	function edit_category()
-
 
32
	{
-
 
33
		
-
 
34
	}
-
 
35
	
-
 
36
	function del_item()
-
 
37
	{
-
 
38
		
-
 
39
	}
-
 
40
	
-
 
41
	function edit_item()
-
 
42
	{
-
 
43
		$('#edit_item_dialog').load('/backend/artikel/edit/'+$(this).attr('data-id'),function()
-
 
44
		{
-
 
45
			$('#edit_item_dialog').dialog('open');
-
 
46
		})
-
 
47
	}
-
 
48
	
-
 
49
	function del_category()
-
 
50
	{
-
 
51
		
-
 
52
	}
18
	
53
 
19
	function open_dir()
54
	function open_dir()
20
	{
55
	{
21
		id=this.id;
56
		id=this.id;
22
		idArr=id.split("_");
57
		idArr=id.split("_");
Zeile 71... Zeile 106...
71
				</table>
106
				</table>
72
			</td>
107
			</td>
73
			<td class="artikel_name_icons">
108
			<td class="artikel_name_icons">
74
				<img src="/backend/images/lieferstatus/common/{$item.Lieferstatus}.gif" />
109
				<img src="/backend/images/lieferstatus/common/{$item.Lieferstatus}.gif" />
75
				<img src="/backend/images/Online-Shop/directory/file_0{$item.status}0.gif" />
110
				<img src="/backend/images/Online-Shop/directory/file_0{$item.status}0.gif" />
76
				<button class="edit">ändern</button>
111
				<button class="edit_item" data-id="{$item.ID}">ändern</button>
77
				<button class="del">löschen</button>
112
				<button class="del_item" data-id="{$item.ID}">löschen</button>
78
				{$item.kurzbezeichnung}
113
				{$item.kurzbezeichnung}
79
			</td>					
114
			</td>					
80
		</tr>	
115
		</tr>	
81
	</table>
116
	</table>
82
</div>
117
</div>