Changeset 32136
- Timestamp:
- Apr 29, 2020, 4:03:32 PM (5 years ago)
- Location:
- extensions/manage_properties_photos
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/manage_properties_photos/admin.php
r32135 r32136 235 235 $idexif = (isset($conf['mpp_idexif'])) ? $conf['mpp_idexif'] : $idexifone['id']; 236 236 $filename = pwg_db_fetch_assoc(pwg_query("SELECT path FROM " . IMAGES_TABLE . " WHERE id = '".$idexif."';")); 237 if(empty($filename['path'])){ 238 $_SESSION['page_errors'] = array(l10n('reference photo id doesn\'t exist please update')); 239 }else{ 237 240 $exif = exif_read_data($filename['path']); 238 241 foreach ($exif as $key => $section){ … … 276 279 } 277 280 } 281 } 278 282 } 279 283 … … 425 429 conf_update_param('mpp_max_fields', $_POST['mppmaxfield']); 426 430 conf_update_param('mpp_idexif', $_POST['mppitidexif']); 427 header('Location:'.ADD_PROP_PHOTO_ADMIN . '-config'); 431 $_SESSION['page_infos'] = array(l10n('Information data registered in database')); 432 redirect(ADD_PROP_PHOTO_ADMIN . '-config'); 428 433 } 429 434 break; -
extensions/manage_properties_photos/language/en_UK/plugin.lang.php
r32135 r32136 54 54 $lang['The reference photo doesn\'t have exif'] = 'The reference photo doesn\'t have exif'; 55 55 $lang['The reference photo doesn\'t have IPTC'] = 'The reference photo doesn\'t have IPTC'; 56 $lang['reference photo id doesn\'t exist please update'] = 'reference photo id doesn\'t exist please update'; -
extensions/manage_properties_photos/language/fr_FR/plugin.lang.php
r32135 r32136 52 52 $lang['The reference photo doesn\'t have exif'] = 'La photo de référence ne possède pas d\'exif'; 53 53 $lang['The reference photo doesn\'t have IPTC'] = 'La photo de référence ne possède pas IPTC'; 54 $lang['reference photo id doesn\'t exist please update'] = 'l\'id de reference photo n\'existe pas merci de mettre à jour';
Note: See TracChangeset
for help on using the changeset viewer.