Permalink
Switch branches/tags
release_2007-06-26 release_2006-11-06 release_2006-03-09 release_2006-03-05 release_stable_2017-02-19 release_stable_2017-02-19b release_stable_2017-02-19a release_stable_2016-06-26 release_stable_2016-06-26b release_stable_2016-06-26a release_stable_2015-08-10 release_stable_2015-08-10a release_stable_2014_09_29d release_stable_2014_09_29c release_stable_2014_09_29b release_stable_2014_05_05e release_stable_2014_05_05d release_stable_2014_05_05c release_stable_2014-09-29 release_stable_2014-09-29a release_stable_2014-05-05 release_stable_2014-05-05b release_stable_2014-05-05a release_stable_2013-12-08 release_stable_2013-12-08a release_stable_2013-05-10 release_stable_2013-05-10a release_stable_2012-10-13 release_stable_2012-01-25 release_stable_2012-01-25b release_stable_2011_05_25 release_stable_2011_05_25a release_stable_2010-11-07 release_stable_2010-11-07b release_stable_2010-11-07a release_stable_2009-12-25 release_stable_2009-02-14 release_stable_2008-05-05 release_stable_2008-05-04 release_candidate_2013_03_06 release_candidate_2013-11-18 release_candidate_2013-10-28 release_candidate_2012_09_10 release_candidate_2011-11-10 release_candidate_2010-10-27 release_candidate_2010-10-07 release_candidate_2009-12-02 release_candidate_2009-02-06 release_candidate_2009-01-30 release_candidate_2009-01-26 release_candidate_2008-04-11 release_candidate_2008-03-31 release_candidate_2007-05-24 release_candidate_2006-10-19 release_candidate_2006-10-08 release_candidate_2006-09-28 rel_2005-09-22 rel_2005-09-19 rel_2005-07-13 rel_2005-07-01 develsnap_2009-12-01 develsnap_2009-11-15 develsnap_2009-11-01 develsnap_2009-10-01 develsnap_2009-09-01 develsnap_2009-08-01 develsnap_2009-07-01 develsnap_2009-06-01 develsnap_2009-05-01 develsnap_2009-04-01 develsnap_2009-03-01 develsnap_2009-02-01 develsnap_2009-01-01 develsnap_2008-12-01 develsnap_2008-11-01 develsnap_2008-10-13 develsnap_2008-10-01 develsnap_2008-09-01 develsnap_2008-08-01 develsnap_2008-07-01 develsnap_2008-06-01 develsnap_2008-05-01 develsnap_2008-04-01 develsnap_2008-03-01 develsnap_2008-02-01 develsnap_2008-01-01 develsnap_2007-12-01 develsnap_2007-11-01 develsnap_2007-10-01 develsnap_2007-09-01 develsnap_2007-08-01 develsnap_2007-07-01 develsnap_2007-06-01 develsnap_2007-05-01 develsnap_2007-04-01 develsnap_2007-03-01 develsnap_2007-02-01 develsnap_2007-01-01 develsnap_2006-12-01 develsnap_2006-11-01
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
96 lines (82 sloc) 3.18 KB
<?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">
<li><a href="#dokuwiki__content"><?php echo $lang['skip_to_content']; ?></a></li>
</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>';
}
tpl_toolsevent('usertools', array(
tpl_action('admin', true, 'li', true),
tpl_action('profile', true, 'li', true),
tpl_action('register', true, 'li', true),
tpl_action('login', true, 'li', true)
));
?>
</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 tpl_actiondropdown($lang['tools']); ?>
</div>
<ul>
<?php
tpl_toolsevent('sitetools', array(
tpl_action('recent', true, 'li', true),
tpl_action('media', true, 'li', true),
tpl_action('index', true, 'li', true)
));
?>
</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 -->