mediamanager.php 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?php
  2. /**
  3. * DokuWiki Media Manager Popup
  4. *
  5. * @author Andreas Gohr <andi@splitbrain.org>
  6. * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
  7. */
  8. // must be run from within DokuWiki
  9. if (!defined('DOKU_INC')) die();
  10. ?><!DOCTYPE html>
  11. <html lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction'] ?>" class="popup no-js">
  12. <head>
  13. <meta charset="utf-8" />
  14. <title>
  15. <?php echo hsc($lang['mediaselect'])?>
  16. [<?php echo strip_tags($conf['title'])?>]
  17. </title>
  18. <script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script>
  19. <?php tpl_metaheaders()?>
  20. <meta name="viewport" content="width=device-width,initial-scale=1" />
  21. <?php echo tpl_favicon(array('favicon', 'mobile')) ?>
  22. <?php tpl_includeFile('meta.html') ?>
  23. </head>
  24. <body >
  25. <div id="media__manager" class="dokuwiki">
  26. <?php html_msgarea() ?>
  27. <nav id="mediamgr__aside"><div class="pad">
  28. <h1><?php echo hsc($lang['mediaselect'])?></h1>
  29. <?php /* keep the id! additional elements are inserted via JS here */?>
  30. <div id="media__opts"></div>
  31. <?php tpl_mediaTree() ?>
  32. </div></nav>
  33. <main id="mediamgr__content"><div class="pad">
  34. <?php tpl_mediaContent() ?>
  35. </div></main>
  36. </div>
  37. </body>
  38. </html>