header.php 1.2 KB

12345678910111213141516171819202122232425262728
  1. <?php if (!defined('DOKU_INC')) die();?>
  2. <html lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction'] ?>">
  3. <head>
  4. <?php tpl_metaheaders();?>
  5. <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
  6. <meta http-equiv="content-language" content="en"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  8. <?php echo tpl_favicon(array('favicon', 'mobile')) ?>
  9. <title><?php tpl_pagetitle();?></title>
  10. <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"/>
  11. </head>
  12. <body>
  13. <div id="page">
  14. <div id="header">
  15. <div id="header-logo">
  16. <?php tpl_link(DOKU_BASE, "<img src=\"/lib/tpl/opticks/images/redman.xyz.png\"></img>", 'title="'.$conf['title'].'"');?>
  17. </div>
  18. <div id="header-dropdown">
  19. <div id="header-dropdown-content">
  20. <?php tpl_userinfo();?>
  21. <?php echo (new \dokuwiki\Menu\UserMenu())->getListItems('action '); ?>
  22. <div id="header-dropdown-search"><?php tpl_searchform();?></div>
  23. </div>
  24. </div>
  25. <div id="header-search"><?php tpl_searchform();?></div>
  26. <div style="clear: both;"></div>
  27. </div>