forked from arsava/dokuwiki-template-vector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
detail.php
31 lines (26 loc) · 956 Bytes
/
detail.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
/**
* DokuWiki Image Detail Template
*
*
* LICENSE: This file is open source software (OSS) and may be copied under
* certain conditions. See COPYING file for details or try to contact
* the author(s) of this file in doubt.
*
* @license GPLv2 (http://www.gnu.org/licenses/gpl2.html)
* @author ARSAVA <[email protected]>
* @link https://www.dokuwiki.org/template:vector
* @link https://www.dokuwiki.org/devel:templates
*/
//check if we are running within the DokuWiki environment
if (!defined("DOKU_INC")){
die();
}
//do a little trick to use all the layout generated by main.php:
//1) this file will be called from dokuwiki
//2) we are including the main.php and tell it through $_GET["vecdo"] that
// it has to include the needed content from inc_detail.php at the correct
// place.
//get the main.php and signal: include the inc_detail.php
$_GET["vecdo"] = "detail";
include DOKU_TPLINC."main.php";