/** * Entry point of the controller that displays the start page of Stud.IP * * @param string $action * @param string $widgetId * * @return void */ function index_action($action = false, $widgetId = null) { $this->left = WidgetHelper::getUserWidgets($GLOBALS['user']->id, 0); $this->right = WidgetHelper::getUserWidgets($GLOBALS['user']->id, 1); if (!(count($this->left) + count($this->right))) { WidgetHelper::setInitialPositions(); $this->left = WidgetHelper::getUserWidgets($GLOBALS['user']->id, 0); $this->right = WidgetHelper::getUserWidgets($GLOBALS['user']->id, 1); } WidgetHelper::setActiveWidget(Request::get('activeWidget')); $sidebar = Sidebar::get(); $sidebar->setImage('sidebar/home-sidebar.png'); $sidebar->setTitle(_("Meine Startseite")); $nav = new NavigationWidget(); $nav->setTitle(_('Sprungmarken')); foreach (array_merge($this->left, $this->right) as $widget) { $nav->addLink($widget->getPluginName(), $this->url_for('start#widget-' . $widget->widget_id)); } $sidebar->addWidget($nav); // Show action to add widget only if not all widgets have already been added. $actions = new ActionsWidget(); if (WidgetHelper::getAvailableWidgets($GLOBALS['user']->id)) { $actions->addLink(_('Neues Widget hinzufügen'), $this->url_for('start/add'), Icon::create('add', 'clickable'))->asDialog(); } $actions->addLink(_('Standard wiederherstellen'), $this->url_for('start/reset'), Icon::create('accept', 'clickable')); $sidebar->addWidget($actions); // Root may set initial positions if ($GLOBALS['perm']->have_perm('root')) { $settings = new ActionsWidget(); $settings->setTitle(_('Einstellungen')); $settings->addElement(new WidgetElement(_('Standard-Startseite bearbeiten:'))); foreach ($GLOBALS['perm']->permissions as $permission => $useless) { $settings->addElement(new LinkElement(ucfirst($permission), $this->url_for('start/edit_defaults/' . $permission), Icon::create('link-intern', 'clickable'), array('data-dialog' => ''))); } $sidebar->addWidget($settings); } if ($GLOBALS['perm']->get_perm() == 'user') { PageLayout::postMessage(MessageBox::info(_('Sie haben noch nicht auf Ihre Bestätigungsmail geantwortet.'), array(_('Bitte holen Sie dies nach, um Stud.IP Funktionen wie das Belegen von Veranstaltungen nutzen zu können.'), sprintf(_('Bei Problemen wenden Sie sich an: %s'), '<a href="mailto:' . $GLOBALS['UNI_CONTACT'] . '">' . $GLOBALS['UNI_CONTACT'] . '</a>')))); PageLayout::postMessage(MessageBox::info(sprintf(_('Haben Sie die Bestätigungsmail an Ihre Adresse "%s" nicht erhalten?'), htmlReady($GLOBALS['user']->Email)), array(Studip\LinkButton::create(_('Bestätigungsmail erneut verschicken'), $this->url_for('start/resend_validation_mail')) . ' ' . Studip\LinkButton::create(_('Email-Adresse ändern'), $this->url_for('start/edit_mail_address'), array('data-dialog' => "size=auto", 'title' => _('Email-Adresse')))))); } }
echo Studip\LinkButton::create(_("Anmeldung gesperrt"), $controller->url_for('/instant_course_set', array('type' => 'LockedAdmission')), array('data-dialog' => '')); ?> <? endif ?> <? if (isset($activated_admission_rules['TimedAdmission'])) : ?> <?php echo Studip\LinkButton::create(_("Zeitgesteuerte Anmeldung"), $controller->url_for('/instant_course_set', array('type' => 'TimedAdmission')), array('data-dialog' => '')); ?> <? endif ?> <br> <? if (isset($activated_admission_rules['ParticipantRestrictedAdmission'])) : ?> <?php echo Studip\LinkButton::create(_("Teilnahmebeschränkte Anmeldung"), $controller->url_for('/instant_course_set', array('type' => 'ParticipantRestrictedAdmission')), array('data-dialog' => '')); ?> <? if (isset($activated_admission_rules['TimedAdmission'])) : ?> <?php echo Studip\LinkButton::create(_("Zeitgesteuerte und Teilnahmebeschränkte Anmeldung"), $controller->url_for('/instant_course_set', array('type' => 'ParticipantRestrictedAdmission_TimedAdmission')), array('data-dialog' => '')); ?> <? endif ?> <? endif ?> <? endif ?> </div> <? if (!$is_locked['admission_type'] && count($available_coursesets)) : ?> <table class="default nohover collapsable"> <tbody class="collapsed"> <tr class="header-row"> <td> <label class="caption toggler"> <span style="cursor:pointer" title="<?php echo _("Klicken um Zuordnungsmöglichkeiten zu öffnen"); ?> ">
?> </dt> </dl> <div class="buttons"> <div class="button-group"> <?php echo Studip\Button::createAccept(_('Beitrag erstellen'), array('tabindex' => '3')); ?> <?php echo Studip\LinkButton::createCancel(_('Abbrechen'), '', array('onClick' => "return STUDIP.Forum.cancelNewEntry();", 'tabindex' => '4')); ?> <?php echo Studip\LinkButton::create(_('Vorschau'), "javascript:STUDIP.Forum.preview('new_entry', 'new_entry_preview');", array('tabindex' => '5', 'class' => 'js')); ?> <? if (Config::get()->FORUM_ANONYMOUS_POSTINGS): ?> <div style="float: left; margin-top: 14px; margin-left: 14px;"> <label><?php echo _('Anonym'); ?> <input type="checkbox" name="anonymous" value="1"> </label> </div> <? endif; ?> </div> </div> </div> <?php
<? $confirmText = _('Wenn Sie diesen Beitrag löschen wird ebenfalls das gesamte Thema gelöscht. Sind Sie sicher, dass Sie das tun möchten?') ?> <?php echo Studip\LinkButton::create(_('Thema löschen'), $confirmLink, array('onClick' => "STUDIP.Forum.showDialog('{$confirmText}', '{$confirmLinkApproved}'); return false;")); ?> <? else : ?> <? $confirmText = _('Möchten Sie diesen Beitrag wirklich löschen?') ?> <?php echo Studip\LinkButton::create(_('Beitrag löschen'), $confirmLink, array('onClick' => "STUDIP.Forum.showDialog('{$confirmText}', '{$confirmLinkApproved}'); return false;")); ?> <? endif ?> </span> <? endif ?> <? if (ForumPerm::has('forward_entry', $seminar_id)) : ?> <?php echo Studip\LinkButton::create(_('Beitrag weiterleiten'), "javascript:STUDIP.Forum.forwardEntry('" . $post['topic_id'] . "')", array('class' => 'js')); ?> <? endif ?> </span> </div> </div> </div> <? if ($perms['edit']) : ?> <span data-edit-topic="<?php echo $post['topic_id']; ?> " <?php echo $edit_posting == $post['topic_id'] ? '' : 'style="display: none;"'; ?>
<?php echo htmlReady($one['name']); ?> </option> <? endforeach ?> </select> </section> <div class="text-center" data-dialog-button> </div> <? else : ?> <?php echo MessageBox::info(_("In dieser Veranstaltung können keine weiteren Raumanfragen gestellt werden.")); ?> <? endif ?> <div data-dialog-button> <? if (count($options)) : ?> <?php echo Studip\Button::create(_('Erstellen')); ?> <?php echo Studip\LinkButton::createCancel(_('Abbrechen'), $controller->link_for('index/' . $course_id)); ?> <? else : ?> <?php echo Studip\LinkButton::create(_('Zurück zur Übersicht'), $controller->link_for('index/' . $course_id), array('data-dialog' => 'size=big')); ?> <? endif ?> </div> </form>
<li><?php echo _("und vieles mehr."); ?> </li></blockquote><br> </ul> <?php echo _("Mit der Anmeldung werden die nachfolgenden Nutzungsbedingungen akzeptiert:"); ?> <br><br> <? include("locale/$_language_path/LC_HELP/pages/nutzung.html"); ?> <div style="text-align: center"> <div class="button-group"> <?php echo Studip\LinkButton::create(_('Ich erkenne die Nutzungsbedingungen an'), URLHelper::getLink('register2.php')); ?> <?php echo Studip\LinkButton::create(_('Registrierung abbrechen'), URLHelper::getLink('index.php')); ?> </div> </div> </td></tr> <tr><td class="blank"> </td></tr> </table> <?php } include 'lib/include/html_end.inc.php'; page_close();
?> </label> <? endforeach; ?> </fieldset> <footer> <? if ($i_view != 'new' && !$institute->isNew()): ?> <input type="hidden" name="i_id" value="<?php echo $institute->id; ?> "> <?php echo Studip\Button::createAccept(_('Übernehmen'), 'i_edit'); ?> <?php echo Studip\LinkButton::create(_('Löschen'), $controller->url_for('institute/basicdata/index/' . $i_view, array('i_trykill' => 1)), !$may_delete ? array('disabled' => '') : array()); ?> <? if (!$may_delete && strlen($reason_txt) > 0): ?> <?php echo tooltipIcon($reason_txt, true); ?> <? endif; ?> <? else: ?> <?php echo Studip\Button::create(_('Anlegen'), 'create'); ?> <? endif; ?> <input type="hidden" name="i_view" value="<?php echo $i_view; ?> ">
<? endif ?> </form> </td> </tr> </tbody> </table> <div id="sem_type_delete_question_title" style="display: none;"><?php echo _("Sicherheitsabfrage"); ?> </div> <div id="sem_type_delete_question" style="display: none;"> <p class="info"><?php echo _("Wirklich den Veranstaltungstyp löschen?"); ?> </p> <input type="hidden" id="sem_type_for_deletion"> <?php echo Studip\LinkButton::create(_("Löschen"), array('onclick' => "STUDIP.admin_sem_class.delete_sem_type(); return false;")); ?> <?php echo Studip\LinkButton::create(_("Abbrechen"), array('onclick' => "jQuery(this).closest('#sem_type_delete_question').dialog('close'); return false;")); ?> </div> <? $sidebar = Sidebar::Get(); $sidebar->setTitle(PageLayout::getTitle()); $sidebar->setImage('sidebar/plugin-sidebar.png');
<br> <?php echo sprintf(_('<b>Dateigröße:</b> %u kB '), round($document['filesize'] / 1024)); ?> <?php echo sprintf(_('<b>Dateiname:</b> %s '), $document['filename']); ?> <? if ($document['protected']): ?> <?php echo MessageBox::info(_('Diese Datei ist urheberrechtlich geschützt'), array(_('Sie darf nur im Rahmen dieser Veranstaltung verwendet werden, jede weitere ' . 'Verbreitung ist strafbar!'))); ?> <? endif; ?> <div style="text-align: center;"> <div class="button-group"> <?php echo Studip\LinkButton::create(_('Herunterladen'), GetDownloadLink($document['dokument_id'], $document['filename'], $document['type'], 'force')); ?> <? if ($type != 6 && !in_array($document['extension'], words('bz2 gzip tgz zip'))): ?> <?php echo Studip\LinkButton::create(_('Als ZIP herunterladen'), GetDownloadLink($document['dokument_id'], $document['filename'], $document['type'], 'zip')); ?> <? endif; ?> </div> </div> </td> </tr> <? endif; ?> </table> <? endforeach; ?>
?> <? endif ?> <? if ($catalog_id != "new_entry") : ?> <?php echo Assets::img('blank.gif', array('size' => '15@28')); ?> <?php echo Studip\LinkButton::create(_('Verfügbarkeit'), URLHelper::getURL('dispatch.php/literature/edit_element?cmd=check_entry&_catalog_id=' . $catalog_id), array('title' => _('Verfügbarkeit überprüfen'), 'data-dialog' => '')); ?> <? endif ?> <? if ($catalog_id != "new_entry" && !$clipboard->isInClipboard($catalog_id)) : ?> <?php echo Assets::img('blank.gif', array('size' => '15@28')); ?> <?php echo Studip\LinkButton::create(_('Merkliste'), URLHelper::getURL('dispatch.php/literature/edit_element?cmd=in_clipboard&_catalog_id=' . $catalog_id), array('title' => _('Eintrag in Merkliste aufnehmen'), 'data-dialog' => '')); ?> <? endif ?> </footer> <?php echo $form->getFormEnd(); ?> </section> <? if ($reload && $return_range) : ?> <script> jQuery('#lit_edit_element').parent().dialog({ beforeClose: function () { window.location.href = "<?php echo URLHelper::getURL('dispatch.php/literature/edit_list?_range_id=' . $return_range, array(), true); ?>
" method="post"> <?php echo $qsearch->render(); echo Studip\Button::create(_('Einrichtung hinzufügen'), "add_institute", array("rel" => "lightbox")); ?> </form> <h4><?php echo _("Vorhandene Zuordnungen"); ?> </h4> <ul> <? foreach ($institutes as $institute): ?> <li> <?php echo htmlReady($institute->name); ?> <a href="<?php echo $controller->link_for('/assign_role_institutes/' . $role->getRoleid() . '/' . $user->id, array('remove_institute' => $institute->id)); ?> " data-lightbox> <?php echo Icon::create('trash', 'clickable')->asImg(); ?> </a> </li> <? endforeach ?> </ul> <?php echo Studip\LinkButton::create(_('Abbrechen'), $controller->url_for('/assign_role/' . $user->id), array('rel' => 'close'));
</thead> <tbody> <? if (empty($semesters)): ?> <tr> <td colspan="7" style="text-align: center;"> <? if ($filter): ?> <?php echo _('In der gewählten Ansicht gibt es keine Einträge.'); ?> <? else: ?> <?php echo _('Es wurden noch keine Semester angelegt.'); ?> <br> <?php echo Studip\LinkButton::create(_('Neues Semester anlegen'), $controller->url_for('admin/semester/edit'), array('data-dialog' => 'size=auto')); ?> <? endif; ?> </td> </tr> <? else: ?> <? foreach ($semesters as $semester): ?> <tr <? if ($semester->current) echo 'style="font-weight: bold;"'; ?>> <td> <input type="checkbox" name="ids[]" value="<?php echo $semester->id; ?> " <? if ($semester->absolute_seminars_count) echo 'disabled'; ?>> </td> <td title="<?php
echo in_array($gruppe->getId(), $related_groups) ? 'display: none;' : ''; ?> "> <?php echo htmlReady($gruppe['name']); ?> </option> <? endforeach ?> </select> <a href="javascript:" onClick="STUDIP.Raumzeit.addGroup()" title="<?php echo _('Gruppe hinzufügen'); ?> "> <?php echo Icon::create('arr_2up', 'sort')->asImg(16); ?> </a> </label> </fieldset> <? endif ?> <footer> <?php echo Studip\Button::createAccept(_('Speichern'), 'save_dates', array('formaction' => $controller->url_for('course/timesrooms/saveDate/' . $date->termin_id)) + $attributes); ?> <?php echo Studip\LinkButton::create(_('Raumanfrage erstellen'), $controller->url_for('course/room_requests/edit/' . $course->id, array_merge($params, array('origin' => 'course_timesrooms'))), array('data-dialog' => 'size=big')); ?> </footer>
" data-dialog="size=big" title="<?php echo _('Neue Raumanfrage für die Veranstaltung erstellen'); ?> "> <?php echo _('Neue Raumanfrage'); ?> </a> </nav> </header> <section> <? if (count($global_requests) > 0): ?> <p><?php echo _('Für diese Veranstaltung liegt eine offene Raumanfrage vor'); ?> </p> <?php echo Studip\LinkButton::create(_('Raumanfragen anzeigen'), URLHelper::getURL('dispatch.php/course/room_requests/index/' . $course->getId())); ?> <? else: ?> <p><?php echo _('Keine Raumanfrage vorhanden'); ?> </p> <? endif; ?> </section> </section>
<table class="default"> <thead> <tr> <? foreach ($captions as $cap) :?> <th><?php echo $cap; ?> </th> <? endforeach ?> </tr> </thead> <tbody> <? foreach ($data as $row ) : ?> <tr> <? foreach ($row as $value ) : ?> <td><?php echo htmlReady($value); ?> </td> <? endforeach ?> </tr> <? endforeach ?> </tbody> </table> <div data-dialog-button> <?php echo Studip\LinkButton::create(_("Download"), $controller->url_for('admission/courseset/applications_list/' . $set_id . '/csv')); ?> </div>
<?php $open_requests = $course->room_requests->filter(function (RoomRequest $request) { return $request->closed < 2; }); ?> <? if (count($open_requests) > 0): ?> <?php echo MessageBox::info(sprintf(ngettext('Für diese Veranstaltung liegt eine offene Raumanfrage vor.', 'Für diese Veranstaltung liegen %u offene Raumanfragen vor', count($open_requests)), count($open_requests)) . '<br>' . Studip\LinkButton::create(_('Raumanfragen anzeigen'), URLHelper::getURL('dispatch.php/course/room_requests/index/' . $course->getId()))); ?> <? endif; ?>
?> </td> <td class="actions"> <a title="<?php echo _('Benutzer entfernen'); ?> " onClick="STUDIP.CalendarDialog.removeUser(this);" href="<?php echo $controller->url_for('calendar/single/remove_user/' . $calendar->getRangeId() . $filter, array('user_id' => $user->user_id)); ?> "> <?php echo Icon::create('person+remove', 'clickable')->asImg(); ?> </a> </td> </tr> <? endforeach; ?> <? endforeach; ?> </tbody> </table> <div style="text-align: center;" data-dialog-button> <?php echo Studip\Button::create(_('Speichern'), 'store'); ?> <? if (!Request::isXhr()) : ?> <?php echo Studip\LinkButton::create(_('Abbrechen'), $controller->url_for('calendar/single/' . $last_view)); ?> <? endif; ?> </div> </form>
?> <? endif ?> <? if ($show['regular']) : ?> <!--Regelmäßige Termine--> <?php echo $this->render_partial('course/timesrooms/_regularEvents.php'); ?> <? endif; ?> <? if ($show['irregular']) : ?> <!--Unregelmäßige Termine--> <?php echo $this->render_partial('course/timesrooms/_irregularEvents'); ?> <? endif; ?> <? if ($show['roomRequest']) : ?> <!--Raumanfrage--> <?php echo $this->render_partial('course/timesrooms/_roomRequest.php'); ?> <? endif; ?> <? if (Request::isXhr()): ?> <div data-dialog-button> <?php echo Studip\LinkButton::create(_('Raumanfrage erstellen'), $controller->url_for('course/room_requests/edit/' . $course->id, array('cid' => $course->id, 'new_room_request_type' => 'course', 'origin' => 'admin_courses')), array('data-dialog' => 'size=big')); ?> </div> <? endif; ?>
<?php echo Studip\Button::create(_('Abstimmen'), 'vote', array('value' => $vote->id)); ?> <? endif ?> <?php echo Studip\LinkButton::create(_('Ergebnisse'), ContentBoxHelper::href($vote->id, array('preview[]' => $vote->id))); ?> <? else: ?> <?php echo Studip\LinkButton::create(_('Ergebnisse ausblenden'), ContentBoxHelper::href($vote->id, array('preview' => 0))); ?> <?php echo Request::get('sort') ? Studip\LinkButton::create(_('Nicht sortieren'), ContentBoxHelper::href($vote->id, array('preview[]' => $vote->id, 'sort' => 0))) : Studip\LinkButton::create(_('Sortieren'), ContentBoxHelper::href($vote->id, array('preview[]' => $vote->id, 'sort' => 1))); ?> <? if ($vote->changeable && $vote->state == 'active' && !$nobody): ?> <?php echo Studip\LinkButton::create(_('Antwort ändern'), ContentBoxHelper::href($vote->id, array('change' => 1))); ?> <? endif; ?> <? if (!$vote->anonymous && ($admin || $vote->namesvisibility)): ?> <? if (Request::get('revealNames') === $vote->id) : ?> <?php echo Studip\LinkButton::create(_('Namen ausblenden'), ContentBoxHelper::href($vote->id, array('revealNames' => null))); ?> <? else : ?> <?php echo Studip\LinkButton::create(_('Namen zeigen'), ContentBoxHelper::href($vote->id, array('revealNames' => $vote->id))); ?> <? endif; ?> <? endif; ?> <? endif; ?>
<td class="areaentry"></td> <td class="areaentry"> <form class="add_area_form"> <?php echo CSRFProtection::tokenTag(); ?> <input type="hidden" name="category_id" value="<%- category_id %>"> <input type="text" name="name" size="50" maxlength="255" style="width: 99%;" placeholder="<?php echo _('Name des neuen Bereiches'); ?> " required><br> <textarea name="content" style="height: 3em; width: 99%;" placeholder="<?php echo _('Optionale Beschreibung des neuen Bereiches'); ?> "></textarea> <?php echo Studip\LinkButton::create(_('Bereich hinzufügen'), "javascript:STUDIP.Forum.doAddArea();"); ?> <?php echo Studip\LinkButton::createCancel(_('Abbrechen'), "javascript:STUDIP.Forum.cancelAddArea();"); ?> </form> </td> <td class="postings">0</td> <td class="answer" colspan="2"><br><?php echo _('keine Antworten'); ?> </td> </tr> </script>
</thead> <tbody> <? if (empty($holidays)): ?> <tr> <td colspan="4" style="text-align: center;"> <? if ($filter): ?> <?php echo _('In der gewählten Ansicht gibt es keine Einträge.'); ?> <? else: ?> <?php echo _('Es wurden noch keine Ferien angelegt.'); ?> <br> <?php echo Studip\LinkButton::create(_('Neue Ferien anlegen'), $controller->url_for('admin/holidays/edit'), array('data-dialog' => 'size=auto')); ?> <? endif; ?> </td> </tr> <? else: ?> <? foreach ($holidays as $holiday): ?> <tr <? if ($holiday->current) echo 'style="font-weight: bold;"'; ?>> <td> <input type="checkbox" name="ids[]" value="<?php echo $holiday->id; ?> "> </td> <td title="<?php echo htmlReady($holiday->description);
echo Studip\LinkButton::create(_('Thema öffnen'), PluginEngine::getLink('coreforum/index/open_thread/' . $topic_id . '/' . $topic_id . '/' . ForumHelpers::getPage()), array('onClick' => 'STUDIP.Forum.openThreadFromThread("' . $topic_id . '"); return false;', 'class' => 'closeButtons')); ?> <? endif ?> <? endif ?> <? if ($constraint['depth'] > 0 && ForumPerm::has('abo', $seminar_id)) : ?> <span id="abolink"> <?php echo $this->render_partial('index/_abo_link', compact('constraint')); ?> </span> <? endif ?> <? if (ForumPerm::has('pdfexport', $seminar_id)) : ?> <?php echo Studip\LinkButton::create(_('Beiträge als PDF exportieren'), PluginEngine::getLink('coreforum/index/pdfexport/' . $topic_id), array('target' => '_blank')); ?> <? endif ?> </div> </div> </div> <? endif ?> <? endif ?> <? if (ForumPerm::has('add_entry', $seminar_id)): ?> <?php echo $this->render_partial('index/_new_entry'); ?> <? endif ?>
echo _("Mehrfachteilnahmen:"); ?> <?php echo $count_multi_members; ?> <? if ($count_multi_members) : ?> <a href="<?php echo $controller->link_for('admission/courseset/configure_courses/' . $set_id . '/download_multi_members'); ?> " title="<?php echo _("Download"); ?> "> <?php echo Icon::create('file-office', 'clickable')->asImg(); ?> </a> <? endif ?> </div> <div data-dialog-button> <?php echo Studip\Button::create(_("Speichern"), 'configure_courses_save'); echo Studip\LinkButton::create(_("Download"), $controller->url_for('admission/courseset/configure_courses/' . $set_id . '/csv')); ?> </div> <?php echo CSRFProtection::tokenTag(); ?> </form> <?
<? $js = "STUDIP.Forum.loadAction('#abolink', '" . (ForumAbo::has($constraint['topic_id']) ? 'remove_' : '') . 'abo/'. $constraint['topic_id'] ."'); return false;"; $url = PluginEngine::getUrl('coreforum/index/' . (ForumAbo::has($constraint['topic_id']) ? 'remove_' : '') . 'abo/'. $constraint['topic_id']); ?> <? $text = $constraint['area'] ? _('Diesen Bereich abonnieren') : _('Dieses Thema abonnieren') ?> <? if ($constraint['depth'] == 0) : $text = _('Komplettes Forum abonnieren'); endif ?> <? if (!ForumAbo::has($constraint['topic_id'])) : ?> <?php echo Studip\LinkButton::create($text, $url, array('title' => _('Wenn sie diesen Bereich abonnieren, erhalten Sie eine ' . 'Stud.IP-interne Nachricht sobald in diesem Bereich ' . 'ein neuer Beitrag erstellt wurde.'), 'onClick' => $js)); ?> <? else : ?> <?php echo Studip\LinkButton::create(_('Nicht mehr abonnieren'), $url, array('onClick' => $js)); ?> <? endif; ?>
echo $id; ?> " class="horizontal" style="font-weight: normal"> <input <?php echo !is_array($request['block_appointments_day']) ? '' : (in_array('everyday', $request['block_appointments_days']) ? 'checked ' : ''); ?> class="block_appointments_days" name="block_appointments_days[]" id="block_appointments_days_<?php echo $id; ?> " type="checkbox" value="<?php echo $d + 1; ?> "> <?php echo strftime('%A', strtotime("+{$d} day", $start_ts)); ?> </label> <? endforeach ?> </fieldset> <footer data-dialog-button> <?php echo Studip\Button::createAccept(_('Speichern'), 'save'); ?> <?php echo Studip\LinkButton::create(_('Zurück zur Übersicht'), $controller->url_for('course/timesrooms/index'), array('data-dialog' => 'size=big')); ?> </footer> </form>
echo getHeaderLine($file['id']); ?> </a> </b> <br> <?php echo _('Status in der Veranstaltung:'); ?> <b><?php echo $file['status'] ?: _('unbekannt'); ?> </b> </div> <div style="margin-bottom: 10px;" align="center"> <?php echo Studip\LinkButton::create(_('Herunterladen'), '?download_as_zip=' . $file['id']); ?> </div> <?php echo show_documents(get_user_documents($user_id, $file['id']), $open); ?> </td> </tr> <? endif; ?> </tbody> <? endforeach; ?> </table> <br> <?endforeach; ?>