aboutsummaryrefslogtreecommitdiffstats
path: root/tools/triggers_list.php
diff options
context:
space:
mode:
Diffstat (limited to 'tools/triggers_list.php')
-rw-r--r--tools/triggers_list.php99
1 files changed, 55 insertions, 44 deletions
diff --git a/tools/triggers_list.php b/tools/triggers_list.php
index ab54ebcc7..d327da72d 100644
--- a/tools/triggers_list.php
+++ b/tools/triggers_list.php
@@ -41,7 +41,7 @@ array(
array(
'name' => 'combined_css',
'type' => 'trigger_event',
- 'vars' => array('string', 'href', 'int', 'file_ver0', 'int', 'file_ver1'),
+ 'vars' => array('string', 'href', 'Combinable', '$combinable'),
'files' => array('include\template.class.php (Template::flush)'),
),
array(
@@ -232,6 +232,13 @@ array(
'infos' => 'New in 2.4',
),
array(
+ 'name' => 'get_webmaster_mail_address',
+ 'type' => 'trigger_event',
+ 'vars' => array('string', 'email'),
+ 'files' => array('include\functions.inc.php (get_webmaster_mail_address)'),
+ 'infos' => 'New in 2.6',
+),
+array(
'name' => 'init',
'type' => 'trigger_action',
'vars' => array(),
@@ -245,6 +252,13 @@ array(
'files' => array('admin\include\functions.inc.php (invalidate_user_cache)'),
),
array(
+ 'name' => 'load_conf',
+ 'type' => 'trigger_action',
+ 'vars' => array('string', 'condition'),
+ 'files' => array('include\functions.inc.php (load_conf_from_db)'),
+ 'infos' => 'New in 2.6. <b>Warning:</b> you can\'t trigger the first call done une common.inc.php. Use <i>init</i> instead.',
+),
+array(
'name' => 'list_check_integrity',
'type' => 'trigger_action',
'vars' => array('object', 'this'),
@@ -554,12 +568,6 @@ array(
'files' => array('include\functions_user.inc.php (auto_login, try_log_user)'),
),
array(
- 'name' => 'mail_group_assign_vars',
- 'type' => 'trigger_event',
- 'vars' => array('array', 'assign_vars'),
- 'files' => array('include\functions_mail.inc.php (pwg_mail_group)'),
-),
-array(
'name' => 'nbm_event_handler_added',
'type' => 'trigger_action',
'vars' => array(),
@@ -658,8 +666,8 @@ array(
array(
'name' => 'render_element_description',
'type' => 'trigger_event',
- 'vars' => array('string', 'element_secription'),
- 'files' => array('picture.php'),
+ 'vars' => array('string', 'element_description', 'string', 'action'),
+ 'files' => array('picture.php', 'include\functions_html.inc.php (render_element_description)'),
),
array(
'name' => 'render_lost_password_mail_content',
@@ -676,14 +684,14 @@ array(
array(
'name' => 'render_tag_name',
'type' => 'trigger_event',
- 'vars' => array('string', 'tag_name'),
- 'files' => array('admin\include\functions.php (get_taglist)', 'admin\tags.php', 'include\functions_tag.inc.php (get_available_tags, get_all_tags, get_common_tags)', 'index.php'),
+ 'vars' => array('string', 'tag_name', 'array', 'tag'),
+ 'files' => array('admin\include\functions.php (get_taglist)', 'admin\tags.php', 'admin\history.php', 'include\functions_tag.inc.php (get_available_tags, get_all_tags, get_common_tags)', 'include\functions_html.inc.php (get_tags_content_title)', 'include\functions_search.inc.php (get_qsearch_tags)'),
),
array(
'name' => 'render_tag_url',
'type' => 'trigger_event',
'vars' => array('string', 'tag_name'),
- 'files' => array('include\functions.php (tag_id_from_tag_name, create_tag)', 'admin\tags.php'),
+ 'files' => array('admin\include\functions.php (tag_id_from_tag_name, create_tag)', 'admin\tags.php'),
),
array(
'name' => 'save_profile_from_post',
@@ -692,33 +700,15 @@ array(
'files' => array('profile.php (save_profile_from_post)'),
),
array(
- 'name' => 'send_mail',
- 'type' => 'trigger_event',
- 'vars' => array('bool', 'result', 'string', 'mail_to', 'string', 'mail_subject', 'string', 'mail_content', 'array', 'mail_headers'),
- 'files' => array('include\functions_mail.inc.php (pwg_mail)'),
-),
-array(
- 'name' => 'send_mail_content',
- 'type' => 'trigger_event',
- 'vars' => array('string', 'content'),
- 'files' => array('include\functions_mail.inc.php (pwg_mail)'),
-),
-array(
- 'name' => 'send_mail_headers',
+ 'name' => 'before_send_mail',
'type' => 'trigger_event',
- 'vars' => array('array', 'headers'),
+ 'vars' => array('bool', 'result', 'mixed', 'to', 'array', 'arguments', 'PHPMailer', 'mail'),
'files' => array('include\functions_mail.inc.php (pwg_mail)'),
),
array(
- 'name' => 'send_mail_subject',
- 'type' => 'trigger_event',
- 'vars' => array('string', 'cvt_subject'),
- 'files' => array('include\functions_mail.inc.php (pwg_mail)'),
-),
-array(
- 'name' => 'send_mail_to',
- 'type' => 'trigger_event',
- 'vars' => array('string', 'to'),
+ 'name' => 'before_parse_mail_template',
+ 'type' => 'trigger_action',
+ 'vars' => array('string', 'cache_key', 'string', 'content_type'),
'files' => array('include\functions_mail.inc.php (pwg_mail)'),
),
array(
@@ -796,19 +786,42 @@ array(
'type' => 'trigger_action',
'vars' => array('int', 'user_id'),
'files' => array('include\functions_user.inc.php (logout_user)'),
+ 'infos' => 'New in 2.5',
),
array(
'name' => 'user_login',
'type' => 'trigger_action',
'vars' => array('int', 'user_id'),
'files' => array('include\functions_user.inc.php (log_user)'),
+ 'infos' => 'New in 2.5',
),
array(
'name' => 'try_log_user',
'type' => 'trigger_event',
'vars' => array('boolean', 'success', 'string', 'username', 'string', 'password', 'bool', 'remember_me'),
'files' => array('include\functions_user.inc.php (try_log_user)'),
- 'infos' => 'Used by identification form to check user credentials and log user. If success is true, another login method already succeed. Return true if your method succeed.',
+ 'infos' => 'New in 2.5. Used by identification form to check user credentials and log user. If <i>success</i> is <i>true</i>, another login method already succeed. Return <i>true</i> if your method succeed.',
+),
+array(
+ 'name' => 'combinable_preparse',
+ 'type' => 'trigger_action',
+ 'vars' => array('Template', 'template', 'Combinable', '$combinable', 'FileCombiner', '$combiner'),
+ 'files' => array('include\template.class.php (FileCombiner::process_combinable)'),
+ 'infos' => 'New in 2.6.',
+),
+array(
+ 'name' => 'user_list_columns',
+ 'type' => 'trigger_event',
+ 'vars' => array('string[]', 'aColumns'),
+ 'files' => array('admin\user_list_backend.php'),
+ 'infos' => 'New in 2.6.',
+),
+array(
+ 'name' => 'after_render_user_list',
+ 'type' => 'trigger_event',
+ 'vars' => array('array', 'output'),
+ 'files' => array('admin\user_list_backend.php'),
+ 'infos' => 'New in 2.6.',
),
);
?>
@@ -820,8 +833,6 @@ array(
<link rel="stylesheet" type="text/css" href="http://code.jquery.com/ui/1.9.2/themes/base/jquery-ui.css">
<link rel="stylesheet" type="text/css" href="http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/css/jquery.dataTables_themeroller.css">
- <script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
- <script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/jquery.dataTables.min.js"></script>
<style type="text/css">
/* BEGIN CSS RESET
@@ -843,13 +854,10 @@ array(
html {font-family:"Corbel","Lucida Grande","Verdana",sans-serif;color:#222;font-size:13px;}
a {color:#247EBF;text-decoration:none;}
- a:hover {color:#EB9C39;border-bottom-width:1px;border-style:dotted;
- text-shadow:1px 1px 0 #ddd;-moz-text-shadow:1px 1px 0 #ddd;-webkit-text-shadow:1px 1px 0 #ddd;
- }
+ a:hover {color:#EB9C39;border-bottom-width:1px;border-style:dotted;text-shadow:1px 1px 0 #ddd;}
- h1 {color:#fff;font-size:26px;padding:10px 15px;
- text-shadow:1px 1px 0 #999;-moz-text-shadow:1px 1px 0 #999;-webkit-text-shadow:1px 1px 0 #999;
- background:#45484d;background:-moz-linear-gradient(top, #45484d 0%, #333333 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#45484d), color-stop(100%,#333333));background:-webkit-linear-gradient(top, #45484d 0%,#333333 100%);background:-o-linear-gradient(top, #45484d 0%,#333333 100%);background:-ms-linear-gradient(top, #45484d 0%,#333333 100%);background:linear-gradient(to bottom, #45484d 0%,#333333 100%);filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#45484d', endColorstr='#333333',GradientType=0 );
+ h1 {color:#fff;font-size:26px;padding:10px 15px;text-shadow:1px 1px 0 #999;
+ background:#45484d;background:linear-gradient(to bottom, #45484d 0%,#333333 100%);
}
#the_header {border-bottom:1px solid #cdcdcd;margin-bottom:1px;}
@@ -934,6 +942,9 @@ array(
Copyright &copy; 2002-2013 <a href="http://piwigo.org">Piwigo Team</a>
</div> <!-- the_footer -->
+
+<script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
+<script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/jquery.dataTables.min.js"></script>
<script type="text/javascript">
var oTable = $('#list').dataTable({