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 * @author Mark C. Prins <mprins@users.sf.net>
10 */
11
12// must be run from within DokuWiki
13if (!defined('DOKU_INC')) die();
14
15?>
16<!DOCTYPE html>
17<html lang="<?php echo $conf['lang']?>" id="mediamanager" dir="<?php echo $lang['direction']?>">
18<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 } ?>>
19  <meta charset="utf-8" />
20  <meta name="viewport" content="width=device-width, initial-scale=1" />
21  <title>
22    <?php echo hsc($lang['mediaselect'])?>
23    [<?php echo strip_tags($conf['title'])?>]
24  </title>
25  <?php tpl_metaheaders()?>
26  <?php echo tpl_favicon() ?>
27</head>
28
29<body>
30<div id="media__manager" class="dokuwiki">
31    <div id="media__left">
32        <?php html_msgarea()?>
33        <h1><?php echo hsc($lang['mediaselect'])?></h1>
34
35        <?php /* keep the id! additional elements are inserted via JS here */?>
36        <div id="media__opts"></div>
37
38        <?php tpl_mediaTree() ?>
39    </div>
40
41    <div id="media__right">
42        <?php tpl_mediaContent() ?>
43    </div>
44</div>
45</body>
46</html>
47