Compare commits

...
3 changed files with 27 additions and 4 deletions
+1 -1
View File
@@ -709,7 +709,7 @@ class UDFLib
if (isset($field[self::LIST_VALUES]['enum'])) {
$field['options'] = $field[self::LIST_VALUES]['enum'];
} elseif (isset($field[self::LIST_VALUES]['sql'])) {
$res = $this->_ci->UDFModel->execReadOnlyQuery($field[self::LIST_VALUES]['sql']);
$res = $this->_ci->UDFModel->execReadOnlyQuery($field[self::LIST_VALUES]['sql'], [getUserLanguage()]);
$field['options'] = hasData($res) ? getData($res) : [];
}
}
+3 -3
View File
@@ -995,7 +995,7 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
// Check ob Lehrveranstaltung ein Praktikum mit eingetragener Firma besitzt
$qry = "
SELECT
tbl_firma.name, lehrveranstaltung_id, firma_id
tbl_firma.name, tbl_lehreinheit.lehrveranstaltung_id, firma_id
FROM
lehre.tbl_projektarbeit
JOIN lehre.tbl_lehreinheit USING(lehreinheit_id)
@@ -1019,14 +1019,14 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
// Aber kein Auslandssemester war, sonst wirds spaeter hinzugefügt
$qry = "
SELECT
lehrveranstaltung_id, titel, themenbereich, note, titel_english
tbl_lehreinheit.lehrveranstaltung_id, titel, themenbereich, note, titel_english
FROM
lehre.tbl_projektarbeit
JOIN lehre.tbl_lehreinheit USING(lehreinheit_id)
WHERE
student_uid=".$db->db_add_param($uid_arr[$i])."
AND projekttyp_kurzbz in('Bachelor', 'Diplom')
AND lehrveranstaltung_id=".$db->db_add_param($row_stud->lehrveranstaltung_id)."
AND tbl_lehreinheit.lehrveranstaltung_id=".$db->db_add_param($row_stud->lehrveranstaltung_id)."
AND NOT EXISTS(SELECT 1
FROM bis.tbl_bisio
JOIN lehre.tbl_lehreinheit USING(lehreinheit_id)
+23
View File
@@ -58177,6 +58177,29 @@ I have been informed that I am under no obligation to consent to the transmissio
)
),
// ### Phrases Dashboard Admin END
//**************************** FHTW Addon start
array(
'app' => 'core',
'category' => 'fhtw',
'phrase' => 'studienzweig',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Studienzweig',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'Study branch',
'description' => '',
'insertvon' => 'system'
)
)
),
//**************************** FHTW Addon end
);