[12608] | 1 | <?php |
---|
| 2 | $core = array( |
---|
| 3 | array( |
---|
| 4 | 'name' => 'allow_increment_element_hit_count', |
---|
[28587] | 5 | 'type' => 'trigger_change', |
---|
[16967] | 6 | 'vars' => array('bool', 'content_not_set'), |
---|
[12608] | 7 | 'files' => array('picture.php'), |
---|
| 8 | ), |
---|
| 9 | array( |
---|
| 10 | 'name' => 'begin_delete_elements', |
---|
[28587] | 11 | 'type' => 'trigger_notify', |
---|
[16967] | 12 | 'vars' => array('array', 'ids'), |
---|
[12608] | 13 | 'files' => array('admin\include\functions.inc.php (delete_elements)'), |
---|
| 14 | ), |
---|
| 15 | array( |
---|
| 16 | 'name' => 'blockmanager_apply', |
---|
[28587] | 17 | 'type' => 'trigger_notify', |
---|
[16967] | 18 | 'vars' => array('object', 'menublock'), |
---|
[12608] | 19 | 'files' => array('include\block.class.php (BlockManager::apply)'), |
---|
[12921] | 20 | 'infos' => 'use this trigger to modify existing menu blocks', |
---|
[12608] | 21 | ), |
---|
| 22 | array( |
---|
| 23 | 'name' => 'blockmanager_prepare_display', |
---|
[28587] | 24 | 'type' => 'trigger_notify', |
---|
[16967] | 25 | 'vars' => array('object', 'this'), |
---|
[12608] | 26 | 'files' => array('include\block.class.php (BlockManager::prepare_display)'), |
---|
| 27 | ), |
---|
| 28 | array( |
---|
| 29 | 'name' => 'blockmanager_register_blocks', |
---|
[28587] | 30 | 'type' => 'trigger_notify', |
---|
[16967] | 31 | 'vars' => array('object', 'menu'), |
---|
[12608] | 32 | 'files' => array('include\block.class.php (BlockManager::load_registered_blocks)'), |
---|
[12921] | 33 | 'infos' => 'use this trigger to add menu block', |
---|
[12608] | 34 | ), |
---|
| 35 | array( |
---|
| 36 | 'name' => 'clean_iptc_value', |
---|
[28587] | 37 | 'type' => 'trigger_change', |
---|
[16967] | 38 | 'vars' => array('string', 'value'), |
---|
[12608] | 39 | 'files' => array('include\functions_metadata.inc.php (clean_iptc_value)'), |
---|
| 40 | ), |
---|
| 41 | array( |
---|
| 42 | 'name' => 'combined_css', |
---|
[28587] | 43 | 'type' => 'trigger_change', |
---|
[25505] | 44 | 'vars' => array('string', 'href', 'Combinable', '$combinable'), |
---|
[12608] | 45 | 'files' => array('include\template.class.php (Template::flush)'), |
---|
| 46 | ), |
---|
| 47 | array( |
---|
| 48 | 'name' => 'combined_css_postfilter', |
---|
[28587] | 49 | 'type' => 'trigger_change', |
---|
[16967] | 50 | 'vars' => array('string', 'css'), |
---|
[12608] | 51 | 'files' => array('include\template.class.php (Template::process_css)'), |
---|
| 52 | ), |
---|
| 53 | array( |
---|
| 54 | 'name' => 'combined_script', |
---|
[28587] | 55 | 'type' => 'trigger_change', |
---|
[16967] | 56 | 'vars' => array('string', 'ret', 'string', 'script'), |
---|
[12608] | 57 | 'files' => array('include\template.class.php (Template::make_script_src)'), |
---|
| 58 | ), |
---|
| 59 | array( |
---|
| 60 | 'name' => 'delete_categories', |
---|
[28587] | 61 | 'type' => 'trigger_notify', |
---|
[16967] | 62 | 'vars' => array('array', 'ids'), |
---|
[12608] | 63 | 'files' => array('admin\include\functions.inc.php (delete_categories)'), |
---|
| 64 | ), |
---|
| 65 | array( |
---|
| 66 | 'name' => 'delete_elements', |
---|
[28587] | 67 | 'type' => 'trigger_notify', |
---|
[16967] | 68 | 'vars' => array('array', 'ids'), |
---|
[12608] | 69 | 'files' => array('admin\include\functions.inc.php (delete_elements)'), |
---|
| 70 | ), |
---|
| 71 | array( |
---|
| 72 | 'name' => 'delete_user', |
---|
[28587] | 73 | 'type' => 'trigger_notify', |
---|
[16967] | 74 | 'vars' => array('int', 'user_id'), |
---|
[12608] | 75 | 'files' => array('admin\include\functions.inc.php (delete_user)'), |
---|
| 76 | ), |
---|
| 77 | array( |
---|
| 78 | 'name' => 'element_set_global_action', |
---|
[28587] | 79 | 'type' => 'trigger_notify', |
---|
[16967] | 80 | 'vars' => array('string', 'action', 'array', 'collection'), |
---|
[12608] | 81 | 'files' => array('admin\batch_manager_global.php'), |
---|
| 82 | ), |
---|
| 83 | array( |
---|
| 84 | 'name' => 'format_exif_data', |
---|
[28587] | 85 | 'type' => 'trigger_change', |
---|
[16967] | 86 | 'vars' => array('array', 'exif', 'string', 'filename', 'array', 'map'), |
---|
[12608] | 87 | 'files' => array('include\functions_metadata.inc.php (get_exif_data)'), |
---|
| 88 | ), |
---|
| 89 | array( |
---|
| 90 | 'name' => 'functions_history_included', |
---|
[28587] | 91 | 'type' => 'trigger_notify', |
---|
[12608] | 92 | 'vars' => array(), |
---|
| 93 | 'files' => array('admin\include\functions_history.inc.php'), |
---|
| 94 | ), |
---|
| 95 | array( |
---|
| 96 | 'name' => 'functions_mail_included', |
---|
[28587] | 97 | 'type' => 'trigger_notify', |
---|
[12608] | 98 | 'vars' => array(), |
---|
| 99 | 'files' => array('include\functions_mail.inc.php'), |
---|
| 100 | ), |
---|
| 101 | array( |
---|
| 102 | 'name' => 'get_admin_advanced_features_links', |
---|
[28587] | 103 | 'type' => 'trigger_change', |
---|
[16967] | 104 | 'vars' => array('array', 'advanced_features'), |
---|
[12608] | 105 | 'files' => array('admin\maintenance.php'), |
---|
| 106 | ), |
---|
| 107 | array( |
---|
| 108 | 'name' => 'get_admin_plugin_menu_links', |
---|
[28587] | 109 | 'type' => 'trigger_change', |
---|
[16967] | 110 | 'vars' => array('array', null), |
---|
[12608] | 111 | 'files' => array('admin.php'), |
---|
[12921] | 112 | 'infos' => 'use this trigger to add links into admin plugins menu', |
---|
[12608] | 113 | ), |
---|
| 114 | array( |
---|
| 115 | 'name' => 'get_admins_site_links', |
---|
[28587] | 116 | 'type' => 'trigger_change', |
---|
[16967] | 117 | 'vars' => array('array', 'plugin_links', 'int', 'site_id', 'bool', 'is_remote'), |
---|
[12608] | 118 | 'files' => array('admin\site_manager.php'), |
---|
| 119 | ), |
---|
| 120 | array( |
---|
| 121 | 'name' => 'get_batch_manager_prefilters', |
---|
[28587] | 122 | 'type' => 'trigger_change', |
---|
[16967] | 123 | 'vars' => array('array', 'prefilters'), |
---|
[12608] | 124 | 'files' => array('admin\batch_manager_global.php'), |
---|
[12921] | 125 | 'infos' => 'use this trigger to add prefilters into batch manager global', |
---|
[12608] | 126 | ), |
---|
| 127 | array( |
---|
| 128 | 'name' => 'get_categories_menu_sql_where', |
---|
[28587] | 129 | 'type' => 'trigger_change', |
---|
[16967] | 130 | 'vars' => array('string', 'where', 'bool', 'user_expand', 'bool', 'filter_enabled'), |
---|
[12608] | 131 | 'files' => array('include\functions_category.inc.php (get_categories_menu)'), |
---|
| 132 | ), |
---|
| 133 | array( |
---|
| 134 | 'name' => 'get_category_preferred_image_orders', |
---|
[28587] | 135 | 'type' => 'trigger_change', |
---|
[16967] | 136 | 'vars' => array('array', null), |
---|
[12608] | 137 | 'files' => array('include\functions_category.inc.php (get_category_preferred_image_orders)'), |
---|
| 138 | ), |
---|
| 139 | array( |
---|
| 140 | 'name' => 'get_download_url', |
---|
[28587] | 141 | 'type' => 'trigger_change', |
---|
[16967] | 142 | 'vars' => array('string', 'url', 'array', 'element_info'), |
---|
[17948] | 143 | 'files' => array('include\functions_picture.inc.php (get_download_url)'), |
---|
[12608] | 144 | ), |
---|
| 145 | array( |
---|
| 146 | 'name' => 'get_element_metadata_available', |
---|
[28587] | 147 | 'type' => 'trigger_change', |
---|
[16967] | 148 | 'vars' => array('bool', null, 'string', 'element_path'), |
---|
[12608] | 149 | 'files' => array('picture.php'), |
---|
| 150 | ), |
---|
| 151 | array( |
---|
| 152 | 'name' => 'get_element_url', |
---|
[28587] | 153 | 'type' => 'trigger_change', |
---|
[16967] | 154 | 'vars' => array('string', 'url', 'array', 'element_info'), |
---|
[12608] | 155 | 'files' => array('include\functions_picture.inc.php (get_element_url)'), |
---|
| 156 | ), |
---|
| 157 | array( |
---|
| 158 | 'name' => 'get_high_location', |
---|
[28587] | 159 | 'type' => 'trigger_change', |
---|
[16967] | 160 | 'vars' => array('string', 'location', 'array', 'element_info'), |
---|
[12608] | 161 | 'files' => array('include\functions_picture.inc.php (get_high_location)'), |
---|
| 162 | ), |
---|
| 163 | array( |
---|
| 164 | 'name' => 'get_high_url', |
---|
[28587] | 165 | 'type' => 'trigger_change', |
---|
[16967] | 166 | 'vars' => array('string', 'url', 'array', 'element_info'), |
---|
[12608] | 167 | 'files' => array('include\functions_picture.inc.php (get_high_url)'), |
---|
| 168 | ), |
---|
| 169 | array( |
---|
| 170 | 'name' => 'get_history', |
---|
[28587] | 171 | 'type' => 'trigger_change', |
---|
[16967] | 172 | 'vars' => array('array', null, 'array', 'page_search', 'array', 'types'), |
---|
[12608] | 173 | 'files' => array('admin\history.php'), |
---|
| 174 | ), |
---|
| 175 | array( |
---|
| 176 | 'name' => 'get_image_location', |
---|
[28587] | 177 | 'type' => 'trigger_change', |
---|
[16967] | 178 | 'vars' => array('string', 'path', 'array', 'element_info'), |
---|
[12608] | 179 | 'files' => array('include\functions_picture.inc.php (get_image_location)'), |
---|
| 180 | ), |
---|
| 181 | array( |
---|
| 182 | 'name' => 'get_popup_help_content', |
---|
[28587] | 183 | 'type' => 'trigger_change', |
---|
[16967] | 184 | 'vars' => array('string', 'help_content', 'string', 'page'), |
---|
[12608] | 185 | 'files' => array('admin\popuphelp.php', 'popuphelp.php'), |
---|
| 186 | ), |
---|
| 187 | array( |
---|
| 188 | 'name' => 'get_pwg_themes', |
---|
[28587] | 189 | 'type' => 'trigger_change', |
---|
[16967] | 190 | 'vars' => array('array', 'themes'), |
---|
[12608] | 191 | 'files' => array('include\functions.inc.php (get_pwg_themes)'), |
---|
| 192 | ), |
---|
| 193 | array( |
---|
| 194 | 'name' => 'get_thumbnail_title', |
---|
[28587] | 195 | 'type' => 'trigger_change', |
---|
[16967] | 196 | 'vars' => array('string', 'title', 'array', 'info'), |
---|
[12608] | 197 | 'files' => array('include\functions.inc.php (get_thumbnail_title)'), |
---|
| 198 | ), |
---|
| 199 | array( |
---|
[15536] | 200 | 'name' => 'get_comments_derivative_params', |
---|
[28587] | 201 | 'type' => 'trigger_change', |
---|
[16967] | 202 | 'vars' => array('ImageStdParams', null), |
---|
[15536] | 203 | 'files' => array('comments.php'), |
---|
| 204 | 'infos' => 'New in 2.4', |
---|
[12608] | 205 | ), |
---|
| 206 | array( |
---|
[15536] | 207 | 'name' => 'get_index_album_derivative_params', |
---|
[28587] | 208 | 'type' => 'trigger_change', |
---|
[16967] | 209 | 'vars' => array('ImageStdParams', null), |
---|
[15536] | 210 | 'files' => array('includecategory_cats.php', 'include\category_default.inc.php'), |
---|
| 211 | 'infos' => 'New in 2.4', |
---|
| 212 | ), |
---|
| 213 | array( |
---|
| 214 | 'name' => 'get_src_image_url', |
---|
[28587] | 215 | 'type' => 'trigger_change', |
---|
[16967] | 216 | 'vars' => array('string', 'url', 'SrcImage', 'this'), |
---|
[15536] | 217 | 'files' => array('include\derivative.inc.php (SrcImage::__construct)'), |
---|
| 218 | 'infos' => 'New in 2.4', |
---|
| 219 | ), |
---|
| 220 | array( |
---|
| 221 | 'name' => 'get_derivative_url', |
---|
[28587] | 222 | 'type' => 'trigger_change', |
---|
[16967] | 223 | 'vars' => array('string', 'url', 'ImageStdParams', null, 'SrcImage', 'this', 'string', 'rel_url'), |
---|
[15536] | 224 | 'files' => array('include\derivative.inc.php (SrcImage::url, SrcImage::get_url)'), |
---|
| 225 | 'infos' => 'New in 2.4', |
---|
| 226 | ), |
---|
| 227 | array( |
---|
[17948] | 228 | 'name' => 'get_tag_alt_names', |
---|
[28587] | 229 | 'type' => 'trigger_change', |
---|
[17948] | 230 | 'vars' => array('array', null, 'array', 'raw_name'), |
---|
| 231 | 'files' => array('admin\tags.php', 'admin\include\functions.php (get_taglist)'), |
---|
| 232 | 'infos' => 'New in 2.4', |
---|
| 233 | ), |
---|
| 234 | array( |
---|
[23888] | 235 | 'name' => 'get_webmaster_mail_address', |
---|
[28587] | 236 | 'type' => 'trigger_change', |
---|
[23888] | 237 | 'vars' => array('string', 'email'), |
---|
| 238 | 'files' => array('include\functions.inc.php (get_webmaster_mail_address)'), |
---|
| 239 | 'infos' => 'New in 2.6', |
---|
| 240 | ), |
---|
| 241 | array( |
---|
[12608] | 242 | 'name' => 'init', |
---|
[28587] | 243 | 'type' => 'trigger_notify', |
---|
[12608] | 244 | 'vars' => array(), |
---|
| 245 | 'files' => array('include\common.inc.php'), |
---|
[12921] | 246 | 'infos' => 'this action is called just after the common initialization, $conf, $user and $page (partial) variables are availables', |
---|
[12608] | 247 | ), |
---|
| 248 | array( |
---|
| 249 | 'name' => 'invalidate_user_cache', |
---|
[28587] | 250 | 'type' => 'trigger_notify', |
---|
[16967] | 251 | 'vars' => array('bool', 'full'), |
---|
[12608] | 252 | 'files' => array('admin\include\functions.inc.php (invalidate_user_cache)'), |
---|
| 253 | ), |
---|
| 254 | array( |
---|
[23372] | 255 | 'name' => 'load_conf', |
---|
[28587] | 256 | 'type' => 'trigger_notify', |
---|
[23372] | 257 | 'vars' => array('string', 'condition'), |
---|
| 258 | 'files' => array('include\functions.inc.php (load_conf_from_db)'), |
---|
| 259 | '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.', |
---|
| 260 | ), |
---|
| 261 | array( |
---|
[12608] | 262 | 'name' => 'list_check_integrity', |
---|
[28587] | 263 | 'type' => 'trigger_notify', |
---|
[16967] | 264 | 'vars' => array('object', 'this'), |
---|
[12608] | 265 | 'files' => array('admin\include\check_integrity.class.php (check_integrity::check)'), |
---|
| 266 | ), |
---|
| 267 | array( |
---|
| 268 | 'name' => 'load_image_library', |
---|
[28587] | 269 | 'type' => 'trigger_notify', |
---|
[16967] | 270 | 'vars' => array('object', 'this'), |
---|
[12608] | 271 | 'files' => array('admin\include\image.class.php (pwg_image::__construct)'), |
---|
| 272 | ), |
---|
| 273 | array( |
---|
| 274 | 'name' => 'load_profile_in_template', |
---|
[28587] | 275 | 'type' => 'trigger_notify', |
---|
[16967] | 276 | 'vars' => array('array', 'userdata'), |
---|
[12608] | 277 | 'files' => array('profile.php (load_profile_in_template)'), |
---|
| 278 | ), |
---|
| 279 | array( |
---|
| 280 | 'name' => 'loading_lang', |
---|
[28587] | 281 | 'type' => 'trigger_notify', |
---|
[12608] | 282 | 'vars' => array(), |
---|
| 283 | 'files' => array('include\common.inc.php', 'include\functions.inc.php (redirect_html)', 'include\functions_mail.inc.php (switch_lang_to)', 'nbm.php'), |
---|
| 284 | ), |
---|
| 285 | array( |
---|
| 286 | 'name' => 'loc_after_page_header', |
---|
[28587] | 287 | 'type' => 'trigger_notify', |
---|
[12608] | 288 | 'vars' => array(), |
---|
| 289 | 'files' => array('include\page_header.php'), |
---|
| 290 | ), |
---|
| 291 | array( |
---|
| 292 | 'name' => 'loc_begin_about', |
---|
[28587] | 293 | 'type' => 'trigger_notify', |
---|
[12608] | 294 | 'vars' => array(), |
---|
| 295 | 'files' => array('about.php'), |
---|
| 296 | ), |
---|
| 297 | array( |
---|
| 298 | 'name' => 'loc_begin_admin', |
---|
[28587] | 299 | 'type' => 'trigger_notify', |
---|
[12608] | 300 | 'vars' => array(), |
---|
| 301 | 'files' => array('admin.php'), |
---|
| 302 | ), |
---|
| 303 | array( |
---|
| 304 | 'name' => 'loc_begin_admin_page', |
---|
[28587] | 305 | 'type' => 'trigger_notify', |
---|
[12608] | 306 | 'vars' => array(), |
---|
| 307 | 'files' => array('admin.php'), |
---|
| 308 | ), |
---|
| 309 | array( |
---|
| 310 | 'name' => 'loc_begin_cat_list', |
---|
[28587] | 311 | 'type' => 'trigger_notify', |
---|
[12608] | 312 | 'vars' => array(), |
---|
| 313 | 'files' => array('admin\cat_list.php'), |
---|
| 314 | ), |
---|
| 315 | array( |
---|
| 316 | 'name' => 'loc_begin_cat_modify', |
---|
[28587] | 317 | 'type' => 'trigger_notify', |
---|
[12608] | 318 | 'vars' => array(), |
---|
| 319 | 'files' => array('admin\cat_modify.php'), |
---|
| 320 | ), |
---|
| 321 | array( |
---|
| 322 | 'name' => 'loc_begin_element_set_global', |
---|
[28587] | 323 | 'type' => 'trigger_notify', |
---|
[12608] | 324 | 'vars' => array(), |
---|
| 325 | 'files' => array('admin\batch_manager_global.php'), |
---|
| 326 | ), |
---|
| 327 | array( |
---|
| 328 | 'name' => 'loc_begin_element_set_unit', |
---|
[28587] | 329 | 'type' => 'trigger_notify', |
---|
[12608] | 330 | 'vars' => array(), |
---|
| 331 | 'files' => array('admin\batch_manager_unit.php'), |
---|
| 332 | ), |
---|
| 333 | array( |
---|
| 334 | 'name' => 'loc_begin_index', |
---|
[28587] | 335 | 'type' => 'trigger_notify', |
---|
[12608] | 336 | 'vars' => array(), |
---|
| 337 | 'files' => array('index.php'), |
---|
| 338 | ), |
---|
| 339 | array( |
---|
| 340 | 'name' => 'loc_begin_index_category_thumbnails', |
---|
[28587] | 341 | 'type' => 'trigger_notify', |
---|
[16967] | 342 | 'vars' => array('array', 'categories'), |
---|
[12608] | 343 | 'files' => array('include\category_cats.inc.php'), |
---|
| 344 | ), |
---|
| 345 | array( |
---|
| 346 | 'name' => 'loc_begin_index_thumbnails', |
---|
[28587] | 347 | 'type' => 'trigger_notify', |
---|
[16967] | 348 | 'vars' => array('array', 'pictures'), |
---|
[12608] | 349 | 'files' => array('include\category_default.inc.php'), |
---|
| 350 | ), |
---|
| 351 | array( |
---|
| 352 | 'name' => 'loc_begin_page_header', |
---|
[28587] | 353 | 'type' => 'trigger_notify', |
---|
[12608] | 354 | 'vars' => array(), |
---|
| 355 | 'files' => array('include\page_header.php'), |
---|
| 356 | ), |
---|
| 357 | array( |
---|
| 358 | 'name' => 'loc_begin_page_tail', |
---|
[28587] | 359 | 'type' => 'trigger_notify', |
---|
[12608] | 360 | 'vars' => array(), |
---|
| 361 | 'files' => array('include\page_tail.php'), |
---|
| 362 | ), |
---|
| 363 | array( |
---|
| 364 | 'name' => 'loc_begin_picture', |
---|
[28587] | 365 | 'type' => 'trigger_notify', |
---|
[12608] | 366 | 'vars' => array(), |
---|
| 367 | 'files' => array('picture.php'), |
---|
| 368 | ), |
---|
| 369 | array( |
---|
| 370 | 'name' => 'loc_begin_profile', |
---|
[28587] | 371 | 'type' => 'trigger_notify', |
---|
[12608] | 372 | 'vars' => array(), |
---|
| 373 | 'files' => array('profile.php'), |
---|
| 374 | ), |
---|
| 375 | array( |
---|
[18063] | 376 | 'name' => 'loc_begin_password', |
---|
[28587] | 377 | 'type' => 'trigger_notify', |
---|
[18063] | 378 | 'vars' => array(), |
---|
| 379 | 'files' => array('password.php'), |
---|
| 380 | 'infos' => 'New in 2.5', |
---|
| 381 | ), |
---|
| 382 | array( |
---|
| 383 | 'name' => 'loc_begin_register', |
---|
[28587] | 384 | 'type' => 'trigger_notify', |
---|
[18063] | 385 | 'vars' => array(), |
---|
| 386 | 'files' => array('register.php'), |
---|
| 387 | 'infos' => 'New in 2.5', |
---|
| 388 | ), |
---|
| 389 | array( |
---|
| 390 | 'name' => 'loc_begin_search', |
---|
[28587] | 391 | 'type' => 'trigger_notify', |
---|
[18063] | 392 | 'vars' => array(), |
---|
| 393 | 'files' => array('search.php'), |
---|
| 394 | 'infos' => 'New in 2.5', |
---|
| 395 | ), |
---|
| 396 | array( |
---|
| 397 | 'name' => 'loc_begin_tags', |
---|
[28587] | 398 | 'type' => 'trigger_notify', |
---|
[18063] | 399 | 'vars' => array(), |
---|
| 400 | 'files' => array('tags.php'), |
---|
| 401 | 'infos' => 'New in 2.5', |
---|
| 402 | ), |
---|
| 403 | array( |
---|
| 404 | 'name' => 'loc_begin_comments', |
---|
[28587] | 405 | 'type' => 'trigger_notify', |
---|
[18063] | 406 | 'vars' => array(), |
---|
| 407 | 'files' => array('comments.php'), |
---|
| 408 | 'infos' => 'New in 2.5', |
---|
| 409 | ), |
---|
| 410 | array( |
---|
| 411 | 'name' => 'loc_begin_identification', |
---|
[28587] | 412 | 'type' => 'trigger_notify', |
---|
[18063] | 413 | 'vars' => array(), |
---|
| 414 | 'files' => array('identification.php'), |
---|
| 415 | 'infos' => 'New in 2.5', |
---|
| 416 | ), |
---|
| 417 | array( |
---|
| 418 | 'name' => 'loc_begin_notification', |
---|
[28587] | 419 | 'type' => 'trigger_notify', |
---|
[18063] | 420 | 'vars' => array(), |
---|
| 421 | 'files' => array('notification.php'), |
---|
| 422 | 'infos' => 'New in 2.5', |
---|
| 423 | ), |
---|
| 424 | array( |
---|
| 425 | 'name' => 'loc_end_password', |
---|
[28587] | 426 | 'type' => 'trigger_notify', |
---|
[18063] | 427 | 'vars' => array(), |
---|
| 428 | 'files' => array('password.php'), |
---|
| 429 | 'infos' => 'New in 2.5', |
---|
| 430 | ), |
---|
| 431 | array( |
---|
| 432 | 'name' => 'loc_end_register', |
---|
[28587] | 433 | 'type' => 'trigger_notify', |
---|
[18063] | 434 | 'vars' => array(), |
---|
| 435 | 'files' => array('register.php'), |
---|
| 436 | 'infos' => 'New in 2.5', |
---|
| 437 | ), |
---|
| 438 | array( |
---|
| 439 | 'name' => 'loc_end_search', |
---|
[28587] | 440 | 'type' => 'trigger_notify', |
---|
[18063] | 441 | 'vars' => array(), |
---|
| 442 | 'files' => array('search.php'), |
---|
| 443 | 'infos' => 'New in 2.5', |
---|
| 444 | ), |
---|
| 445 | array( |
---|
| 446 | 'name' => 'loc_end_tags', |
---|
[28587] | 447 | 'type' => 'trigger_notify', |
---|
[18063] | 448 | 'vars' => array(), |
---|
| 449 | 'files' => array('tags.php'), |
---|
| 450 | 'infos' => 'New in 2.5', |
---|
| 451 | ), |
---|
| 452 | array( |
---|
| 453 | 'name' => 'loc_end_comments', |
---|
[28587] | 454 | 'type' => 'trigger_notify', |
---|
[18063] | 455 | 'vars' => array(), |
---|
| 456 | 'files' => array('comments.php'), |
---|
| 457 | 'infos' => 'New in 2.5', |
---|
| 458 | ), |
---|
| 459 | array( |
---|
| 460 | 'name' => 'loc_end_identification', |
---|
[28587] | 461 | 'type' => 'trigger_notify', |
---|
[18063] | 462 | 'vars' => array(), |
---|
| 463 | 'files' => array('identification.php'), |
---|
| 464 | 'infos' => 'New in 2.5', |
---|
| 465 | ), |
---|
| 466 | array( |
---|
| 467 | 'name' => 'loc_end_notification', |
---|
[28587] | 468 | 'type' => 'trigger_notify', |
---|
[18063] | 469 | 'vars' => array(), |
---|
| 470 | 'files' => array('notification.php'), |
---|
| 471 | 'infos' => 'New in 2.5', |
---|
| 472 | ), |
---|
| 473 | array( |
---|
[12608] | 474 | 'name' => 'loc_end_admin', |
---|
[28587] | 475 | 'type' => 'trigger_notify', |
---|
[12608] | 476 | 'vars' => array(), |
---|
| 477 | 'files' => array('admin.php'), |
---|
| 478 | ), |
---|
| 479 | array( |
---|
| 480 | 'name' => 'loc_end_cat_list', |
---|
[28587] | 481 | 'type' => 'trigger_notify', |
---|
[12608] | 482 | 'vars' => array(), |
---|
| 483 | 'files' => array('admin\cat_list.php'), |
---|
| 484 | ), |
---|
| 485 | array( |
---|
| 486 | 'name' => 'loc_end_cat_modify', |
---|
[28587] | 487 | 'type' => 'trigger_notify', |
---|
[12608] | 488 | 'vars' => array(), |
---|
| 489 | 'files' => array('admin\cat_modify.php'), |
---|
| 490 | ), |
---|
| 491 | array( |
---|
| 492 | 'name' => 'loc_end_element_set_global', |
---|
[28587] | 493 | 'type' => 'trigger_notify', |
---|
[12608] | 494 | 'vars' => array(), |
---|
| 495 | 'files' => array('admin\batch_manager_global.php'), |
---|
| 496 | ), |
---|
| 497 | array( |
---|
| 498 | 'name' => 'loc_end_element_set_unit', |
---|
[28587] | 499 | 'type' => 'trigger_notify', |
---|
[12608] | 500 | 'vars' => array(), |
---|
| 501 | 'files' => array('admin\batch_manager_unit.php'), |
---|
| 502 | ), |
---|
| 503 | array( |
---|
[28166] | 504 | 'name' => 'loc_end_help', |
---|
[28587] | 505 | 'type' => 'trigger_notify', |
---|
[28166] | 506 | 'vars' => array(), |
---|
| 507 | 'files' => array('admin\help.php'), |
---|
| 508 | ), |
---|
| 509 | array( |
---|
[12608] | 510 | 'name' => 'loc_end_index', |
---|
[28587] | 511 | 'type' => 'trigger_notify', |
---|
[12608] | 512 | 'vars' => array(), |
---|
| 513 | 'files' => array('index.php'), |
---|
| 514 | ), |
---|
| 515 | array( |
---|
| 516 | 'name' => 'loc_end_index_category_thumbnails', |
---|
[28587] | 517 | 'type' => 'trigger_change', |
---|
[18926] | 518 | 'vars' => array('array', 'tpl_thumbnails_var'), |
---|
[12608] | 519 | 'files' => array('include\category_cats.inc.php'), |
---|
| 520 | ), |
---|
| 521 | array( |
---|
| 522 | 'name' => 'loc_end_index_thumbnails', |
---|
[28587] | 523 | 'type' => 'trigger_change', |
---|
[16967] | 524 | 'vars' => array('array', 'tpl_thumbnails_var', 'array', 'pictures'), |
---|
[12608] | 525 | 'files' => array('include\category_default.inc.php'), |
---|
| 526 | ), |
---|
| 527 | array( |
---|
[28166] | 528 | 'name' => 'loc_end_no_photo_yet', |
---|
[28587] | 529 | 'type' => 'trigger_notify', |
---|
[28166] | 530 | 'vars' => array(), |
---|
| 531 | 'files' => array('include\no_photo_yet.inc.php'), |
---|
| 532 | ), |
---|
| 533 | array( |
---|
[12608] | 534 | 'name' => 'loc_end_page_header', |
---|
[28587] | 535 | 'type' => 'trigger_notify', |
---|
[12608] | 536 | 'vars' => array(), |
---|
| 537 | 'files' => array('include\page_header.php'), |
---|
| 538 | ), |
---|
| 539 | array( |
---|
| 540 | 'name' => 'loc_end_page_tail', |
---|
[28587] | 541 | 'type' => 'trigger_notify', |
---|
[12608] | 542 | 'vars' => array(), |
---|
| 543 | 'files' => array('include\page_tail.php'), |
---|
| 544 | ), |
---|
| 545 | array( |
---|
| 546 | 'name' => 'loc_end_picture', |
---|
[28587] | 547 | 'type' => 'trigger_notify', |
---|
[12608] | 548 | 'vars' => array(), |
---|
| 549 | 'files' => array('picture.php'), |
---|
| 550 | ), |
---|
| 551 | array( |
---|
[27953] | 552 | 'name' => 'loc_end_picture_modify', |
---|
[28587] | 553 | 'type' => 'trigger_notify', |
---|
[27953] | 554 | 'vars' => array(), |
---|
| 555 | 'files' => array('admin\picture_modify.php'), |
---|
| 556 | 'infos' => 'New in 2.6.3', |
---|
| 557 | ), |
---|
| 558 | array( |
---|
[12608] | 559 | 'name' => 'loc_end_profile', |
---|
[28587] | 560 | 'type' => 'trigger_notify', |
---|
[12608] | 561 | 'vars' => array(), |
---|
| 562 | 'files' => array('profile.php'), |
---|
| 563 | ), |
---|
| 564 | array( |
---|
| 565 | 'name' => 'loc_end_section_init', |
---|
[28587] | 566 | 'type' => 'trigger_notify', |
---|
[12608] | 567 | 'vars' => array(), |
---|
| 568 | 'files' => array('include\section_init.inc.php'), |
---|
[12921] | 569 | 'infos' => 'this action is called after section initilization, $page variable is fully defined', |
---|
[12608] | 570 | ), |
---|
| 571 | array( |
---|
[27953] | 572 | 'name' => 'loc_end_themes_installed', |
---|
[28587] | 573 | 'type' => 'trigger_notify', |
---|
[27953] | 574 | 'vars' => array(), |
---|
| 575 | 'files' => array('admin\themes_installed.php'), |
---|
| 576 | 'infos' => 'New in 2.6.3', |
---|
| 577 | ), |
---|
| 578 | array( |
---|
[12608] | 579 | 'name' => 'loc_visible_user_list', |
---|
[28587] | 580 | 'type' => 'trigger_change', |
---|
[16967] | 581 | 'vars' => array('array', 'visible_user_list'), |
---|
[12608] | 582 | 'files' => array('admin\user_list.php'), |
---|
| 583 | ), |
---|
| 584 | array( |
---|
| 585 | 'name' => 'login_failure', |
---|
[28587] | 586 | 'type' => 'trigger_notify', |
---|
[16967] | 587 | 'vars' => array('string', 'username'), |
---|
[12608] | 588 | 'files' => array('include\functions_user.inc.php (try_log_user)'), |
---|
| 589 | ), |
---|
| 590 | array( |
---|
| 591 | 'name' => 'login_success', |
---|
[28587] | 592 | 'type' => 'trigger_notify', |
---|
[16967] | 593 | 'vars' => array('string', 'username'), |
---|
[12608] | 594 | 'files' => array('include\functions_user.inc.php (auto_login, try_log_user)'), |
---|
| 595 | ), |
---|
| 596 | array( |
---|
| 597 | 'name' => 'nbm_event_handler_added', |
---|
[28587] | 598 | 'type' => 'trigger_notify', |
---|
[12608] | 599 | 'vars' => array(), |
---|
| 600 | 'files' => array('admin\notification_by_mail.php'), |
---|
| 601 | ), |
---|
| 602 | array( |
---|
| 603 | 'name' => 'nbm_render_global_customize_mail_content', |
---|
[28587] | 604 | 'type' => 'trigger_change', |
---|
[16967] | 605 | 'vars' => array('string', 'customize_mail_content'), |
---|
[12608] | 606 | 'files' => array('admin\notification_by_mail.php (do_action_send_mail_notification)'), |
---|
| 607 | ), |
---|
| 608 | array( |
---|
| 609 | 'name' => 'nbm_render_user_customize_mail_content', |
---|
[28587] | 610 | 'type' => 'trigger_change', |
---|
[16967] | 611 | 'vars' => array('string', 'customize_mail_content', 'string', 'nbm_user'), |
---|
[12608] | 612 | 'files' => array('admin\notification_by_mail.php (do_action_send_mail_notification)'), |
---|
| 613 | ), |
---|
| 614 | array( |
---|
| 615 | 'name' => 'perform_batch_manager_prefilters', |
---|
[28587] | 616 | 'type' => 'trigger_change', |
---|
[16967] | 617 | 'vars' => array('array', 'filter_sets', 'string', 'session_prefilter'), |
---|
[12608] | 618 | 'files' => array('admin\batch_manager.php'), |
---|
| 619 | ), |
---|
| 620 | array( |
---|
| 621 | 'name' => 'picture_pictures_data', |
---|
[28587] | 622 | 'type' => 'trigger_change', |
---|
[16967] | 623 | 'vars' => array('array', 'picture'), |
---|
[12608] | 624 | 'files' => array('picture.php'), |
---|
| 625 | ), |
---|
| 626 | array( |
---|
| 627 | 'name' => 'plugins_loaded', |
---|
[28587] | 628 | 'type' => 'trigger_notify', |
---|
[12608] | 629 | 'vars' => array(), |
---|
| 630 | 'files' => array('include\functions_plugins.inc.php (load_plugins)'), |
---|
| 631 | ), |
---|
| 632 | array( |
---|
| 633 | 'name' => 'pwg_log_allowed', |
---|
[28587] | 634 | 'type' => 'trigger_change', |
---|
[16967] | 635 | 'vars' => array('bool', 'do_log', 'int', 'image_id', 'string', 'image_type'), |
---|
[12608] | 636 | 'files' => array('include\functions.inc.php (pwg_log)'), |
---|
| 637 | ), |
---|
| 638 | array( |
---|
| 639 | 'name' => 'register_user', |
---|
[28587] | 640 | 'type' => 'trigger_notify', |
---|
[16967] | 641 | 'vars' => array('array', 'user'), |
---|
[12608] | 642 | 'files' => array('include\functions_user.inc.php (register_user)'), |
---|
| 643 | ), |
---|
| 644 | array( |
---|
| 645 | 'name' => 'register_user_check', |
---|
[28587] | 646 | 'type' => 'trigger_change', |
---|
[16967] | 647 | 'vars' => array('array', 'errors', 'array', 'user'), |
---|
[12608] | 648 | 'files' => array('include\functions_user.inc.php (register_user)'), |
---|
| 649 | ), |
---|
| 650 | array( |
---|
| 651 | 'name' => 'render_category_description', |
---|
[28587] | 652 | 'type' => 'trigger_change', |
---|
[16967] | 653 | 'vars' => array('string', 'category_description', 'string', 'action'), |
---|
[12608] | 654 | 'files' => array('include\category_cats.inc.php', 'include\section_init.inc.php', 'include\ws_functions.inc.php (ws_categories_getList, ws_categories_getAdminList)'), |
---|
| 655 | ), |
---|
| 656 | array( |
---|
| 657 | 'name' => 'render_category_literal_description', |
---|
[28587] | 658 | 'type' => 'trigger_change', |
---|
[16967] | 659 | 'vars' => array('string', 'category_description'), |
---|
[12608] | 660 | 'files' => array('include\category_cats.inc.php'), |
---|
| 661 | ), |
---|
| 662 | array( |
---|
| 663 | 'name' => 'render_category_name', |
---|
[28587] | 664 | 'type' => 'trigger_change', |
---|
[16967] | 665 | 'vars' => array('string', 'category_name', 'string', 'location'), |
---|
[12608] | 666 | 'files' => array('admin\cat_list.php', 'include\ws_functions.inc.php (ws_categories_getList, ws_categories_getAdminList, ws_categories_move)'), |
---|
| 667 | ), |
---|
| 668 | array( |
---|
| 669 | 'name' => 'render_comment_author', |
---|
[28587] | 670 | 'type' => 'trigger_change', |
---|
[16967] | 671 | 'vars' => array('string', 'comment_author'), |
---|
[12608] | 672 | 'files' => array('admin\comments.php', 'comments.php', 'include\picture_comment.inc.php'), |
---|
| 673 | ), |
---|
| 674 | array( |
---|
| 675 | 'name' => 'render_comment_content', |
---|
[28587] | 676 | 'type' => 'trigger_change', |
---|
[16967] | 677 | 'vars' => array('string', 'comment_content'), |
---|
[12608] | 678 | 'files' => array('admin\comments.php', 'comments.php', 'include\picture_comment.inc.php'), |
---|
| 679 | ), |
---|
| 680 | array( |
---|
| 681 | 'name' => 'render_element_content', |
---|
[28587] | 682 | 'type' => 'trigger_change', |
---|
[16967] | 683 | 'vars' => array('string', 'content', 'array', 'current_picture'), |
---|
[12608] | 684 | 'files' => array('picture.php'), |
---|
| 685 | ), |
---|
| 686 | array( |
---|
[17977] | 687 | 'name' => 'render_element_name', |
---|
[28587] | 688 | 'type' => 'trigger_change', |
---|
[16967] | 689 | 'vars' => array('string', 'element_name'), |
---|
[17977] | 690 | 'files' => array('include\functions_html.inc.php (render_element_name)'), |
---|
[12608] | 691 | ), |
---|
| 692 | array( |
---|
[17977] | 693 | 'name' => 'render_element_description', |
---|
[28587] | 694 | 'type' => 'trigger_change', |
---|
[25202] | 695 | 'vars' => array('string', 'element_description', 'string', 'action'), |
---|
| 696 | 'files' => array('picture.php', 'include\functions_html.inc.php (render_element_description)'), |
---|
[17977] | 697 | ), |
---|
| 698 | array( |
---|
[12608] | 699 | 'name' => 'render_lost_password_mail_content', |
---|
[28587] | 700 | 'type' => 'trigger_change', |
---|
[16967] | 701 | 'vars' => array('string', 'message'), |
---|
[12608] | 702 | 'files' => array('password.php (process_password_request)'), |
---|
| 703 | ), |
---|
| 704 | array( |
---|
| 705 | 'name' => 'render_page_banner', |
---|
[28587] | 706 | 'type' => 'trigger_change', |
---|
[16967] | 707 | 'vars' => array('string', 'gallery_title'), |
---|
[12608] | 708 | 'files' => array('include\page_header.php'), |
---|
| 709 | ), |
---|
| 710 | array( |
---|
| 711 | 'name' => 'render_tag_name', |
---|
[28587] | 712 | 'type' => 'trigger_change', |
---|
[26649] | 713 | 'vars' => array('string', 'tag_name', 'array', 'tag'), |
---|
| 714 | '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)'), |
---|
[12608] | 715 | ), |
---|
| 716 | array( |
---|
| 717 | 'name' => 'render_tag_url', |
---|
[28587] | 718 | 'type' => 'trigger_change', |
---|
[16967] | 719 | 'vars' => array('string', 'tag_name'), |
---|
[26649] | 720 | 'files' => array('admin\include\functions.php (tag_id_from_tag_name, create_tag)', 'admin\tags.php'), |
---|
[12608] | 721 | ), |
---|
| 722 | array( |
---|
| 723 | 'name' => 'save_profile_from_post', |
---|
[28587] | 724 | 'type' => 'trigger_notify', |
---|
[16967] | 725 | 'vars' => array('int', 'user_id'), |
---|
[12608] | 726 | 'files' => array('profile.php (save_profile_from_post)'), |
---|
| 727 | ), |
---|
| 728 | array( |
---|
[25360] | 729 | 'name' => 'before_send_mail', |
---|
[28587] | 730 | 'type' => 'trigger_change', |
---|
[25360] | 731 | 'vars' => array('bool', 'result', 'mixed', 'to', 'array', 'arguments', 'PHPMailer', 'mail'), |
---|
[12608] | 732 | 'files' => array('include\functions_mail.inc.php (pwg_mail)'), |
---|
| 733 | ), |
---|
| 734 | array( |
---|
[25360] | 735 | 'name' => 'before_parse_mail_template', |
---|
[28587] | 736 | 'type' => 'trigger_notify', |
---|
[25360] | 737 | 'vars' => array('string', 'cache_key', 'string', 'content_type'), |
---|
[12608] | 738 | 'files' => array('include\functions_mail.inc.php (pwg_mail)'), |
---|
| 739 | ), |
---|
| 740 | array( |
---|
| 741 | 'name' => 'sendResponse', |
---|
[28587] | 742 | 'type' => 'trigger_notify', |
---|
[16967] | 743 | 'vars' => array('string', 'encodedResponse'), |
---|
[12608] | 744 | 'files' => array('include\ws_core.inc.php (PwgServer::sendResponse)'), |
---|
| 745 | ), |
---|
| 746 | array( |
---|
| 747 | 'name' => 'set_status_header', |
---|
[28587] | 748 | 'type' => 'trigger_notify', |
---|
[16967] | 749 | 'vars' => array('int', 'code', 'string', 'text'), |
---|
[12608] | 750 | 'files' => array('include\functions_html.inc.php (set_status_header)'), |
---|
| 751 | ), |
---|
| 752 | array( |
---|
[16967] | 753 | 'name' => 'tabsheet_before_select', |
---|
[28587] | 754 | 'type' => 'trigger_change', |
---|
[16967] | 755 | 'vars' => array('array', 'sheets', 'string', 'tabsheet_id'), |
---|
| 756 | 'files' => array('include\tabsheet.class.php (tabsheet::select)'), |
---|
| 757 | 'infos' => 'New in 2.4, use this trigger to add tabs to a tabsheets', |
---|
| 758 | ), |
---|
| 759 | array( |
---|
[12608] | 760 | 'name' => 'trigger', |
---|
[28587] | 761 | 'type' => 'trigger_notify', |
---|
[16967] | 762 | 'vars' => array('array', null), |
---|
[28587] | 763 | 'files' => array('include\functions_plugins.inc.php (trigger_change, trigger_notify)'), |
---|
[12608] | 764 | ), |
---|
| 765 | array( |
---|
| 766 | 'name' => 'user_comment_check', |
---|
[28587] | 767 | 'type' => 'trigger_change', |
---|
[16967] | 768 | 'vars' => array('string', 'comment_action', 'array', 'comm'), |
---|
[12608] | 769 | 'files' => array('include\functions_comment.inc.php (insert_user_comment, update_user_comment)'), |
---|
[12921] | 770 | 'infos' => 'use this trigger to add conditions on comment validation', |
---|
[12608] | 771 | ), |
---|
| 772 | array( |
---|
| 773 | 'name' => 'user_comment_deletion', |
---|
[28587] | 774 | 'type' => 'trigger_notify', |
---|
[16967] | 775 | 'vars' => array('mixed', 'comment_id'), |
---|
[12608] | 776 | 'files' => array('include\functions_comment.inc.php (delete_user_comment)'), |
---|
| 777 | 'infos' => '$comment_id is and int or an array of int', |
---|
| 778 | ), |
---|
| 779 | array( |
---|
| 780 | 'name' => 'user_comment_insertion', |
---|
[28587] | 781 | 'type' => 'trigger_notify', |
---|
[16967] | 782 | 'vars' => array('array', 'comm'), |
---|
[12608] | 783 | 'files' => array('include\picture_comment.inc.php'), |
---|
| 784 | ), |
---|
| 785 | array( |
---|
| 786 | 'name' => 'user_comment_validation', |
---|
[28587] | 787 | 'type' => 'trigger_notify', |
---|
[16967] | 788 | 'vars' => array('mixed', 'comment_id'), |
---|
[12608] | 789 | 'files' => array('include\functions_comment.inc.php (validate_user_comment)'), |
---|
| 790 | 'infos' => '$comment_id is and int or an array of int', |
---|
| 791 | ), |
---|
| 792 | array( |
---|
| 793 | 'name' => 'user_init', |
---|
[28587] | 794 | 'type' => 'trigger_notify', |
---|
[16967] | 795 | 'vars' => array('array', 'user'), |
---|
[12608] | 796 | 'files' => array('include\user.inc.php'), |
---|
| 797 | ), |
---|
| 798 | array( |
---|
| 799 | 'name' => 'ws_add_methods', |
---|
[28587] | 800 | 'type' => 'trigger_notify', |
---|
[16967] | 801 | 'vars' => array('object', 'this'), |
---|
[12608] | 802 | 'files' => array('include\ws_core.inc.php (PwgServer::run)'), |
---|
| 803 | ), |
---|
| 804 | array( |
---|
| 805 | 'name' => 'ws_invoke_allowed', |
---|
[28587] | 806 | 'type' => 'trigger_change', |
---|
[16967] | 807 | 'vars' => array('bool', null, 'string', 'methodName', 'array', 'params'), |
---|
[12608] | 808 | 'files' => array('include\ws_core.inc.php (PwgServer::invoke)'), |
---|
| 809 | ), |
---|
[20282] | 810 | array( |
---|
| 811 | 'name' => 'user_logout', |
---|
[28587] | 812 | 'type' => 'trigger_notify', |
---|
[20282] | 813 | 'vars' => array('int', 'user_id'), |
---|
| 814 | 'files' => array('include\functions_user.inc.php (logout_user)'), |
---|
[23210] | 815 | 'infos' => 'New in 2.5', |
---|
[20282] | 816 | ), |
---|
| 817 | array( |
---|
| 818 | 'name' => 'user_login', |
---|
[28587] | 819 | 'type' => 'trigger_notify', |
---|
[20282] | 820 | 'vars' => array('int', 'user_id'), |
---|
| 821 | 'files' => array('include\functions_user.inc.php (log_user)'), |
---|
[23210] | 822 | 'infos' => 'New in 2.5', |
---|
[20282] | 823 | ), |
---|
| 824 | array( |
---|
| 825 | 'name' => 'try_log_user', |
---|
[28587] | 826 | 'type' => 'trigger_change', |
---|
[20282] | 827 | 'vars' => array('boolean', 'success', 'string', 'username', 'string', 'password', 'bool', 'remember_me'), |
---|
| 828 | 'files' => array('include\functions_user.inc.php (try_log_user)'), |
---|
[23210] | 829 | '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.', |
---|
[20282] | 830 | ), |
---|
[25505] | 831 | array( |
---|
| 832 | 'name' => 'combinable_preparse', |
---|
[28587] | 833 | 'type' => 'trigger_notify', |
---|
[25505] | 834 | 'vars' => array('Template', 'template', 'Combinable', '$combinable', 'FileCombiner', '$combiner'), |
---|
| 835 | 'files' => array('include\template.class.php (FileCombiner::process_combinable)'), |
---|
| 836 | 'infos' => 'New in 2.6.', |
---|
| 837 | ), |
---|
[26618] | 838 | array( |
---|
| 839 | 'name' => 'user_list_columns', |
---|
[28587] | 840 | 'type' => 'trigger_change', |
---|
[26618] | 841 | 'vars' => array('string[]', 'aColumns'), |
---|
| 842 | 'files' => array('admin\user_list_backend.php'), |
---|
| 843 | 'infos' => 'New in 2.6.', |
---|
| 844 | ), |
---|
| 845 | array( |
---|
| 846 | 'name' => 'after_render_user_list', |
---|
[28587] | 847 | 'type' => 'trigger_change', |
---|
[26618] | 848 | 'vars' => array('array', 'output'), |
---|
| 849 | 'files' => array('admin\user_list_backend.php'), |
---|
| 850 | 'infos' => 'New in 2.6.', |
---|
| 851 | ), |
---|
[27331] | 852 | array( |
---|
| 853 | 'name' => 'update_rating_score', |
---|
[28587] | 854 | 'type' => 'trigger_change', |
---|
[27331] | 855 | 'vars' => array('boolean', 'done', 'int', 'element_id'), |
---|
| 856 | 'files' => array('include\functions_rate.inc.php'), |
---|
| 857 | 'infos' => 'New in 2.6.', |
---|
| 858 | ), |
---|
[27714] | 859 | array( |
---|
| 860 | 'name' => 'picture_modify_before_update', |
---|
[28587] | 861 | 'type' => 'trigger_change', |
---|
[27714] | 862 | 'vars' => array('array', 'data'), |
---|
| 863 | 'files' => array('admin\picture_modify.php'), |
---|
| 864 | 'infos' => 'New in 2.6.2.', |
---|
| 865 | ), |
---|
[27716] | 866 | array( |
---|
| 867 | 'name' => 'ws_users_getList', |
---|
[28587] | 868 | 'type' => 'trigger_change', |
---|
[27716] | 869 | 'vars' => array('array', 'users'), |
---|
| 870 | 'files' => array('include\ws_functions\pwg.users.php'), |
---|
| 871 | 'infos' => 'New in 2.6.2.', |
---|
| 872 | ), |
---|
[12608] | 873 | ); |
---|
| 874 | ?> |
---|
[20192] | 875 | <!DOCTYPE html> |
---|
[12608] | 876 | <html xmlns="http://www.w3.org/1999/xhtml" lang="en" dir="ltr"> |
---|
| 877 | <head> |
---|
| 878 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
---|
| 879 | <title>Piwigo Core Triggers</title> |
---|
| 880 | |
---|
[20192] | 881 | <link rel="stylesheet" type="text/css" href="http://code.jquery.com/ui/1.9.2/themes/base/jquery-ui.css"> |
---|
| 882 | <link rel="stylesheet" type="text/css" href="http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/css/jquery.dataTables_themeroller.css"> |
---|
| 883 | |
---|
| 884 | <style type="text/css"> |
---|
| 885 | /* BEGIN CSS RESET |
---|
| 886 | http://meyerweb.com/eric/tools/css/reset |
---|
| 887 | v2.0 | 20110126 | License: none (public domain) */ |
---|
| 888 | html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, |
---|
| 889 | del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, |
---|
| 890 | fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, |
---|
| 891 | figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video |
---|
| 892 | {margin:0;padding:0;border:0;font-size:100%;vertical-align:baseline;} |
---|
[12608] | 893 | |
---|
[20192] | 894 | article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block;} |
---|
| 895 | body {line-height:1.1;} |
---|
| 896 | blockquote, q {quotes:none;} |
---|
| 897 | blockquote:before, blockquote:after, q:before, q:after {content:'';content:none;} |
---|
| 898 | table {border-collapse:collapse;border-spacing:0;} |
---|
| 899 | /* END CSS RESET */ |
---|
[12608] | 900 | |
---|
[20192] | 901 | html {font-family:"Corbel","Lucida Grande","Verdana",sans-serif;color:#222;font-size:13px;} |
---|
| 902 | |
---|
| 903 | a {color:#247EBF;text-decoration:none;} |
---|
[23714] | 904 | a:hover {color:#EB9C39;border-bottom-width:1px;border-style:dotted;text-shadow:1px 1px 0 #ddd;} |
---|
[20192] | 905 | |
---|
[23714] | 906 | h1 {color:#fff;font-size:26px;padding:10px 15px;text-shadow:1px 1px 0 #999; |
---|
| 907 | background:#45484d;background:linear-gradient(to bottom, #45484d 0%,#333333 100%); |
---|
[20192] | 908 | } |
---|
| 909 | |
---|
| 910 | #the_header {border-bottom:1px solid #cdcdcd;margin-bottom:1px;} |
---|
| 911 | #the_footer {background:#EAEAEA;border-top:1px solid #cdcdcd;padding:10px;clear:both;} |
---|
| 912 | |
---|
| 913 | #the_page {padding:20px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAIAAADZSiLoAAAAH0lEQVQImSXHMQEAMAwCMOrfK0jIjuVL2gLBzyHJtgd7wBdU3Vt/7AAAAABJRU5ErkJggg==);} |
---|
| 914 | |
---|
| 915 | tfoot input {width:80%;} |
---|
| 916 | tfoot .search_input {color:#999;} |
---|
| 917 | tfoot select.search_input option:not(:first-child) {color:#222;} |
---|
| 918 | </style> |
---|
[12608] | 919 | </head> |
---|
| 920 | |
---|
[20192] | 921 | <body> |
---|
[12608] | 922 | |
---|
[20192] | 923 | <div id="the_header"> |
---|
| 924 | <h1>Piwigo Core Triggers</h1> |
---|
| 925 | </div> <!-- the_header --> |
---|
[12608] | 926 | |
---|
[20192] | 927 | <div id="the_page"> |
---|
| 928 | <table id="list"> |
---|
| 929 | <thead> |
---|
| 930 | <tr> |
---|
| 931 | <th>Name</th> |
---|
| 932 | <th>Type</th> |
---|
| 933 | <th>Variables</th> |
---|
| 934 | <th>Usage in the core</th> |
---|
| 935 | <th>Commentary</th> |
---|
| 936 | </tr> |
---|
| 937 | </thead> |
---|
| 938 | <tbody> |
---|
[12608] | 939 | |
---|
[20192] | 940 | <?php |
---|
| 941 | foreach ($core as $trigger) |
---|
[12608] | 942 | { |
---|
[20192] | 943 | echo ' |
---|
| 944 | <tr> |
---|
| 945 | <td>'.$trigger['name'].'</td> |
---|
| 946 | <td>'.$trigger['type'].'</td> |
---|
| 947 | <td>'; |
---|
| 948 | for ($i=0; $i<count($trigger['vars']); $i+=2) |
---|
| 949 | { |
---|
| 950 | if ($i>0) echo ', '; |
---|
| 951 | echo $trigger['vars'][$i].' '.(!empty($trigger['vars'][$i+1])?'<i>$'.$trigger['vars'][$i+1].'</i>':null); |
---|
| 952 | } |
---|
| 953 | echo ' |
---|
| 954 | </td> |
---|
| 955 | <td>'; |
---|
| 956 | $f=1; |
---|
| 957 | foreach ($trigger['files'] as $file) |
---|
| 958 | { |
---|
| 959 | if (!$f) echo '<br>'; $f=0; |
---|
| 960 | echo preg_replace('#\((.+)\)#', '(<i>$1</i>)', $file); |
---|
| 961 | } |
---|
| 962 | echo ' |
---|
| 963 | </td> |
---|
| 964 | <td>'.@$trigger['infos'].'</td> |
---|
| 965 | </tr>'; |
---|
[12608] | 966 | } |
---|
[20192] | 967 | ?> |
---|
| 968 | |
---|
| 969 | </tbody> |
---|
| 970 | <tfoot> |
---|
| 971 | <tr> |
---|
| 972 | <td><input type="text" value="Name" class="search_input"></td> |
---|
| 973 | <td> |
---|
| 974 | <select class="search_input"> |
---|
| 975 | <option value="">Type</option> |
---|
[28587] | 976 | <option value="trigger_notify">trigger_notify</option> |
---|
| 977 | <option value="trigger_change">trigger_change</option> |
---|
[20192] | 978 | </select> |
---|
| 979 | </td> |
---|
| 980 | <td><input type="text" value="Variables" class="search_input"></td> |
---|
| 981 | <td><input type="text" value="Usage" class="search_input"></td> |
---|
| 982 | <td><input type="text" value="Commentary" class="search_input"></td> |
---|
| 983 | </tr> |
---|
| 984 | </tfoot> |
---|
| 985 | </table> |
---|
| 986 | </div> <!-- the_page --> |
---|
| 987 | |
---|
| 988 | <div id="the_footer"> |
---|
| 989 | Copyright © 2002-2013 <a href="http://piwigo.org">Piwigo Team</a> |
---|
| 990 | </div> <!-- the_footer --> |
---|
| 991 | |
---|
[23714] | 992 | |
---|
| 993 | <script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.min.js"></script> |
---|
| 994 | <script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/jquery.dataTables.min.js"></script> |
---|
[20192] | 995 | |
---|
| 996 | <script type="text/javascript"> |
---|
| 997 | var oTable = $('#list').dataTable({ |
---|
| 998 | "bJQueryUI": true, |
---|
| 999 | "aaSorting": [ [0,'asc'] ], |
---|
| 1000 | "sPaginationType": "full_numbers", |
---|
| 1001 | "aLengthMenu": [[10, 30, 50, 70, 90, -1], [10, 30, 50, 70, 90, "All"]], |
---|
| 1002 | "iDisplayLength": 30, |
---|
| 1003 | "oLanguage": { |
---|
| 1004 | "sSearch": "Search all columns :" |
---|
[12608] | 1005 | } |
---|
[20192] | 1006 | }); |
---|
[12608] | 1007 | |
---|
[20192] | 1008 | // search input |
---|
| 1009 | $("tfoot td").each(function (i) { |
---|
| 1010 | $('select', this).change(function () { |
---|
| 1011 | oTable.fnFilter($(this).val(), i); |
---|
| 1012 | }); |
---|
| 1013 | $('input', this).keyup(function () { |
---|
| 1014 | oTable.fnFilter($(this).val(), i); |
---|
| 1015 | }); |
---|
| 1016 | }); |
---|
[12608] | 1017 | |
---|
[20192] | 1018 | // search helpers |
---|
| 1019 | var asInitVals = new Array(); |
---|
| 1020 | $("tfoot input").each(function (i) { |
---|
| 1021 | asInitVals[i] = $(this).val(); |
---|
| 1022 | }); |
---|
| 1023 | |
---|
| 1024 | $("tfoot input").focus(function () { |
---|
| 1025 | if (this.className == "search_input") { |
---|
| 1026 | $(this).removeClass("search_input"); |
---|
| 1027 | $(this).val(""); |
---|
| 1028 | } |
---|
| 1029 | }); |
---|
| 1030 | |
---|
| 1031 | $("tfoot input").blur(function (i) { |
---|
| 1032 | if ($(this).val() == "") { |
---|
| 1033 | $(this).addClass("search_input"); |
---|
| 1034 | $(this).val(asInitVals[$("tfoot input").index(this)]); |
---|
| 1035 | } |
---|
| 1036 | }); |
---|
| 1037 | |
---|
| 1038 | $("tfoot select").change(function () { |
---|
| 1039 | if ($(this).val() == "") { |
---|
| 1040 | $(this).addClass("search_input"); |
---|
| 1041 | } |
---|
| 1042 | else { |
---|
| 1043 | $(this).removeClass("search_input"); |
---|
| 1044 | } |
---|
| 1045 | }); |
---|
| 1046 | </script> |
---|
| 1047 | |
---|
[12608] | 1048 | </body> |
---|
[27714] | 1049 | </html> |
---|