Subversion-Projekte lars-tiefland.ci

Revision

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

Revision 1477 Revision 1479
Zeile 3... Zeile 3...
3
/**
3
/**
4
 *
4
 *
5
 * @package WebanOS CI
5
 * @package WebanOS CI
6
 * @author Lars Tiefland <ltiefland@gmail.com> 
6
 * @author Lars Tiefland <ltiefland@gmail.com> 
7
 * @copyright 2016
7
 * @copyright 2016
8
 * @version $Rev: 1477 $
8
 * @version $Rev: 1479 $
9
 */
9
 */
Zeile 10... Zeile 10...
10
 
10
 
11
class Artikelstamm extends CI_Controller
11
class Artikelstamm extends CI_Controller
12
{
12
{
Zeile 22... Zeile 22...
22
		$dirs = $this->directory->get_list($dir);
22
		$dirs = $this->directory->get_list($dir);
23
		$items = $this->artikel->get_list($dir);
23
		$items = $this->artikel->get_list($dir);
Zeile 24... Zeile 24...
24
 
24
 
25
		$this->smarty->assign('items', $items);
25
		$this->smarty->assign('items', $items);
26
		$this->smarty->assign('dirs', $dirs);
26
		$this->smarty->assign('dirs', $dirs);
27
		if ($dir == 1)
27
		if ($dir == -1)
28
		{
28
		{
29
			$this->smarty->assign('title', 'Artikelverwaltung');
29
			$this->smarty->assign('title', 'Artikelverwaltung');
30
			$this->smarty->display('artstamm.tpl');
30
			$this->smarty->display('artstamm.tpl');
31
		}
31
		}