Ignore:
Timestamp:
Jul 4, 2011, 2:17:12 PM (13 years ago)
Author:
Mattias
Message:

Updates batch_single.php and some minor changes in image.php (mostly comments)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Copyrights/image.php

    r11505 r11621  
    1717
    1818// Change the variables used by the function that changes the template
    19 add_event_handler('loc_begin_picture', 'copyrights_add_vars_to_template');
     19add_event_handler('loc_begin_picture', 'copyrights_add_image_vars_to_template');
    2020
    2121function copyrights_set_prefilter_add_to_pic_info()
     
    2424        $template->set_prefilter('picture', 'copyrights_add_to_pic_info');
    2525}
    26  
    2726
    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 :p
    2927function copyrights_add_to_pic_info($content, &$smarty)
    3028{
    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
    3230        $search = '#<tr id="datecreate">#';
    3331       
     
    4644}
    4745
    48 function copyrights_add_vars_to_template()
     46function copyrights_add_image_vars_to_template()
    4947{
    5048        // For as far as i know i only need the $prefixtable, $page and $template
Note: See TracChangeset for help on using the changeset viewer.