Subversion-Projekte lars-tiefland.ci

Revision

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

Revision 1698 Revision 1699
Zeile 10... Zeile 10...
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"]);
-
 
15
		$lieferstatus = explode(";", $GLOBALS["web_rechte"]["online_shop"]["artikel"]["Lieferstatus"]);
14
		$artikelstatus = explode(";", $GLOBALS["web_rechte"]["online_shop"]["artikel"]["status"]);
16
		$lieferstatusMaintainer = explode(";", $GLOBALS["web_rechte"]["online_shop"]["artikel"]["LieferstatusMaintainer"]);
15
		$robots = array(
17
		$robots = array(
16
			"index,follow",
18
			"index,follow",
17
			"index,nofollow",
19
			"index,nofollow",
18
			"noindex,follow",
20
			"noindex,follow",
Zeile 23... Zeile 25...
23
		if ($id)
25
		if ($id)
24
		{
26
		{
25
			$daten = $this->artikel->get($id);
27
			$daten = $this->artikel->get($id);
26
		}
28
		}
27
		$this->smarty->assign('artikelstatus', $artikelstatus);
29
		$this->smarty->assign('artikelstatus', $artikelstatus);
-
 
30
		$this->smarty->assign('lieferstatus', $lieferstatus);
-
 
31
		$this->smarty->assign('lieferstatusMaintainer', $lieferstatusMaintainer);
28
		$this->smarty->assign('robots', $robots);
32
		$this->smarty->assign('robots', $robots);
29
		$this->smarty->assign('hersteller', $hersteller);
33
		$this->smarty->assign('hersteller', $hersteller);
30
		$this->smarty->assign('daten', $daten);
34
		$this->smarty->assign('daten', $daten);
31
		$this->smarty->view('artikel.tpl');
35
		$this->smarty->view('artikel.tpl');
32
	}
36
	}