aboutsummaryrefslogtreecommitdiff
path: root/app/views/admin/courses/visibility.php
blob: 0f94492bc40c7756900fd5a6bf01a06f56427901 (plain)
1
2
3
4
5
6
7
8
9
10
11
<?php
/**
 * @var Course $course
 */
?>
<? if ($GLOBALS['perm']->have_perm("admin") || !LockRules::Check($course->id, "seminar_visibility")) : ?>
    <label>
        <input type="hidden" name="all_sem[]" value="<?= htmlReady($course->id) ?>">
        <input name="visibility[<?= htmlReady($course->id) ?>]" type="checkbox" value="1" <?= $values['visible'] ? 'checked' : '' ?>>
    </label>
<? endif ?>