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/* conditional comments for IE8 / IE9 browser detection if needed */ 15/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 16?> 17<!--[if lt IE 9]> <html class="no-js lt-ie10 lt-ie9" lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>"> <![endif]--> 18<!--[if IE 9]> <html class="no-js lt-ie10 ie-9" lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>"> <![endif]--> 19<!--[if gt IE 9]><!--> <html class="edge no-js" lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>"> <!--<![endif]--> 20<head> 21 <?php 22 23 24 /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 25 /* meta and link relations */ 26 /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 27 ?> 28 <meta charset="utf-8" /> 29 <meta name="viewport" content="width=device-width, initial-scale=1.0" /> 30 <?php tpl_metaheaders() ?> 31 <?php 32 33 34 /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 35 /* conditional comments for HTML5 / media queries support in IE8 */ 36 /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 37 ?> 38 <!--[if lt IE 9]> 39 <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> 40 <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> 41 <![endif]--> 42 43 <?php 44 45 46 /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 47 /* page title */ 48 /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 49 ?> 50 <title><?php tpl_pagetitle() ?> [<?php echo strip_tags($conf['title']) ?>]</title> 51 52 <script type="text/javascript">(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script> 53 54 <?php 55 56 57 /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 58 /* favicons */ 59 /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 60 ?> 61 <?php 62 echo tpl_favicon(array('favicon')); /* DokuWiki: favicon.ico */ 63 include('tpl/favicon_tiles.php'); 64 ?> 65 <?php 66 67 68 /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 69 /* Include Hook: meta.html */ 70 /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 71 ?> 72 <?php tpl_includeFile('meta.html') ?> 73</head> 74 75<body> 76 <?php 77 78 79 /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 80 /* uses body markup of main.php following markup is included with tpl_content(); 81 /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 82 ?> 83 84 <div id="media__manager" class="dokuwiki"> 85 <?php html_msgarea() ?> 86 <div id="mediamgr__aside"> 87 <div class="pad"> 88 <h1><?php echo hsc($lang['mediaselect'])?></h1> 89 90 <?php /* keep the id! additional elements are inserted via JS here */?> 91 <div id="media__opts"></div> 92 93 <?php tpl_mediaTree() ?> 94 </div> 95 </div> 96 <div id="mediamgr__content"> 97 <div class="pad"> 98 <?php tpl_mediaContent() ?> 99 </div> 100 </div> 101 </div> 102 103</body> 104</html> 105