diff --git a/core/module/course/view/manage/manage.php b/core/module/course/view/manage/manage.php
index 7c7949a..43a99f3 100644
--- a/core/module/course/view/manage/manage.php
+++ b/core/module/course/view/manage/manage.php
@@ -8,44 +8,17 @@
- 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))): ?>
-
+
+ getUser('permission', 'course', 'clone') === true): ?>
getUrl(2), [
'href' => helper::baseUrl() . 'course/clone/' . $this->getUrl(2),
'value' => 'Cloner',
'ico' => 'clone'
]); ?>
-
-
- permissionControl('delete', $this->getUrl(2))): ?>
-
+
+
+
+ getUser('permission', 'course', 'delete') === true): ?>
getUrl(2), [
'class' => 'courseDelete buttonRed',
'href' => helper::baseUrl() . 'course/delete/' . $this->getUrl(2),
@@ -54,110 +27,138 @@
]); ?>
-
-
-
-
-
-
-
-
- 'Titre',
- 'value' => $this->getdata(['course', $this->getUrl(2), 'title']),
- 'disabled' => true,
- ]); ?>
-
-
- 'Auteur',
- 'selected' => $this->getdata(['course', $this->getUrl(2), 'author']),
- 'disabled' => true,
- ]); ?>
-
+
+
+ getUser('permission', 'course', 'users') === true): ?>
+ getUrl(2), [
+ 'href' => helper::baseUrl() . 'course/users/' . $this->getUrl(2),
+ 'value' => 'Participants',
+ 'ico' => 'users'
+ ]); ?>
+
+
+
+ getUser('permission', 'course', 'edit') === true): ?>
+ getUrl(2), [
+ 'href' => helper::baseUrl() . 'course/edit/' . $this->getUrl(2),
+ 'value' => 'Éditer',
+ 'ico' => 'pencil'
+ ]); ?>
+
+
+
+ getUser('permission', 'course', 'backup') === true): ?>
+ getUrl(2), [
+ 'href' => helper::baseUrl() . 'course/backup/' . $this->getUrl(2),
+ 'value' => 'Sauvegarder',
+ 'ico' => 'download-cloud'
+ ]); ?>
+
+
+
+
+
+
+
+
+
+
+ 'Titre',
+ 'value' => $this->getdata(['course', $this->getUrl(2), 'title']),
+ '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,
- ]); ?>
-
+
+ 'Auteur',
+ 'selected' => $this->getdata(['course', $this->getUrl(2), 'author']),
+ 'disabled' => true,
+ ]); ?>
-
\ No newline at end of file
+
+
+ '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,
+ ]); ?>
+
+
+
+
\ No newline at end of file