From 5f9e398a36424f096e4ecfacd33f7a6d562fee29 Mon Sep 17 00:00:00 2001 From: Brett Bieber <brett.bieber@gmail.com> Date: Wed, 28 Mar 2012 23:39:42 +0000 Subject: [PATCH] Upgrade to the 3.1 templates --- src/UNL/Catalog.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/UNL/Catalog.php b/src/UNL/Catalog.php index 293c647..28daceb 100644 --- a/src/UNL/Catalog.php +++ b/src/UNL/Catalog.php @@ -488,16 +488,19 @@ class UNL_Catalog if (!class_exists('UNL_Templates')) { require_once 'UNL/Templates.php'; } + UNL_Templates::setCachingService(new UNL_Templates_CachingService_Null()); + + UNL_Templates::$options['version'] = 3.1; $this->p = UNL_Templates::factory('Fixed'); $this->p->head .= '<link rel="stylesheet" type="text/css" href="'.$this->uri.'templates/catalog.css" />'; $this->p->head .= '<script type="text/javascript" src="'.$this->uri.'templates/catalog.js"></script>'; $this->p->head .= '<link rel="search" href="'.$this->uri.'?cx=015236299699564929946%3Aipiaeommikw&cof=FORID%3A11&view=search" />'; $this->p->head .= '<link rel="home" href="'.$this->uri.'" />'; - $this->p->doctitle = '<title>UNL | Graduate Studies Bulletin | 2011-2012</title>'; - $this->p->titlegraphic = '<h1>Graduate Studies Bulletin 2011-2012</h1> - <h2>Policies and Courses</h2>'; + $this->p->doctitle = '<title>2011-2012 Graduate Studies Bulletin | University of Nebraska-Lincoln</title>'; + $this->p->titlegraphic = 'Graduate Studies Bulletin 2011-2012'; $this->p->maincontentarea = ''; + $this->p->pagetitle = ''; $this->p->breadcrumbs = '<ul> <li class="first"><a href="http://www.unl.edu/">UNL</a></li> <li><a href="http://www.unl.edu/gradstudies/">Graduate Studies</a></li> -- GitLab