Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 49 lines (43 sloc) 1.679 kB
f4d2720 @selfthinker initial commit
authored
1 <?php
2 /**
23bca4f @selfthinker finished design, improved template functions
authored
3 * DokuWiki Media Manager Popup
f4d2720 @selfthinker initial commit
authored
4 *
9177cc3 @selfthinker added license info
authored
5 * @author Andreas Gohr <andi@splitbrain.org>
6 * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
f4d2720 @selfthinker initial commit
authored
7 */
94d4f70 @selfthinker added same meta info from main to detail and mediamanager; fixed medi…
authored
8 // must be run from within DokuWiki
9 if (!defined('DOKU_INC')) die();
10 @require_once(dirname(__FILE__).'/tpl_functions.php'); /* include hook for template functions */
375f516 @selfthinker moved X-UA-Compatible from meta tag to be sent by http header instead
authored
11 header('X-UA-Compatible: IE=edge,chrome=1');
94d4f70 @selfthinker added same meta info from main to detail and mediamanager; fixed medi…
authored
12
17bee23 @selfthinker changed doctype to (polyglot) html5
authored
13 ?><!DOCTYPE html>
f4d2720 @selfthinker initial commit
authored
14 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>"
0a5f718 @selfthinker added no-js class
authored
15 lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction'] ?>" class="popup no-js">
f4d2720 @selfthinker initial commit
authored
16 <head>
17bee23 @selfthinker changed doctype to (polyglot) html5
authored
17 <meta charset="UTF-8" />
f4d2720 @selfthinker initial commit
authored
18 <title>
19 <?php echo hsc($lang['mediaselect'])?>
20 [<?php echo strip_tags($conf['title'])?>]
21 </title>
0a5f718 @selfthinker added no-js class
authored
22 <script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script>
f4d2720 @selfthinker initial commit
authored
23 <?php tpl_metaheaders()?>
94d4f70 @selfthinker added same meta info from main to detail and mediamanager; fixed medi…
authored
24 <meta name="viewport" content="width=device-width,initial-scale=1" />
25 <?php echo tpl_favicon(array('favicon', 'mobile')) ?>
d386b37 @selfthinker use core tpl_includeFile() if it exists
authored
26 <?php tpl_includeFile('meta.html') ?>
f4d2720 @selfthinker initial commit
authored
27 </head>
28
29 <body>
61d6ac6 @selfthinker removed support for IE7
authored
30 <!--[if IE 8 ]><div id="IE8"><![endif]-->
cac0893 @selfthinker added tpl_classes() to main container
authored
31 <div id="media__manager" class="<?php echo tpl_classes(); ?>">
f4d2720 @selfthinker initial commit
authored
32 <?php html_msgarea() ?>
23bca4f @selfthinker finished design, improved template functions
authored
33 <div id="mediamgr__aside"><div class="pad">
f4d2720 @selfthinker initial commit
authored
34 <h1><?php echo hsc($lang['mediaselect'])?></h1>
35
36 <?php /* keep the id! additional elements are inserted via JS here */?>
37 <div id="media__opts"></div>
38
39 <?php tpl_mediaTree() ?>
40 </div></div>
41
23bca4f @selfthinker finished design, improved template functions
authored
42 <div id="mediamgr__content"><div class="pad">
f4d2720 @selfthinker initial commit
authored
43 <?php tpl_mediaContent() ?>
44 </div></div>
45 </div>
61d6ac6 @selfthinker removed support for IE7
authored
46 <!--[if lte IE 8 ]></div><![endif]-->
f4d2720 @selfthinker initial commit
authored
47 </body>
48 </html>
Something went wrong with that request. Please try again.