diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2019-04-11 13:32:04 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2019-04-11 13:32:04 +0200 |
commit | e0b593c90599009a903d1856555eacf33245005d (patch) | |
tree | 4e45d604030b68b7048d5a3a419ec91f03594ebb /header.php |
Initial commit
Diffstat (limited to 'header.php')
-rw-r--r-- | header.php | 28 |
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> |