Changeset 2764552
- Timestamp:
- 08/01/2022 12:55:14 PM (4 years ago)
- Location:
- daisycon/trunk
- Files:
-
- 3 added
- 1 deleted
- 14 edited
-
assets/img/header_market_research.png (added)
-
daisycon.php (modified) (5 diffs)
-
includes/database.php (modified) (1 diff)
-
includes/general.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
tools/accounting.php (modified) (6 diffs)
-
tools/all_in_one.php (modified) (6 diffs)
-
tools/car_insurance.php (modified) (4 diffs)
-
tools/car_lease.php (modified) (6 diffs)
-
tools/dating.php (modified) (7 diffs)
-
tools/energy_nl.php (modified) (7 diffs)
-
tools/health_insurance.php (modified) (12 diffs)
-
tools/lease_car.php (deleted)
-
tools/market_research.php (added)
-
tools/prefill_energy_nl.php (modified) (2 diffs)
-
tools/vacation.php (modified) (3 diffs)
-
tools/vakantie.php (added)
-
tools/wine.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
daisycon/trunk/daisycon.php
r2717137 r2764552 6 6 Description: Promoot adverteerders van Daisycon eenvoudig en goed met de verschillende professionele prijsvergelijkers voor WordPress-publishers. Met deze plugin kun je eenvoudig en snel een vergelijkingssite maken. De plugin bevat op dit moment alle vergelijkers en zal regelmatig worden aangevuld met nieuwe tools, dus houd de updates in de gaten! 7 7 Author: Daisycon 8 Version: 4. 6.48 Version: 4.7 9 9 Author URI: https://www.daisycon.com 10 10 */ … … 15 15 16 16 // Required files for tools (alphabet) 17 require_once 'tools/accounting.php'; 17 18 require_once 'tools/all_in_one.php'; 18 require_once 'tools/accounting.php';19 19 require_once 'tools/car_insurance.php'; 20 require_once 'tools/car_lease.php'; 20 21 require_once 'tools/dating.php'; 21 22 require_once 'tools/energy_nl.php'; 22 23 require_once 'tools/health_insurance.php'; 23 require_once 'tools/ car_lease.php';24 require_once 'tools/market_research.php'; 24 25 require_once 'tools/prefill_energy_nl.php'; 25 26 require_once 'tools/simonly.php'; … … 39 40 $plugin_general = new generalDaisyconSettings; 40 41 $plugin_health_insurance = new generalDaisyconHealth; 42 $plugin_market_research = new generalDaisyconMarketResearch; 41 43 $plugin_prefill_energy_nl = new generalDaisyconPrefillEnergyNL; 42 44 $plugin_simonly = new generalDaisyconSimonly; … … 56 58 add_submenu_page('daisycontools', 'Energie', 'Energie', 'manage_options', 'energie', array('generalDaisyconEnergyNL', 'adminDaisyconEnergyNL')); 57 59 add_submenu_page('daisycontools', 'Leaseauto', 'Leaseauto', 'manage_options', 'carlease', array('generalDaisyconCarLease', 'adminDaisyconCarLease')); 60 add_submenu_page('daisycontools', 'Marktonderzoek', 'Marktonderzoek', 'manage_options', 'marktonderzoekvergelijker', array('generalDaisyconMarketResearch', 'adminDaisyconMarketResearch')); 58 61 add_submenu_page('daisycontools', 'Sim only', 'Sim only', 'manage_options', 'simonly', array('generalDaisyconSimonly', 'adminDaisyconSimonly')); 59 62 add_submenu_page('daisycontools', 'Telecom', 'Telecom', 'manage_options', 'telecom', array('generalDaisyconTelecom', 'adminDaisyconTelecom')); … … 91 94 add_shortcode('daisycon_energy_nl', array('generalDaisyconEnergyNL', 'frontDaisyconEnergyNL')); 92 95 add_shortcode('daisycon_health_insurance', array('generalDaisyconHealth', 'frontDaisyconHealth')); 96 add_shortcode('daisycon_market_research', array('generalDaisyconMarketResearch', 'frontDaisyconMarketResearch')); 93 97 add_shortcode('daisycon_prefill_energy_nl', array('generalDaisyconPrefillEnergyNL', 'frontDaisyconPrefillEnergyNL')); 94 98 add_shortcode('daisycon_simonly', array('generalDaisyconSimonly', 'frontDaisyconSimonly')); -
daisycon/trunk/includes/database.php
r2690651 r2764552 19 19 'general', 20 20 'health_insurance', 21 'market_research', 21 22 'prefill_energy_nl', 22 23 'vacation', -
daisycon/trunk/includes/general.php
r2717137 r2764552 96 96 <option value="dating"' . (false === empty($_POST['tool']) && 'dating' === $_POST['tool'] ? 'selected="selected"' : '') . '>Dating</option> 97 97 <option value="energy_nl"' . (false === empty($_POST['tool']) && 'energy_nl' === $_POST['tool'] ? 'selected="selected"' : '') . '>Energie</option> 98 <option value="health_insurance"' . (false === empty($_POST['tool']) && 'health_insurance' === $_POST['tool'] ? 'selected="selected"' : '') . '>Zorgverzekering</option>99 98 <option value="car_lease"' . (false === empty($_POST['tool']) && 'car_lease' === $_POST['tool'] ? 'selected="selected"' : '') . '>Leaseauto</option> 100 <option value=" prefill_energy_nl"' . (false === empty($_POST['tool']) && 'prefill_energy_nl' === $_POST['tool'] ? 'selected="selected"' : '') . '>Prefill energie</option>99 <option value="market_research"' . (false === empty($_POST['tool']) && 'market_research' === $_POST['tool'] ? 'selected="selected"' : '') . '>Marktonderzoek</option> 101 100 <option value="vacation"' . (false === empty($_POST['tool']) && 'vacation' === $_POST['tool'] ? 'selected="selected"' : '') . '>Vakantie</option> 102 101 <option value="wine"' . (false === empty($_POST['tool']) && 'wine' === $_POST['tool'] ? 'selected="selected"' : '') . '>Wijn</option> 102 <option value="health_insurance"' . (false === empty($_POST['tool']) && 'health_insurance' === $_POST['tool'] ? 'selected="selected"' : '') . '>Zorgverzekering</option> 103 <option value="prefill_energy_nl"' . (false === empty($_POST['tool']) && 'prefill_energy_nl' === $_POST['tool'] ? 'selected="selected"' : '') . '>Prefill energie</option> 103 104 </select> 104 105 <span class="dc_settings_row_value_description">alleen mogelijk met vernieuwde tools, vandaar dat een aantal nog ontbreekt.</span> -
daisycon/trunk/readme.txt
r2717137 r2764552 3 3 Tags: Affiliate marketing, xml feed, vergelijken, vergelijkingssite, Daisycon 4 4 Requires at least: 3.4.2 5 Tested up to: 5.9.25 Tested up to: 6.0.1 6 6 Donate link: 7 7 Stable tag: 4.0 … … 76 76 77 77 == Changelog == 78 79 = 4.7 = 80 * Marktonderzoek vergelijker beheer en tool toegevoegd 81 * Vakantievergelijker filters bijgewerkt 82 78 83 = 4.6.5 = 79 84 * Autoverzekering verborgen uit overzichten (momenteel geen actieve campagnes) -
daisycon/trunk/tools/accounting.php
r2663419 r2764552 70 70 processData( 71 71 { 72 url : 'https:// tools.daisycon.io/api/accounting/nl-NL/type?language=nl',72 url : 'https://daisycon.tools/api/accounting/nl-NL/type?language=nl', 73 73 } 74 74 ).then((data) => daisycon_load_select('filter_type', data, 4, 1, '" . (false === empty($settings['filter_type']) ? $settings['filter_type'] : '') . "')); … … 76 76 processData( 77 77 { 78 url : 'https:// tools.daisycon.io/api/accounting/nl-NL/company-type?language=nl',78 url : 'https://daisycon.tools/api/accounting/nl-NL/company-type?language=nl', 79 79 } 80 80 ).then((data) => daisycon_load_select('filter_company_type[]', data, 4, 1, '" . (false === empty($settings['filter_company_type']) ? $settings['filter_company_type'] : '') . "')); … … 82 82 processData( 83 83 { 84 url : 'https:// tools.daisycon.io/api/accounting/nl-NL/amount-period?language=nl',84 url : 'https://daisycon.tools/api/accounting/nl-NL/amount-period?language=nl', 85 85 } 86 86 ).then((data) => daisycon_load_select('filter_amount_period', data, 4, 1, '" . (false === empty($settings['filter_amount_period']) ? $settings['filter_amount_period'] : '') . "')); … … 88 88 processData( 89 89 { 90 url : 'https:// tools.daisycon.io/api/accounting/nl-NL/option?language=nl',90 url : 'https://daisycon.tools/api/accounting/nl-NL/option?language=nl', 91 91 } 92 92 ).then((data) => daisycon_load_select('filter_option[]', data, 4, 1, '" . (false === empty($settings['filter_option']) ? $settings['filter_option'] : '') . "')); … … 94 94 processData( 95 95 { 96 url : 'https:// tools.daisycon.io/api/accounting/nl-NL/programs',96 url : 'https://daisycon.tools/api/accounting/nl-NL/programs', 97 97 } 98 98 ).then((data) => daisycon_load_select('filter_program[]', data, 0, 1, '" . (false === empty($settings['filter_program']) ? $settings['filter_program'] : '') . "')); … … 311 311 312 312 // Register files 313 wp_register_script('daisycon_accounting_js', '// tools.daisycon.io/accounting/app.js');313 wp_register_script('daisycon_accounting_js', '//daisycon.tools/accounting/app.js'); 314 314 315 315 // Add files to head -
daisycon/trunk/tools/all_in_one.php
r2663419 r2764552 60 60 processData( 61 61 { 62 url : 'https:// tools.daisycon.io/api/all-in-one/nl-NL/types?language=nl',62 url : 'https://daisycon.tools/api/all-in-one/nl-NL/types?language=nl', 63 63 } 64 64 ).then(function (data) { … … 71 71 processData( 72 72 { 73 url : 'https:// tools.daisycon.io/api/all-in-one/nl-NL/connection-types?language=nl',73 url : 'https://daisycon.tools/api/all-in-one/nl-NL/connection-types?language=nl', 74 74 } 75 75 ).then((data) => daisycon_load_select('connection_type[]', data, 4, 1, '" . (false === empty($settings['connection_type']) ? $settings['connection_type'] : '') . "')); … … 77 77 processData( 78 78 { 79 url : 'https:// tools.daisycon.io/api/all-in-one/nl-NL/internet-speeds?language=nl',79 url : 'https://daisycon.tools/api/all-in-one/nl-NL/internet-speeds?language=nl', 80 80 } 81 81 ).then((data) => daisycon_load_select('download_speed[]', data, 4, 1, '" . (false === empty($settings['download_speed']) ? $settings['download_speed'] : '') . "')); … … 83 83 processData( 84 84 { 85 url : 'https:// tools.daisycon.io/api/all-in-one/nl-NL/television-options?language=nl',85 url : 'https://daisycon.tools/api/all-in-one/nl-NL/television-options?language=nl', 86 86 } 87 87 ).then((data) => daisycon_load_select('television_option[]', data, 4, 1, '" . (false === empty($settings['television_option']) ? $settings['television_option'] : '') . "')); … … 89 89 processData( 90 90 { 91 url : 'https:// tools.daisycon.io/api/all-in-one/nl-NL/providers',91 url : 'https://daisycon.tools/api/all-in-one/nl-NL/providers', 92 92 } 93 93 ).then((data) => daisycon_load_select('providers[]', data, 0, 1, '" . (false === empty($settings['providers']) ? $settings['providers'] : '') . "')); … … 260 260 261 261 // Register files 262 wp_register_script('daisycon_all_in_one_js', '// tools.daisycon.io/all-in-one/app.js');262 wp_register_script('daisycon_all_in_one_js', '//daisycon.tools/all-in-one/app.js'); 263 263 264 264 // Add files to head -
daisycon/trunk/tools/car_insurance.php
r2663419 r2764552 62 62 processData( 63 63 { 64 url : 'https:// tools.daisycon.io/api/car-insurance/nl-NL/coverages',64 url : 'https://daisycon.tools/api/car-insurance/nl-NL/coverages', 65 65 } 66 66 ).then((data) => daisycon_load_select('coverage', data, 0, 1, '" . (false === empty($settings['coverage']) ? $settings['coverage'] : '') . "')); … … 68 68 processData( 69 69 { 70 url : 'https:// tools.daisycon.io/api/car-insurance/nl-NL/km-years',70 url : 'https://daisycon.tools/api/car-insurance/nl-NL/km-years', 71 71 } 72 72 ).then((data) => daisycon_load_select('km_year', data, 0, 1, '" . (false === empty($settings['km_year']) ? $settings['km_year'] : '') . "')); … … 74 74 processData( 75 75 { 76 url : 'https:// tools.daisycon.io/api/car-insurance/nl-NL/payment-terms',76 url : 'https://daisycon.tools/api/car-insurance/nl-NL/payment-terms', 77 77 } 78 78 ).then((data) => daisycon_load_select('payment_term', data, 0, 1, '" . (false === empty($settings['payment_term']) ? $settings['payment_term'] : '') . "')); … … 251 251 252 252 // Register files 253 wp_register_script('daisycon_car_insurance_js', '// tools.daisycon.io/car-insurance/app.js');253 wp_register_script('daisycon_car_insurance_js', '//daisycon.tools/car-insurance/app.js'); 254 254 255 255 // Add files to head -
daisycon/trunk/tools/car_lease.php
r2663515 r2764552 83 83 processData( 84 84 { 85 url : 'https:// tools.daisycon.io/api/car-lease/nl-NL/fuel-type?language=nl',85 url : 'https://daisycon.tools/api/car-lease/nl-NL/fuel-type?language=nl', 86 86 } 87 87 ).then((data) => daisycon_load_select('filter_fuel_type_value[]', data, 4, 1, '" . (false === empty($settings['filter_fuel_type_value']) ? $settings['filter_fuel_type_value'] : '') . "')); … … 89 89 processData( 90 90 { 91 url : 'https:// tools.daisycon.io/api/car-lease/nl-NL/gear-system?language=nl',91 url : 'https://daisycon.tools/api/car-lease/nl-NL/gear-system?language=nl', 92 92 } 93 93 ).then((data) => daisycon_load_select('filter_gear_system_value[]', data, 4, 1, '" . (false === empty($settings['filter_gear_system_value']) ? $settings['filter_gear_system_value'] : '') . "')); … … 95 95 processData( 96 96 { 97 url : 'https:// tools.daisycon.io/api/car-lease/nl-NL/condition?language=nl',97 url : 'https://daisycon.tools/api/car-lease/nl-NL/condition?language=nl', 98 98 } 99 99 ).then((data) => daisycon_load_select('filter_condition_value[]', data, 4, 1, '" . (false === empty($settings['filter_condition_value']) ? $settings['filter_condition_value'] : '') . "')); … … 101 101 processData( 102 102 { 103 url : 'https:// tools.daisycon.io/api/car-lease/nl-NL/body-type?language=nl',103 url : 'https://daisycon.tools/api/car-lease/nl-NL/body-type?language=nl', 104 104 } 105 105 ).then((data) => daisycon_load_select('filter_body_type_value[]', data, 4, 1, '" . (false === empty($settings['filter_body_type_value']) ? $settings['filter_body_type_value'] : '') . "')); … … 107 107 processData( 108 108 { 109 url : 'https:// tools.daisycon.io/api/car-lease/nl-NL/brand?language=nl',109 url : 'https://daisycon.tools/api/car-lease/nl-NL/brand?language=nl', 110 110 } 111 111 ).then((data) => daisycon_load_select('filter_brand_value[]', data, 4, 1, '" . (false === empty($settings['filter_brand_value']) ? $settings['filter_brand_value'] : '') . "')); … … 321 321 322 322 // Register files 323 wp_register_script('daisycon_car_lease_js', '// tools.daisycon.io/car-lease/app.js');323 wp_register_script('daisycon_car_lease_js', '//daisycon.tools/car-lease/app.js'); 324 324 325 325 // Add files to head -
daisycon/trunk/tools/dating.php
r2706303 r2764552 56 56 processData( 57 57 { 58 url : 'https:// tools.daisycon.io/api/dating/nl-NL/locale?language=nl',58 url : 'https://daisycon.tools/api/dating/nl-NL/locale?language=nl', 59 59 } 60 60 ).then((data) => daisycon_load_select('locale', data, 4, 1, '" . (false === empty($settings['locale']) ? $settings['locale'] : 'nl-NL') . "')); … … 62 62 processData( 63 63 { 64 url : 'https:// tools.daisycon.io/api/dating/targets/nl-NL',64 url : 'https://daisycon.tools/api/dating/targets/nl-NL', 65 65 } 66 66 ).then((data) => daisycon_load_select('targets[]', data, 0, 2, '" . (false === empty($settings['targets']) ? $settings['targets'] : '') . "')); … … 68 68 processData( 69 69 { 70 url : 'https:// tools.daisycon.io/api/dating/ages/nl-NL',70 url : 'https://daisycon.tools/api/dating/ages/nl-NL', 71 71 } 72 72 ).then((data) => daisycon_load_select('ages[]', data, 0, 2, '" . (false === empty($settings['ages']) ? $settings['ages'] : '') . "')); … … 74 74 processData( 75 75 { 76 url : 'https:// tools.daisycon.io/api/dating/categories/nl-NL',76 url : 'https://daisycon.tools/api/dating/categories/nl-NL', 77 77 } 78 78 ).then((data) => daisycon_load_select('categories[]', data, 0, 2, '" . (false === empty($settings['categories']) ? $settings['categories'] : '') . "')); … … 80 80 processData( 81 81 { 82 url : 'https:// tools.daisycon.io/api/dating/intentions/nl-NL',82 url : 'https://daisycon.tools/api/dating/intentions/nl-NL', 83 83 } 84 84 ).then((data) => daisycon_load_select('intentions[]', data, 0, 2, '" . (false === empty($settings['intentions']) ? $settings['intentions'] : '') . "')); … … 86 86 processData( 87 87 { 88 url : 'https:// tools.daisycon.io/api/dating/options/nl-NL',88 url : 'https://daisycon.tools/api/dating/options/nl-NL', 89 89 } 90 90 ).then((data) => daisycon_load_select('options[]', data, 0, 2, '" . (false === empty($settings['options']) ? $settings['options'] : '') . "')); … … 259 259 260 260 // Register files 261 wp_register_script('daisycon_dating_js', '// tools.daisycon.io/dating/app.js');261 wp_register_script('daisycon_dating_js', '//daisycon.tools/dating/app.js'); 262 262 263 263 // Add files to head -
daisycon/trunk/tools/energy_nl.php
r2663419 r2764552 61 61 processData( 62 62 { 63 url : 'https:// tools.daisycon.io/api/energy/netherlands/nl-NL/sustainability?energy_sustainability_type=electricity',63 url : 'https://daisycon.tools/api/energy/netherlands/nl-NL/sustainability?energy_sustainability_type=electricity', 64 64 } 65 65 ).then((data) => daisycon_load_select('sustainability_electricity[]', data, 0, 2, '" . (false === empty($settings['sustainability_electricity']) ? $settings['sustainability_electricity'] : '') . "')); … … 67 67 processData( 68 68 { 69 url : 'https:// tools.daisycon.io/api/energy/netherlands/nl-NL/sustainability?energy_sustainability_type=gas',69 url : 'https://daisycon.tools/api/energy/netherlands/nl-NL/sustainability?energy_sustainability_type=gas', 70 70 } 71 71 ).then((data) => daisycon_load_select('sustainability_gas[]', data, 0, 2, '" . (false === empty($settings['sustainability_gas']) ? $settings['sustainability_gas'] : '') . "')); … … 73 73 processData( 74 74 { 75 url : 'https:// tools.daisycon.io/api/energy/netherlands/nl-NL/duration?language=nl',75 url : 'https://daisycon.tools/api/energy/netherlands/nl-NL/duration?language=nl', 76 76 } 77 77 ).then((data) => daisycon_load_select('duration[]', data, 4, 1, '" . (false === empty($settings['duration']) ? $settings['duration'] : '') . "')); … … 79 79 processData( 80 80 { 81 url : 'https:// tools.daisycon.io/api/energy/netherlands/nl-NL/amount-period?language=nl',81 url : 'https://daisycon.tools/api/energy/netherlands/nl-NL/amount-period?language=nl', 82 82 } 83 83 ).then((data) => daisycon_load_select('amount_period', data, 4, 1, '" . (false === empty($settings['amount_period']) ? $settings['amount_period'] : '') . "')); … … 85 85 processData( 86 86 { 87 url : 'https:// tools.daisycon.io/api/energy/netherlands/nl-NL/discount?language=nl',87 url : 'https://daisycon.tools/api/energy/netherlands/nl-NL/discount?language=nl', 88 88 } 89 89 ).then((data) => daisycon_load_select('discount', data, 4, 1, '" . (false === empty($settings['discount']) ? $settings['discount'] : '') . "')); … … 91 91 processData( 92 92 { 93 url : 'https:// tools.daisycon.io/api/energy/netherlands/nl-NL/providers?energy_provider_filter=true',93 url : 'https://daisycon.tools/api/energy/netherlands/nl-NL/providers?energy_provider_filter=true', 94 94 } 95 95 ).then((data) => daisycon_load_select('providers[]', data, 0, 1, '" . (false === empty($settings['providers']) ? $settings['providers'] : '') . "')); … … 280 280 281 281 // Register files 282 wp_register_script('daisycon_energy_nl_js', '// tools.daisycon.io/energy-nl/app.js');282 wp_register_script('daisycon_energy_nl_js', '//daisycon.tools/energy-nl/app.js'); 283 283 284 284 // Add files to head -
daisycon/trunk/tools/health_insurance.php
r2663419 r2764552 66 66 processData( 67 67 { 68 url : 'https:// tools.daisycon.io/api/health-insurance/nl-NL/choice-in-healthcare?language=nl',68 url : 'https://daisycon.tools/api/health-insurance/nl-NL/choice-in-healthcare?language=nl', 69 69 } 70 70 ).then((data) => daisycon_load_select('choice_in_healthcare', data, 4, 1, '" . (false === empty($settings['choice_in_healthcare']) ? $settings['choice_in_healthcare'] : '') . "')); … … 72 72 processData( 73 73 { 74 url : 'https:// tools.daisycon.io/api/health-insurance/nl-NL/deductible-excess?language=nl',74 url : 'https://daisycon.tools/api/health-insurance/nl-NL/deductible-excess?language=nl', 75 75 } 76 76 ).then((data) => daisycon_load_select('deductible_excess', data, 4, 1, '" . (false === empty($settings['deductible_excess']) ? $settings['deductible_excess'] : '') . "')); … … 78 78 processData( 79 79 { 80 url : 'https:// tools.daisycon.io/api/health-insurance/nl-NL/physiotherapy?language=nl',80 url : 'https://daisycon.tools/api/health-insurance/nl-NL/physiotherapy?language=nl', 81 81 } 82 82 ).then((data) => daisycon_load_select('physiotherapy', data, 4, 1, '" . (false === empty($settings['physiotherapy']) ? $settings['physiotherapy'] : '') . "')); … … 84 84 processData( 85 85 { 86 url : 'https:// tools.daisycon.io/api/health-insurance/nl-NL/eye-care?language=nl',86 url : 'https://daisycon.tools/api/health-insurance/nl-NL/eye-care?language=nl', 87 87 } 88 88 ).then((data) => daisycon_load_select('eye_care', data, 4, 1, '" . (false === empty($settings['eye_care']) ? $settings['eye_care'] : '') . "')); … … 90 90 processData( 91 91 { 92 url : 'https:// tools.daisycon.io/api/health-insurance/nl-NL/alternative-healthcare?language=nl',92 url : 'https://daisycon.tools/api/health-insurance/nl-NL/alternative-healthcare?language=nl', 93 93 } 94 94 ).then((data) => daisycon_load_select('alternative_healthcare', data, 4, 1, '" . (false === empty($settings['alternative_healthcare']) ? $settings['alternative_healthcare'] : '') . "')); … … 96 96 processData( 97 97 { 98 url : 'https:// tools.daisycon.io/api/health-insurance/nl-NL/medications?language=nl',98 url : 'https://daisycon.tools/api/health-insurance/nl-NL/medications?language=nl', 99 99 } 100 100 ).then((data) => daisycon_load_select('medications', data, 4, 1, '" . (false === empty($settings['medications']) ? $settings['medications'] : '') . "')); … … 102 102 processData( 103 103 { 104 url : 'https:// tools.daisycon.io/api/health-insurance/nl-NL/vaccinations?language=nl',104 url : 'https://daisycon.tools/api/health-insurance/nl-NL/vaccinations?language=nl', 105 105 } 106 106 ).then((data) => daisycon_load_select('vaccinations', data, 4, 1, '" . (false === empty($settings['vaccinations']) ? $settings['vaccinations'] : '') . "')); … … 108 108 processData( 109 109 { 110 url : 'https:// tools.daisycon.io/api/health-insurance/nl-NL/dental-insurance-amount?language=nl',110 url : 'https://daisycon.tools/api/health-insurance/nl-NL/dental-insurance-amount?language=nl', 111 111 } 112 112 ).then((data) => daisycon_load_select('dental_insurance_amount', data, 4, 1, '" . (false === empty($settings['dental_insurance_amount']) ? $settings['dental_insurance_amount'] : '') . "')); … … 114 114 processData( 115 115 { 116 url : 'https:// tools.daisycon.io/api/health-insurance/nl-NL/dental-insurance-percentage?language=nl',116 url : 'https://daisycon.tools/api/health-insurance/nl-NL/dental-insurance-percentage?language=nl', 117 117 } 118 118 ).then((data) => daisycon_load_select('dental_insurance_percentage', data, 4, 1, '" . (false === empty($settings['dental_insurance_percentage']) ? $settings['dental_insurance_percentage'] : '') . "')); … … 120 120 processData( 121 121 { 122 url : 'https:// tools.daisycon.io/api/health-insurance/nl-NL/orthodontics?language=nl',122 url : 'https://daisycon.tools/api/health-insurance/nl-NL/orthodontics?language=nl', 123 123 } 124 124 ).then((data) => daisycon_load_select('orthodontics', data, 4, 1, '" . (false === empty($settings['orthodontics']) ? $settings['orthodontics'] : '') . "')); … … 126 126 processData( 127 127 { 128 url : 'https:// tools.daisycon.io/api/health-insurance/nl-NL/providers',128 url : 'https://daisycon.tools/api/health-insurance/nl-NL/providers', 129 129 } 130 130 ).then((data) => daisycon_load_select('providers[]', data, 0, 1, '" . (false === empty($settings['providers']) ? $settings['providers'] : '') . "')); … … 339 339 340 340 // Register files 341 wp_register_script('daisycon_health_insurance_js', '// tools.daisycon.io/health-insurance/app.js');341 wp_register_script('daisycon_health_insurance_js', '//daisycon.tools/health-insurance/app.js'); 342 342 343 343 // Add files to head -
daisycon/trunk/tools/prefill_energy_nl.php
r2663419 r2764552 58 58 processData( 59 59 { 60 url : 'https:// tools.daisycon.io/api/energy/netherlands/nl-NL/meter?language=nl',60 url : 'https://daisycon.tools/api/energy/netherlands/nl-NL/meter?language=nl', 61 61 } 62 62 ).then((data) => daisycon_load_select('meter', data, 4, 1, '" . (false === empty($settings['meter']) ? $settings['meter'] : '') . "')); … … 214 214 215 215 // Register files 216 wp_register_script('daisycon_prefill_energy_nl_js', '// tools.daisycon.io/prefill-energy-nl/app.js');216 wp_register_script('daisycon_prefill_energy_nl_js', '//daisycon.tools/prefill-energy-nl/app.js'); 217 217 218 218 // Add files to head -
daisycon/trunk/tools/vacation.php
r2676426 r2764552 165 165 166 166 let extraUrl = ''; 167 168 extraUrl += '&q=vakantie&per_page=1&standard=18';169 extraUrl += '&aggregations=accommodation_type,category,departure_city,destination_city,destination_country,destination_region,programs,lowest_price,star_rating,travel_transportation_type';170 extraUrl += '&aggregations_size=15,15,100,100,100,100,15,10,10,15';171 extraUrl += '&aggregations_sort=asc,asc,asc,asc,asc,asc,default,default,default,asc';172 167 173 168 extraUrl += (0 < accommodationType.length ? '&filter[accommodation_type]=' + accommodationType : ''); … … 184 179 processData( 185 180 { 186 url : 'https:// tools.daisycon.io/api/vacation/nl-NL/products?language=" . $settings['language'] . "' + extraUrl,181 url : 'https://daisycon.tools/api/vacation/nl-NL/product-filters?language=" . $settings['language'] . "' + extraUrl, 187 182 } 188 183 ).then(function (data) { 189 if (undefined !== data .aggregations) {190 191 let dataAccommodationType = data.a ggregations.accommodation_type;192 let dataDepartureCity = data. aggregations.departure_city;193 let dataDestinationCity = data. aggregations.destination_city;194 let dataDestinationCountry = data. aggregations.destination_country;195 let dataDestinationRegion = data. aggregations.destination_region;196 let dataLowestPrice = data. aggregations.lowest_price;197 let dataStarRating = data. aggregations.star_rating;198 let dataTravelTransportationType = data. aggregations.travel_transportation_type;184 if (undefined !== data) { 185 186 let dataAccommodationType = data.accommodation_type; 187 let dataDepartureCity = data.departure_city; 188 let dataDestinationCity = data.destination_city; 189 let dataDestinationCountry = data.destination_country; 190 let dataDestinationRegion = data.destination_region; 191 let dataLowestPrice = data.lowest_price; 192 let dataStarRating = data.star_rating; 193 let dataTravelTransportationType = data.travel_transportation_type; 199 194 200 195 daisycon_load_select('filter_accommodation_type_value[]', dataAccommodationType, 3, 0, accommodationType); … … 447 442 448 443 // Register files 449 wp_register_script('daisycon_vacation_js', 'https:// tools.daisycon.io/vacation/app.js');444 wp_register_script('daisycon_vacation_js', 'https://daisycon.tools/vacation/app.js'); 450 445 451 446 // Add files to head -
daisycon/trunk/tools/wine.php
r2676426 r2764552 116 116 processData( 117 117 { 118 url : 'https:// tools.daisycon.io/api/wine/" . $settings['locale'] . "/products?language=" . $settings['language'] . "',118 url : 'https://daisycon.tools/api/wine/" . $settings['locale'] . "/products?language=" . $settings['language'] . "', 119 119 } 120 120 ).then(function (data) { … … 355 355 356 356 // Register files 357 wp_register_script('daisycon_wine_js', '// tools.daisycon.io/wine/app.js');357 wp_register_script('daisycon_wine_js', '//daisycon.tools/wine/app.js'); 358 358 359 359 // Add files to head
Note: See TracChangeset
for help on using the changeset viewer.