diff options
author | Andreas Gohr <andi@splitbrain.org> | 2006-09-17 12:34:50 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2006-09-17 12:34:50 +0200 |
commit | 016b6153488dd5b331c28ab23b209f59e144d53d (patch) | |
tree | 4291acd4071a5e1a24e8e60a0b82d21b0b93c217 | |
parent | c29dc6e4219a920b505ef667b82d4f601b34e52b (diff) | |
download | rpg-016b6153488dd5b331c28ab23b209f59e144d53d.tar.gz rpg-016b6153488dd5b331c28ab23b209f59e144d53d.tar.bz2 |
event names renamed
HTML_EDIT_PAGETEMPLATE becomes HTML_PAGE_FROMTEMPLATE
TPL_METAHEADER_PRINT becomes TPL_METAHEADER_OUTPUT
darcs-hash:20060917103450-7ad00-405f3533915b54ee4d4050cfccbf27d43ff7435f.gz
-rw-r--r-- | inc/html.php | 4 | ||||
-rw-r--r-- | inc/template.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/inc/html.php b/inc/html.php index fc99dfadb..ee1f60919 100644 --- a/inc/html.php +++ b/inc/html.php @@ -1013,7 +1013,7 @@ function html_updateprofile(){ * This displays the edit form (lots of logic included) * * @fixme this is a huge lump of code and should be modularized - * @triggers HTML_EDIT_PAGETEMPLATE + * @triggers HTML_PAGE_FROMTEMPLATE * @author Andreas Gohr <andi@splitbrain.org> */ function html_edit($text=null,$include='edit'){ //FIXME: include needed? @@ -1049,7 +1049,7 @@ function html_edit($text=null,$include='edit'){ //FIXME: include needed? }else{ //try to load a pagetemplate $data = array($ID); - $text = trigger_event('HTML_EDIT_PAGETEMPLATE',$data,'pageTemplate',true); + $text = trigger_event('HTML_PAGE_FROMTEMPLATE',$data,'pageTemplate',true); } }else{ $pr = true; //preview mode diff --git a/inc/template.php b/inc/template.php index a488f9ccf..b03a0b2ee 100644 --- a/inc/template.php +++ b/inc/template.php @@ -160,7 +160,7 @@ function tpl_admin(){ * * This has to go into the head section of your template. * - * @triggers TPL_METAHEADER_PRINT + * @triggers TPL_METAHEADER_OUTPUT * @param boolean $alt Should feeds and alternative format links be added? * @author Andreas Gohr <andi@splitbrain.org> */ @@ -256,7 +256,7 @@ function tpl_metaheaders($alt=true){ 'src'=>DOKU_BASE.'lib/exe/js.php?edit='.$js_edit.'&write='.$js_write); // trigger event here - trigger_event('TPL_METAHEADER_PRINT',$head,'_tpl_metaheaders_action',true); + trigger_event('TPL_METAHEADER_OUTPUT',$head,'_tpl_metaheaders_action',true); } /** |