1<?php 2/** 3 * DokuWiki Media Manager Popup 4 * 5 * @author Andreas Gohr <andi@splitbrain.org> 6 */ 7// must be run from within DokuWiki 8if (!defined('DOKU_INC')) die(); 9@require_once(dirname(__FILE__).'/tpl_functions.php'); /* include hook for template functions */ 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']?>" 14 lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction'] ?>" class="popup"> 15<head> 16 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 17 <title> 18 <?php echo hsc($lang['mediaselect'])?> 19 [<?php echo strip_tags($conf['title'])?>] 20 </title> 21 <?php tpl_metaheaders()?> 22 <meta name="viewport" content="width=device-width,initial-scale=1" /> 23 <?php echo tpl_favicon(array('favicon', 'mobile')) ?> 24 <?php _tpl_include('meta.html') ?> 25</head> 26 27<body> 28 <!--[if IE 6 ]><div id="IE6"><![endif]--><!--[if IE 7 ]><div id="IE7"><![endif]--><!--[if IE 8 ]><div id="IE8"><![endif]--> 29 <div id="media__manager" class="dokuwiki"> 30 <?php html_msgarea() ?> 31 <div id="mediamgr__aside"><div class="pad"> 32 <h1><?php echo hsc($lang['mediaselect'])?></h1> 33 34 <?php /* keep the id! additional elements are inserted via JS here */?> 35 <div id="media__opts"></div> 36 37 <?php tpl_mediaTree() ?> 38 </div></div> 39 40 <div id="mediamgr__content"><div class="pad"> 41 <?php tpl_mediaContent() ?> 42 </div></div> 43 </div> 44 <!--[if ( IE 6 | IE 7 | IE 8 ) ]></div><![endif]--> 45</body> 46</html> 47