template redesign
This commit is contained in:
parent
77d4a15da5
commit
f414dd9577
31 changed files with 1156 additions and 80 deletions
|
@ -3,9 +3,9 @@
|
|||
|
||||
if ($conf['breadcrumbs']): ?>
|
||||
|
||||
<div class="breadcrumbs">
|
||||
|
||||
<h6 class="sr-only" role="heading" aria-level="2"><?php echo tpl_getLang('head_breadcrumb') ?></h6>
|
||||
<p><?php tpl_youarehere() ?></p>
|
||||
</div>
|
||||
|
||||
|
||||
<?php endif ?>
|
||||
|
|
|
@ -3,9 +3,17 @@
|
|||
?>
|
||||
|
||||
<?php
|
||||
$doplugin = plugin_load('helper','do');
|
||||
if ($doplugin !== null) {
|
||||
echo "<ul>";
|
||||
$doPlugin = plugin_load('helper','do');
|
||||
$qc = plugin_load('helper','qc');
|
||||
if ($doPlugin !== null ||$qc ) {
|
||||
echo "<ul class=\"page-attributes\">";
|
||||
}
|
||||
if ($qc) {
|
||||
echo "<li class=\"plugin__qc\"><a id=\"plugin__qc__link\" aria-expanded=\"false\" href=\"#plugin__qc__wrapper\"><span class=\"prefix\">".tpl_getLang('quality_trigger')."</span><span class=\"num\">0</span></strong></a>";
|
||||
$qc->tplErrorCount();
|
||||
echo "</li>";
|
||||
}
|
||||
if ($doplugin !== null ) {
|
||||
$tasks = $doplugin->getPageTaskCount();
|
||||
$num = $tasks[count];
|
||||
$title = "";
|
||||
|
@ -26,9 +34,11 @@
|
|||
$markup = "<li class=\"plugin__do_pagetasks ".$class."\" title=\"'.$title.'\"><strong><span class=\"prefix\">".tpl_getLang('prefix_tasks_page')." </span><span class=\"num\">".$num."</span></strong></li>";
|
||||
|
||||
echo $markup;
|
||||
echo "</ul>";
|
||||
}
|
||||
|
||||
if ($doPlugin !== null ||$qc ) {
|
||||
echo "</ul>";
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
|
|
21
tpl/nav-page-tools.php
Normal file
21
tpl/nav-page-tools.php
Normal file
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
if (!defined('DOKU_INC')) die();
|
||||
?>
|
||||
|
||||
<?php if ($showTools): ?>
|
||||
<nav id="dokuwiki__pagetools">
|
||||
|
||||
<?php include('nav-status.php');?>
|
||||
<ul>
|
||||
<?php tpl_toolsevent('pagetools', array(
|
||||
'edit' => tpl_action('edit', 1, 'li', 1),
|
||||
'discussion'=> _tpl_action('discussion', 1, 'li', 1),
|
||||
'revisions' => tpl_action('revisions', 1, 'li', 1),
|
||||
'backlink' => tpl_action('backlink', 1, 'li', 1),
|
||||
'subscribe' => tpl_action('subscribe', 1, 'li', 1),
|
||||
'revert' => tpl_action('revert', 1, 'li', 1),
|
||||
'top' => tpl_action('top', 1, 'li', 1),
|
||||
)); ?>
|
||||
</ul>
|
||||
</nav>
|
||||
<?php endif; ?>
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
if (!defined('DOKU_INC')) die();
|
||||
?>
|
||||
<nav class="nav-status">
|
||||
<h6 class="sr-only" role="heading" aria-level="2"><?php echo $lang['site_status']; ?></h6>
|
||||
<div class="nav-status">
|
||||
<?php tpl_include_page($conf['statusbar'], 1, 1) /* includes the nearest statusbar page */ ?>
|
||||
</nav>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue