aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-07-10 05:06:01 +0000
committerrub <rub@piwigo.org>2007-07-10 05:06:01 +0000
commit6fb6cf516f6f53df59b4f1fbebf0cd20edda4e31 (patch)
tree2ef682628d63a4721545c6681b2eb548b0288bf7 /include
parente7130ac18ca5348d06bbfb324e664f284f65f3bb (diff)
Rename trigger name loc_before_* by loc_begin_*
git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2057 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-rw-r--r--include/template.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/template.php b/include/template.php
index f4096d98a..0e8f626f0 100644
--- a/include/template.php
+++ b/include/template.php
@@ -155,7 +155,7 @@ class Template {
// actually compile the template now.
if (!isset($this->compiled_code[$handle]) || empty($this->compiled_code[$handle]))
{
- trigger_action('loc_before_tpl_pparse', $handle, array(&$this));
+ trigger_action('loc_begin_tpl_pparse', $handle, array(&$this));
// Actually compile the code now.
$this->compiled_code[$handle] = $this->compile($this->uncompiled_code[$handle]);
}
@@ -179,7 +179,7 @@ class Template {
// actually compile the template now.
if (!isset($this->compiled_code[$handle]) || empty($this->compiled_code[$handle]))
{
- trigger_action('loc_before_tpl_parse', $handle, array(&$this));
+ trigger_action('loc_begin_tpl_parse', $handle, array(&$this));
// Actually compile the code now.
$this->compiled_code[$handle] = $this->compile($this->uncompiled_code[$handle], true, '_str');
}
@@ -214,7 +214,7 @@ class Template {
*/
function assign_var_from_handle($varname, $handle)
{
- trigger_action('loc_before_tpl_assign_var_from_handle', $varname, $handle, array(&$this));
+ trigger_action('loc_begin_tpl_assign_var_from_handle', $varname, $handle, array(&$this));
$this->assign_var($varname, $this->parse($handle, true));
return true;
}
@@ -229,7 +229,7 @@ class Template {
*/
function concat_var_from_handle($varname, $handle)
{
- trigger_action('loc_before_tpl_concat_var_from_handle', $varname, $handle, array(&$this));
+ trigger_action('loc_begin_tpl_concat_var_from_handle', $varname, $handle, array(&$this));
$this->concat_var($varname, $this->parse($handle, true));
return true;
}