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