From 95e63f865cafe1540a79af431776f801c7c6007e Mon Sep 17 00:00:00 2001 From: Harald Bamberger Date: Mon, 22 Jun 2026 15:25:51 +0200 Subject: [PATCH] add CIS4 Header and Footer to application/views/lehre/pruefungsprotokollUebersicht.php --- .../lehre/pruefungsprotokollUebersicht.php | 81 ++++++++++++------- 1 file changed, 52 insertions(+), 29 deletions(-) diff --git a/application/views/lehre/pruefungsprotokollUebersicht.php b/application/views/lehre/pruefungsprotokollUebersicht.php index e75e3c914..e9e61e548 100644 --- a/application/views/lehre/pruefungsprotokollUebersicht.php +++ b/application/views/lehre/pruefungsprotokollUebersicht.php @@ -1,33 +1,45 @@ load->view( - 'templates/FHC-Header', - array( - 'title' => 'Prüfungsprotokoll', - 'jquery3' => true, - 'jqueryui1' => true, - 'jquerycheckboxes1' => true, - 'bootstrap3' => true, - 'fontawesome4' => true, - 'tablesorter2' => true, - 'tabulator5' => true, - 'tabulator5JQuery' => true, - 'cis'=>true, - 'ajaxlib' => true, - 'dialoglib' => true, - 'tablewidget' => true, - 'phrases' => array( - 'ui' => array( - 'keineDatenVorhanden', - 'heute', - 'letzteWoche', - 'alle', - 'zeitraum' - ) - ), - 'customCSSs' => array('public/css/sbadmin2/tablesort_bootstrap.css'), - 'customJSs' => array('public/js/bootstrapper.js') - ) + $includesArray = array( + 'title' => 'Prüfungsprotokoll', + 'jquery3' => true, + 'jqueryui1' => true, + 'jquerycheckboxes1' => true, + 'bootstrap3' => true, + 'fontawesome4' => true, + 'tablesorter2' => true, + 'tabulator5' => true, + 'tabulator5JQuery' => true, + 'cis'=>true, + 'ajaxlib' => true, + 'dialoglib' => true, + 'tablewidget' => true, + 'phrases' => array( + 'ui' => array( + 'keineDatenVorhanden', + 'heute', + 'letzteWoche', + 'alle', + 'zeitraum' + ) + ), + 'customCSSs' => array('public/css/sbadmin2/tablesort_bootstrap.css'), + 'customJSs' => array('public/js/bootstrapper.js') ); + + if(defined("CIS4") && CIS4) + { + $this->load->view( + 'templates/CISVUE-Header', + $includesArray + ); + } + else + { + $this->load->view( + 'templates/FHC-Header', + $includesArray + ); + } ?>
@@ -66,4 +78,15 @@
-load->view('templates/FHC-Footer'); ?> +load->view( + 'templates/CISVUE-Footer', + $includesArray + ); + } else { + $this->load->view( + 'templates/FHC-Footer', + $includesArray + ); + }