Пример #1
0
echo Icon::create('trash', 'clickable', ['title' => _('Diese Anfrage zurückziehen')])->asImg(16);
?>
                    </a>
                </td>
            </tr>
        <? endforeach ?>
        <? if ($request_id == $rr->getId()) : ?>
            <tr>
                <td colspan="4">
                    <?php 
echo $this->render_partial('course/room_requests/_request.php', array('request' => $rr));
?>
                </td>
            </tr>
        <? endif ?>
    </table>
<? else : ?>
    <?php 
echo MessageBox::info(_('Zu dieser Veranstaltung sind noch keine Raumanfragen vorhanden.'));
?>
<? endif ?>

<? if (Request::isXhr()) : ?>
    <div data-dialog-button>
        <?php 
echo \Studip\LinkButton::createEdit(_('Neue Raumanfrage erstellen'), $controller->url_for('course/room_requests/new/' . $course_id, $url_params), array('data-dialog' => 'size=big'));
?>
    </div>
<? endif ?>
<?
Пример #2
0
                    }?>
                <? elseif (!is_numeric($selected_action)) : ?>
                    <? $plugin = PluginManager::getInstance()->getPlugin($selected_action) ?>
                    <? $template = $plugin->getAdminCourseActionTemplate($semid, $values) ?>
                    <? if ($template) : ?>
                        <?php 
echo $template->render();
?>
                    <? else : ?>
                        <?php 
echo \Studip\LinkButton::createEdit($actions[$selected_action]['title'], URLHelper::getURL(sprintf($actions[$selected_action]['url'], $semid), $actions[$selected_action]['params'] ? $actions[$selected_action]['params'] : array()), $actions[$selected_action]['attributes'] ? $actions[$selected_action]['attributes'] : array());
?>
                    <? endif ?>
                <? else : ?>
                    <?php 
echo \Studip\LinkButton::createEdit($actions[$selected_action]['title'], URLHelper::getURL(sprintf($actions[$selected_action]['url'], $semid), $actions[$selected_action]['params'] ? $actions[$selected_action]['params'] : array()), $actions[$selected_action]['attributes'] ? $actions[$selected_action]['attributes'] : array());
?>
                <? endif ?>
            </td>
        </tr>
    <? } ?>
    </tbody>
<? if ($actions[$selected_action]['multimode']) : ?>
    <tfoot>
        <tr>
            <td colspan="<?php 
echo $colspan;
?>
" style="text-align: right">
                <?php 
echo Studip\Button::createAccept(is_string($actions[$selected_action]['multimode']) ? $actions[$selected_action]['multimode'] : $actions[$selected_action]['title'], $actions[$selected_action]['name']);
Пример #3
0
                                        <? $material = true ?>
                                    <? endif ?>
                                </ul>
                                <? if (!$material) : ?>
                                    <?php 
echo _("Keine Materialien zu dem Thema vorhanden");
?>
                                <? endif ?>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                    <div style="text-align: center;">
                        <? if ($GLOBALS['perm']->have_studip_perm("tutor", $_SESSION['SessionSeminar'])) : ?>
                            <?php 
echo \Studip\LinkButton::createEdit(_('Bearbeiten'), URLHelper::getURL("dispatch.php/course/topics/edit/" . $topic->getId()), array('data-dialog' => ''));
?>

                            <? if (!$cancelled_dates_locked && $topic->dates->count()) : ?>
                                <?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();