| 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 |
if (isset($GLOBALS["web_rechte"]["online_shop"]["artikel"]["status"]) && $GLOBALS["web_rechte"]["online_shop"]["artikel"]["status"])
|
| 13 |
{
|
15 |
{
|
| - |
|
16 |
$artikelstatus = explode(";", $GLOBALS["web_rechte"]["online_shop"]["artikel"]["status"]);
|
| - |
|
17 |
$this->smarty->assign('artikelstatus', $artikelstatus);
|
| - |
|
18 |
}
|
| - |
|
19 |
if (isset($GLOBALS["web_rechte"]["online_shop"]["artikel"]["Lieferstatus"]) && $GLOBALS["web_rechte"]["online_shop"]["artikel"]["Lieferstatus"])
|
| 14 |
$artikelstatus = explode(";", $GLOBALS["web_rechte"]["online_shop"]["artikel"]["status"]);
|
20 |
{
|
| - |
|
21 |
$lieferstatus = explode(";", $GLOBALS["web_rechte"]["online_shop"]["artikel"]["Lieferstatus"]);
|
| - |
|
22 |
$this->smarty->assign('lieferstatus', $lieferstatus);
|
| - |
|
23 |
}
|
| - |
|
24 |
if (isset($GLOBALS["web_rechte"]["online_shop"]["artikel"]["LieferstatusMaintainer"]) &&
|
| - |
|
25 |
$GLOBALS["web_rechte"]["online_shop"]["artikel"]["LieferstatusMaintainer"])
|
| 15 |
$lieferstatus = explode(";", $GLOBALS["web_rechte"]["online_shop"]["artikel"]["Lieferstatus"]);
|
26 |
{
|
| - |
|
27 |
$lieferstatusMaintainer = explode(";", $GLOBALS["web_rechte"]["online_shop"]["artikel"]["LieferstatusMaintainer"]);
|
| - |
|
28 |
$this->smarty->assign('lieferstatusMaintainer', $lieferstatusMaintainer);
|
| 16 |
$lieferstatusMaintainer = explode(";", $GLOBALS["web_rechte"]["online_shop"]["artikel"]["LieferstatusMaintainer"]);
|
29 |
}
|
| 17 |
$robots = array(
|
30 |
$robots = array(
|
| 18 |
"index,follow",
|
31 |
"index,follow",
|
| 19 |
"index,nofollow",
|
32 |
"index,nofollow",
|
| 20 |
"noindex,follow",
|
33 |
"noindex,follow",
|
| Zeile 24... |
Zeile 37... |
| 24 |
$daten = array();
|
37 |
$daten = array();
|
| 25 |
if ($id)
|
38 |
if ($id)
|
| 26 |
{
|
39 |
{
|
| 27 |
$daten = $this->artikel->get($id);
|
40 |
$daten = $this->artikel->get($id);
|
| 28 |
}
|
41 |
}
|
| 29 |
$this->smarty->assign('artikelstatus', $artikelstatus);
|
- |
|
| 30 |
$this->smarty->assign('lieferstatus', $lieferstatus);
|
- |
|
| 31 |
$this->smarty->assign('lieferstatusMaintainer', $lieferstatusMaintainer);
|
- |
|
| 32 |
$this->smarty->assign('robots', $robots);
|
42 |
$this->smarty->assign('robots', $robots);
|
| 33 |
$this->smarty->assign('hersteller', $hersteller);
|
43 |
$this->smarty->assign('hersteller', $hersteller);
|
| 34 |
$this->smarty->assign('daten', $daten);
|
44 |
$this->smarty->assign('daten', $daten);
|
| 35 |
$this->smarty->view('artikel.tpl');
|
45 |
$this->smarty->view('artikel.tpl');
|
| 36 |
}
|
46 |
}
|