Subversion-Projekte lars-tiefland.ci

Revision

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

Revision 1588 Revision 1618
Zeile 9... Zeile 9...
9
		$this->load->model('herstellerkatalog_model', 'hersteller');
9
		$this->load->model('herstellerkatalog_model', 'hersteller');
10
	}
10
	}
Zeile 11... Zeile 11...
11
 
11
 
12
	public function edit($id = null)
12
	public function edit($id = null)
-
 
13
	{
-
 
14
		$robots = array(
-
 
15
			"index,follow",
-
 
16
			"index,nofollow",
-
 
17
			"noindex,follow",
-
 
18
			"noindex,nofollow",
13
	{
19
			);
14
		$hersteller = $this->hersteller->get_list('dropdown');
20
		$hersteller = $this->hersteller->get_list('dropdown');
15
		$daten = array();
21
		$daten = array();
16
		if ($id)
22
		if ($id)
17
		{
23
		{
18
			$daten = $this->artikel->get($id);
24
			$daten = $this->artikel->get($id);
-
 
25
		}
19
		}
26
		$this->smarty->assign('robots', $robots);
20
		$this->smarty->assign('hersteller', $hersteller);
27
		$this->smarty->assign('hersteller', $hersteller);
21
		$this->smarty->assign('daten', $daten);
28
		$this->smarty->assign('daten', $daten);
22
		$this->smarty->view('artikel.tpl');
29
		$this->smarty->view('artikel.tpl');
23
	}
30
	}