Merge branch 'feature-33683/digitale_anwesenheitsliste_und_entschuldigungsmanagement_fuer_studierende_prototyp' into feature-25999/C4_cleanup

This commit is contained in:
Harald Bamberger
2024-11-12 11:21:16 +01:00
13 changed files with 158 additions and 32 deletions
+1 -1
View File
@@ -374,4 +374,4 @@ if($neue==false)
echo '<br>Keine neuen Webservicerechte';
echo '</body></html>';
?>
?>
@@ -0,0 +1,16 @@
<?php
if (! defined('DB_NAME')) exit('No direct script access allowed');
// add app fhctemplate
if($result = $db->db_query("SELECT 1 FROM system.tbl_app WHERE app='anwesenheiten'"))
{
if($db->db_num_rows($result) === 0)
{
$qry = "INSERT INTO system.tbl_app (app) VALUES('anwesenheiten');";
if(!$db->db_query($qry))
echo '<strong>System Tabelle app: '.$db->db_last_error().'</strong><br>';
else
echo '<br>app anwesenheiten hinzugefuegt';
}
}
+62 -2
View File
@@ -31224,6 +31224,66 @@ array(
)
)
),
array(
'app' => 'anwesenheiten',
'category' => 'global',
'phrase' => 'notAuthorizedForLva',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Keine Berechtigung für die Lehrveranstaltung.',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'No Authorization for that Course.',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'anwesenheiten',
'category' => 'global',
'phrase' => 'notAuthorizedForLe',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Keine Berechtigung für die Lehreinheit.',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'No Authorization for that Teaching Unit.',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'anwesenheiten',
'category' => 'global',
'phrase' => 'noAuthorization',
'insertvon' => 'system',
'phrases' => array(
array(
'sprache' => 'German',
'text' => 'Keine Berechtigung.',
'description' => '',
'insertvon' => 'system'
),
array(
'sprache' => 'English',
'text' => 'No Authorization.',
'description' => '',
'insertvon' => 'system'
)
)
),
array(
'app' => 'anwesenheiten',
'category' => 'global',
@@ -31279,7 +31339,7 @@ array(
array(
'app' => 'anwesenheiten',
'category' => 'global',
'phrase' => 'tooltipStudentAssistenz',
'phrase' => 'tooltipAssistenz',
'insertvon' => 'system',
'phrases' => array(
array(
@@ -37181,4 +37241,4 @@ foreach ($phrases as $phrase)
}
if(!$new)
echo '<b>Keine neuen Phrasen</b><br>';
echo '<b>Keine neuen Phrasen</b><br>';