Changeset 32741


Ignore:
Timestamp:
Mar 2, 2022, 11:42:43 AM (2 years ago)
Author:
ddtddt
Message:

[manage_properties_photos] compatibility Copyright 2

Location:
extensions/manage_properties_photos
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/manage_properties_photos/admin.php

    r32740 r32741  
    7676/*Copyrights*/
    7777if (isset($pwg_loaded_plugins['Copyrights'])){
    78   $row = pwg_db_fetch_assoc(pwg_query('SELECT dataprop FROM '. ADD_PROP_PHOTO_TABLE .' where dataprop ="plugexpiry_date";'));
     78  $row = pwg_db_fetch_assoc(pwg_query('SELECT dataprop FROM '. ADD_PROP_PHOTO_TABLE .' where dataprop ="plugCopyrights";'));
    7979        if(empty($row)){
    8080          $row = pwg_db_fetch_assoc(pwg_query('SELECT MAX(orderprop) FROM '. ADD_PROP_PHOTO_TABLE ));
  • extensions/manage_properties_photos/initpicture.php

    r32740 r32741  
    3333        if (isset($pwg_loaded_plugins['ColorPalette'])){
    3434          $template->set_prefilter('picture', 'color_palette_picture_prefilter',0);
     35        }
     36        if (isset($pwg_loaded_plugins['Copyrights'])){
     37          $template->set_prefilter('picture', 'copyrights_add_to_pic_info',0);
    3538        }
    3639}
Note: See TracChangeset for help on using the changeset viewer.