summaryrefslogtreecommitdiff
path: root/header.php
diff options
context:
space:
mode:
Diffstat (limited to 'header.php')
-rw-r--r--header.php28
1 files changed, 28 insertions, 0 deletions
diff --git a/header.php b/header.php
new file mode 100644
index 0000000..3b78cb5
--- /dev/null
+++ b/header.php
@@ -0,0 +1,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>