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 Andreas Haerter <development@andreas-haerter.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_detail.php at the correct 27// place. 28 29//get the main.php and signal: include the inc_detail.php 30$_GET["vecdo"] = "detail"; 31include DOKU_TPLINC."main.php"; 32 33