Changeset 11621 for extensions/Copyrights/image.php
- Timestamp:
- Jul 4, 2011, 2:17:12 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Copyrights/image.php
r11505 r11621 17 17 18 18 // Change the variables used by the function that changes the template 19 add_event_handler('loc_begin_picture', 'copyrights_add_ vars_to_template');19 add_event_handler('loc_begin_picture', 'copyrights_add_image_vars_to_template'); 20 20 21 21 function copyrights_set_prefilter_add_to_pic_info() … … 24 24 $template->set_prefilter('picture', 'copyrights_add_to_pic_info'); 25 25 } 26 27 26 28 // This function is called by the set_prefilter_add_to_pic_info function. It has something to do with the prefilter stuff, whatever it may be :p29 27 function copyrights_add_to_pic_info($content, &$smarty) 30 28 { 31 // Voeg de informatie toe na de auteur - dus voor de datum dat ie gemaakt is...29 // Add the information after the author - so before the createdate 32 30 $search = '#<tr id="datecreate">#'; 33 31 … … 46 44 } 47 45 48 function copyrights_add_ vars_to_template()46 function copyrights_add_image_vars_to_template() 49 47 { 50 48 // For as far as i know i only need the $prefixtable, $page and $template
Note: See TracChangeset
for help on using the changeset viewer.