diff --git a/application/libraries/ExtensionsLib.php b/application/libraries/ExtensionsLib.php index 77085b182..9fe5d9e87 100644 --- a/application/libraries/ExtensionsLib.php +++ b/application/libraries/ExtensionsLib.php @@ -454,7 +454,7 @@ class ExtensionsLib require_once('version.php'); // get the core version // Checks if the required core version of the extension is the same of this system - if (isset($extensionJson->core_version) && $extensionJson->core_version == $fhcomplete_version) + if (isset($extensionJson->core_version) && version_compare($extensionJson->core_version, $fhcomplete_version,'<=')) { $this->_printMessage('Required core version: '.$extensionJson->core_version); $this->_printMessage('Current core version: '.$fhcomplete_version); diff --git a/application/views/lehre/pruefungsprotokoll.php b/application/views/lehre/pruefungsprotokoll.php index 6179b5b25..208f2bdbb 100644 --- a/application/views/lehre/pruefungsprotokoll.php +++ b/application/views/lehre/pruefungsprotokoll.php @@ -1,46 +1,47 @@ load->view( - 'templates/FHC-Header', - array( - 'title' => 'Pruefungsprotokoll', - 'jquery3' => true, - 'jqueryui1' => true, - 'bootstrap3' => true, - 'fontawesome4' => true, - 'dialoglib' => true, - 'ajaxlib' => true, - 'sbadmintemplate3' => true, - 'phrases' => array( - 'abschlusspruefung' => array( - 'freigegebenAm', - 'pruefungGespeichert', - 'pruefungSpeichernFehler', - 'abschlussbeurteilungLeer', - 'beginnzeitLeer', - 'beginnzeitFormatError', - 'endezeitLeer', - 'endezeitFormatError', - 'endezeitBeforeError', - 'verfNotice' - ), - 'ui' => array( - 'stunde', - 'minute' - ) +$sitesettings = array( + 'title' => 'Pruefungsprotokoll', + 'jquery3' => true, + 'jqueryui1' => true, + 'bootstrap3' => true, + 'fontawesome4' => true, + 'dialoglib' => true, + 'ajaxlib' => true, + 'sbadmintemplate3' => true, + 'phrases' => array( + 'abschlusspruefung' => array( + 'freigegebenAm', + 'pruefungGespeichert', + 'pruefungSpeichernFehler', + 'abschlussbeurteilungLeer', + 'beginnzeitLeer', + 'beginnzeitFormatError', + 'endezeitLeer', + 'endezeitFormatError', + 'endezeitBeforeError', + 'verfNotice' ), - 'customCSSs' => array( - 'public/css/sbadmin2/admintemplate_contentonly.css', - 'vendor/fgelinas/timepicker/jquery.ui.timepicker.css', - 'public/css/lehre/pruefungsprotokoll.css' - ), - 'customJSs' => array( - 'vendor/fgelinas/timepicker/jquery.ui.timepicker.js', - 'public/js/lehre/pruefungsprotokoll.js' + 'ui' => array( + 'stunde', + 'minute' ) + ), + 'customCSSs' => array( + 'public/css/sbadmin2/admintemplate_contentonly.css', + 'vendor/fgelinas/timepicker/jquery.ui.timepicker.css', + 'public/css/lehre/pruefungsprotokoll.css' + ), + 'customJSs' => array( + 'vendor/fgelinas/timepicker/jquery.ui.timepicker.js', + 'public/js/lehre/pruefungsprotokoll.js' ) ); + +$this->load->view( + 'templates/FHC-Header', + $sitesettings +); ?> -
@@ -230,4 +231,8 @@ $this->load->view(
- +load->view( + 'templates/FHC-Footer', + $sitesettings +); diff --git a/application/views/system/fas_udf.php b/application/views/system/fas_udf.php index 5ee8c9bfe..6d3c710ca 100644 --- a/application/views/system/fas_udf.php +++ b/application/views/system/fas_udf.php @@ -1,28 +1,30 @@ load->view( - 'templates/FHC-Header', - array( - 'title' => 'InfocenterDetails', - 'jquery3' => true, - 'bootstrap3' => true, - 'fontawesome4' => true, - 'jqueryui1' => true, - 'dialoglib' => true, - 'ajaxlib' => true, - 'udfs' => true, - 'widgets' => true, - 'sbadmintemplate3' => true, - 'customCSSs' => array( - 'public/css/sbadmin2/admintemplate.css' - ), - 'customJSs' => array( - 'public/js/bootstrapper.js' - ) - ) - ); +$sitesettings = array( + 'title' => 'InfocenterDetails', + 'jquery3' => true, + 'bootstrap3' => true, + 'fontawesome4' => true, + 'jqueryui1' => true, + 'dialoglib' => true, + 'ajaxlib' => true, + 'udfs' => true, + 'widgets' => true, + 'sbadmintemplate3' => true, + 'customCSSs' => array( + 'public/css/sbadmin2/admintemplate.css' + ), + 'customJSs' => array( + 'public/js/bootstrapper.js' + ) +); + +$this->load->view( + 'templates/FHC-Header', + $sitesettings +); ?> - +
@@ -104,7 +106,4 @@
- - -load->view("templates/footer"); ?> - +load->view("templates/FHC-Footer", $sitesettings); ?> diff --git a/content/lvplanung/lehrveranstaltungdetailoverlay.xul.php b/content/lvplanung/lehrveranstaltungdetailoverlay.xul.php index e18407e72..0d238d179 100644 --- a/content/lvplanung/lehrveranstaltungdetailoverlay.xul.php +++ b/content/lvplanung/lehrveranstaltungdetailoverlay.xul.php @@ -469,12 +469,24 @@ $p = new phrasen($sprache);