From 55e07848dd11d37bf763b4aca433ae9b54e1ad57 Mon Sep 17 00:00:00 2001
From: Eric Rasmussen <eric@unl.edu>
Date: Thu, 13 May 2010 20:23:22 +0000
Subject: [PATCH] moved pagetitle out of maincontent and up to appropriate
 area, not displaying slogan anymore

git-svn-id: file:///tmp/wdn_thm_drupal/trunk@84 20a16fea-79d4-4915-8869-1ea9d5ebf173
---
 sites/all/themes/unl_wdn/page.tpl.php | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/sites/all/themes/unl_wdn/page.tpl.php b/sites/all/themes/unl_wdn/page.tpl.php
index 0ed7a485..df760aa4 100644
--- a/sites/all/themes/unl_wdn/page.tpl.php
+++ b/sites/all/themes/unl_wdn/page.tpl.php
@@ -16,8 +16,10 @@ $t->doctitle = '<title>'. unl_wdn_head_title() .'</title>';
 if (isset($site_name)) {
     $t->titlegraphic = '<h1>' . $site_name . '</h1>';
 }
-if (isset($site_slogan)) {
-    $t->pagetitle = '<h2>' . $site_slogan . '</h2>';
+if (isset($title)) {
+    $t->pagetitle = '<h2>' . $title . '</h2>';
+} else {
+    $t->pagetitle = '';
 }
 
 if (isset($breadcrumb)) {
@@ -30,7 +32,6 @@ $t->maincontentarea = $maincontentprefix . PHP_EOL
                     . str_replace(array('"tabs', 'active'),
                                   array('"wdn_tabs disableSwitching', 'selected'),
                                   theme_menu_local_tasks()) . PHP_EOL
-                    . '<h1>'. $title .'</h1>' . PHP_EOL
                     . str_replace(array('sticky-enabled'),
                                   array('zentable cool'),
                                   $content) . PHP_EOL
-- 
GitLab