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.
 
 
 
 
 

87 lines
2.7 KiB

  1. <?php
  2. /**
  3. * DokuWiki Media Manager Popup
  4. *
  5. * @link FIXME
  6. * @author Andreas Gohr <andi@splitbrain.org>, Jana Deutschlaender <deutschlaender@cosmocode.de>
  7. * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
  8. */
  9. // must be run from within DokuWiki
  10. if (!defined('DOKU_INC')) die();
  11. header('X-UA-Compatible: IE=edge,chrome=1');
  12. ?>
  13. <!DOCTYPE html>
  14. <html class="edge no-js" lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>">
  15. <head>
  16. <?php
  17. /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
  18. /* meta and link relations */
  19. /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
  20. ?>
  21. <meta charset="utf-8" />
  22. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  23. <?php tpl_metaheaders() ?>
  24. <?php
  25. /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
  26. /* page title */
  27. /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
  28. ?>
  29. <title><?php tpl_pagetitle() ?> [<?php echo strip_tags($conf['title']) ?>]</title>
  30. <script type="text/javascript">(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script>
  31. <?php
  32. /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
  33. /* favicons */
  34. /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
  35. ?>
  36. <?php
  37. echo tpl_favicon(array('favicon')); /* DokuWiki: favicon.ico */
  38. include('tpl/favicon_tiles.php');
  39. ?>
  40. <?php
  41. /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
  42. /* Include Hook: meta.html */
  43. /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
  44. ?>
  45. <?php tpl_includeFile('meta.html') ?>
  46. </head>
  47. <body>
  48. <?php
  49. /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
  50. /* uses body markup of main.php following markup is included with tpl_content();
  51. /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
  52. ?>
  53. <div id="media__manager" class="dokuwiki">
  54. <?php html_msgarea() ?>
  55. <div id="mediamgr__aside">
  56. <div class="pad">
  57. <h1><?php echo hsc($lang['mediaselect'])?></h1>
  58. <?php /* keep the id! additional elements are inserted via JS here */?>
  59. <div id="media__opts"></div>
  60. <?php tpl_mediaTree() ?>
  61. </div>
  62. </div>
  63. <div id="mediamgr__content">
  64. <div class="pad">
  65. <?php tpl_mediaContent() ?>
  66. </div>
  67. </div>
  68. </div>
  69. </body>
  70. </html>