Subversion-Projekte lars-tiefland.ci

Revision

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

Revision 1479 Revision 1481
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: 1479 $
8
 * @version $Rev: 1481 $
9
 */
9
 */
Zeile 10... Zeile 10...
10
 
10
 
11
class Artikelstamm extends CI_Controller
11
class Artikelstamm extends CI_Controller
12
{
12
{
Zeile 18... Zeile 18...
18
	}
18
	}
Zeile 19... Zeile 19...
19
 
19
 
20
	public function index($dir = -1)
20
	public function index($dir = -1)
21
	{
21
	{
-
 
22
		$dirs = $this->directory->get_list($dir);
-
 
23
		foreach ($dirs as $id => $dir)
22
		$dirs = $this->directory->get_list($dir);
24
		{
-
 
25
			$dirs[$id]["items"] = $this->artikel->get_list($dir);
Zeile 23... Zeile -...
23
		$items = $this->artikel->get_list($dir);
-
 
24
 
26
		}
25
		$this->smarty->assign('items', $items);
27
 
26
		$this->smarty->assign('dirs', $dirs);
28
		$this->smarty->assign('dirs', $dirs);
27
		if ($dir == -1)
29
		if ($dir == -1)
28
		{
30
		{