diff options
author | Adrian Lang <lang@cosmocode.de> | 2010-03-10 10:41:32 +0100 |
---|---|---|
committer | Adrian Lang <lang@cosmocode.de> | 2010-03-10 10:53:49 +0100 |
commit | fe17917e7668864526ec0f0ae65dd0787831d8a4 (patch) | |
tree | 667b9cf4605536b83b1949bd2f4d105f38c78176 /inc/actions.php | |
parent | 8d67c48ac883f874037848be833920f4a6426995 (diff) | |
download | rpg-fe17917e7668864526ec0f0ae65dd0787831d8a4.tar.gz rpg-fe17917e7668864526ec0f0ae65dd0787831d8a4.tar.bz2 |
Move & rename HTML_PAGE_FROMTEMPLATE to common.php
The new COMMON_PAGE_FROMTEMPLATE is triggered by pageTemplate AFTER the template
has been read but before performing the template replacements.
Diffstat (limited to 'inc/actions.php')
-rw-r--r-- | inc/actions.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/inc/actions.php b/inc/actions.php index 01d1d29d4..6ce67eb9a 100644 --- a/inc/actions.php +++ b/inc/actions.php @@ -474,8 +474,7 @@ function act_edit($act){ $TEXT = rawWiki($ID,$REV); } } else { - $data = array($ID); - $TEXT = trigger_event('HTML_PAGE_FROMTEMPLATE',$data,'pageTemplate',true); + $TEXT = pageTemplate($ID); } } |