page[1])) $course_id = $this->page[1]; if ($this->is_current_page($this->page[0], "view")) { $this->navigation []= array('alt'=>_('Course Feed'), 'url'=>"course/view/{$course_id}", 'current'=>$this->is_current_page($this->page[0], "view"), 'icon'=>WWW_ROOT."views/graphics/feed_icon_tiny_current.png"); } else { $this->navigation []= array('alt'=>_('Course Feed'), 'url'=>"course/view/{$course_id}", 'current'=>$this->is_current_page($this->page[0], "view"), 'icon'=>WWW_ROOT."views/graphics/feed_icon_tiny.png"); } $this->navigation []= array('title'=>_('Course Info'), 'url'=>"course/info/{$course_id}", 'current'=>$this->is_current_page($this->page[0], "info")); $this->navigation []= array('title'=>_('Learning Outcomes'), 'url'=>"course/outcomes/{$course_id}", 'current'=>$this->is_current_page($this->page[0], "outcomes")); $this->navigation []= array('title'=>_('Announcements'), 'url'=>"course/announcements/{$course_id}", 'current'=>$this->is_current_page($this->page[0], "announcements")); $this->navigation []= array('title'=>_('Participants'), 'url'=>"course/participants/{$course_id}", 'current'=>$this->is_current_page($this->page[0], "participants")); $this->navigation []= array('title'=>_('Groups'), 'url'=>"course/groups/{$course_id}", 'current'=>$this->is_current_page($this->page[0], "groups")); $this->navigation []= array('title'=>_('Assignments'), 'url'=>"course/assignments/{$course_id}", 'current'=>$this->is_current_page($this->page[0], "assignments")); $this->navigation []= array('title'=>_('Resources'), 'url'=>"course/resources/{$course_id}", 'current'=>$this->is_current_page($this->page[0], "resources")); if (is_logged_in()) { $course = $Dippler->getCourse(); if ($course && $course->getType() == 'course' && $course->canEdit()) { if ($this->is_current_page($this->page[0], "settings")) { $this->navigation []= array('alt'=>_('Settings'), 'url'=>"course/settings/{$course_id}", 'current'=>$this->is_current_page($this->page[0], "settings"), 'icon'=>WWW_ROOT."views/graphics/settings_icon_tiny_current.png"); } else { $this->navigation []= array('alt'=>_('Settings'), 'url'=>"course/settings/{$course_id}", 'current'=>$this->is_current_page($this->page[0], "settings"), 'icon'=>WWW_ROOT."views/graphics/settings_icon_tiny.png"); } } } } } ?>