1<?php
2
3/**
4 * DokuWiki Image Detail Template
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 ARSAVA <dokuwiki@dev.arsava.com>
13 * @link https://www.dokuwiki.org/template:vector
14 * @link https://www.dokuwiki.org/devel:templates
15 */
16
17//check if we are running within the DokuWiki environment
18if (!defined("DOKU_INC")){
19    die();
20}
21
22//do a little trick to use all the layout generated by main.php:
23//1) this file will be called from dokuwiki
24//2) we are including the main.php and tell it through $_GET["vecdo"] that
25//   it has to include the needed content from inc_detail.php at the correct
26//   place.
27
28//get the main.php and signal: include the inc_detail.php
29$_GET["vecdo"] = "detail";
30include DOKU_TPLINC."main.php";
31
32