1 <?php 2 /** 3 * DokuCMS Template 4 * 5 * This is the template for the media manager popup 6 * 7 * @author Andreas Gohr <andi@splitbrain.org> 8 * @author Klaus Vormweg <klaus.vormweg@gmx.de> 9 */ 10 11 // must be run from within DokuWiki 12 if (!defined('DOKU_INC')) die(); 13 echo '<!DOCTYPE html> 14 <html lang="', $conf['lang'], '" dir="ltr"> 15 <head> 16 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 17 <title>', hsc($lang['mediaselect']), ' [', strip_tags($conf['title']), ']</title>'; 18 tpl_metaheaders(); 19 echo ' 20 <link rel="shortcut icon" href="', DOKU_TPL, 'images/favicon.ico" /> 21 </head> 22 <body> 23 <div id="media__manager" class="dokuwiki"> 24 <div id="media__left"> 25 '; 26 html_msgarea(); 27 echo ' 28 <h1>', hsc($lang['mediaselect']),'</h1> 29 '; 30 /* keep the id! additional elements are inserted via JS here */ 31 echo ' <div id="media__opts"></div> 32 '; 33 tpl_mediaTree(); 34 echo ' 35 </div> 36 <div id="media__right"> 37 '; 38 tpl_mediaContent(); 39 echo ' 40 </div> 41 </div> 42 </body> 43 </html> 44 '; 45 ?> 46