Adding MindTheDark version 2025-03-17 (c5e286f).
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
cd81ae610b
commit
19df4a7159
126 changed files with 6282 additions and 0 deletions
100
templates/55/MindTheDark/tpl_header.php
Normal file
100
templates/55/MindTheDark/tpl_header.php
Normal file
|
@ -0,0 +1,100 @@
|
|||
<?php
|
||||
/**
|
||||
* Template header, included in the main and detail files
|
||||
*/
|
||||
|
||||
// must be run from within DokuWiki
|
||||
if (!defined('DOKU_INC')) die();
|
||||
?>
|
||||
|
||||
<!-- ********** HEADER ********** -->
|
||||
<div id="dokuwiki__header"><div class="pad group">
|
||||
|
||||
<?php tpl_includeFile('header.html') ?>
|
||||
|
||||
<div class="headings group">
|
||||
<ul class="a11y skip">
|
||||
<?php if(tpl_getConf('userChoice') == '1'): ?>
|
||||
<li>
|
||||
<a href="#" title="<?php echo tpl_getLang('themeSwitch') ?>" rel="nofollow" id="themeSwitchMobile">
|
||||
<span> <?php echo tpl_getLang('themeSwitch') ?> </span>
|
||||
</a>
|
||||
</li>
|
||||
<?php endif ?>
|
||||
</ul>
|
||||
|
||||
<h1><?php
|
||||
// get logo either out of the template images folder or data/media folder
|
||||
$logoSize = array();
|
||||
$logo = tpl_getMediaFile(array(':wiki:logo.png', ':logo.png', 'images/logo.png'), false, $logoSize);
|
||||
|
||||
// display logo and wiki title in a link to the home page
|
||||
tpl_link(
|
||||
wl(),
|
||||
'<img src="'.$logo.'" '.$logoSize[3].' alt="" /> <span>'.$conf['title'].'</span>',
|
||||
'accesskey="h" title="[H]"'
|
||||
);
|
||||
?></h1>
|
||||
<?php if ($conf['tagline']): ?>
|
||||
<p class="claim"><?php echo $conf['tagline']; ?></p>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
|
||||
<div class="tools group">
|
||||
<!-- USER TOOLS -->
|
||||
<?php if ($conf['useacl']): ?>
|
||||
<div id="dokuwiki__usertools">
|
||||
<h3 class="a11y"><?php echo $lang['user_tools']; ?></h3>
|
||||
<ul>
|
||||
<?php
|
||||
if (!empty($_SERVER['REMOTE_USER'])) {
|
||||
echo '<li class="user">';
|
||||
tpl_userinfo(); /* 'Logged in as ...' */
|
||||
echo '</li>';
|
||||
}
|
||||
?>
|
||||
|
||||
<?php if(tpl_getConf('userChoice') == '1'): ?>
|
||||
<li class="action profile">
|
||||
<a href="#" title="<?php echo tpl_getLang('themeSwitch') ?>" rel="nofollow" id="themeSwitch">
|
||||
<span> <?php echo tpl_getLang('themeSwitch') ?> </span>
|
||||
<?php echo file_get_contents(template('images/theme.svg')); ?>
|
||||
</a>
|
||||
</li>
|
||||
<?php endif ?>
|
||||
|
||||
<?php
|
||||
echo (new \dokuwiki\Menu\UserMenu())->getListItems('action ');
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
|
||||
<!-- SITE TOOLS -->
|
||||
<div id="dokuwiki__sitetools">
|
||||
<h3 class="a11y"><?php echo $lang['site_tools']; ?></h3>
|
||||
<?php tpl_searchform(); ?>
|
||||
<div class="mobileTools">
|
||||
<?php echo (new \dokuwiki\Menu\MobileMenu())->getDropdown($lang['tools']); ?>
|
||||
</div>
|
||||
<ul>
|
||||
<?php echo (new \dokuwiki\Menu\SiteMenu())->getListItems('action ', false); ?>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- BREADCRUMBS -->
|
||||
<?php if($conf['breadcrumbs'] || $conf['youarehere']): ?>
|
||||
<div class="breadcrumbs">
|
||||
<?php if($conf['youarehere']): ?>
|
||||
<div class="youarehere"><?php tpl_youarehere() ?></div>
|
||||
<?php endif ?>
|
||||
<?php if($conf['breadcrumbs']): ?>
|
||||
<div class="trace"><?php tpl_breadcrumbs() ?></div>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
|
||||
<hr class="a11y" />
|
||||
</div></div><!-- /header -->
|
Loading…
Add table
Add a link
Reference in a new issue