mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 08:22:17 +00:00
kopierbutton ausblenden wenn nur eine le
This commit is contained in:
@@ -148,7 +148,8 @@ $gewicht = (isset($_POST['gewicht'])?$_POST['gewicht']:'');
|
||||
$positiv = (isset($_POST['positiv'])?$_POST['positiv']:'');
|
||||
|
||||
$uebung_id = (isset($_GET['uebung_id'])?$_GET['uebung_id']:'');
|
||||
$copy_content = '';
|
||||
$copy_content = '';
|
||||
$copy_dropdown = '';
|
||||
|
||||
//Kopfzeile
|
||||
echo '<table class="tabcontent" height="100%">';
|
||||
@@ -864,13 +865,16 @@ else
|
||||
echo "</td></tr>";
|
||||
}
|
||||
echo "<tr><td colspan='3' align='right'><input type='Submit' value='Auswahl löschen' name='delete_uebung' onclick='return confirmdelete();'></td><td></td></tr>";
|
||||
echo "</form>";
|
||||
echo "<tr><td colspan='3'> </td></tr>";
|
||||
echo "<tr><td colspan='3' class='ContentHeader3'>Vorhandene Übungen kopieren</td></tr>";
|
||||
|
||||
$uebung_id_source_dropdown .= "</select>";
|
||||
echo "<tr><td colspan='3'>";
|
||||
echo "<form name='copy' action='verwaltung.php?lvid=$lvid&stsem=$stsem&lehreinheit_id=$lehreinheit_id' method='POST'><table><tr><td>Übung</td><td></td><td>Lehreinheit</td><td></td></tr><tr><td>".$uebung_id_source_dropdown."</td><td>-></td><td>".$copy_dropdown."</td><td><input type='submit' name='copy_uebung' value='kopieren'></td></tr></table></form>";
|
||||
echo "</form>";
|
||||
if ($copy_dropdown != '')
|
||||
{
|
||||
echo "<tr><td colspan='3'> </td></tr>";
|
||||
echo "<tr><td colspan='3' class='ContentHeader3'>Vorhandene Übungen kopieren</td></tr>";
|
||||
|
||||
$uebung_id_source_dropdown .= "</select>";
|
||||
echo "<tr><td colspan='3'>";
|
||||
echo "<form name='copy' action='verwaltung.php?lvid=$lvid&stsem=$stsem&lehreinheit_id=$lehreinheit_id' method='POST'><table><tr><td>Übung</td><td></td><td>Lehreinheit</td><td></td></tr><tr><td>".$uebung_id_source_dropdown."</td><td>-></td><td>".$copy_dropdown."</td><td><input type='submit' name='copy_uebung' value='kopieren'></td></tr></table></form>";
|
||||
echo "</td></tr>";
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user