Beispiel #1
0
 /**
  * Constructor, tries to automagically set the sidebar's title.
  */
 public function __construct()
 {
     parent::__construct();
     $this->setTitle();
     // Default sidebar image in order to prevent jumps in navigation
     $this->setImage('sidebar/seminar-sidebar.png');
 }
Beispiel #2
0
 public function __construct()
 {
     parent::__construct();
     $this->json_directory = $GLOBALS['STUDIP_BASE_PATH'] . '/doc/helpbar';
     $this->help_admin = isset($GLOBALS['perm']) && ($GLOBALS['perm']->have_perm('root') || RolePersistence::isAssignedRole($GLOBALS['user']->id, 'Hilfe-Administrator(in)'));
 }