From 947dc61f1953dd79df74d3f378517b1f28245dd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Fri, 26 Jan 2018 16:01:52 +0100 Subject: [PATCH] Added new FH-Complete Start Page --- application/controllers/Vilesci.php | 13 +- application/views/home.php | 158 +++++++++++++++++++++++++ application/views/vilesci_frameset.php | 13 -- 3 files changed, 167 insertions(+), 17 deletions(-) create mode 100644 application/views/home.php delete mode 100644 application/views/vilesci_frameset.php 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/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 + ) + ); + + ?> +
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
26
+
neue Messages
+
+
+
+ + + +
+
+
+
+
+
+
+ +
+
+
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 @@ - - - - - - - - <body bgcolor="#FFFFFF"> - This application works only with a frames-enabled browser.<br /> - <a href="<?php echo base_url('vilesci/main.php')?>">Use without frames</a> - </body> - -