Skip to content
Snippets Groups Projects
Commit 93b22510 authored by Tim Steiner's avatar Tim Steiner
Browse files

Put course code and request type in page taglines for Edit, Preview, and View pages.

parent af767bfb
Branches
Tags
No related merge requests found
......@@ -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">
......
<?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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment