Changeset 1236059
- Timestamp:
- 09/02/2015 06:52:47 AM (11 years ago)
- Location:
- solid-earth-spring-api/trunk
- Files:
-
- 4 edited
-
menu.php (modified) (8 diffs)
-
readme.txt (modified) (2 diffs)
-
shortcode.php (modified) (4 diffs)
-
spring-api.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
solid-earth-spring-api/trunk/menu.php
r1186905 r1236059 14 14 if(isset($_POST["main"])) { 15 15 $apikey = $_POST["apikey"]; 16 17 // YF 27-08-2015 Start. 18 update_option( 'sesa_apikey', $apikey ); 19 // End. 20 16 21 $sitename = $_POST["siteselect"]; 17 22 $template = stripslashes($_POST["template"]); … … 24 29 25 30 $data = SPRINGAPIWP_get_data('spring.txt'); 31 32 // YF 27-08-2015 Start. 33 $sesa_apikey = get_option( 'sesa_apikey' ); 34 if ( $sesa_apikey ) { 35 $data[0] = $sesa_apikey; 36 } 37 // End. 26 38 27 39 $default_template = ' … … 90 102 if(isset($_POST["listing"])) { 91 103 $apikey = $_POST["apikey"]; 104 105 // YF 27-08-2015 Start. 106 update_option( 'sesa_apikey', $apikey ); 107 // End. 108 92 109 $sitename = $_POST["siteselect"]; 93 110 $templatePost = stripslashes($_POST["template"]); … … 102 119 103 120 $data = SPRINGAPIWP_get_data('listingRender.txt'); 121 122 // YF 27-08-2015 Start. 123 $sesa_apikey = get_option( 'sesa_apikey' ); 124 if ( $sesa_apikey ) { 125 $data[0] = $sesa_apikey; 126 } 127 // End. 104 128 105 129 $default_template = ' … … 231 255 if(isset($_POST["quick"])) { 232 256 $apikey = $_POST["apikey"]; 257 258 // YF 27-08-2015 Start. 259 update_option( 'sesa_apikey', $apikey ); 260 // End. 261 233 262 $sitename = $_POST["siteselect"]; 234 263 $template = stripslashes($_POST["template"]); … … 241 270 242 271 $data = SPRINGAPIWP_get_data('quickSearch.txt'); 272 273 // YF 27-08-2015 Start. 274 $sesa_apikey = get_option( 'sesa_apikey' ); 275 if ( $sesa_apikey ) { 276 $data[0] = $sesa_apikey; 277 } 278 // End. 243 279 244 280 $default_template = ' … … 363 399 if(isset($_POST["agent"])) { 364 400 $apikey = $_POST["apikey"]; 401 402 // YF 27-08-2015 Start. 403 update_option( 'sesa_apikey', $apikey ); 404 // End. 405 365 406 $sitename = $_POST["siteselect"]; 366 407 $template = stripslashes($_POST["template"]); … … 372 413 } 373 414 $data = SPRINGAPIWP_get_data('agentPage.txt'); 415 416 // YF 27-08-2015 Start. 417 $sesa_apikey = get_option( 'sesa_apikey' ); 418 if ( $sesa_apikey ) { 419 $data[0] = $sesa_apikey; 420 } 421 // End. 374 422 375 423 $default_template = ' -
solid-earth-spring-api/trunk/readme.txt
r1200473 r1236059 5 5 Requires at least: 3.0.1 6 6 Tested up to: 4.2.2 7 Stable tag: 1.3. 17 Stable tag: 1.3.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 75 75 = 1.3.1 = 76 76 * Minor styling adjustments to the maps and modals 77 78 = 1.3.2 = 79 * Fix sandbox API override bug -
solid-earth-spring-api/trunk/shortcode.php
r1200272 r1236059 8 8 $data = SPRINGAPIWP_get_data('spring.txt'); 9 9 $key = $data[0]; 10 11 // YF 27-08-2015 Start. 12 $sesa_apikey = get_option( 'sesa_apikey' ); 13 if ( $sesa_apikey ) { 14 $key = $sesa_apikey; 15 } 16 // End. 17 10 18 $siteValue = $data[1]; 11 19 $template = $data[2]; … … 67 75 $data = SPRINGAPIWP_get_data('quickSearch.txt'); 68 76 $key = $data[0]; 77 78 // YF 27-08-2015 Start. 79 $sesa_apikey = get_option( 'sesa_apikey' ); 80 if ( $sesa_apikey ) { 81 $key = $sesa_apikey; 82 } 83 // End. 84 69 85 $siteValue = $data[1]; 70 86 $template = $data[2]; … … 436 452 $data = SPRINGAPIWP_get_data('listingRender.txt'); 437 453 $key = $data[0]; 454 455 // YF 27-08-2015 Start. 456 $sesa_apikey = get_option( 'sesa_apikey' ); 457 if ( $sesa_apikey ) { 458 $key = $sesa_apikey; 459 } 460 // End. 461 438 462 $siteValue = $data[1]; 439 463 $template = $data[2]; … … 469 493 470 494 $key = $data[0]; 495 496 // YF 27-08-2015 Start. 497 $sesa_apikey = get_option( 'sesa_apikey' ); 498 if ( $sesa_apikey ) { 499 $key = $sesa_apikey; 500 } 501 // End. 502 471 503 $siteValue = $data[1]; 472 504 $template = $data[2]; -
solid-earth-spring-api/trunk/spring-api.php
r1200473 r1236059 9 9 Description: Solid Earth SPRING API. 10 10 Author: Solid Earth 11 Version: 1.3. 111 Version: 1.3.2 12 12 Author URI: http://solidearth.com/ 13 13 */
Note: See TracChangeset
for help on using the changeset viewer.