Changeset 13092 for extensions/rv_gmaps/trunk/admin/admin_sync.php
- Timestamp:
- Feb 11, 2012, 6:38:34 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/rv_gmaps/trunk/admin/admin_sync.php
r12701 r13092 5 5 $sync_options = array( 6 6 'simulate' => isset($_POST['simulate']), 7 'use_high' => isset($_POST['use_high']),8 7 'cat_id' => isset($_POST['cat_id']) ? (int)$_POST['cat_id'] : 0, 9 8 'subcats_included' => isset($_POST['subcats_included']), … … 12 11 $sync_options = array( 13 12 'simulate' => true, 14 'use_high' => true,15 13 'cat_id' => 0, 16 14 'subcats_included' => true, … … 35 33 36 34 $query=' 37 SELECT id,path,lat,lon ,has_high35 SELECT id,path,lat,lon 38 36 FROM '.IMAGES_TABLE.' INNER JOIN '.IMAGE_CATEGORY_TABLE.' ON id=image_id 39 37 WHERE category_id IN ('.implode(',', $cat_ids).') … … 43 41 { 44 42 $query=' 45 SELECT id,path,lat,lon ,has_high43 SELECT id,path,lat,lon 46 44 FROM '.IMAGES_TABLE; 47 45 } … … 53 51 { 54 52 $filename = $image['path']; 55 if ($sync_options['use_high'] and $image['has_high']=='true')56 $filename = get_high_path($image);57 53 $exif = @read_exif_data( $filename ); 58 54 if ( empty($exif) ) … … 110 106 array( 111 107 'SUBCATS_INCLUDED_CHECKED' => $sync_options['subcats_included'] ? 'checked="checked"' : '', 112 'USE_HIGH_CHECKED' => $sync_options['use_high'] ? 'checked="checked"' : ''113 108 ) 114 109 );
Note: See TracChangeset
for help on using the changeset viewer.