<? foreach ($GLOBALS['SEM_CLASS'] as $id => $sem_class) : ?> <option value="<?php echo $id; ?> "><?php echo htmlReady($sem_class['name']); ?> </option> <? endforeach ?> </select> </td> </tr> <tr> <td></td> <td><?php echo Studip\Button::create(_("Erstellen")); ?> </td> </tr> </tbody> </table> </form> </div> <script> STUDIP.sem_classes = { 'add': function () { jQuery("#add_sem_class_window").dialog({ 'modal': true, 'title': jQuery("#add_sem_class_window_title").text(), 'show': "fade",
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> <?
<?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>
?> "> <? endforeach; ?> <select class="sidebar-selectlist" name="<?php echo htmlReady($name); ?> " <? if ($size) printf('size="%u"', $size); ?> <?php echo $attributes; ?> > <? foreach ($elements as $element): ?> <option value="<?php echo htmlReady($element->getid()); ?> " <? if ($element->isActive()) echo 'selected'; ?> style="text-indent: <?php echo $element->getIndentLevel(); ?> ex;"> <?php echo htmlReady(my_substr($element->getLabel(), 0, 30)); ?> </option> <? endforeach; ?> </select> <noscript> <?php echo Studip\Button::create(_('Zuweisen')); ?> </noscript> </form>
<td class="actions"> <a data-dialog="size=auto" href="<?php echo $controller->url_for('admin/holidays/edit/' . $holiday->id); ?> "> <?php echo Icon::create('edit', 'clickable', ['title' => _('Ferienangaben bearbeiten')])->asImg(); ?> </a> <?php echo Icon::create('trash', 'clickable', ['title' => _('Ferien löschen')])->asInput(array('formaction' => $controller->url_for('admin/holidays/delete/' . $holiday->id))); ?> </td> </tr> <? endforeach; ?> <? endif; ?> </tbody> <tfoot> <tr> <td colspan="4"> <?php echo _('Markierte Einträge'); ?> <?php echo Studip\Button::create(_('Löschen')); ?> </td> </tr> </tfoot> </table> </form>
?> "> <label> <?php echo _('Neuer Standort'); ?> <input id="used_at" type="text" name="used_at" placeholder="<?php echo _('Hogwarts'); ?> " value="<?php echo Request::get('usage'); ?> "> </label> <?php echo Studip\Button::create(_('Eintragen'), 'propose'); ?> <?php if ($most_used) { ?> <h3><?php echo _('Vorschläge'); ?> </h3> <p class="usage-proposes"> <?php foreach ($most_used as $used) { ?> <a class="usage-proposal" href="<?php echo $controller->url_for('presenting/propose_usage/' . $plugin->id, array('usage' => $used)); ?>
?> <input type="hidden" name="wiki" value="<?php echo htmlReady($keyword); ?> "> <input type="hidden" name="version" value="<?php echo htmlReady($version); ?> "> <input type="hidden" name="submit" value="true"> <input type="hidden" name="cmd" value="show"> <textarea name="body" class="wiki-editor add_toolbar wysiwyg resizable"><?php echo htmlready($body); ?> </textarea> <br><br> <div class="button-group"> <?php echo Studip\Button::createAccept(_('Speichern')); ?> <?php echo Studip\Button::create(_('Speichern und weiter bearbeiten'), 'submit-and-edit'); ?> </div> <?php echo Studip\LinkButton::createCancel(_('Abbrechen'), URLHelper::getURL('?cmd=abortedit' . $lastpage, compact('keyword'))); ?> </form>
echo $controller->url_for('course/wizard/process', $stepnumber, $temp_id); ?> " method="post"> <?php echo $content; ?> <footer> <input type="hidden" name="step" value="<?php echo $stepnumber; ?> "/> <?php if (!$first_step) { ?> <?php echo Studip\Button::create(_('Zurück'), 'back', $dialog ? array('data-dialog' => 'size=50%', 'data-dialog-button' => true) : array()); ?> <?php } ?> <?php echo Studip\Button::create(_('Weiter'), 'next', $dialog ? array('data-dialog' => 'size=50%', 'data-dialog-button' => true) : array()); ?> </footer> </form> <?php } else { ?> <?php echo Studip\LinkButton::createCancel(_('Zurück zu meiner Veranstaltungsübersicht'), $controller->url_for($GLOBALS['perm']->have_perm('admin') ? 'admin/courses' : 'my_courses'), array('data-dialog-button' => true)); }
<? foreach(PageLayout::getMessages() as $pm) : ?> <?php echo $pm; ?> <? endforeach; ?> <h4><?php echo sprintf(_("Einrichtungszuordnung für %s in der Rolle %s"), htmlReady($user->getFullname()), htmlready($role->getRoleName())); ?> </h4> <form action="<?php echo $controller->link_for('/assign_role_institutes/' . $role->getRoleid() . '/' . $user->id); ?> " 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));
?> </a> <? if ($semester->absolute_seminars_count): ?> <?php echo Icon::create('trash', 'inactive', ['title' => _('Semester hat Veranstaltungen und kann daher nicht gelöscht werden.')])->asImg(); ?> <? else: ?> <?php echo Icon::create('trash', 'clickable', ['title' => _('Semester löschen')])->asInput(array('formaction' => $controller->url_for('admin/semester/delete/' . $semester->id), 'data-confirm' => _('Soll das Semester wirklich gelöscht werden?'))); ?> <? endif; ?> </td> </tr> <? endforeach; ?> <? endif; ?> </tbody> <tfoot> <tr> <td colspan="7"> <?php echo _('Markierte Einträge'); ?> <?php echo Studip\Button::create(_('Löschen'), 'delete', array('data-confirm' => _('Sollen die Semester wirklich gelöscht werden?'))); ?> </td> </tr> </tfoot> </table> </form>
<? foreach(PageLayout::getMessages() as $pm) : ?> <?php echo $pm; ?> <? endforeach; ?> <form class="studip_form" action="<?php echo $controller->link_for(); ?> " method="post"> <?php echo CSRFProtection::tokenTag(); ?> <? foreach($request as $k => $v) : ?> <?php echo addHiddenFields($k, $v); ?> <? endforeach ?> <div data-dialog-button> <?php echo Studip\Button::create(_("Ja"), $button_yes, array('data-dialog' => '')); ?> <?php echo Studip\Button::create(_("Nein"), $button_no, array('data-dialog' => '')); ?> </div> </form>
<?php echo Icon::create('radiobutton-checked', $val['overlap_status']); ?> <?php echo htmlReady(my_substr($val['name'], 0, 50)); ?> </label> </div> <? endforeach ?> </fieldset> </div> <?php echo Studip\Button::create(_("Raum als Wunschraum auswählen"), 'send_room'); ?> <?php echo Studip\Button::create(_("neue Suche starten"), 'reset_room_search'); ?> <? if ($search_by_properties) : ?> <p><strong><?php echo _('Diese Räume erfüllen die Wunschkriterien, die Sie links angegeben haben.'); ?> </strong> </p> <? endif ?> <? else : ?> <p><strong><?php echo _('Keinen'); ?> </strong> <?php echo _('Raum gefunden'); ?>
<form class="studip_form" method="post" action="<?php echo $controller->url_for('contact/editGroup/' . $this->group->id); ?> "> <? CSRFProtection::tokenTag() ?> <label> <?php echo _('Gruppenname'); ?> <input type="text" name="name" placeholder="<?php echo _('Gruppenname'); ?> " value='<?php echo htmlReady($this->group->name); ?> '> </label> <div data-dialog-button> <?php echo Studip\Button::create($this->group->isNew() ? _('Anlegen') : _('Speichern'), 'store'); ?> </div> </form>
<fieldset> <legend><?php echo _('Vorschau'); ?> </legend> <label> <?php echo $preview->getName(); ?> <?php echo $preview->getHTML('dummy'); ?> </label> </fieldset> <footer data-dialog-button> <?php echo Studip\Button::createAccept(_('Speichern'), 'store'); ?> <?php echo Studip\Button::create(_('Bearbeiten'), 'edit', ['data-dialog' => 'size=auto']); ?> <?php echo Studip\LinkButton::createCancel(_('Abbrechen'), $controller->url_for('admin/datafields/index/' . $struct->getObjectType() . '#' . $struct->getObjectType())); ?> </footer> </form>
<td> <div id="message_below"></div> <form action="<?php echo URLHelper::getLink($overview_url); ?> " method="post"> <?php echo Studip\Button::create(_("Speichern"), "save", array('onClick' => "STUDIP.admin_sem_class.saveData(); return false;")); ?> <? if ($sem_class->countSeminars() === 0) : ?> <input type="hidden" name="delete_sem_class" value="<?php echo Request::int("id"); ?> "> <?php echo Studip\Button::create(_("Löschen"), "delete", array('onClick' => "return window.confirm('" . _("Wirklich löschen?") . "');")); ?> <? 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?");
<label> <input type="checkbox" name="plugins[]" value="<?php echo $plugin->id; ?> " checked> <?php echo htmlReady($plugin->name); ?> </label> <?php } ?> </fieldset> <label> <?php echo _('In Benutzung bei'); ?> <input type="text" name="tag" value="<?php echo htmlReady($mostlikely); ?> "> </label> <?php echo Studip\Button::create(_('Eintragen')); ?> </fieldset> </form>
<? if (!$controller->showResult($vote)): ?> <? if ($vote->isRunning() && !$nobody) : ?> <?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; ?>
<?php } ?> <div style="clear: both; padding-top: 25px;"> <? if ($source_course) : ?> <label> <input type="checkbox" checked name="copy_basic_data" value="1"> <?php echo sprintf(_("Alle Grunddaten der Ursprungsveranstaltung (%s) kopieren"), '<a data-dialog href="' . URLHelper::getLink('dispatch.php/course/details', array('sem_id' => $source_course->id)) . '">' . htmlReady($source_course->getFullname()) . '</a>'); ?> </label> <? endif ?> <input type="hidden" name="step" value="<?php echo $stepnumber; ?> "/> <?php if ($dialog) { ?> <input type="hidden" name="dialog" value="1"/> <?php } ?> <?php echo Studip\Button::create(_('Zurück'), 'back', $dialog ? array('data-dialog' => 'size=50%', 'data-dialog-button' => true) : array()); ?> <?php echo Studip\Button::createAccept(_('Veranstaltung anlegen'), 'create', $dialog ? array('data-dialog-button' => true) : array()); ?> </div> </form>
?> "> <?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; ?> "> </footer> </form> <?php $sidebar = Sidebar::get(); $sidebar->setImage('sidebar/institute-sidebar.png'); $widget = new ActionsWidget(); $widget->addLink(_('Infobild ändern'), URLHelper::getLink('dispatch.php/institute/avatar/update/' . $institute->id), Icon::create('edit', 'clickable')); if (InstituteAvatar::getAvatar($institute->id)->is_customized()) {
<?php echo _('Alle markierten'); ?> <? if (extension_loaded('zip')): ?> <?php echo Studip\Button::create(_('Herunterladen'), 'download'); ?> <? endif; ?> <? if ($full_access): ?> <?php echo Studip\Button::create(_('Verschieben'), 'move', array('data-dialog' => '')); ?> <?php echo Studip\Button::create(_('Kopieren'), 'copy', array('data-dialog' => '')); ?> <?php echo Studip\Button::create(_('Löschen'), 'delete'); ?> <? endif; ?> <? endif; ?> </td> <td colspan="3" class="actions"> <?php echo $GLOBALS['template_factory']->render('shared/pagechooser', array('perPage' => $limit, 'num_postings' => $filecount, 'page' => $page, 'pagelink' => $controller->url_for('document/files/index/' . $dir_id . '/%u'))); ?> </td> </tr> </tfoot> </table> </form>
</select> </div> <div style="font-weight:bold"> <?php echo _("Präfix des Veranstaltungsnamens / Nummer:"); ?> </div> <div> <input type="text" name="sem_name_prefix" value="<?php echo htmlReady($sem_name_prefix); ?> " size="40"> </div> <div style="font-weight:bold"> <?php echo _("Veranstaltungen aus diesem Semester:"); ?> </div> <div> <?php echo SemesterData::GetSemesterSelector(array('name' => 'select_semester_id'), $current_semester_id, 'semester_id', false); ?> </div> <div> <?php echo Studip\Button::create(_('Auswählen'), 'choose_institut', array('title' => _("Einrichtung auswählen"))); ?> </div> </form>
echo _('Bitte wählen Sie die Einrichtung aus, die Sie bearbeiten wollen:'); ?> </legend> <select name="cid" required> <option value=""> -- <?php echo _('bitte Einrichtung auswählen'); ?> -- </option> <? foreach ($institutes as $institute): ?> <option value="<?php echo htmlReady($institute['Institut_id']); ?> " style="<?php echo $institute['is_fak'] ? 'font-weight:bold' : 'text-indent: 2ex'; ?> "> <?php echo htmlReady(my_substr($institute['Name'], 0, 80)); ?> </option> <? endforeach; ?> </select> <?php echo Studip\Button::create(_('Einrichtung auswählen')); ?> </form>
<label class="horizontal"> <input type="checkbox" data-proxyfor=".date-proxy" data-activates=".actionForAllIrregular"> <?php echo _('Alle auswählen'); ?> </label> </td> <td colspan="3" class="actions"> <select name="method" class="actionForAllIrregular"> <?php echo $this->render_partial('course/timesrooms/_stack_actions.php'); ?> </select> <?php echo Studip\Button::create(_('Ausführen'), 'run', array('class' => 'actionForAllIrregular', 'data-dialog' => 'size=big')); ?> </td> </tr> </tfoot> </table> </form> <? else: ?> <section> <p class="text-center"> <strong> <?php echo _('Keine unregelmäßigen Termine vorhanden'); ?> </strong> </p>
<? foreach ($all_domains as $domain) : ?> <label for="user_domain_<?php echo $domain->getId(); ?> "> <input <?php echo $is_locked['user_domain']; ?> id="user_domain_<?php echo $domain->getId(); ?> " type="checkbox" <?php echo in_array($domain->getId(), $seminar_domains) ? "checked" : ""; ?> name="user_domain[]" value="<?php echo $domain->getId(); ?> "> <?php echo htmlReady($domain->getName()); ?> </label> <? endforeach ?> </fieldset> <?php echo Studip\Button::create(_("Nutzerdomänen ändern"), 'change_domains', array('data-dialog' => '')); ?> </fieldset> </form> <? endif ?>
?> </option> <? endforeach ?> </select> </label> <label><?php echo _('Eingaben erzwingen'); ?> <input type='checkbox' name='forced' value='1' <?php echo $course->aux_lock_rule_forced ? "checked" : ""; ?> > </label> <? if($count): ?> <?php echo $count . " " . _('Datensätze vorhanden'); ?> <label><?php echo _('Löschen?'); ?> <input type='checkbox' name='delete' value='1'> </label> <? endif; ?> <?php echo Studip\Button::create(_('Übernehmen'), 'save'); ?> </fieldset> </form> <? else: ?> <? _('Keine Zusatzangaben vorhanden') ?> <? endif; ?>
?> " method="post"> <?php echo CSRFProtection::tokenTag(); ?> <input type="hidden" name="type" value="<?php echo htmlReady($type); ?> "> <input type="hidden" name="rule_id" value="<?php echo htmlReady($rule_id); ?> "> <?php echo $rule_template; ?> <br> <label class="caption"><?php echo _("Name für diese Anmelderegel"); ?> </label> <input type="text" name="instant_course_set_name" size="70" value="<?php echo htmlReady($course_set_name); ?> "> <div data-dialog-button> <?php echo Studip\Button::create(_("Speichern"), 'save', array('data-dialog' => '')); ?> </div> </form>
<td class="areaentry"> <form class="add_area_form" method="post" action="<?php echo PluginEngine::getLink('coreforum/area/add/' . $category_id); ?> "> <?php echo CSRFProtection::tokenTag(); ?> <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\Button::create(_('Bereich hinzufügen')); ?> <?php echo Studip\LinkButton::createCancel(_('Abbrechen'), PluginEngine::getLink('coreforum/index/index#cat_' . $category_id)); ?> </form> </td> <td class="postings">0</td> <td class="answer" colspan="2"><br><?php echo _('keine Antworten'); ?> </td> </tr>
?> </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>
<fieldset> <legend><?php echo _('Datenfeld konfigurieren'); ?> </legend> <label> <?php echo _('Inhalte'); ?> <textarea name="typeparam"><?php echo htmlReady($struct->getTypeParam()); ?> </textarea> </label> </fieldset> <footer data-dialog-button> <?php echo Studip\Button::createAccept(_('Speichern'), 'store'); ?> <?php echo Studip\Button::create(_('Vorschau'), 'preview', ['data-dialog' => 'size=auto']); ?> <?php echo Studip\LinkButton::createCancel(_('Abbrechen'), $controller->url_for('admin/datafields/index/' . $struct->getObjectType() . '#' . $struct->getObjectType())); ?> </footer> </form>
<? if (ForumPerm::has('add_category', $seminar_id)) : ?> <a name="create"></a> <form action="<?php echo PluginEngine::getLink('coreforum/index/add_category'); ?> " method="post" id="tutorAddCategory"> <?php echo CSRFProtection::tokenTag(); ?> <h2><?php echo _('Neue Kategorie erstellen'); ?> </h2> <div style="width: 100%;"> <span class="area_input"> <input type="text" size="50" placeholder="<?php echo _('Titel für neue Kategorie'); ?> " name="category" required> <?php echo Studip\Button::create(_('Kategorie erstellen')); ?> </span> </div> </form> <br> <? endif ?>