<section class="contentbox"> <header> <h1> <?php echo Icon::create('infopage', 'inactive')->asImg(['class' => 'text-top']); ?> <?php echo htmlReady($scm->tab_name); ?> </h1> <nav> <span> <? if ($scm->user): ?> <?php echo sprintf(_('Zuletzt geändert von %s am %s'), ObjectdisplayHelper::link($scm->user), strftime('%x, %X', $scm->chdate)); ?> <? else: ?> <?php echo sprintf(_('Zuletzt geändert am %s'), strftime('%x, %X', $scm->chdate)); ?> <? endif; ?> </span> <? if ($priviledged): ?> <a href="<?php echo $controller->url_for('course/scm/edit/' . $scm->id); ?> " title="<?php echo _('Bearbeiten'); ?> " data-dialog>
?> " class="calendar-user-head"> <th colspan="4"> <?php echo $header; ?> </th> </tr> <? foreach ($usergroup as $user): ?> <tr id="contact_<?php echo $user->user_id; ?> "> <td> <?php echo ObjectdisplayHelper::avatarlink($user->user); ?> </td> <td style="white-space: nowrap;"> <label> <input type="radio" name="perm[<?php echo $user->user_id; ?> ]" value="<?php echo Calendar::PERMISSION_FORBIDDEN; ?> " <?php echo $user->permission < Calendar::PERMISSION_READABLE ? ' checked' : ''; ?> >
?> "> <th colspan="4"> <?php echo $header; ?> </th> </tr> <? foreach ($contactgroup as $contact): ?> <tr id="contact_<?php echo $contact->id; ?> "> <td> <?php echo ObjectdisplayHelper::avatarlink($contact); ?> </td> <td> <a data-dialog="button" href="<?php echo URLHelper::getLink('dispatch.php/messages/write', array('rec_uname' => $contact->username)); ?> "> <?php echo htmlReady($contact->username); ?> </a> </td> <td> <a href="mailto:<?php echo htmlReady($contact->email);
<? endif; ?> <? endif; ?> <? else : ?> <? // durchführende Dozenten ?> <? $related_persons = $event->dozenten; ?> <? if (sizeof($related_persons)) : ?> <div> <b><?php echo ngettext('Durchführender Dozent', 'Durchführende Dozenten', sizeof($related_persons)); ?> :</b> <ul class="list-unstyled"> <? foreach ($related_persons as $related_person) : ?> <li> <?php echo ObjectdisplayHelper::link($related_person); ?> </li> <? endforeach; ?> </ul> </div> <? endif; ?> <? // related groups ?> <? $related_groups = $event->getRelatedGroups(); ?> <? if (sizeof($related_groups)) : ?> <div> <b><?php echo _('Betroffene Gruppen'); ?> :</b> <ul class="list-unstyled">
foreach ($marketplugin['uses'] as $use) { ?> <li> <a href="<?php echo PluginEngine::getLink($plugin, array('search' => htmlReady($use->name)), "presenting/all"); ?> "> <?php echo htmlReady($use->name); ?> </a> <?php if ($use->plugin->isWritable(User::findCurrent()->id)) { ?> (<?php echo ObjectdisplayHelper::link($use->user); ?> ) <?php } ?> <?php if ($use->isEditable()) { ?> <a href="<?php echo PluginEngine::getLink($plugin, array(), "presenting/delete_usage/" . $use->id); ?> "> <?php echo Icon::create('trash', "clickable")->asImg("20px"); ?>
<? foreach ($votes as $vote): ?> <tr> <td> <?php echo htmlReady($vote->title); ?> </td> <td> <?php echo ObjectdisplayHelper::link($vote->author); ?> </td> <td> <?php echo strftime("%d.%m.%Y %T", $vote->startdate); ?> </td> <td> <? if ($vote->stopdate): ?> <?php echo strftime("%d.%m.%Y %T", $vote->stopdate); ?> <? else: ?> <? if ($vote->timespan): ?> <?php echo strftime("%d.%m.%Y %T", $vote->startdate + $vote->timespan); ?> <? else: ?> <?php echo _('Unbegrenzt'); ?>