/** * 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])); }
/** * 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])); } }
/** * Initialize a new Navigation instance. */ public function __construct() { parent::__construct(_('Suche')); $this->setImage(Icon::create('search', 'navigation', ["title" => _('Suche')])); }
/** * Initialize a new Navigation instance. */ public function __construct() { parent::__construct(_('Nachrichten')); }
/** * Initialize a new Navigation instance. */ public function __construct() { parent::__construct(_('Profil')); }
public function __construct() { parent::__construct(_('Community')); }
/** * 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); }
/** * Initialize a new Navigation instance. */ public function __construct() { parent::__construct(_('Footer')); }
/** * Initialize a new Navigation instance. */ public function __construct() { parent::__construct(_('Admin')); $this->setImage(Icon::create('admin', 'navigation', ["title" => _('Zu Ihrer Administrationsseite')])); }
/** * Initialize a new Navigation instance. */ public function __construct() { parent::__construct(_('Tools')); $this->setImage(Icon::create('tools', 'navigation', ["title" => _('Tools')])); }