Plugin Directory

Changeset 2704969


Ignore:
Timestamp:
04/05/2022 10:04:45 AM (4 years ago)
Author:
roomcloud
Message:

version 2.0.12

Location:
roomcloud
Files:
2 edited
14 copied

Legend:

Unmodified
Added
Removed
  • roomcloud/tags/2.0.12/readme.txt

    r2692650 r2704969  
    6969= 2.0.11 =
    7070added parameter hide_children (set hide_children=1 to hide children in search options)
    71 
     71= 2.0.12 =
     72added filter parameters property_id (to restrict the search results on a specific Property to use with multiProperties accounts) and room_type_id (to restrict the search results on a specific roomType)
    7273
    7374== Frequently Asked Questions ==
  • roomcloud/tags/2.0.12/roomcloud.php

    r2692650 r2704969  
    44 * Plugin URI: http://www.roomcloud.net
    55 * Description: A Plugin to add roomcloud booking form to hotel website using [roomcloud] shortcode
    6  * Version: 2.0.11
     6 * Version: 2.0.12
    77 * Author: Tecnes Milano Srl
    88 * Author URI: http://www.roomcloud.net
     
    10161016       $hotel="144";
    10171017   
     1018       
     1019    $property_id=$atts["property_id"];
     1020    $room_type_id=$atts["room_type_id"];
     1021   
    10181022    wp_register_script('wp_se2_js_horizontal_template', plugin_dir_url(__FILE__) . '/JS/wp_se2_horizontal_template.js');
    10191023    wp_enqueue_script('wp_se2_js_horizontal_template');
     
    11041108                                        <input type="hidden" name="checkout" id="checkout">
    11051109                                        <input type="hidden" name="hotel" value="<?php echo ($hotel)?>">
    1106 
     1110                                        <?php
     1111                                        if($property_id!=null){
     1112                                           
     1113                                            echo "<input type=\"hidden\" name=\"propertyId\" value=\"".$property_id."\">";
     1114                                        }
     1115                                       
     1116                                        if($room_type_id!=null){
     1117                                           
     1118                                            echo "<input type=\"hidden\" name=\"roomTypeId\" value=\"".$room_type_id."\">";
     1119                                        }
     1120                                       
     1121                                        ?>
    11071122                                       
    11081123                                       
     
    17301745       $hotel="144";
    17311746   
     1747       
     1748   $property_id=$atts["property_id"];
     1749   
     1750   $room_type_id=$atts["room_type_id"];
     1751   
    17321752   $hide_children=$atts["hide_children"];
    17331753   
     
    18311851                                        <input type="hidden" name="checkout" id="checkout">
    18321852                                        <input type="hidden" name="hotel" value="<?php echo ($hotel)?>">
     1853                                        <?php
     1854                                        if($property_id!=null){
     1855                                           
     1856                                            echo ("<input type=\"hidden\" name=\"propertyId\" value=\"".$property_id."\">");
     1857                                           
     1858                                        }
     1859                                        if($room_type_id!=null){
     1860                                           
     1861                                            echo ("<input type=\"hidden\" name=\"roomTypeId\" value=\"".$room_type_id."\">");
     1862                                        }
     1863                                        ?>
    18331864                                    </div>
    18341865                                       
     
    23812412   if($hotel == null)
    23822413       $hotel="144";
     2414   
     2415   $property_id=$atts["property_id"];
     2416   $room_type_id=$atts["room_type_id"];
     2417   
    23832418
    23842419    $hide_children=$atts["hide_children"];
     
    24462481                                                   
    24472482        if($hide_children=='1'){
     2483           
    24482484    ?>                                     
    24492485       
  • roomcloud/trunk/readme.txt

    r2692650 r2704969  
    6969= 2.0.11 =
    7070added parameter hide_children (set hide_children=1 to hide children in search options)
    71 
     71= 2.0.12 =
     72added filter parameters property_id (to restrict the search results on a specific Property to use with multiProperties accounts) and room_type_id (to restrict the search results on a specific roomType)
    7273
    7374== Frequently Asked Questions ==
  • roomcloud/trunk/roomcloud.php

    r2692650 r2704969  
    44 * Plugin URI: http://www.roomcloud.net
    55 * Description: A Plugin to add roomcloud booking form to hotel website using [roomcloud] shortcode
    6  * Version: 2.0.11
     6 * Version: 2.0.12
    77 * Author: Tecnes Milano Srl
    88 * Author URI: http://www.roomcloud.net
     
    10161016       $hotel="144";
    10171017   
     1018       
     1019    $property_id=$atts["property_id"];
     1020    $room_type_id=$atts["room_type_id"];
     1021   
    10181022    wp_register_script('wp_se2_js_horizontal_template', plugin_dir_url(__FILE__) . '/JS/wp_se2_horizontal_template.js');
    10191023    wp_enqueue_script('wp_se2_js_horizontal_template');
     
    11041108                                        <input type="hidden" name="checkout" id="checkout">
    11051109                                        <input type="hidden" name="hotel" value="<?php echo ($hotel)?>">
    1106 
     1110                                        <?php
     1111                                        if($property_id!=null){
     1112                                           
     1113                                            echo "<input type=\"hidden\" name=\"propertyId\" value=\"".$property_id."\">";
     1114                                        }
     1115                                       
     1116                                        if($room_type_id!=null){
     1117                                           
     1118                                            echo "<input type=\"hidden\" name=\"roomTypeId\" value=\"".$room_type_id."\">";
     1119                                        }
     1120                                       
     1121                                        ?>
    11071122                                       
    11081123                                       
     
    17301745       $hotel="144";
    17311746   
     1747       
     1748   $property_id=$atts["property_id"];
     1749   
     1750   $room_type_id=$atts["room_type_id"];
     1751   
    17321752   $hide_children=$atts["hide_children"];
    17331753   
     
    18311851                                        <input type="hidden" name="checkout" id="checkout">
    18321852                                        <input type="hidden" name="hotel" value="<?php echo ($hotel)?>">
     1853                                        <?php
     1854                                        if($property_id!=null){
     1855                                           
     1856                                            echo ("<input type=\"hidden\" name=\"propertyId\" value=\"".$property_id."\">");
     1857                                           
     1858                                        }
     1859                                        if($room_type_id!=null){
     1860                                           
     1861                                            echo ("<input type=\"hidden\" name=\"roomTypeId\" value=\"".$room_type_id."\">");
     1862                                        }
     1863                                        ?>
    18331864                                    </div>
    18341865                                       
     
    23812412   if($hotel == null)
    23822413       $hotel="144";
     2414   
     2415   $property_id=$atts["property_id"];
     2416   $room_type_id=$atts["room_type_id"];
     2417   
    23832418
    23842419    $hide_children=$atts["hide_children"];
     
    24462481                                                   
    24472482        if($hide_children=='1'){
     2483           
    24482484    ?>                                     
    24492485       
Note: See TracChangeset for help on using the changeset viewer.