1<?php 2 3/** 4 * DokuWiki Media Manager Popup 5 * 6 * @author Andreas Gohr <andi@splitbrain.org> 7 * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) 8 */ 9 10// must be run from within DokuWiki 11if (defined('DOKU_INC') === false) { 12 die(); 13} 14header('X-UA-Compatible: IE=edge,chrome=1'); 15 16?><!DOCTYPE html> 17<html lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction'] ?>" class="popup no-js"> 18<head> 19 <meta charset="utf-8" /> 20 <title> 21 <?php echo hsc($lang['mediaselect'])?> 22 [<?php echo strip_tags($conf['title'])?>] 23 </title> 24 <script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script> 25 <?php tpl_metaheaders()?> 26 <meta name="viewport" content="width=device-width,initial-scale=1" /> 27 <?php echo tpl_favicon(['favicon', 'mobile']) ?> 28 <?php tpl_includeFile('meta.html') ?> 29 <?php 30 $baseDir = tpl_basedir(); 31 echo '<link type="text/css" rel="stylesheet" href="' . $baseDir . 'css.php?css=assets/mikio.less">'; 32 echo '<script type="text/javascript" src="' . $baseDir . 'assets/mikio.js"></script>'; 33 ?> 34</head> 35 36<body> 37 <div id="media__manager" class="dokuwiki"> 38 <?php html_msgarea() ?> 39 <div id="mediamgr__aside"><div class="pad"> 40 <h1><?php echo hsc($lang['mediaselect'])?></h1> 41 42 <?php /* keep the id! additional elements are inserted via JS here */?> 43 <div id="media__opts"></div> 44 45 <?php tpl_mediaTree() ?> 46 </div></div> 47 48 <div id="mediamgr__content"><div class="pad"> 49 <?php tpl_mediaContent() ?> 50 </div></div> 51 </div> 52</body> 53</html> 54