SPR-972 add more info to the breadcrumb

* add the current admin plugin to the breadcrumb
* use proper translations for the various modes
* do no longer rely on JavaScript for the enhanced breadcrumb
* add image name in breadcrumb for detail view
This commit is contained in:
Andreas Gohr 2017-04-26 14:57:49 +02:00
commit 84f9464195
5 changed files with 56 additions and 37 deletions

View file

@ -1,11 +1,14 @@
<?php
if (!defined('DOKU_INC')) die();
if(!defined('DOKU_INC')) die();
if ($conf['breadcrumbs']): ?>
if($conf['breadcrumbs']): ?>
<h6 class="sr-only" role="heading" aria-level="2"><?php echo tpl_getLang('head_breadcrumb') ?></h6>
<p><?php tpl_youarehere() ?></p>
<h6 class="sr-only" role="heading" aria-level="2"><?php echo tpl_getLang('head_breadcrumb') ?></h6>
<p><?php
tpl_youarehere();
\dokuwiki\template\sprintdoc\Template::getInstance()->breadcrumbSuffix();
?></p>
<?php endif ?>
<?php endif ?>