<?php echo \Studip\LinkButton::create(_("Alle Termine ausfallen lassen"), URLHelper::getURL("dispatch.php/course/cancel_dates", array('issue_id' => $topic->getId())), array('data-dialog' => '')); ?> <? endif ?> <? if ($key > 0) : ?> <form action="?" method="post" style="display: inline;"> <input type="hidden" name="move_up" value="<?php echo $topic->getId(); ?> "> <input type="hidden" name="open" value="<?php echo $topic->getId(); ?> "> <?php echo \Studip\Button::createMoveUp(_("nach oben verschieben")); ?> </form> <? endif ?> <? if ($key < count($topics) - 1) : ?> <form action="?" method="post" style="display: inline;"> <input type="hidden" name="move_down" value="<?php echo $topic->getId(); ?> "> <input type="hidden" name="open" value="<?php echo $topic->getId(); ?> "> <?php echo \Studip\Button::createMoveDown(_("nach unten verschieben"));