1<?php 2/** 3 * DokuWiki Bulma Template Media Manager Popup 4 * 5 * @link http://dokuwiki.org/template:bulma 6 * @author Gilberto Miralla-Flores <miralgj@gmail.com> 7 * @license MIT (https://opensource.org/license/MIT) 8 */ 9 10if (!defined('DOKU_INC')) die(); /* must be run from within DokuWiki */ 11@require_once(dirname(__FILE__).'/tpl_functions.php'); /* include hook for template functions */ 12?><!DOCTYPE html> 13<html class="has-background-light" 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 no-js"> 15<head> 16 <meta charset="UTF-8" /> 17 <title> 18 <?php echo hsc($lang['mediaselect'])?> 19 [<?php echo strip_tags($conf['title'])?>] 20 </title> 21 <script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script> 22 <?php tpl_metaheaders()?> 23 <meta name="viewport" content="width=device-width,initial-scale=1" /> 24 <?php echo tpl_favicon(array('favicon', 'mobile')) ?> 25 <?php tpl_includeFile('meta.html') ?> 26</head> 27 28<body> 29 <div id="media__manager" class="<?php echo tpl_classes(); ?>"> 30 <nav id="mediamgr__aside"><div class="pad"> 31 <h1><?php echo hsc($lang['mediaselect'])?></h1> 32 33 <?php /* keep the id! additional elements are inserted via JS here */?> 34 <div id="media__opts"></div> 35 36 <?php tpl_mediaTree() ?> 37 </div></nav> 38 39 <main id="mediamgr__content"><div class="pad"> 40 <?php tpl_mediaContent() ?> 41 </div></main> 42 </div> 43</body> 44</html> 45