1<?php 2/** 3 * Official Weltis Dokuwiki Template 2024 4 * 5 * @link https://github.com/xkokko/weltisdokuwiki 6 * @author Cosmo Cocconcelli <c.wiki@drw.ng> 7 * @license MIT License (https://github.com/xkokko/weltisdokuwiki/blob/main/LICENSE) 8 */ 9 10/* must be run from within DokuWiki */ 11if (!defined('DOKU_INC')) die(); 12header('X-UA-Compatible: IE=edge,chrome=1'); 13 14?> 15 16<!DOCTYPE html> 17 18<html lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>" class="no-js"> 19 20<head> 21 <meta charset="utf-8" /> 22 23 <title> <?php echo strip_tags($conf['title'])?> — <?php echo hsc($lang['mediaselect'])?></title> 24 <script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script> 25 <?php tpl_metaheaders() ?> 26 <meta name="viewport" content="width=device-width, initial-scale=1" /> 27 28 <?php echo tpl_favicon(array('favicon', 'mobile')) ?> 29 <?php tpl_includeFile('meta.html') ?> 30</head> 31 32<body class="weltis"> 33 <div id="media__manager"> 34 <?php html_msgarea() ?> 35 36 <div id="mediamgr__aside"><div class="pad"> 37 <h1><?php echo hsc($lang['mediaselect'])?></h1> 38 39 <?php /* keep the id! additional elements are inserted via JS here */?> 40 <div id="media__opts"></div> 41 42 <?php tpl_mediaTree() ?> 43 </div></div> 44 45 <div id="mediamgr__content"><div class="pad"> 46 <?php tpl_mediaContent() ?> 47 </div></div> 48 </div> 49</body> 50 51</html> 52