summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/html.php4
-rw-r--r--inc/template.php4
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);
}
/**