1<?php
2
3if (!defined('H6E_CSS')) {
4  if (file_exists(dirname(__FILE__) . '/h6e-minimal')) {
5    define('H6E_CSS', DOKU_URL . 'lib/tpl/minimal');
6  } else {
7    define('H6E_CSS', 'http://h6e.net/css');
8  }
9}
10
11?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
12 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
13<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>" lang="<?php echo $conf['lang']?>" dir="ltr">
14<head>
15  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
16  <title><?php echo hsc($lang['mediaselect']) ?> - <?php echo strip_tags($conf['title']) ?></title>
17
18  <link rel="stylesheet" media="screen" href="<?php echo H6E_CSS ?>/h6e-minimal/h6e-minimal.css" />
19
20  <?php tpl_metaheaders()?>
21
22  <style type="text/css">
23  .h6e-main-content {
24      width:<?php echo tpl_getConf('width') ?>;
25      padding-left:2.5em;
26      padding-right:2.5em;
27  }
28  .h6e-post-content {
29      font-size:<?php echo tpl_getConf('font-size') ?>;
30  }
31  .h6e-entry-title, .h6e-entry-title a, .h6e-entry-title a:visited, .do-page h1, .content-page h2 {
32      color:<?php echo tpl_getConf('title-color') ?>;
33  }
34  </style>
35</head>
36
37<body>
38<div id="media__manager" class="dokuwiki h6e-main-content">
39
40    <div id="media__left">
41
42        <?php html_msgarea()?>
43
44        <h2 class="h6e-entry-title"><?php echo hsc($lang['mediaselect'])?></h2>
45
46        <?php /* keep the id! additional elements are inserted via JS here */?>
47        <div id="media__opts"></div>
48
49        <?php tpl_mediaTree() ?>
50
51    </div>
52
53    <div id="media__right">
54        <?php tpl_mediaContent() ?>
55    </div>
56
57</div>
58</body>
59</html>
60