From 016b6153488dd5b331c28ab23b209f59e144d53d Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sun, 17 Sep 2006 12:34:50 +0200 Subject: event names renamed HTML_EDIT_PAGETEMPLATE becomes HTML_PAGE_FROMTEMPLATE TPL_METAHEADER_PRINT becomes TPL_METAHEADER_OUTPUT darcs-hash:20060917103450-7ad00-405f3533915b54ee4d4050cfccbf27d43ff7435f.gz --- inc/html.php | 4 ++-- 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 */ 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 */ @@ -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); } /** -- cgit v1.2.3