permissionControl('users', $this->getUrl(2))): ?>
getUrl(2), [
'href' => helper::baseUrl() . 'course/users/' . $this->getUrl(2),
'value' => 'Participants',
'ico' => 'users'
]); ?>
permissionControl('edit', $this->getUrl(2))): ?>
getUrl(2), [
'href' => helper::baseUrl() . 'course/edit/' . $this->getUrl(2),
'value' => 'Éditer',
'ico' => 'pencil'
]); ?>
permissionControl('backup', $this->getUrl(2))): ?>
getUrl(2), [
'href' => helper::baseUrl() . 'course/backup/' . $this->getUrl(2),
'value' => 'Sauvegarder',
'ico' => 'download-cloud'
]); ?>
permissionControl('clone', $this->getUrl(2))): ?>
getUrl(2), [
'href' => helper::baseUrl() . 'course/clone/' . $this->getUrl(2),
'value' => 'Cloner',
'ico' => 'clone'
]); ?>
permissionControl('delete', $this->getUrl(2))): ?>
getUrl(2), [
'class' => 'courseDelete buttonRed',
'href' => helper::baseUrl() . 'course/delete/' . $this->getUrl(2),
'value' => 'Supprimer',
'ico' => 'trash'
]); ?>
'Titre',
'value' => $this->getdata(['course', $this->getUrl(2), 'title']),
'disabled' => true,
]); ?>
'Auteur',
'selected' => $this->getdata(['course', $this->getUrl(2), 'author']),
'disabled' => true,
]); ?>
'Page d\'accueil',
'selected' => $this->getdata(['course', $this->getUrl(2), 'homePageId']),
'disabled' => true,
]); ?>
'Catégorie',
'selected' => $this->getdata(['course', $this->getUrl(2), 'category']),
'disabled' => true,
]); ?>
'Description',
'value' => $this->getdata(['course', $this->getUrl(2), 'description']),
'disabled' => true,
]); ?>
'Disponibilité',
'selected' => $this->getdata(['course', $this->getUrl(2), 'access']),
'disabled' => true,
]); ?>
'datetime-local',
'label' => 'Ouverture',
'value' => is_null($this->getdata(['course', $this->getUrl(2), 'openingDate'])) ? '' : floor($this->getdata(['course', $this->getUrl(2), 'openingDate']) / 60) * 60,
'disabled' => true,
]); ?>
'datetime-local',
'label' => 'Fermeture',
'value' => is_null($this->getdata(['course', $this->getUrl(2), 'closingDate'])) ? '' : floor($this->getdata(['course', $this->getUrl(2), 'closingDate']) / 60) * 60,
'disabled' => true,
]); ?>
'Participation',
'selected' => $this->getdata(['course', $this->getUrl(2), 'enrolment']),
'disabled' => true,
]); ?>
'Clé',
'value' => $this->getdata(['course', $this->getUrl(2), 'enrolmentKey']),
'disabled' => true,
]); ?>
$this->getdata(['course', $this->getUrl(2), 'limitEnrolment']),
'help' => 'Ne s\'applique pas à l\'inscription anonyme',
'disabled' => true,
]); ?>
'datetime-local',
'label' => 'Fermeture',
'value' => is_null($this->getdata(['course', $this->getUrl(2), 'limitEnrolmentDate'])) ? '' : floor($this->getdata(['course', $this->getUrl(2), 'limitEnrolmentDate']) / 60) * 60,
'disabled' => true,
]); ?>