From 4357dec3e9fe708f3692a92fcd6212ce5e0e1a32 Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Wed, 12 Nov 2014 11:50:52 -0500
Subject: [PATCH] Added missing titles/breadcrumbs.

---
 .../blueprint/templates/myresearch/newpassword.phtml   |  8 ++++++++
 .../bootstrap/templates/myresearch/newpassword.phtml   |  8 ++++++++
 .../bootstrap3/templates/myresearch/newpassword.phtml  | 10 +++++++++-
 3 files changed, 25 insertions(+), 1 deletion(-)

diff --git a/themes/blueprint/templates/myresearch/newpassword.phtml b/themes/blueprint/templates/myresearch/newpassword.phtml
index 92f10533e5b..0a2c1f63904 100644
--- a/themes/blueprint/templates/myresearch/newpassword.phtml
+++ b/themes/blueprint/templates/myresearch/newpassword.phtml
@@ -1,3 +1,11 @@
+<?
+    // Set up page title:
+    $this->headTitle($this->translate('Create New Password'));
+
+    // Set up breadcrumbs:
+    $this->layout()->breadcrumbs = '<a href="' . $this->url('myresearch-home') . '">' . $this->transEsc('Your Account') . '</a>'
+        . '<span>&gt;</span><em>' . $this->transEsc('Create New Password') . '</em>';
+?>
 <div class="<?=$this->layoutClass('mainbody')?>">
   <h2><?=$this->transEsc('Create New Password') ?></h2>
   <?=$this->flashmessages() ?>
diff --git a/themes/bootstrap/templates/myresearch/newpassword.phtml b/themes/bootstrap/templates/myresearch/newpassword.phtml
index cdb2d5d94ab..4eb9ac9daeb 100644
--- a/themes/bootstrap/templates/myresearch/newpassword.phtml
+++ b/themes/bootstrap/templates/myresearch/newpassword.phtml
@@ -1,3 +1,11 @@
+<?
+    // Set up page title:
+    $this->headTitle($this->translate('Create New Password'));
+
+    // Set up breadcrumbs:
+    $this->layout()->breadcrumbs = '<li><a href="' . $this->url('myresearch-home') . '">' . $this->transEsc('Your Account') . '</a> <span class="divider">&gt;</span></li>'
+        . '<li class="active">' . $this->transEsc('Create New Password') . '</li>';
+?>
 <div class="<?=$this->layoutClass('mainbody')?>">
   <h2><?=$this->transEsc('Create New Password') ?></h2>
   <?=$this->flashmessages() ?>
diff --git a/themes/bootstrap3/templates/myresearch/newpassword.phtml b/themes/bootstrap3/templates/myresearch/newpassword.phtml
index 0d934fae3ba..976b18b68e8 100644
--- a/themes/bootstrap3/templates/myresearch/newpassword.phtml
+++ b/themes/bootstrap3/templates/myresearch/newpassword.phtml
@@ -1,3 +1,11 @@
+<?
+    // Set up page title:
+    $this->headTitle($this->translate('Create New Password'));
+
+    // Set up breadcrumbs:
+    $this->layout()->breadcrumbs = '<li><a href="' . $this->url('myresearch-home') . '">' . $this->transEsc('Your Account') . '</a></li>'
+        . '<li class="active">' . $this->transEsc('Create New Password') . '</li>';
+?>
 <? if ($this->auth()->isLoggedIn()): ?>
   <div class="row">
     <div class="<?=$this->layoutClass('mainbody')?>">
@@ -30,4 +38,4 @@
       <?=$this->context($this)->renderInContext("myresearch/menu.phtml", array('active' => 'newpassword'))?>
     </div>
   </div>
-<? endif; ?>
\ No newline at end of file
+<? endif; ?>
-- 
GitLab