1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 3<?php 4/** 5 * DokuWiki SXS Template -- based on the Roundbox template 6 * 7 * @link http://wiki.splitbrain.org/wiki:tpl:roundbox 8 * @author Chris Arndt <chris@chrisarndt.de> 9 * (changes by Mike Boyle) 10 */ 11 12include_once(dirname(__FILE__).'/conf.php'); 13include_once(dirname(__FILE__).'/lang/en/lang.php'); 14@include_once(dirname(__FILE__).'/lang/'.$conf['lang'].'/lang.php'); 15 16/* include template helper functions */ 17include_once(dirname(__FILE__).'/sxs.php'); 18 19?> 20<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>" lang="<?php echo $conf['lang']?>" dir="ltr"> 21 <head> 22 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 23 <title><?php echo hsc($lang['mediaselect'])?> [<?php echo hsc($conf['title'])?>]</title> 24 <?php tpl_metaheaders()?> 25 <link rel="shortcut icon" href="<?php echo DOKU_TPL?>images/favicon.ico" /> 26 </head> 27 <body style="padding-right:2%;"> 28 <!-- start dokuwiki block --> 29 <div class="dokuwiki"> 30 31 <!-- start content block --> 32 <div id="content" style="width: 100%;"> 33 34 <!-- start page block --> 35 <div id="page" class="page"> 36 <div class="clearer"> </div> 37 38 <?php html_msgarea()?> 39 40 <h1> 41 <?php echo hsc($lang['mediaselect']) ?><br /> 42 <code><?php echo hsc($NS)?></code> 43 </h1> 44 45 Step 1: Upload a file. 46 47 <div class="uploadform"> 48 <?php sxs_mediauploadform($_REQUEST['filetype'])?> 49 </div> 50 51 <!-- start mediaselect --> 52 <div class="mediaselect"> 53 54 <br /> 55 Step 2: Select the file from the list shown here. 56 57 <!-- start mediaselect right--> 58 <div class="mediaselect-right"> 59 <?php sxs_mediafilelist($_REQUEST['filetype'])?> 60 </div> 61 <!-- end mediaselect right--> 62 63 <!-- start mediaselect left--> 64 <div class="mediaselect-left"> 65 <b><a href="<?php echo DOKU_BASE ?>lib/exe/media.php?ns="><?php echo hsc($lang['namespaces']) ?></a></b> 66 67 <?php tpl_medianamespaces()?> 68 </div> 69 <!-- end mediaselect left--> 70 71 </div> 72 <!-- end mediaselect --> 73 74 </div> 75 <!-- end page block --> 76 77 </div> 78 <!-- end content block --> 79 80 </div> 81 <!-- end dokuwiki block --> 82 83 </body> 84</html> 85 86