1<?php 2/** 3 * DokuWiki Media Manager Popup 4 * 5 * @link FIXME 6 * @author Andreas Gohr <andi@splitbrain.org>, Jana Deutschlaender <deutschlaender@cosmocode.de> 7 * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) 8 */ 9// must be run from within DokuWiki 10if (!defined('DOKU_INC')) die(); 11header('X-UA-Compatible: IE=edge,chrome=1'); 12 13?> 14<!DOCTYPE html> 15<html class="edge no-js" lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>"> 16<head> 17 <?php 18 19 20 /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 21 /* meta and link relations */ 22 /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 23 ?> 24 <meta charset="utf-8" /> 25 <meta name="viewport" content="width=device-width, initial-scale=1.0" /> 26 <?php tpl_metaheaders() ?> 27 <?php 28 /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 29 /* page title */ 30 /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 31 ?> 32 <title><?php tpl_pagetitle() ?> [<?php echo strip_tags($conf['title']) ?>]</title> 33 34 <script type="text/javascript">(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script> 35 36 <?php 37 38 39 /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 40 /* favicons */ 41 /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 42 ?> 43 <?php 44 echo tpl_favicon(array('favicon')); /* DokuWiki: favicon.ico */ 45 include('tpl/favicon_tiles.php'); 46 ?> 47 <?php 48 49 50 /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 51 /* Include Hook: meta.html */ 52 /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 53 ?> 54 <?php tpl_includeFile('meta.html') ?> 55</head> 56 57<body> 58 <?php 59 60 61 /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 62 /* uses body markup of main.php following markup is included with tpl_content(); 63 /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 64 ?> 65 66 <div id="media__manager" class="dokuwiki"> 67 <?php html_msgarea() ?> 68 <div id="mediamgr__aside"> 69 <div class="pad"> 70 <h1><?php echo hsc($lang['mediaselect'])?></h1> 71 72 <?php /* keep the id! additional elements are inserted via JS here */?> 73 <div id="media__opts"></div> 74 75 <?php tpl_mediaTree() ?> 76 </div> 77 </div> 78 <div id="mediamgr__content"> 79 <div class="pad"> 80 <?php tpl_mediaContent() ?> 81 </div> 82 </div> 83 </div> 84 85</body> 86</html> 87