You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

66 lines
2.1 KiB

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