From 6da1762b63355c55dc8d122676f1f879c31c508d Mon Sep 17 00:00:00 2001 From: kindlm Date: Mon, 25 Jan 2016 16:48:29 +0100 Subject: [PATCH] =?UTF-8?q?Testtool=20neues=20Logo,=20Antworten=20l=C3=B6s?= =?UTF-8?q?chen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Antworten eines bestimmten Prestudenten löschen, auch wenn dieser nicht am aktuellen Tag zugeteilt ist. --- cis/testtool/topbar.php | 2 +- .../reihungstest_administration.php | 52 +++++++++++++++---- 2 files changed, 43 insertions(+), 11 deletions(-) diff --git a/cis/testtool/topbar.php b/cis/testtool/topbar.php index c63004ee1..9eb969c3b 100644 --- a/cis/testtool/topbar.php +++ b/cis/testtool/topbar.php @@ -99,7 +99,7 @@ function changeSprache(sprache) echo '
- + '; + Prüfling: '; +if($prestudent_id!='' && !in_array($prestudent_id, $prestudent_arr)) +{ + echo ' '; +} -if(isset($_POST['prestudent']) && is_numeric($_POST['prestudent'])) - $prestudent_id = $_POST['prestudent']; -else - $prestudent_id = ''; - -if ($prestudent_id!='') +if ($prestudent_id!='' && $prestudent_id!='-1') { $qry = "SELECT DISTINCT(tbl_gebiet.gebiet_id),tbl_gebiet.bezeichnung,tbl_gebiet.kurzbz FROM testtool.tbl_gebiet JOIN testtool.tbl_ablauf USING (gebiet_id)