summaryrefslogtreecommitdiff
path: root/header.php
blob: 3b78cb5797ec58e2ab84333ec0c5d1cf7c8805a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php if (!defined('DOKU_INC')) die();?>
<html lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction'] ?>">
	<head>
		<?php tpl_metaheaders();?>
		<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
		<meta http-equiv="content-language" content="en"/>
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<?php echo tpl_favicon(array('favicon', 'mobile')) ?>
		<title><?php tpl_pagetitle();?></title>
		<link rel="stylesheet" media="screen" type="text/css" href="<?php echo DOKU_TPL;?>styles/vollkorn.css">
	</head>
	<body>
		<div id="page">
			<div id="header">
				<div id="header-logo">
					<?php tpl_link(DOKU_BASE, "<img src=\"/lib/tpl/optiks/images/redman.xyz.png\"></img>", 'title="'.$conf['title'].'"');?>
				</div>

				<div id="header-dropdown">
					<div id="header-dropdown-content">
						<?php tpl_userinfo();?>
						<?php echo (new \dokuwiki\Menu\UserMenu())->getListItems('action '); ?>
						<div id="header-dropdown-search"><?php tpl_searchform();?></div>
					</div>
				</div>
				<div id="header-search"><?php tpl_searchform();?></div>
				<div style="clear: both;"></div>
			</div>