xref: /template/retro/mediamanager.php (revision d386b375f2c06fdac5e2d3537fd26dff174ea8b0)
1<?php
2/**
3 * DokuWiki Media Manager Popup
4 *
5 * @author   Andreas Gohr <andi@splitbrain.org>
6 * @license  GPL 2 (http://www.gnu.org/licenses/gpl.html)
7 */
8// must be run from within DokuWiki
9if (!defined('DOKU_INC')) die();
10@require_once(dirname(__FILE__).'/tpl_functions.php'); /* include hook for template functions */
11
12?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
13 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
14<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>"
15  lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction'] ?>" class="popup">
16<head>
17    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
18    <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /><![endif]-->
19    <title>
20        <?php echo hsc($lang['mediaselect'])?>
21        [<?php echo strip_tags($conf['title'])?>]
22    </title>
23    <?php tpl_metaheaders()?>
24    <meta name="viewport" content="width=device-width,initial-scale=1" />
25    <?php echo tpl_favicon(array('favicon', 'mobile')) ?>
26    <?php tpl_includeFile('meta.html') ?>
27</head>
28
29<body>
30    <!--[if IE 6 ]><div id="IE6"><![endif]--><!--[if IE 7 ]><div id="IE7"><![endif]--><!--[if IE 8 ]><div id="IE8"><![endif]-->
31    <div id="media__manager" class="dokuwiki">
32        <?php html_msgarea() ?>
33        <div id="mediamgr__aside"><div class="pad">
34            <h1><?php echo hsc($lang['mediaselect'])?></h1>
35
36            <?php /* keep the id! additional elements are inserted via JS here */?>
37            <div id="media__opts"></div>
38
39            <?php tpl_mediaTree() ?>
40        </div></div>
41
42        <div id="mediamgr__content"><div class="pad">
43            <?php tpl_mediaContent() ?>
44        </div></div>
45    </div>
46    <!--[if ( IE 6 | IE 7 | IE 8 ) ]></div><![endif]-->
47</body>
48</html>
49