plugin:pagetemplate:listing
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:pagetemplate:listing [2015-05-27 22:22] – Klap-in | plugin:pagetemplate:listing [2023-09-01 15:16] (current) – Klap-in | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | + | < | |
==== Manual Installation === | ==== Manual Installation === | ||
Line 17: | Line 16: | ||
*/ | */ | ||
- | if(!defined(' | ||
- | if(!defined(' | ||
- | require_once(DOKU_PLUGIN.' | ||
- | require_once(DOKU_INC.' | ||
- | require_once(DOKU_INC.' | ||
- | require_once(DOKU_INC.' | ||
require_once(' | require_once(' | ||
Line 31: | Line 24: | ||
*/ | */ | ||
function getInfo(){ | function getInfo(){ | ||
- | return | + | return |
- | ' | + | ' |
- | ' | + | ' |
- | ' | + | ' |
- | ' | + | ' |
- | ' | + | ' |
- | ); | + | ]; |
} | } | ||
Line 48: | Line 41: | ||
} | } | ||
| | ||
- | function _removeTemplate(&$event, $param) { | + | function _removeTemplate($event, |
$page = getID(); | $page = getID(); | ||
$theTemplate = _templateFN($page); | $theTemplate = _templateFN($page); | ||
Line 65: | Line 58: | ||
* Hooked into a newly created page (as editor boots up). | * Hooked into a newly created page (as editor boots up). | ||
*/ | */ | ||
- | function _generateTemplate(&$event, $param) { | + | function _generateTemplate($event, |
// page already exists? | // page already exists? | ||
$page = getID(); | $page = getID(); | ||
Line 158: | Line 151: | ||
//add modes to parser | //add modes to parser | ||
- | $pagetemplate_obj =& plugin_load(' | + | $pagetemplate_obj = plugin_load(' |
$std_modes = array(' | $std_modes = array(' | ||
' | ' | ||
Line 189: | Line 182: | ||
// subsystem | // subsystem | ||
// @author 'Luke Howson' | // @author 'Luke Howson' | ||
- | |||
- | if(!defined(' | ||
class PageTemplateBacklink { | class PageTemplateBacklink { | ||
Line 293: | Line 284: | ||
| | ||
//add modes to parser | //add modes to parser | ||
- | $pagetemplate_obj =& plugin_load(' | + | $pagetemplate_obj = plugin_load(' |
$std_modes = array(' | $std_modes = array(' | ||
' | ' | ||
Line 328: | Line 319: | ||
* @author | * @author | ||
*/ | */ | ||
- | if(!defined(' | ||
- | if(!defined(' | ||
- | require_once(DOKU_PLUGIN.' | ||
require_once(' | require_once(' | ||
plugin/pagetemplate/listing.1432758155.txt.gz · Last modified: 2015-05-27 22:22 by Klap-in