diff --git a/application/modules/courses/views/scripts/edit/index.phtml b/application/modules/courses/views/scripts/edit/index.phtml index df96a94ebb4abb45cd5e839163921ebe6008a6b8..7b3b0c66017e17db5254be4aebc494d58e86fd35 100644 --- a/application/modules/courses/views/scripts/edit/index.phtml +++ b/application/modules/courses/views/scripts/edit/index.phtml @@ -2,6 +2,7 @@ <?php $this->headScript()->appendFile($this->baseUrl() . '/tinymce/jscripts/tiny_mce/tiny_mce.js'); ?> <?php $this->headScript()->appendFile($this->baseUrl() . '/javascript/tinymce.js'); ?> <?php $this->headScript()->appendFile($this->baseUrl() . '/javascript/courses/edit.js'); ?> +<?php $this->layout()->tagline = 'Editing: ' . $this->course->getCourseCode() . ' (' . $this->request->getType() . ')'; ?> <form action="<?php echo $this->url(array('action' => 'edit.post')); ?>" enctype="multipart/form-data" method="post"> diff --git a/application/modules/courses/views/scripts/view/index.phtml b/application/modules/courses/views/scripts/view/index.phtml index a422f5ce0555ff61069e8671d355f59b5a6db725..de656ce881257fa9f33e8eda6839127ba5dd4a30 100644 --- a/application/modules/courses/views/scripts/view/index.phtml +++ b/application/modules/courses/views/scripts/view/index.phtml @@ -1,8 +1,15 @@ <?php $this->headLink()->appendStylesheet($this->baseUrl() . '/css/courses/view.css'); ?> <?php $this->headScript()->appendFile($this->baseUrl() . '/javascript/courses/view.js'); ?> +<?php +if ($this->preview) { + $tagline = 'Previewing'; +} else { + $tagline = 'Viewing'; +} +$this->layout()->tagline = $tagline . ': ' . $this->course->getCourseCode() . ' (' . $this->request->getType() . ')'; +?> <div id="viewRequest"> - <h2><?php echo $this->request->getType(); ?></h2> <?php $course = $this->course; if ($this->parentCourse) {