mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 01:03:31 +02:00
feature 3010 : replace trigger_action/event by trigger_notify/change
git-svn-id: http://piwigo.org/svn/trunk@28587 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+3
-3
@@ -33,7 +33,7 @@ include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
|
||||
// +-----------------------------------------------------------------------+
|
||||
check_status(ACCESS_ADMINISTRATOR);
|
||||
|
||||
trigger_action('loc_begin_cat_list');
|
||||
trigger_notify('loc_begin_cat_list');
|
||||
|
||||
if (!empty($_POST) or isset($_GET['delete']))
|
||||
{
|
||||
@@ -324,7 +324,7 @@ foreach ($categories as $category)
|
||||
$tpl_cat =
|
||||
array(
|
||||
'NAME' =>
|
||||
trigger_event(
|
||||
trigger_change(
|
||||
'render_category_name',
|
||||
$category['name'],
|
||||
'admin_cat_list'
|
||||
@@ -363,7 +363,7 @@ foreach ($categories as $category)
|
||||
$template->append('categories', $tpl_cat);
|
||||
}
|
||||
|
||||
trigger_action('loc_end_cat_list');
|
||||
trigger_notify('loc_end_cat_list');
|
||||
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | sending html code |
|
||||
|
||||
Reference in New Issue
Block a user