status zum studenten aendern auch mit menupopup

This commit is contained in:
ma0048
2021-06-16 08:18:49 +02:00
parent efbdb02b2c
commit 7aa32dff83
+4
View File
@@ -126,6 +126,10 @@ else
echo '
<menu id="'.$id.'" label="'.$label.'">
<menupopup>';
if ($id == 'student-toolbar-student')
echo '<menuitem label="Student" oncommand="StudentUnterbrecherZuStudent()" disabled="false" tooltiptext="Status ändern auf Student"/>';
foreach($gruende[$status_kurzbz] as $row)
{
$commandWithID = str_replace('STATUSGRUNDID',$row['statusgrund_id'],$command);