Changeset 2656612
- Timestamp:
- 01/12/2022 01:39:42 PM (4 years ago)
- Location:
- roomcloud
- Files:
-
- 6 edited
- 14 copied
-
tags/2.0.7 (copied) (copied from roomcloud/trunk)
-
tags/2.0.7/CSS (copied) (copied from roomcloud/trunk/CSS)
-
tags/2.0.7/CSS/litepicker.css (copied) (copied from roomcloud/trunk/CSS/litepicker.css)
-
tags/2.0.7/JS (copied) (copied from roomcloud/trunk/JS)
-
tags/2.0.7/JS/litepicker.js (copied) (copied from roomcloud/trunk/JS/litepicker.js)
-
tags/2.0.7/JS/litepicker_mobilefriendly.js (copied) (copied from roomcloud/trunk/JS/litepicker_mobilefriendly.js)
-
tags/2.0.7/JS/wp_se1_horizontal_template.js (copied) (copied from roomcloud/trunk/JS/wp_se1_horizontal_template.js) (1 diff)
-
tags/2.0.7/JS/wp_se1_horizontal_template_multi_hotel.js (copied) (copied from roomcloud/trunk/JS/wp_se1_horizontal_template_multi_hotel.js) (1 diff)
-
tags/2.0.7/JS/wp_se1_vertical_template.js (copied) (copied from roomcloud/trunk/JS/wp_se1_vertical_template.js)
-
tags/2.0.7/JS/wp_se2_horizontal_template.js (copied) (copied from roomcloud/trunk/JS/wp_se2_horizontal_template.js) (1 diff)
-
tags/2.0.7/JS/wp_se2_horizontal_template_multi_hotel.js (copied) (copied from roomcloud/trunk/JS/wp_se2_horizontal_template_multi_hotel.js) (1 diff)
-
tags/2.0.7/JS/wp_se2_vertical_template.js (copied) (copied from roomcloud/trunk/JS/wp_se2_vertical_template.js)
-
tags/2.0.7/readme.txt (copied) (copied from roomcloud/trunk/readme.txt) (2 diffs)
-
tags/2.0.7/roomcloud.php (copied) (copied from roomcloud/trunk/roomcloud.php) (8 diffs)
-
trunk/JS/wp_se1_horizontal_template.js (modified) (1 diff)
-
trunk/JS/wp_se1_horizontal_template_multi_hotel.js (modified) (1 diff)
-
trunk/JS/wp_se2_horizontal_template.js (modified) (1 diff)
-
trunk/JS/wp_se2_horizontal_template_multi_hotel.js (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/roomcloud.php (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
roomcloud/tags/2.0.7/JS/wp_se1_horizontal_template.js
r2651357 r2656612 51 51 52 52 jQuery("#travelers_group").click(function(e){ 53 53 drop=jQuery("#traveler_details").prop('outerHTML'); 54 jQuery("#traveler_details").remove(); 55 jQuery("body").append(drop); 56 57 drop_w=jQuery("#travelers_group").width(); 58 jQuery("#traveler_details").css("width", drop_w); 59 60 drop_x=jQuery("#travelers_group").offset().left; 61 drop_y=jQuery("#travelers_group").offset().top; 62 63 jQuery("#traveler_details").css('top', drop_y + jQuery("#travelers_group").outerHeight()); 64 jQuery("#traveler_details").css('left', drop_x); 54 65 jQuery(".rc-dropdown-menu").slideToggle("fast"); 55 66 e.stopPropagation(); -
roomcloud/tags/2.0.7/JS/wp_se1_horizontal_template_multi_hotel.js
r2651357 r2656612 53 53 jQuery("#travelers_group").click(function(e){ 54 54 55 drop=jQuery("#traveler_details").prop('outerHTML'); 56 jQuery("#traveler_details").remove(); 57 jQuery("body").append(drop); 58 59 drop_w=jQuery("#travelers_group").width(); 60 jQuery("#traveler_details").css("width", drop_w); 61 62 drop_x=jQuery("#travelers_group").offset().left; 63 drop_y=jQuery("#travelers_group").offset().top; 64 65 jQuery("#traveler_details").css('top', drop_y + jQuery("#travelers_group").outerHeight()); 66 jQuery("#traveler_details").css('left', drop_x); 67 68 55 69 jQuery(".rc-dropdown-menu").slideToggle("fast"); 56 70 e.stopPropagation(); -
roomcloud/tags/2.0.7/JS/wp_se2_horizontal_template.js
r2651357 r2656612 51 51 jQuery("#travelers_group").click(function(e){ 52 52 53 drop=jQuery("#traveler_details").prop('outerHTML'); 54 jQuery("#traveler_details").remove(); 55 jQuery("body").append(drop); 56 57 drop_w=jQuery("#travelers_group").width(); 58 jQuery("#traveler_details").css("width", drop_w); 59 60 drop_x=jQuery("#travelers_group").offset().left; 61 drop_y=jQuery("#travelers_group").offset().top; 62 63 jQuery("#traveler_details").css('top', drop_y + jQuery("#travelers_group").outerHeight()); 64 jQuery("#traveler_details").css('left', drop_x); 65 66 53 67 jQuery(".rc-dropdown-menu").slideToggle("fast"); 54 68 e.stopPropagation(); -
roomcloud/tags/2.0.7/JS/wp_se2_horizontal_template_multi_hotel.js
r2651357 r2656612 52 52 53 53 jQuery("#travelers_group").click(function(e){ 54 54 drop=jQuery("#traveler_details").prop('outerHTML'); 55 jQuery("#traveler_details").remove(); 56 jQuery("body").append(drop); 57 58 drop_w=jQuery("#travelers_group").width(); 59 jQuery("#traveler_details").css("width", drop_w); 60 61 drop_x=jQuery("#travelers_group").offset().left; 62 drop_y=jQuery("#travelers_group").offset().top; 63 64 jQuery("#traveler_details").css('top', drop_y + jQuery("#travelers_group").outerHeight()); 65 jQuery("#traveler_details").css('left', drop_x); 55 66 56 67 jQuery(".rc-dropdown-menu").slideToggle("fast"); -
roomcloud/tags/2.0.7/readme.txt
r2654532 r2656612 5 5 Requires at least: 3.0.1 6 6 Tested up to: Wordpress 5.8.1 and PHP 8 7 Stable tag: 2.0. 67 Stable tag: 2.0.7 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 55 55 = 2.0.5 = 56 56 added litepicker support 57 = 2.0. 5=57 = 2.0.6 = 58 58 fixed bug on vertical forms 59 = 2.0.7 = 60 updated Javascript 61 fixed bug on plugin positioning 59 62 60 63 == Frequently Asked Questions == -
roomcloud/tags/2.0.7/roomcloud.php
r2654532 r2656612 4 4 * Plugin URI: http://www.roomcloud.net 5 5 * Description: A Plugin to add roomcloud booking form to hotel website using [roomcloud] shortcode 6 * Version: 2.0. 66 * Version: 2.0.7 7 7 * Author: Tecnes Milano Srl 8 8 * Author URI: http://www.roomcloud.net … … 663 663 664 664 665 665 ob_start(); 666 666 667 667 if($atts["page_id"]!=null) … … 973 973 974 974 <?php 975 976 $output_string=ob_get_contents();; 977 ob_end_clean(); 978 return $output_string; 979 975 980 } 976 981 977 982 function rc_booking_v2($atts){ 978 983 984 ob_start(); 979 985 980 986 $host="http://booking.roomcloud.net/be/se1/hotel.jsp?"; … … 1377 1383 function rc_booking_vertical($atts){ 1378 1384 1379 1385 ob_start(); 1386 1380 1387 if($atts["page_id"]!=null) 1381 1388 $host="?page_id=".$atts["page_id"]; … … 1654 1661 </script> 1655 1662 <?php 1663 $output_string=ob_get_contents();; 1664 ob_end_clean(); 1665 return $output_string; 1666 1656 1667 } 1657 1668 1658 1669 function rc_booking_vertical_v2($atts){ 1659 1670 1660 1671 ob_start(); 1672 1673 1661 1674 if($atts["page_id"]!=null) 1662 1675 $host="?page_id=".$atts["page_id"]; … … 1933 1946 </script> 1934 1947 <?php 1948 1949 $output_string=ob_get_contents();; 1950 ob_end_clean(); 1951 return $output_string; 1952 1935 1953 } 1936 1954 1937 1955 function rc_booking_multi($atts){ 1938 1956 1939 1957 ob_start(); 1958 1940 1959 if($atts["page_id"]!=null) 1941 1960 $host="?page_id=".$atts["page_id"]; … … 2266 2285 </script> 2267 2286 <?php 2287 2288 $output_string=ob_get_contents();; 2289 ob_end_clean(); 2290 return $output_string; 2268 2291 } 2269 2292 2270 2293 function rc_booking_multi_v2($atts){ 2271 2294 2272 2295 ob_start(); 2296 2273 2297 if($atts["page_id"]!=null) 2274 2298 $host="?page_id=".$atts["page_id"]; … … 2598 2622 2599 2623 <?php 2624 2625 $output_string=ob_get_contents();; 2626 ob_end_clean(); 2627 return $output_string; 2600 2628 } -
roomcloud/trunk/JS/wp_se1_horizontal_template.js
r2651357 r2656612 51 51 52 52 jQuery("#travelers_group").click(function(e){ 53 53 drop=jQuery("#traveler_details").prop('outerHTML'); 54 jQuery("#traveler_details").remove(); 55 jQuery("body").append(drop); 56 57 drop_w=jQuery("#travelers_group").width(); 58 jQuery("#traveler_details").css("width", drop_w); 59 60 drop_x=jQuery("#travelers_group").offset().left; 61 drop_y=jQuery("#travelers_group").offset().top; 62 63 jQuery("#traveler_details").css('top', drop_y + jQuery("#travelers_group").outerHeight()); 64 jQuery("#traveler_details").css('left', drop_x); 54 65 jQuery(".rc-dropdown-menu").slideToggle("fast"); 55 66 e.stopPropagation(); -
roomcloud/trunk/JS/wp_se1_horizontal_template_multi_hotel.js
r2651357 r2656612 53 53 jQuery("#travelers_group").click(function(e){ 54 54 55 drop=jQuery("#traveler_details").prop('outerHTML'); 56 jQuery("#traveler_details").remove(); 57 jQuery("body").append(drop); 58 59 drop_w=jQuery("#travelers_group").width(); 60 jQuery("#traveler_details").css("width", drop_w); 61 62 drop_x=jQuery("#travelers_group").offset().left; 63 drop_y=jQuery("#travelers_group").offset().top; 64 65 jQuery("#traveler_details").css('top', drop_y + jQuery("#travelers_group").outerHeight()); 66 jQuery("#traveler_details").css('left', drop_x); 67 68 55 69 jQuery(".rc-dropdown-menu").slideToggle("fast"); 56 70 e.stopPropagation(); -
roomcloud/trunk/JS/wp_se2_horizontal_template.js
r2651357 r2656612 51 51 jQuery("#travelers_group").click(function(e){ 52 52 53 drop=jQuery("#traveler_details").prop('outerHTML'); 54 jQuery("#traveler_details").remove(); 55 jQuery("body").append(drop); 56 57 drop_w=jQuery("#travelers_group").width(); 58 jQuery("#traveler_details").css("width", drop_w); 59 60 drop_x=jQuery("#travelers_group").offset().left; 61 drop_y=jQuery("#travelers_group").offset().top; 62 63 jQuery("#traveler_details").css('top', drop_y + jQuery("#travelers_group").outerHeight()); 64 jQuery("#traveler_details").css('left', drop_x); 65 66 53 67 jQuery(".rc-dropdown-menu").slideToggle("fast"); 54 68 e.stopPropagation(); -
roomcloud/trunk/JS/wp_se2_horizontal_template_multi_hotel.js
r2651357 r2656612 52 52 53 53 jQuery("#travelers_group").click(function(e){ 54 54 drop=jQuery("#traveler_details").prop('outerHTML'); 55 jQuery("#traveler_details").remove(); 56 jQuery("body").append(drop); 57 58 drop_w=jQuery("#travelers_group").width(); 59 jQuery("#traveler_details").css("width", drop_w); 60 61 drop_x=jQuery("#travelers_group").offset().left; 62 drop_y=jQuery("#travelers_group").offset().top; 63 64 jQuery("#traveler_details").css('top', drop_y + jQuery("#travelers_group").outerHeight()); 65 jQuery("#traveler_details").css('left', drop_x); 55 66 56 67 jQuery(".rc-dropdown-menu").slideToggle("fast"); -
roomcloud/trunk/readme.txt
r2654532 r2656612 5 5 Requires at least: 3.0.1 6 6 Tested up to: Wordpress 5.8.1 and PHP 8 7 Stable tag: 2.0. 67 Stable tag: 2.0.7 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 55 55 = 2.0.5 = 56 56 added litepicker support 57 = 2.0. 5=57 = 2.0.6 = 58 58 fixed bug on vertical forms 59 = 2.0.7 = 60 updated Javascript 61 fixed bug on plugin positioning 59 62 60 63 == Frequently Asked Questions == -
roomcloud/trunk/roomcloud.php
r2654532 r2656612 4 4 * Plugin URI: http://www.roomcloud.net 5 5 * Description: A Plugin to add roomcloud booking form to hotel website using [roomcloud] shortcode 6 * Version: 2.0. 66 * Version: 2.0.7 7 7 * Author: Tecnes Milano Srl 8 8 * Author URI: http://www.roomcloud.net … … 663 663 664 664 665 665 ob_start(); 666 666 667 667 if($atts["page_id"]!=null) … … 973 973 974 974 <?php 975 976 $output_string=ob_get_contents();; 977 ob_end_clean(); 978 return $output_string; 979 975 980 } 976 981 977 982 function rc_booking_v2($atts){ 978 983 984 ob_start(); 979 985 980 986 $host="http://booking.roomcloud.net/be/se1/hotel.jsp?"; … … 1377 1383 function rc_booking_vertical($atts){ 1378 1384 1379 1385 ob_start(); 1386 1380 1387 if($atts["page_id"]!=null) 1381 1388 $host="?page_id=".$atts["page_id"]; … … 1654 1661 </script> 1655 1662 <?php 1663 $output_string=ob_get_contents();; 1664 ob_end_clean(); 1665 return $output_string; 1666 1656 1667 } 1657 1668 1658 1669 function rc_booking_vertical_v2($atts){ 1659 1670 1660 1671 ob_start(); 1672 1673 1661 1674 if($atts["page_id"]!=null) 1662 1675 $host="?page_id=".$atts["page_id"]; … … 1933 1946 </script> 1934 1947 <?php 1948 1949 $output_string=ob_get_contents();; 1950 ob_end_clean(); 1951 return $output_string; 1952 1935 1953 } 1936 1954 1937 1955 function rc_booking_multi($atts){ 1938 1956 1939 1957 ob_start(); 1958 1940 1959 if($atts["page_id"]!=null) 1941 1960 $host="?page_id=".$atts["page_id"]; … … 2266 2285 </script> 2267 2286 <?php 2287 2288 $output_string=ob_get_contents();; 2289 ob_end_clean(); 2290 return $output_string; 2268 2291 } 2269 2292 2270 2293 function rc_booking_multi_v2($atts){ 2271 2294 2272 2295 ob_start(); 2296 2273 2297 if($atts["page_id"]!=null) 2274 2298 $host="?page_id=".$atts["page_id"]; … … 2598 2622 2599 2623 <?php 2624 2625 $output_string=ob_get_contents();; 2626 ob_end_clean(); 2627 return $output_string; 2600 2628 }
Note: See TracChangeset
for help on using the changeset viewer.