Subversion-Projekte lars-tiefland.ci

Revision

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

Revision 1684 Revision 1697
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
	{
13
	{
14
		$artikelstatus = explode(";", $GLOBALS["web_rechte"]["online-shop"]["artikel"]["status"]);
14
		$robots = array(
15
		$robots = array(
15
			"index,follow",
16
			"index,follow",
16
			"index,nofollow",
17
			"index,nofollow",
17
			"noindex,follow",
18
			"noindex,follow",
Zeile 21... Zeile 22...
21
		$daten = array();
22
		$daten = array();
22
		if ($id)
23
		if ($id)
23
		{
24
		{
24
			$daten = $this->artikel->get($id);
25
			$daten = $this->artikel->get($id);
25
		}
26
		}
-
 
27
		$this->smarty->assign('artikelstatus', $artikelstatus);
26
		$this->smarty->assign('robots', $robots);
28
		$this->smarty->assign('robots', $robots);
27
		$this->smarty->assign('hersteller', $hersteller);
29
		$this->smarty->assign('hersteller', $hersteller);
28
		$this->smarty->assign('daten', $daten);
30
		$this->smarty->assign('daten', $daten);
29
		$this->smarty->view('artikel.tpl');
31
		$this->smarty->view('artikel.tpl');
30
	}
32
	}