1<?php
2/**
3 * This is the template for the media manager popup
4 *
5 * @author Andreas Gohr <andi@splitbrain.org>
6 */
7if (!defined('DOKU_INC')) die(); // must be run from within DokuWiki
8@require_once(dirname(__FILE__).'/tpl_functions.php'); /* include hook for template functions */
9?>
10<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
11 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
12<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>"
13    lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction']?>">
14<head>
15    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
16    <title>
17        <?php echo hsc($lang['mediaselect'])?>
18        [<?php echo strip_tags($conf['title'])?>]
19    </title>
20    <?php tpl_metaheaders()?>
21    <?php echo tpl_favicon(array('favicon', 'mobile')) ?>
22</head>
23
24<body>
25<div id="media__manager" class="dokuwiki">
26    <div id="mediamgr__aside"><div class="pad">
27        <?php html_msgarea()?>
28        <h1><?php echo hsc($lang['mediaselect'])?></h1>
29
30        <?php /* keep the id! additional elements are inserted via JS here */?>
31        <div id="media__opts"></div>
32
33        <?php tpl_mediaTree() ?>
34    </div></div>
35
36    <div id="mediamgr__content"><div class="pad">
37        <?php tpl_mediaContent() ?>
38    </div></div>
39</div>
40</body>
41</html>
42