You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

32 lines
956 B

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