1<?php
2/**
3 * DokuKIT Template
4 *
5 * This is the template for the media manager popup
6 *
7 * @author Andreas Gohr <andi@splitbrain.org>
8 * @author Klaus Vormweg <klaus.vormweg@gmx.de>
9 */
10
11// must be run from within DokuWiki
12if (!defined('DOKU_INC')) die();
13echo '<!DOCTYPE html>
14<html lang="', $conf['lang'], '" dir="ltr">
15<head>
16  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
17  <title>', hsc($lang['mediaselect']), ' [', strip_tags($conf['title']), ']</title>';
18tpl_metaheaders();
19echo '
20  <link rel="shortcut icon" href="', DOKU_TPL, 'images/favicon.ico" />
21</head>
22<body>
23<div id="media__manager" class="dokuwiki">
24    <div id="media__left">
25';
26html_msgarea();
27echo '
28        <h1>', hsc($lang['mediaselect']),'</h1>
29';
30/* keep the id! additional elements are inserted via JS here */
31echo '        <div id="media__opts"></div>
32';
33tpl_mediaTree();
34echo '
35    </div>
36    <div id="media__right">
37';
38tpl_mediaContent();
39echo '
40    </div>
41</div>
42</body>
43</html>
44';
45?>
46