- 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
+1 -1
View File
@@ -139,7 +139,7 @@ function sendSanchoMail($vorlage_kurzbz, $vorlage_data, $to, $subject, $headerIm
function parseMailContent($vorlage_kurzbz, $vorlage_data)
{
$vorlage = new Vorlage();
$vorlage->getAktuelleVorlage('etw', $vorlage_kurzbz);
$vorlage->getAktuelleVorlage(FHC_OE_ROOT, $vorlage_kurzbz);
// If the text and the subject of the template are not empty
if (!empty($vorlage->text))