Skip to content

Commit

Permalink
Author breadcrumbs.
Browse files Browse the repository at this point in the history
  • Loading branch information
crhallberg authored and demiankatz committed Aug 9, 2013
1 parent 44f0f8b commit d423280
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions themes/blueprint/templates/author/results.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@
$this->layout()->searchbox = $this->context($this)->renderInContext('search/searchbox.phtml', array('searchClassId' => 'Solr'));

// Set up breadcrumbs:
$this->layout()->breadcrumbs = '<em>' . $this->params->getDisplayQuery() . '</em>';
?>
$this->layout()->breadcrumbs = '<a href="' . $this->url('author-home') . '">' . $this->transEsc('Author') . '</a> <span>&gt;</span> '
. '<em>' . $this->escapeHtml($this->params->getDisplayQuery()) . '</em>';
?>
3 changes: 2 additions & 1 deletion themes/blueprint/templates/author/search.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@
$this->layout()->searchbox = $this->context($this)->renderInContext('search/searchbox.phtml', array('searchClassId' => 'Solr'));

// Set up breadcrumbs:
$this->layout()->breadcrumbs = '<em>' . $this->translate('Author Results for') . ' ' . $this->params->getDisplayQuery() . '</em>';
$this->layout()->breadcrumbs = '<a href="' . $this->url('author-home') . '">' . $this->transEsc('Author') . '</a> <span>&gt;</span> '
. '<em>' . $this->translate('Author Results for') . ' ' . $this->escapeHtml($this->params->getDisplayQuery()) . '</em>';
?>

0 comments on commit d423280

Please sign in to comment.