1<?php 2/** 3 * DokuWiki Bootstrap3 Template: Media Manager Popup 4 * 5 * @link http://dokuwiki.org/template:bootstrap3 6 * @author Andreas Gohr <andi@splitbrain.org> 7 * @author Giuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com> 8 * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) 9 */ 10 11if (!defined('DOKU_INC')) die(); // must be run from within DokuWiki 12 13require_once 'tpl/global.php'; 14require_once 'tpl/functions.php'; 15 16?><!DOCTYPE html> 17<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction'] ?>" class="popup no-js"> 18<head> 19 <meta charset="UTF-8" /> 20 <meta http-equiv="X-UA-Compatible" content="IE=edge" /> 21 <title><?php echo hsc($lang['mediaselect'])?> [<?php echo strip_tags($conf['title'])?>]</title> 22 <script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script> 23 <meta name="viewport" content="width=device-width,initial-scale=1" /> 24 <?php 25 26 if ($TPL->getConf('themeByNamespace')) { 27 echo '<link href="' . tpl_basedir() . 'css.php?id='. $ID .'" rel="stylesheet" />'; 28 } 29 30 echo tpl_favicon(array('favicon', 'mobile')); 31 tpl_includeFile('meta.html'); 32 tpl_metaheaders(); 33 34 ?> 35 <!--[if lt IE 9]> 36 <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> 37 <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> 38 <![endif]--> 39 <style type="text/css"> 40 body { position: initial; } 41 </style> 42</head> 43<body class="container"> 44 45 <div id="dw__msgarea" class="small"> 46 <?php $TPL->getMessageArea() ?> 47 </div> 48 <div id="media__manager" class="<?php echo $TPL->getClasses() ?> row"> 49 50 <div id="mediamgr__aside" class="col-xs-4"> 51 <h1><?php echo hsc($lang['mediaselect'])?></h1> 52 53 <?php /* keep the id! additional elements are inserted via JS here */?> 54 <div id="media__opts"></div> 55 <?php tpl_mediaTree() ?> 56 </div> 57 58 <div id="mediamgr__content" class="col-xs-8"> 59 <?php tpl_mediaContent() ?> 60 </div> 61 62 </div> 63 64</body> 65</html> 66