Ignore:
Timestamp:
Nov 13, 2021, 12:19:10 PM (3 years ago)
Author:
plg
Message:

compatibility with Piwigo 12

Location:
extensions/Copyrights
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • extensions/Copyrights/batch_single.php

    r11794 r32641  
    1616
    1717// Insert the copyright selector to the template
    18 function CR_batch_single($content, &$smarty)
     18function CR_batch_single($content)
    1919{
    2020        $search = "#<td><strong>{'Creation date'#";
  • extensions/Copyrights/image.php

    r31939 r32641  
    1515
    1616// Insert the template for the copyright display
    17 function copyrights_add_to_pic_info($content, &$smarty)
     17function copyrights_add_to_pic_info($content)
    1818{
    1919        // Add the information after the author - so before the createdate
  • extensions/Copyrights/main.inc.php

    r21627 r32641  
    77Author: Mattias & J.Commelin (Deltaworks Online Foundation) <www.deltaworks.org>
    88Author URI: http://www.watergallery.nl/piwigo/plugins/copyrights/
     9Has Settings: true
    910*/
    1011// +-----------------------------------------------------------------------+
  • extensions/Copyrights/modify.php

    r22300 r32641  
    1414}
    1515
    16 function CR_modify($content, &$smarty)
     16function CR_modify($content)
    1717{
    1818        $search = "#<strong>{'Creation date'#"; // Not ideal, but ok for now :)
Note: See TracChangeset for help on using the changeset viewer.