diff --git a/app/controllers/consultation/admin.php b/app/controllers/consultation/admin.php index bad2421eade49089da69a6efb5f2d72305ac58bf..016167ec6e3ea75a7a110d9c06c83c0eff2267e3 100644 --- a/app/controllers/consultation/admin.php +++ b/app/controllers/consultation/admin.php @@ -21,7 +21,11 @@ class Consultation_AdminController extends ConsultationController } $this->activateNavigation('admin'); - PageLayout::setTitle(_('Verwaltung der Termine')); + if (Context::isCourse() || Context::isInstitute()) { + PageLayout::setTitle(Context::get()->getFullname() . ' - ' . _('Verwaltung der Termine')); + } else { + PageLayout::setTitle(_('Verwaltung der Termine')); + } $this->range_config = $this->range->getConfiguration(); diff --git a/app/controllers/course/courseware.php b/app/controllers/course/courseware.php index 133ebdc17509a7225ac73eff8925622bd598ee89..f35483f311f1e00a49e4daeedc5c7ab5b8816d9e 100644 --- a/app/controllers/course/courseware.php +++ b/app/controllers/course/courseware.php @@ -20,7 +20,7 @@ class Course_CoursewareController extends CoursewareController { parent::before_filter($action, $args); - PageLayout::setTitle(_('Courseware')); + PageLayout::setTitle(Context::get()->getFullname() . ' - ' . _('Courseware')); PageLayout::setHelpKeyword('Basis.Courseware'); checkObject(); diff --git a/app/controllers/course/messenger.php b/app/controllers/course/messenger.php index 981a06fd978bd014e7c4ca2d39cad5b04d17d3b6..79db8499cee70216f0a7d5dfff36dae18c7d213d 100644 --- a/app/controllers/course/messenger.php +++ b/app/controllers/course/messenger.php @@ -11,10 +11,10 @@ class Course_MessengerController extends AuthenticatedController public function course_action($thread_id = null) { - PageLayout::setTitle(_("Blubber")); + PageLayout::setTitle(Context::get()->getFullname() . ' - ' . _('Blubber')); if (Navigation::hasItem('/course/blubber')) { - Navigation::activateItem("/course/blubber"); + Navigation::activateItem('/course/blubber'); } $this->threads = BlubberThread::findByContext(Context::get()->id, true, Context::getType());