<?php

// --------------------------------------------------------------------------------------------------------------------
// Header menu

$config['navigation_header'] = array(
	'*' => array(
		'fhcomplete' => array(
			'link' => site_url(''),
			'icon' => '',
			'description' => 'FH-Complete',
			'sort' => 10
		),
		'Organisation' => array(
			'link' => '#',
			'icon' => 'sitemap',
			'description' => 'Organisation',
			'sort' => 20,
			'children'=> array(
				'vilesci' => array(
					'link' => base_url('vilesci'),
					'icon' => '',
					'description' => 'Vilesci',
					'expand' => true,
					'sort' => 1,
					'requiredPermissions' => 'basis/vilesci:r'
				),
				'reihungstest' => array(
					'link' => site_url('organisation/Reihungstest'),
					'icon' => 'list-ol',
					'description' => 'Reihungstests',
					'expand' => true,
					'sort' => 10,
					'requiredPermissions' => 'infocenter:r'
				)
			)
		),
		'Lehre' => array(
			'link' => '#',
			'icon' => 'graduation-cap',
			'description' => 'Lehre',
			'sort' => 30,
			'children'=> array(
				'cis' => array(
					'link' => CIS_ROOT,
					'icon' => '',
					'description' => 'CIS',
					'sort' => 10
				),
				'infocenter' => array(
					'link' => site_url('system/infocenter/InfoCenter'),
					'icon' => 'info',
					'description' => 'Infocenter',
					'expand' => true,
					'sort' => 20,
					'requiredPermissions' => 'infocenter:r'
				),
			)
		),
		'Personen' => array(
			'link' => '#',
			'icon' => 'user',
			'description' => 'Personen',
			'sort' => 40,
			'children'=> array(
				'bpk' => array(
					'link' => site_url('person/BPKWartung'),
					'icon' => '',
					'description' => 'BPK Wartung',
					'sort' => 10,
					'requiredPermissions' => 'admin:r'
				)
			)
		)
	)
);

// --------------------------------------------------------------------------------------------------------------------
// Left side menu

$config['navigation_menu'] = array();

$config['navigation_menu']['Vilesci/index'] = array(
	'dashboard' => array(
		'link' => '#',
		'description' => 'Dashboard',
		'icon' => 'dashboard',
		'sort' => 1
	),
	'lehre' => array(
		'link' => '#',
		'icon' => 'graduation-cap',
		'description' => 'Lehre',
		'expand' => true,
		'sort' => 2,
		'children'=> array(
			'cis' => array(
				'link' => CIS_ROOT,
				'icon' => '',
				'description' => 'CIS',
				'expand' => true,
				'sort' => 1
			),
			'infocenter' => array(
				'link' => site_url('system/infocenter/InfoCenter'),
				'icon' => 'info',
				'description' => 'Infocenter',
				'expand' => true,
				'sort' => 2,
				'requiredPermissions' => 'infocenter:r'
			),
		)
	),
	'administration' => array(
		'link' => '#',
		'icon' => 'gear',
		'description' => 'Administration',
		'expand' => false,
		'sort' => 3,
		'children'=> array(
			'vilesci' => array(
				'link' => base_url('vilesci'),
				'icon' => '',
				'description' => 'Vilesci',
				'expand' => true,
				'sort' => 1,
				'requiredPermissions' => 'basis/vilesci:r'
			),
			'extensions' => array(
				'link' => site_url('system/extensions/Manager'),
				'icon' => 'cubes',
				'description' => 'Extensions Manager',
				'expand' => true,
				'sort' => 2,
				'requiredPermissions' => 'admin:r'
			)
		)
	)
);

$config['navigation_menu']['organisation/Reihungstest/index'] = array(
	'reihungstestverwalung' => array(
		'link' => base_url('vilesci/stammdaten/reihungstestverwaltung.php'),
		'description' => 'Reihungstestverwaltung',
		'icon' => 'cogs',
		'sort' => 1,
		'target' => '_blank'
	),
	'auswertung' => array(
		'link' => CIS_ROOT.'/cis/testtool/admin/auswertung.php',
		'description' => 'Auswertung',
		'icon' => 'list-alt',
		'sort' => 1,
		'target' => '_blank'
	)
);
