1<?php
2/**
3 * DokuWiki Default Template.
4 *
5 * This is the template for the media manager popup.
6 *
7 * @link   http://dokuwiki.org/templates
8 * @author Andreas Gohr <andi@splitbrain.org>
9 */
10
11// must be run from within DokuWiki
12if (!defined('DOKU_INC')) die();
13
14?>
15<!DOCTYPE html>
16<html lang="<?php echo $conf['lang']?>" id="mediamanager" dir="<?php echo $lang['direction']?>">
17<head<?php if (tpl_getConf('opengraphheading')) { ?> prefix="og: http://ogp.me/ns# article: http://ogp.me/ns/article# fb: http://ogp.me/ns/fb# place: http://ogp.me/ns/place# book: http://ogp.me/ns/book#"<?php } ?>>
18  <meta charset="utf-8" />
19  <meta name="viewport" content="width=device-width, initial-scale=1" />
20  <title>
21    <?php echo hsc($lang['mediaselect'])?>
22    [<?php echo strip_tags($conf['title'])?>]
23  </title>
24  <?php tpl_metaheaders()?>
25  <?php echo tpl_favicon()?>
26</head>
27
28<body>
29<div id="media__manager" class="dokuwiki">
30    <div id="media__left">
31        <?php html_msgarea()?>
32        <h1><?php echo hsc($lang['mediaselect'])?></h1>
33
34        <?php /* keep the id! additional elements are inserted via JS here */?>
35        <div id="media__opts"></div>
36
37        <?php tpl_mediaTree() ?>
38    </div>
39
40    <div id="media__right">
41        <?php tpl_mediaContent() ?>
42    </div>
43</div>
44</body>
45</html>
46