1<?php
2/**
3 * DokuWiki Twenty Fifteen Template
4 *
5 * @link     https://github.com/lainme/dokuwiki-theme-twentyfifteen
6 * @author   Anika Henke <anika@selfthinker.org> (upstream)
7 * @author   lainme <lainme993@gmail.com>
8 * @license  GPLv2 (http://www.gnu.org/licenses/gpl.html)
9 */
10
11if (!defined('DOKU_INC')) die(); /* must be run from within DokuWiki */
12header('X-UA-Compatible: IE=edge,chrome=1');
13?>
14<!DOCTYPE html>
15<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang'] ?>" lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>" class="no-js">
16<head>
17    <meta charset="UTF-8"/>
18    <meta name="viewport" content="width=device-width,initial-scale=1" />
19    <title><?php echo hsc($lang['mediaselect'])?> [<?php echo strip_tags($conf['title'])?>]</title>
20    <script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script>
21    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Inconsolata:n,b|Noto+Sans:n,b,i,bi|Noto+Serif:n,b,i,bi" type="text/css" media="all"/>
22    <?php tpl_metaheaders() ?>
23    <?php tpl_includeFile('meta.html') ?>
24    <?php echo tpl_favicon(array('favicon', 'mobile')) ?>
25</head>
26<body>
27    <div id="media__manager" class="dokuwiki">
28        <?php html_msgarea() ?>
29        <div id="mediamgr__aside"><div class="pad">
30            <h1><?php echo hsc($lang['mediaselect'])?></h1>
31
32            <?php /* keep the id! additional elements are inserted via JS here */?>
33            <div id="media__opts"></div>
34
35            <?php tpl_mediaTree() ?>
36        </div></div>
37
38        <div id="mediamgr__content"><div class="pad">
39            <?php tpl_mediaContent() ?>
40        </div></div>
41    </div>
42</body>
43</html>
44