source: documentation/trunk/wiki/templates/greenstone-monobook/detail.php@ 30133

Last change on this file since 30133 was 30114, checked in by jmt12, 9 years ago

Updated Greenstone customizations for Detritus, but rearranged to move into separate plugin. Initial checkin of plugins, template, special wiki pages.

File size: 1.0 KB
Line 
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 <[email protected]>
13 * @link http://andreas-haerter.com/projects/dokuwiki-template-monobook
14 * @link http://www.dokuwiki.org/template:monobook
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["mddo"] 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["mddo"] = "detail";
31include DOKU_TPLINC."main.php";
32
Note: See TracBrowser for help on using the repository browser.