Changeset 2964957
- Timestamp:
- 09/10/2023 01:13:50 PM (3 years ago)
- Location:
- ota-sync-booking-engine-widget
- Files:
-
- 2 edited
-
tags/1.2.4/otasync-widget.php (modified) (1 diff)
-
trunk/otasync-widget.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ota-sync-booking-engine-widget/tags/1.2.4/otasync-widget.php
r2959760 r2964957 321 321 $result2=get_between_data($result, '{', '}'); 322 322 $destinations=json_decode("{".$result2."}"); 323 //print_r($destinations);323 print_r($destinations); 324 324 curl_close($ch); 325 if(isset($destinations-> addresses)){325 if(isset($destinations->cities)){ 326 326 ?> 327 327 <select style="border:solid 1px #000" id="destination_s_" class="form-control" name="otasync_w_destinations" > 328 328 <?php 329 329 330 foreach($destinations-> addresses as $destination){330 foreach($destinations->cities as $destination){ 331 331 ?><option value="<?php echo $destination; ?>" <?php if(get_option( 'otasync_w_destinations')==$destination) echo "selected"; ?>><?php echo $destination; ?></option><?php 332 332 } -
ota-sync-booking-engine-widget/trunk/otasync-widget.php
r2959756 r2964957 321 321 $result2=get_between_data($result, '{', '}'); 322 322 $destinations=json_decode("{".$result2."}"); 323 //print_r($destinations);323 print_r($destinations); 324 324 curl_close($ch); 325 if(isset($destinations-> addresses)){325 if(isset($destinations->cities)){ 326 326 ?> 327 327 <select style="border:solid 1px #000" id="destination_s_" class="form-control" name="otasync_w_destinations" > 328 328 <?php 329 329 330 foreach($destinations-> addresses as $destination){330 foreach($destinations->cities as $destination){ 331 331 ?><option value="<?php echo $destination; ?>" <?php if(get_option( 'otasync_w_destinations')==$destination) echo "selected"; ?>><?php echo $destination; ?></option><?php 332 332 }
Note: See TracChangeset
for help on using the changeset viewer.