diff --git a/core/class/layout.class.php b/core/class/layout.class.php index b43683f..16a8cd9 100644 --- a/core/class/layout.class.php +++ b/core/class/layout.class.php @@ -898,15 +898,17 @@ class layout extends common $leftItems .= '
  • '; } // Bouton Gérer les cours - $leftItems .= '
  • ' . template::ico('cubes', [ - 'href' => helper::baseUrl() . 'course', - 'help' => 'Cours' - ]) . '
  • '; + if ($this->getUser('group') >= self::GROUP_ADMIN) { + $leftItems .= '
  • ' . template::ico('cubes', [ + 'href' => helper::baseUrl() . 'course', + 'help' => 'Cours' + ]) . '
  • '; + } // Liste des pages if ($this->getUser('group') >= self::GROUP_TEACHER) { $leftItems .= '