예제 #1
0
 /**
  * Initialize a new Navigation instance.
  */
 public function __construct()
 {
     global $perm;
     parent::__construct(_('Planer'));
     if (!$perm->have_perm('admin') && get_config('SCHEDULE_ENABLE')) {
         $planerinfo = _('Stundenplan');
     } else {
         $planerinfo = _('Termine');
     }
     $this->setImage(Icon::create('schedule', 'navigation', ["title" => $planerinfo]));
 }
예제 #2
0
 /**
  * Initialize a new Navigation instance.
  */
 public function __construct()
 {
     global $user, $perm;
     // check if logged in
     if (is_object($user) && $user->id != 'nobody') {
         $coursetext = _('Veranstaltungen');
         $courseinfo = _('Meine Veranstaltungen & Einrichtungen');
         $courselink = 'dispatch.php/my_courses';
     } else {
         $coursetext = _('Freie');
         $courseinfo = _('Freie Veranstaltungen');
         $courselink = 'dispatch.php/public_courses';
     }
     parent::__construct($coursetext, $courselink);
     if (is_object($user)) {
         $this->setImage(Icon::create('seminar', 'navigation', ["title" => $courseinfo]));
     }
 }
예제 #3
0
 /**
  * Initialize a new Navigation instance.
  */
 public function __construct()
 {
     parent::__construct(_('Suche'));
     $this->setImage(Icon::create('search', 'navigation', ["title" => _('Suche')]));
 }
예제 #4
0
 /**
  * Initialize a new Navigation instance.
  */
 public function __construct()
 {
     parent::__construct(_('Nachrichten'));
 }
예제 #5
0
 /**
  * Initialize a new Navigation instance.
  */
 public function __construct()
 {
     parent::__construct(_('Profil'));
 }
예제 #6
0
 public function __construct()
 {
     parent::__construct(_('Community'));
 }
예제 #7
0
 /**
  * Initialize a new Navigation instance.
  */
 public function __construct()
 {
     $url = is_object($GLOBALS['user']) && $GLOBALS['user']->id != 'nobody' ? 'dispatch.php/start' : 'index.php';
     parent::__construct(_('Start'), $url);
 }
예제 #8
0
 /**
  * Initialize a new Navigation instance.
  */
 public function __construct()
 {
     parent::__construct(_('Footer'));
 }
예제 #9
0
 /**
  * Initialize a new Navigation instance.
  */
 public function __construct()
 {
     parent::__construct(_('Admin'));
     $this->setImage(Icon::create('admin', 'navigation', ["title" => _('Zu Ihrer Administrationsseite')]));
 }
예제 #10
0
 /**
  * Initialize a new Navigation instance.
  */
 public function __construct()
 {
     parent::__construct(_('Tools'));
     $this->setImage(Icon::create('tools', 'navigation', ["title" => _('Tools')]));
 }