- Added new global constant FHC_OE_ROOT in config/global.config-default.inc.php

- Replaced where needed the string "etw" with FHC_OE_ROOT
- Added new config entry "cis_oes_lehrauftraege" in application/config/cis.php
- Used the new config entry "cis_oes_lehrauftraege" in the view
  application/views/lehre/lehrauftrag/acceptLehrauftrag.php to replace
  the hard coded strings "etw" and "lehrgang"
This commit is contained in:
Paolo
2026-02-18 11:19:41 +01:00
parent bb273d10bd
commit ac5bbf7ac6
10 changed files with 51 additions and 30 deletions
+2 -1
View File
@@ -22,6 +22,7 @@
* Dieses Skript prueft die gesamte Systemumgebung und sollte nach jedem Update gestartet werden.
* Geprueft wird: die Datenbank per "dbupdate_VERSION.php" auf aktualitaet, dabei werden fehlende Attribute angelegt.
*/
require_once('../config/global.config.inc.php');
require_once('../config/system.config.inc.php');
require_once('../include/basis_db.class.php');
require_once('../version.php');
@@ -374,4 +375,4 @@ if($neue==false)
echo '<br>Keine neuen Webservicerechte';
echo '</body></html>';
?>
?>
+2 -2
View File
@@ -5053,7 +5053,7 @@ if ($result = @$db->db_query("SELECT 1 FROM campus.tbl_dms_kategorie WHERE kateg
'Anrechnung',
'Dokumente zur Anrechnung von Lehrveranstaltungen',
'studium',
'etw',
".$db->db_add_param(FHC_OE_ROOT).",
NULL
);";
if (!$db->db_query($qry))
@@ -5712,7 +5712,7 @@ if ($result = @$db->db_query("SELECT 1 FROM campus.tbl_dms_kategorie WHERE kateg
'International Nachweis',
'Nachweis der Internationalisierungsmaßnahmen',
'fas',
'etw',
".$db->db_add_param(FHC_OE_ROOT).",
NULL
);";
if (!$db->db_query($qry))