diff --git a/application/controllers/Vilesci.php b/application/controllers/Vilesci.php
index fed0f077b..abfad4dd1 100644
--- a/application/controllers/Vilesci.php
+++ b/application/controllers/Vilesci.php
@@ -1,9 +1,16 @@
-load->library('WidgetLib');
+ }
+
/**
* Index Page for this controller.
*
@@ -22,8 +29,6 @@ class Vilesci extends FHC_Controller
*/
public function index()
{
- $this->load->view('templates/header');
- $this->load->view('vilesci_frameset');
- $this->load->view('templates/footer');
+ $this->load->view('home');
}
}
diff --git a/application/controllers/system/infocenter/InfoCenter.php b/application/controllers/system/infocenter/InfoCenter.php
index 1d0b25b3f..4f4cefd79 100644
--- a/application/controllers/system/infocenter/InfoCenter.php
+++ b/application/controllers/system/infocenter/InfoCenter.php
@@ -70,6 +70,10 @@ class InfoCenter extends VileSci_Controller
$this->_setAuthUID(); // sets property uid
+ $this->load->library('PermissionLib');
+ if(!$this->permissionlib->isBerechtigt('basis/person'))
+ show_error('You have no Permission! You need Infocenter Role');
+
$this->_setNavigationMenuArray(); // sets property navigationMenuArray
$this->navigationHeaderArray = array(
diff --git a/application/views/home.php b/application/views/home.php
new file mode 100644
index 000000000..5e7deddb0
--- /dev/null
+++ b/application/views/home.php
@@ -0,0 +1,158 @@
+load->view('templates/FHC-Header',
+ array(
+ 'title' => 'FH-Complete',
+ 'jquery' => true,
+ 'bootstrap' => true,
+ 'fontawesome' => true,
+ 'sbadmintemplate' => true
+ )
+);
+?>
+
+
+ 'FH-Complete', 'headertextlink' => base_url('index.ci.php/'));
+ $navigationMenuArray = array(
+ 'Dashboard' => array('link' => '#', 'description' => 'Dashboard', 'icon' => 'dashboard'),
+ 'Lehre' => array('link' => '#', 'icon' => 'graduation-cap', 'description' => 'Lehre', 'expand' => true,
+ 'children'=> array(
+ 'CIS' => array('link' => CIS_ROOT, 'icon' => '', 'description' => 'CIS', 'expand' => true),
+ 'Infocenter' => array('link' => base_url('index.ci.php/system/infocenter/InfoCenter'), 'icon' => 'info', 'description' => 'Infocenter', 'expand' => true),
+ )
+ ),
+ 'Administration' => array('link' => '#', 'icon' => 'gear', 'description' => 'Administration', 'expand' => false,
+ 'children'=> array(
+ 'Vilesci' => array('link' => base_url('vilesci/'), 'icon' => '', 'description' => 'Vilesci', 'expand' => true),
+ 'Extensions' => array('link' => base_url('index.ci.php/system/extensions/Manager'), 'icon' => 'cubes', 'description' => 'Extensions Manager', 'expand' => true),
+ 'Datenschutz' => array('link' => base_url('index.ci.php/extensions/FHC-Core-DSMS/export'), 'description' => 'Datenschutz', 'icon' => 'legal','expand' => true)
+ )
+ ),
+ );
+
+ echo $this->widgetlib->widget(
+ 'NavigationWidget',
+ array(
+ 'navigationHeader' => $navigationHeaderArray,
+ 'navigationMenu' => $navigationMenuArray
+ )
+ );
+
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
12
+
neue Interessenten
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
124
+
inaktive Interessenten
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
13
+
Support Tickets!
+
+
+
+
+
+
+
+
+
+
+
+
+ load->view('system/infocenter/infocenterData.php');
+ ?>
+
+
+
+
+
+
+load->view('templates/FHC-Footer'); ?>
diff --git a/application/views/vilesci_frameset.php b/application/views/vilesci_frameset.php
deleted file mode 100644
index cd193d90e..000000000
--- a/application/views/vilesci_frameset.php
+++ /dev/null
@@ -1,13 +0,0 @@
-