From c028a769cc9334bb56825e4ef17e2920aaa234d1 Mon Sep 17 00:00:00 2001 From: Paolo Date: Mon, 3 Mar 2025 13:44:40 +0100 Subject: [PATCH 1/3] TableWidget bug: the bootstrapVersion was provided with the tableUniqueId, not needed --- application/widgets/TableWidget.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/application/widgets/TableWidget.php b/application/widgets/TableWidget.php index c48308258..28e7c4a4f 100644 --- a/application/widgets/TableWidget.php +++ b/application/widgets/TableWidget.php @@ -95,10 +95,8 @@ class TableWidget extends Widget */ public function display($widgetData) { - $this->view(self::WIDGET_URL_TABLE, array( - 'tableUniqueId' => $widgetData[TableWidgetLib::TABLE_UNIQUE_ID], - 'bootstrapVersion' => $widgetData[TableWidgetLib::TABLE_BOOTSTRAP_VERSION], + 'tableUniqueId' => $widgetData[TableWidgetLib::TABLE_UNIQUE_ID] )); // GUI starts here } From ff658526432d8734a3bdce3239a6262e5aed3d69 Mon Sep 17 00:00:00 2001 From: Harald Bamberger Date: Wed, 12 Mar 2025 08:21:03 +0100 Subject: [PATCH 2/3] neues recht basis/verwaltet_oe --- system/dbupdate_3.4.php | 1 + .../dbupdate_3.4/55614_perm_verwaltetoe.php | 41 +++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 system/dbupdate_3.4/55614_perm_verwaltetoe.php diff --git a/system/dbupdate_3.4.php b/system/dbupdate_3.4.php index d007c04f6..ebb03bce7 100644 --- a/system/dbupdate_3.4.php +++ b/system/dbupdate_3.4.php @@ -72,6 +72,7 @@ require_once('dbupdate_3.4/53903_valorisierung.php'); require_once('dbupdate_3.4/55968_index_anrechnung.php'); require_once('dbupdate_3.4/25999_locale_update.php'); require_once('dbupdate_3.4/55289_pep_fine_tuning.php'); +require_once('dbupdate_3.4/55614_perm_verwaltetoe.php'); // *** Pruefung und hinzufuegen der neuen Attribute und Tabellen echo '

Pruefe Tabellen und Attribute!

'; diff --git a/system/dbupdate_3.4/55614_perm_verwaltetoe.php b/system/dbupdate_3.4/55614_perm_verwaltetoe.php new file mode 100644 index 000000000..4b31b48a6 --- /dev/null +++ b/system/dbupdate_3.4/55614_perm_verwaltetoe.php @@ -0,0 +1,41 @@ +, + * + * Beschreibung: + * Permission basis/verwaltet_oe + */ +if (! defined('DB_NAME')) exit('No direct script access allowed'); + +// Add permission: basis/gehaelter +if($result = @$db->db_query("SELECT 1 FROM system.tbl_berechtigung WHERE berechtigung_kurzbz = 'basis/verwaltet_oe';")) +{ + if($db->db_num_rows($result) == 0) + { + $qry = "INSERT INTO system.tbl_berechtigung(berechtigung_kurzbz, beschreibung) VALUES('basis/verwaltet_oe', 'Rechteinhaberin hat etwas mit der Verwaltung der OE zu tun.');"; + + if(!$db->db_query($qry)) + { + echo 'system.tbl_berechtigung '.$db->db_last_error().'
'; + } + else + { + echo 'system.tbl_berechtigung: Added permission "basis/verwaltet_oe"
'; + } + } +} From 129637cf4f4c796dc8edfbb583e31bf78ec76a2a Mon Sep 17 00:00:00 2001 From: Harald Bamberger Date: Wed, 12 Mar 2025 12:05:34 +0100 Subject: [PATCH 3/3] add phrases for lvdev overviews --- system/phrasesupdate.php | 104 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 103 insertions(+), 1 deletion(-) diff --git a/system/phrasesupdate.php b/system/phrasesupdate.php index acb7a12e6..a5b83c31d 100644 --- a/system/phrasesupdate.php +++ b/system/phrasesupdate.php @@ -40411,7 +40411,7 @@ array( ) ) ), - array( + array( 'app' => 'core', 'category' => 'mobility', 'phrase' => 'mobility_bearbeiten', @@ -40432,6 +40432,108 @@ array( ) ), // FHC4 Phrases Mobility End + // feature-55614 begin + array( + 'app' => 'core', + 'category' => 'kvp', + 'phrase' => 'lvdev_uebersichten', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'LV-Weiterentwicklung Übersichten', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Course Development Overviews', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'lehre', + 'phrase' => 'kompetenzfeld', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Kompetenzfeld', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'competence field', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'ui', + 'phrase' => 'expand_all', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'alle ausklappen', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'expand all', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'ui', + 'phrase' => 'collapse_all', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'alle einklappen', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'collapse all', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'lehre', + 'phrase' => 'quellkurs', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Quellkurs', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'Source Course', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + // feature-55614 end );