>
|
= htmlReady($course->name) ?>
|
= htmlReady($course->dozenten) ?> |
= htmlReady($course->institute) ?> |
= htmlReady($course->semester) ?> |
if (archiv_check_perm($course->id)) : ?>
id}") ?>" data-dialog>
= Icon::create('info-circle') ?>
endif ?>
if ($course->archiv_file_id && archiv_check_perm($course->id)): ?>
= Icon::create('file-archive') ?>
endif ?>
if ($course->archiv_protected_file_id && in_array(archiv_check_perm($course->id), ['tutor', 'dozent', 'admin'])): ?>
= Icon::create('file-archive') ?>
endif ?>
if (archiv_check_perm($course->id)): ?>
id}") ?>" data-dialog>
= Icon::create('forum') ?>
id}") ?>" data-dialog>
= Icon::create('wiki') ?>
endif ?>
if (archiv_check_perm($course->id) === 'admin'): ?>
= Icon::create('trash')->asInput(tooltip2(_('Löschen')) + [
'formaction' => URLHelper::getURL(
"dispatch.php/archive/delete/{$course->id}",
compact('criteria', 'teacher', 'semester', 'institute', 'my_courses_only')
),
'data-confirm' => sprintf(
_('Soll die Veranstaltung %1$s wirklich aus dem Archiv gelöscht werden?'),
$course->name
),
'class' => 'text-top',
]) ?>
endif ?>
|