Changeset 3067336
- Timestamp:
- 04/09/2024 07:21:40 AM (2 years ago)
- Location:
- roomcloud
- Files:
-
- 2 edited
- 15 copied
-
tags/2.0.22 (copied) (copied from roomcloud/trunk)
-
tags/2.0.22/CSS/wp_se1_horizontal_template.css (copied) (copied from roomcloud/trunk/CSS/wp_se1_horizontal_template.css)
-
tags/2.0.22/CSS/wp_se1_horizontal_template_multi_hotel.css (copied) (copied from roomcloud/trunk/CSS/wp_se1_horizontal_template_multi_hotel.css)
-
tags/2.0.22/CSS/wp_se1_vertical_template.css (copied) (copied from roomcloud/trunk/CSS/wp_se1_vertical_template.css)
-
tags/2.0.22/CSS/wp_se2_horizontal_template.css (copied) (copied from roomcloud/trunk/CSS/wp_se2_horizontal_template.css)
-
tags/2.0.22/CSS/wp_se2_horizontal_template_multi_hotel.css (copied) (copied from roomcloud/trunk/CSS/wp_se2_horizontal_template_multi_hotel.css)
-
tags/2.0.22/CSS/wp_se2_vertical_template.css (copied) (copied from roomcloud/trunk/CSS/wp_se2_vertical_template.css)
-
tags/2.0.22/JS/wp_se1_horizontal_template.js (copied) (copied from roomcloud/trunk/JS/wp_se1_horizontal_template.js)
-
tags/2.0.22/JS/wp_se1_horizontal_template_multi_hotel.js (copied) (copied from roomcloud/trunk/JS/wp_se1_horizontal_template_multi_hotel.js)
-
tags/2.0.22/JS/wp_se1_vertical_template.js (copied) (copied from roomcloud/trunk/JS/wp_se1_vertical_template.js)
-
tags/2.0.22/JS/wp_se2_horizontal_template.js (copied) (copied from roomcloud/trunk/JS/wp_se2_horizontal_template.js)
-
tags/2.0.22/JS/wp_se2_horizontal_template_multi_hotel.js (copied) (copied from roomcloud/trunk/JS/wp_se2_horizontal_template_multi_hotel.js)
-
tags/2.0.22/JS/wp_se2_vertical_template.js (copied) (copied from roomcloud/trunk/JS/wp_se2_vertical_template.js)
-
tags/2.0.22/readme.txt (copied) (copied from roomcloud/trunk/readme.txt) (2 diffs)
-
tags/2.0.22/roomcloud.php (copied) (copied from roomcloud/trunk/roomcloud.php) (22 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/roomcloud.php (modified) (22 diffs)
Legend:
- Unmodified
- Added
- Removed
-
roomcloud/tags/2.0.22/readme.txt
r3065399 r3067336 6 6 Tested up to: 6.2.2 7 7 Requires PHP: 7 8 Stable tag: 2.0.2 18 Stable tag: 2.0.22 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 82 82 = 2.0.20 = 83 83 added parameter first_dow (0=sunday, 1 monday etc) 84 = 2.0.2 0=84 = 2.0.21 = 85 85 Javascript bug fix 86 = 2.0.22 = 87 Added parameter to hide promocode text field (set hide_pin=1 to hide promocode in search options) 86 88 == Frequently Asked Questions == 87 89 = Do I need a Roomcloud account? = -
roomcloud/tags/2.0.22/roomcloud.php
r3010610 r3067336 699 699 $hotel=$atts["hotel"]; 700 700 if($hotel == null) 701 $hotel=" 144";701 $hotel=""; 702 702 703 703 $showCrossed=$atts["showcrossed"]; … … 708 708 709 709 $hide_children=$atts["hide_children"]; 710 $hide_pin=$atts["hide_pin"]; 711 712 710 713 711 714 wp_register_script('wp_se1_js_horizontal_template', plugin_dir_url(__FILE__) . '/JS/wp_se1_horizontal_template.js'); … … 772 775 <?php 773 776 } 774 ?> 775 777 778 if($hide_pin=='1'){ 779 780 ?> 781 782 <style> 783 784 div.promotional-code-input { 785 786 display:none; 787 } 788 </style> 789 <?php 790 } 791 ?> 776 792 777 793 <div id="search_room_box" class="notranslate"> … … 779 795 <form name="formSearch" id="formSearch" action="https://booking.roomcloud.net/be/se1/hotel.jsp" method="post"> 780 796 797 <?php 798 799 if($hide_pin=='1'){ 800 801 ?> 802 <input type="hidden" name="hide_pin" value="1"> 803 <?php 804 } 805 ?> 806 781 807 <input type="hidden" name="curr" value="<?php echo($curr); ?>"> 782 808 <input type="hidden" name="lang" value="<?php echo($lang); ?>"> … … 1042 1068 1043 1069 $hide_children=$atts["hide_children"]; 1044 1070 $hide_pin=$atts["hide_pin"]; 1071 1045 1072 $showCrossed=$atts["showcrossed"]; 1046 1073 if($showCrossed == null) $showCrossed=""; … … 1053 1080 $hotel=$atts["hotel"]; 1054 1081 if($hotel == null) 1055 $hotel=" 144";1082 $hotel=""; 1056 1083 1057 1084 … … 1121 1148 <?php 1122 1149 } 1123 ?> 1150 if($hide_pin=='1'){ 1151 1152 ?> 1153 1154 <style> 1155 1156 div.promotional-code-input { 1157 1158 display:none; 1159 } 1160 </style> 1161 <?php 1162 } 1163 ?> 1124 1164 1125 1165 … … 1131 1171 <input type="hidden" name="curr" value="<?php echo($curr) ?>"> 1132 1172 <input type="hidden" name="lang" value="<?php echo($lang) ?>"> 1133 1173 <?php 1174 1175 if($hide_pin=='1'){ 1176 1177 ?> 1178 <input type="hidden" name="hide_pin" value="1"> 1179 <?php 1180 } 1181 ?> 1134 1182 <input type="hidden" name="showCrossed" id="showCrossed" value="<?php echo ($showCrossed)?>"> 1135 1183 … … 1487 1535 $hotel=$atts["hotel"]; 1488 1536 if($hotel == null) 1489 $hotel=" 144";1537 $hotel=""; 1490 1538 1491 1539 $hide_children=$atts["hide_children"]; 1492 1540 $hide_pin=$atts["hide_pin"]; 1541 1493 1542 $showCrossed=$atts["showcrossed"]; 1494 1543 if($showCrossed == null) $showCrossed=""; … … 1559 1608 <?php 1560 1609 } 1610 if($hide_pin=='1'){ 1611 1612 ?> 1613 1614 <style> 1615 1616 div.promotional-code-input { 1617 1618 display:none; 1619 } 1620 </style> 1621 <?php 1622 } 1561 1623 ?> 1562 1624 … … 1567 1629 <form name="formSearch" id="formSearch" action="https://booking.roomcloud.net/be/se1/hotel.jsp" method="post"> 1568 1630 1631 <?php 1632 1633 if($hide_pin=='1'){ 1634 1635 ?> 1636 <input type="hidden" name="hide_pin" value="1"> 1637 <?php 1638 } 1639 ?> 1569 1640 <input type="hidden" name="curr" value="<?php echo($curr) ?>"> 1570 1641 <input type="hidden" name="lang" value="<?php echo($lang) ?>"> … … 1802 1873 $hotel=$atts["hotel"]; 1803 1874 if($hotel == null) 1804 $hotel=" 144";1875 $hotel=""; 1805 1876 1806 1877 … … 1810 1881 1811 1882 $hide_children=$atts["hide_children"]; 1812 1883 $hide_pin=$atts["hide_pin"]; 1813 1884 $showCrossed=$atts["showcrossed"]; 1814 1885 if($showCrossed == null) $showCrossed=""; … … 1880 1951 <?php 1881 1952 } 1953 if($hide_pin=='1'){ 1954 1955 ?> 1956 1957 <style> 1958 1959 div.promotional-code-input { 1960 1961 display:none; 1962 } 1963 </style> 1964 <?php 1965 } 1882 1966 ?> 1883 1967 … … 1888 1972 <form name="formSearch" id="formSearch" action="https://booking.roomcloud.net/be/se2/hotel.jsp" method="post"> 1889 1973 1974 <?php 1975 1976 if($hide_pin=='1'){ 1977 1978 ?> 1979 <input type="hidden" name="hide_pin" value="1"> 1980 <?php 1981 } 1982 ?> 1890 1983 <input type="hidden" name="curr" value="<?php echo($curr) ?>"> 1891 1984 <input type="hidden" name="lang" value="<?php echo($lang) ?>"> … … 2128 2221 $hotel=$atts["hotel"]; 2129 2222 if($hotel == null) 2130 $hotel=" 144";2223 $hotel=""; 2131 2224 2132 2225 $hide_children=$atts["hide_children"]; 2133 2226 $hide_pin=$atts["hide_pin"]; 2134 2227 $group_ids=$atts["multi_id"]; 2135 2228 if($group_ids== null) … … 2210 2303 <?php 2211 2304 } 2305 if($hide_pin=='1'){ 2306 2307 ?> 2308 2309 <style> 2310 2311 div.promotional-code-input { 2312 2313 display:none; 2314 } 2315 </style> 2316 <?php 2317 } 2212 2318 ?> 2213 2319 … … 2218 2324 <form name="formSearch" id="formSearch" action="https://booking.roomcloud.net/be/se1/hotel.jsp" method="post"> 2219 2325 2326 <?php 2327 2328 if($hide_pin=='1'){ 2329 2330 ?> 2331 <input type="hidden" name="hide_pin" value="1"> 2332 <?php 2333 } 2334 ?> 2220 2335 <input type="hidden" name="curr" value="<?php echo($curr) ?>"> 2221 2336 <input type="hidden" name="lang" value="<?php echo($lang) ?>"> … … 2496 2611 $hotel=$atts["hotel"]; 2497 2612 if($hotel == null) 2498 $hotel=" 144";2613 $hotel=""; 2499 2614 2500 2615 $property_id=$atts["property_id"]; … … 2503 2618 2504 2619 $hide_children=$atts["hide_children"]; 2505 2620 $hide_pin=$atts["hide_pin"]; 2506 2621 $group_ids=$atts["multi_id"]; 2507 2622 if($group_ids== null) … … 2584 2699 <?php 2585 2700 } 2701 if($hide_pin=='1'){ 2702 2703 ?> 2704 2705 <style> 2706 2707 div.promotional-code-input { 2708 2709 display:none; 2710 } 2711 </style> 2712 <?php 2713 } 2586 2714 ?> 2587 2715 … … 2593 2721 <form name="formSearch" id="formSearch" action="https://booking.roomcloud.net/be/se2/hotel.jsp" method="post"> 2594 2722 2723 <?php 2724 2725 if($hide_pin=='1'){ 2726 2727 ?> 2728 <input type="hidden" name="hide_pin" value="1"> 2729 <?php 2730 } 2731 ?> 2595 2732 <input type="hidden" name="curr" value="<?php echo($curr) ?>"> 2596 2733 <input type="hidden" name="lang" value="<?php echo($lang) ?>"> -
roomcloud/trunk/readme.txt
r3065399 r3067336 6 6 Tested up to: 6.2.2 7 7 Requires PHP: 7 8 Stable tag: 2.0.2 18 Stable tag: 2.0.22 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 82 82 = 2.0.20 = 83 83 added parameter first_dow (0=sunday, 1 monday etc) 84 = 2.0.2 0=84 = 2.0.21 = 85 85 Javascript bug fix 86 = 2.0.22 = 87 Added parameter to hide promocode text field (set hide_pin=1 to hide promocode in search options) 86 88 == Frequently Asked Questions == 87 89 = Do I need a Roomcloud account? = -
roomcloud/trunk/roomcloud.php
r3010610 r3067336 699 699 $hotel=$atts["hotel"]; 700 700 if($hotel == null) 701 $hotel=" 144";701 $hotel=""; 702 702 703 703 $showCrossed=$atts["showcrossed"]; … … 708 708 709 709 $hide_children=$atts["hide_children"]; 710 $hide_pin=$atts["hide_pin"]; 711 712 710 713 711 714 wp_register_script('wp_se1_js_horizontal_template', plugin_dir_url(__FILE__) . '/JS/wp_se1_horizontal_template.js'); … … 772 775 <?php 773 776 } 774 ?> 775 777 778 if($hide_pin=='1'){ 779 780 ?> 781 782 <style> 783 784 div.promotional-code-input { 785 786 display:none; 787 } 788 </style> 789 <?php 790 } 791 ?> 776 792 777 793 <div id="search_room_box" class="notranslate"> … … 779 795 <form name="formSearch" id="formSearch" action="https://booking.roomcloud.net/be/se1/hotel.jsp" method="post"> 780 796 797 <?php 798 799 if($hide_pin=='1'){ 800 801 ?> 802 <input type="hidden" name="hide_pin" value="1"> 803 <?php 804 } 805 ?> 806 781 807 <input type="hidden" name="curr" value="<?php echo($curr); ?>"> 782 808 <input type="hidden" name="lang" value="<?php echo($lang); ?>"> … … 1042 1068 1043 1069 $hide_children=$atts["hide_children"]; 1044 1070 $hide_pin=$atts["hide_pin"]; 1071 1045 1072 $showCrossed=$atts["showcrossed"]; 1046 1073 if($showCrossed == null) $showCrossed=""; … … 1053 1080 $hotel=$atts["hotel"]; 1054 1081 if($hotel == null) 1055 $hotel=" 144";1082 $hotel=""; 1056 1083 1057 1084 … … 1121 1148 <?php 1122 1149 } 1123 ?> 1150 if($hide_pin=='1'){ 1151 1152 ?> 1153 1154 <style> 1155 1156 div.promotional-code-input { 1157 1158 display:none; 1159 } 1160 </style> 1161 <?php 1162 } 1163 ?> 1124 1164 1125 1165 … … 1131 1171 <input type="hidden" name="curr" value="<?php echo($curr) ?>"> 1132 1172 <input type="hidden" name="lang" value="<?php echo($lang) ?>"> 1133 1173 <?php 1174 1175 if($hide_pin=='1'){ 1176 1177 ?> 1178 <input type="hidden" name="hide_pin" value="1"> 1179 <?php 1180 } 1181 ?> 1134 1182 <input type="hidden" name="showCrossed" id="showCrossed" value="<?php echo ($showCrossed)?>"> 1135 1183 … … 1487 1535 $hotel=$atts["hotel"]; 1488 1536 if($hotel == null) 1489 $hotel=" 144";1537 $hotel=""; 1490 1538 1491 1539 $hide_children=$atts["hide_children"]; 1492 1540 $hide_pin=$atts["hide_pin"]; 1541 1493 1542 $showCrossed=$atts["showcrossed"]; 1494 1543 if($showCrossed == null) $showCrossed=""; … … 1559 1608 <?php 1560 1609 } 1610 if($hide_pin=='1'){ 1611 1612 ?> 1613 1614 <style> 1615 1616 div.promotional-code-input { 1617 1618 display:none; 1619 } 1620 </style> 1621 <?php 1622 } 1561 1623 ?> 1562 1624 … … 1567 1629 <form name="formSearch" id="formSearch" action="https://booking.roomcloud.net/be/se1/hotel.jsp" method="post"> 1568 1630 1631 <?php 1632 1633 if($hide_pin=='1'){ 1634 1635 ?> 1636 <input type="hidden" name="hide_pin" value="1"> 1637 <?php 1638 } 1639 ?> 1569 1640 <input type="hidden" name="curr" value="<?php echo($curr) ?>"> 1570 1641 <input type="hidden" name="lang" value="<?php echo($lang) ?>"> … … 1802 1873 $hotel=$atts["hotel"]; 1803 1874 if($hotel == null) 1804 $hotel=" 144";1875 $hotel=""; 1805 1876 1806 1877 … … 1810 1881 1811 1882 $hide_children=$atts["hide_children"]; 1812 1883 $hide_pin=$atts["hide_pin"]; 1813 1884 $showCrossed=$atts["showcrossed"]; 1814 1885 if($showCrossed == null) $showCrossed=""; … … 1880 1951 <?php 1881 1952 } 1953 if($hide_pin=='1'){ 1954 1955 ?> 1956 1957 <style> 1958 1959 div.promotional-code-input { 1960 1961 display:none; 1962 } 1963 </style> 1964 <?php 1965 } 1882 1966 ?> 1883 1967 … … 1888 1972 <form name="formSearch" id="formSearch" action="https://booking.roomcloud.net/be/se2/hotel.jsp" method="post"> 1889 1973 1974 <?php 1975 1976 if($hide_pin=='1'){ 1977 1978 ?> 1979 <input type="hidden" name="hide_pin" value="1"> 1980 <?php 1981 } 1982 ?> 1890 1983 <input type="hidden" name="curr" value="<?php echo($curr) ?>"> 1891 1984 <input type="hidden" name="lang" value="<?php echo($lang) ?>"> … … 2128 2221 $hotel=$atts["hotel"]; 2129 2222 if($hotel == null) 2130 $hotel=" 144";2223 $hotel=""; 2131 2224 2132 2225 $hide_children=$atts["hide_children"]; 2133 2226 $hide_pin=$atts["hide_pin"]; 2134 2227 $group_ids=$atts["multi_id"]; 2135 2228 if($group_ids== null) … … 2210 2303 <?php 2211 2304 } 2305 if($hide_pin=='1'){ 2306 2307 ?> 2308 2309 <style> 2310 2311 div.promotional-code-input { 2312 2313 display:none; 2314 } 2315 </style> 2316 <?php 2317 } 2212 2318 ?> 2213 2319 … … 2218 2324 <form name="formSearch" id="formSearch" action="https://booking.roomcloud.net/be/se1/hotel.jsp" method="post"> 2219 2325 2326 <?php 2327 2328 if($hide_pin=='1'){ 2329 2330 ?> 2331 <input type="hidden" name="hide_pin" value="1"> 2332 <?php 2333 } 2334 ?> 2220 2335 <input type="hidden" name="curr" value="<?php echo($curr) ?>"> 2221 2336 <input type="hidden" name="lang" value="<?php echo($lang) ?>"> … … 2496 2611 $hotel=$atts["hotel"]; 2497 2612 if($hotel == null) 2498 $hotel=" 144";2613 $hotel=""; 2499 2614 2500 2615 $property_id=$atts["property_id"]; … … 2503 2618 2504 2619 $hide_children=$atts["hide_children"]; 2505 2620 $hide_pin=$atts["hide_pin"]; 2506 2621 $group_ids=$atts["multi_id"]; 2507 2622 if($group_ids== null) … … 2584 2699 <?php 2585 2700 } 2701 if($hide_pin=='1'){ 2702 2703 ?> 2704 2705 <style> 2706 2707 div.promotional-code-input { 2708 2709 display:none; 2710 } 2711 </style> 2712 <?php 2713 } 2586 2714 ?> 2587 2715 … … 2593 2721 <form name="formSearch" id="formSearch" action="https://booking.roomcloud.net/be/se2/hotel.jsp" method="post"> 2594 2722 2723 <?php 2724 2725 if($hide_pin=='1'){ 2726 2727 ?> 2728 <input type="hidden" name="hide_pin" value="1"> 2729 <?php 2730 } 2731 ?> 2595 2732 <input type="hidden" name="curr" value="<?php echo($curr) ?>"> 2596 2733 <input type="hidden" name="lang" value="<?php echo($lang) ?>">
Note: See TracChangeset
for help on using the changeset viewer.