diff options
| author | Friedrich Beckmann <friedrich.beckmann@gmx.de> | 2026-02-02 16:20:32 +0100 |
|---|---|---|
| committer | Friedrich Beckmann <friedrich.beckmann@gmx.de> | 2026-02-02 16:20:32 +0100 |
| commit | 3a64ea6bb6239f8ca71573c7b06393c37fa0f3ae (patch) | |
| tree | 75d77ae434ac0fe774440fe112778f038e57d7fc /setup.php | |
| parent | 89bdf1d0f1de2a4e540e61903f75a3766f02ce7d (diff) | |
fix test data to comply with matrikelnummer checks and history
Diffstat (limited to 'setup.php')
| -rw-r--r-- | setup.php | 33 |
1 files changed, 20 insertions, 13 deletions
@@ -58,47 +58,54 @@ $notenamt = ["1"]; //amt is either 1 or not set, i.e "" $notendelete = ["00", "000"]; //Unset value in database "00" for labor, "000" for klausur $students = array ( - "12345" => array ( + "1234567" => array ( "vorname" => "Karl", "nachname" => "Meier", "studiengang" => "EI", "noten" => array ( "ti" => array ( "klausur" => "500", - "labor" => "BE" + "labor" => "BE", + "amt" => "" ), "dt" => [] - ) + ), + "history" => ["nix passiert"] + ), - "11111" => array ( + "1111111" => array ( "vorname" => "Claudia", "nachname" => "Darbo", "studiengang" => "ME", - "noten" => array("ti" => [],"dt" => []) + "noten" => array("ti" => [],"dt" => []), + "history" => ["noch nix passiert"] + ), - "22222" => array ( + "2222222" => array ( "vorname" => "Günther", "nachname" => "Kohl", "studiengang" => "TI", - "noten" => array("ti" => [],"dt" => []) + "noten" => array("ti" => [],"dt" => []), + "history" => ["gar nix passiert", "oder doch?"] + ) ); $groups = array ( "WiSe 2025/26" => array ( "ti" => array ( - "G99-AA" => ["12345", "11111"], - "G99-ZZ" => ["22222", "11111"] + "G99-AA" => ["1234567", "1111111"], + "G99-ZZ" => ["2222222", "1111111"] ) ), "SoSe 2025" => array ( "ti" => array ( - "G99-AA" => ["11111"], - "G98-ZZ" => ["22222"] + "G99-AA" => ["1111111"], + "G98-ZZ" => ["2222222"] ), "dt" => array ( - "G99-KK" => ["11111"], - "G37-ZZ" => ["22222","12345"] + "G99-KK" => ["1111111"], + "G37-ZZ" => ["2222222","1234567"] ) ) ); |
