From 6a678b6af744fd960339fbd0374aaa78e5dbc848 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Mon, 4 Jun 2012 14:45:52 +0000 Subject: update triggers_list.php for 2.4 derivatives git-svn-id: http://piwigo.org/svn/trunk@15536 68402e56-0260-453c-a942-63ccdbb3a9ee --- tools/triggers_list.php | 34 +++++++++++++++++++++++++--------- 1 file changed, 25 insertions(+), 9 deletions(-) (limited to 'tools/triggers_list.php') diff --git a/tools/triggers_list.php b/tools/triggers_list.php index 02bb6a076..f8ec32eaa 100644 --- a/tools/triggers_list.php +++ b/tools/triggers_list.php @@ -212,12 +212,6 @@ array( 'vars' => array('array' => 'themes'), 'files' => array('include\functions.inc.php (get_pwg_themes)'), ), -array( - 'name' => 'get_thumbnail_location', - 'type' => 'trigger_event', - 'vars' => array('string' => 'path', 'array' => 'element_info'), - 'files' => array('include\functions.inc.php (get_thumbnail_location)'), -), array( 'name' => 'get_thumbnail_title', 'type' => 'trigger_event', @@ -225,10 +219,32 @@ array( 'files' => array('include\functions.inc.php (get_thumbnail_title)'), ), array( - 'name' => 'get_thumbnail_url', + 'name' => 'get_comments_derivative_params', + 'type' => 'trigger_event', + 'vars' => array('ImageStdParams' => null), + 'files' => array('comments.php'), + 'infos' => 'New in 2.4', +), +array( + 'name' => 'get_index_album_derivative_params', + 'type' => 'trigger_event', + 'vars' => array('ImageStdParams' => null), + 'files' => array('includecategory_cats.php', 'include\category_default.inc.php'), + 'infos' => 'New in 2.4', +), +array( + 'name' => 'get_src_image_url', + 'type' => 'trigger_event', + 'vars' => array('string' => 'url', 'SrcImage' => 'this'), + 'files' => array('include\derivative.inc.php (SrcImage::__construct)'), + 'infos' => 'New in 2.4', +), +array( + 'name' => 'get_derivative_url', 'type' => 'trigger_event', - 'vars' => array('string' => 'url', 'array' => 'element_info', 'string' => 'loc'), - 'files' => array('include\functions.inc.php (get_thumbnail_url)'), + 'vars' => array('string' => 'url', 'ImageStdParams' => null, 'SrcImage' => 'this', 'string' => 'rel_url'), + 'files' => array('include\derivative.inc.php (SrcImage::url, SrcImage::get_url)'), + 'infos' => 'New in 2.4', ), array( 'name' => 'init', -- cgit v1.2.3