summaryrefslogtreecommitdiff
path: root/header.php
blob: 60151f847141bdd18d9fe8882cf0175b914eea94 (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 href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap" rel="stylesheet"/> 
	</head>
	<body>
		<div id="page">
			<div id="header">
				<div id="header-logo">
					<?php tpl_link(DOKU_BASE, "<img src=\"/lib/tpl/opticks/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>