Changeset 28587 for trunk/picture.php
- Timestamp:
- Jun 2, 2014, 9:55:46 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/picture.php
r28184 r28587 145 145 add_event_handler('render_element_description', 'nl2br'); 146 146 147 trigger_ action('loc_begin_picture');147 trigger_notify('loc_begin_picture'); 148 148 149 149 // this is the default handler that generates the display for the element … … 435 435 436 436 // don't increment if adding a comment 437 if (trigger_ event('allow_increment_element_hit_count', $inc_hit_count, $page['image_id'] ) )437 if (trigger_change('allow_increment_element_hit_count', $inc_hit_count, $page['image_id'] ) ) 438 438 { 439 439 $query = ' … … 615 615 616 616 // do we have a plugin that can show metadata for something else than images? 617 $metadata_showable = trigger_ event(617 $metadata_showable = trigger_change( 618 618 'get_element_metadata_available', 619 619 ( … … 633 633 634 634 // allow plugins to change what we computed before passing data to template 635 $picture = trigger_ event('picture_pictures_data', $picture);635 $picture = trigger_change('picture_pictures_data', $picture); 636 636 637 637 //------------------------------------------------------- navigation management … … 809 809 $template->assign( 810 810 'COMMENT_IMG', 811 trigger_ event('render_element_description',811 trigger_change('render_element_description', 812 812 $picture['current']['comment'], 813 813 'picture_page_element_description' … … 938 938 // maybe someone wants a special display (call it before page_header so that 939 939 // they can add stylesheets) 940 $element_content = trigger_ event(940 $element_content = trigger_change( 941 941 'render_element_content', 942 942 '', … … 988 988 989 989 include(PHPWG_ROOT_PATH.'include/page_header.php'); 990 trigger_ action('loc_end_picture');990 trigger_notify('loc_end_picture'); 991 991 flush_page_messages(); 992 992 if ($page['slideshow'] and $conf['light_slideshow'])
Note: See TracChangeset
for help on using the changeset viewer.