xref: /template/wikiweko/mediamanager.php (revision aa6ef13e3efaa3568fa7fbf0ed9be6d530aed3ff)
1<?php
2
3/**
4 * DokuWiki template for the media manager popup
5 *
6 *
7 * LICENSE: This file is open source software (OSS) and may be copied under
8 *          certain conditions. See COPYING file for details or try to contact
9 *          the author(s) of this file in doubt.
10 *
11 * @license GPLv2 (http://www.gnu.org/licenses/gpl2.html)
12 * @author Andreas Haerter <andreas.haerter@dev.mail-node.com>
13 * @link http://andreas-haerter.com/projects/dokuwiki-template-vector
14 * @link http://www.dokuwiki.org/template:vector
15 * @link http://www.dokuwiki.org/devel:templates
16 */
17
18//check if we are running within the DokuWiki environment
19if (!defined("DOKU_INC")){
20    die();
21}
22
23//do a little trick to use all the layout generated by main.php:
24//1) this file will be called from dokuwiki
25//2) we are including the main.php and tell it through $_GET["vecdo"] that
26//   it has to include the needed content from inc_mediamanager.php at the
27//   correct place.
28
29//get the main.php and signal: include the inc_mediamanager.php
30$_GET["vecdo"] = "mediamanager";
31include DOKU_TPLINC."main.php";
32