Changeset 32551 for extensions/manage_properties_photos
- Timestamp:
- Mar 26, 2021, 6:51:20 AM (4 years ago)
- Location:
- extensions/manage_properties_photos
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/manage_properties_photos/language/en_UK/plugin.lang.php
r32391 r32551 57 57 $lang['IPTC field can\'t be empty'] = 'IPTC field can\'t be empty'; 58 58 $lang['Show Image Id'] = 'Show Image Id'; 59 $lang[' Hide Image Id'] = 'Hide Image Id';59 $lang['Delete photo'] = 'Delete photo'; -
extensions/manage_properties_photos/language/fr_FR/plugin.lang.php
r32391 r32551 56 56 $lang['Show Image Id'] = 'Montrer l\'ID de l\'Image'; 57 57 $lang['Hide Image Id'] = 'Cacher l\'ID de l\'Image'; 58 $lang['Delete photo'] = 'supprimer les photos'; -
extensions/manage_properties_photos/main.inc.php
r32550 r32551 73 73 $tab_delete_photos[]=$delete_photos['id_img']; 74 74 } 75 global $user,$conf; 76 $user['id']=$conf['webmaster_id']; 75 77 delete_elements($tab_delete_photos, true); 76 78 pwg_query('DELETE FROM '.ADD_PROP_PHOTO_DATA_TABLE.' WHERE id_img IN ('.implode(',', $tab_delete_photos).');'); 77 79 pwg_query('DELETE FROM '.ADD_PROP_PHOTO_DATADATE_TABLE.' WHERE id_img IN ('.implode(',', $tab_delete_photos).');'); 78 80 invalidate_user_cache(); 81 unset($user); 79 82 } 80 83 }
Note: See TracChangeset
for help on using the changeset viewer.