Changeset 8586 for extensions/edit_gmaps/admin/admin_edit.php
- Timestamp:
- Jan 10, 2011, 4:52:27 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/edit_gmaps/admin/admin_edit.php
r8501 r8586 140 140 ); 141 141 if ( isset($image['lat']) ) 142 $tpl_var['U_MAP'] = rvm_make_map_picture_url( array('image_id'=>$image['id'], 'image_file'=>$image['file']) );142 $tpl_var['U_MAP'] = cl_make_map_picture_url( array('image_id'=>$image['id'], 'image_file'=>$image['file']) ); 143 143 $template->append('thumbnails', $tpl_var); 144 144 } … … 238 238 'U_TN' => get_thumbnail_url($image), 239 239 'TITLE' => get_thumbnail_title($image), 240 'U_MAP' => rvm_make_map_picture_url(240 'U_MAP' => cl_make_map_picture_url( 241 241 array( 242 242 'image_id'=>$image['id'], … … 256 256 257 257 //======================================================================= 258 258 function cl_make_map_picture_url($params) 259 { 260 global $conf; 261 /*if ( empty($conf['gmaps_api_key']) and $_SERVER['SERVER_ADDR']!='127.0.0.1' ) 262 return "";*/ 263 $map_url = make_picture_url($params); 264 return add_url_params($map_url, array('map'=>null) ); 265 } 259 266 ?>
Note: See TracChangeset
for help on using the changeset viewer.