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