Plugin Directory

Changeset 3067336


Ignore:
Timestamp:
04/09/2024 07:21:40 AM (2 years ago)
Author:
roomcloud
Message:

version 2.0.22

Location:
roomcloud
Files:
2 edited
15 copied

Legend:

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

    r3065399 r3067336  
    66Tested up to: 6.2.2
    77Requires PHP: 7
    8 Stable tag: 2.0.21
     8Stable tag: 2.0.22
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8282= 2.0.20 =
    8383added parameter first_dow (0=sunday, 1 monday etc)
    84 = 2.0.20 =
     84= 2.0.21 =
    8585Javascript bug fix
     86= 2.0.22 =
     87Added parameter to hide promocode text field (set hide_pin=1 to hide promocode in search options)
    8688== Frequently Asked Questions ==
    8789= Do I need a Roomcloud account? =
  • roomcloud/tags/2.0.22/roomcloud.php

    r3010610 r3067336  
    699699   $hotel=$atts["hotel"];
    700700   if($hotel == null)
    701        $hotel="144";
     701       $hotel="";
    702702   
    703703   $showCrossed=$atts["showcrossed"];
     
    708708   
    709709   $hide_children=$atts["hide_children"];
     710   $hide_pin=$atts["hide_pin"];
     711
     712   
    710713   
    711714    wp_register_script('wp_se1_js_horizontal_template', plugin_dir_url(__FILE__) . '/JS/wp_se1_horizontal_template.js');
     
    772775        <?php                                           
    773776            }
    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        ?>
    776792
    777793        <div id="search_room_box" class="notranslate">
     
    779795            <form name="formSearch" id="formSearch" action="https://booking.roomcloud.net/be/se1/hotel.jsp" method="post">
    780796
     797                <?php
     798                   
     799                if($hide_pin=='1'){
     800               
     801                ?>
     802                    <input type="hidden" name="hide_pin" value="1">
     803                <?php                                           
     804                    }
     805                ?>
     806               
    781807                <input type="hidden" name="curr" value="<?php echo($curr); ?>">
    782808                <input type="hidden" name="lang" value="<?php echo($lang); ?>">
     
    10421068
    10431069   $hide_children=$atts["hide_children"];
    1044 
     1070   $hide_pin=$atts["hide_pin"];
     1071   
    10451072    $showCrossed=$atts["showcrossed"];
    10461073    if($showCrossed == null) $showCrossed="";
     
    10531080   $hotel=$atts["hotel"];
    10541081   if($hotel == null)
    1055        $hotel="144";
     1082       $hotel="";
    10561083   
    10571084       
     
    11211148    <?php                                           
    11221149        }
    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       ?>
    11241164
    11251165
     
    11311171                <input type="hidden" name="curr" value="<?php echo($curr) ?>">
    11321172                <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                ?>
    11341182                <input type="hidden" name="showCrossed" id="showCrossed" value="<?php echo ($showCrossed)?>">
    11351183
     
    14871535   $hotel=$atts["hotel"];
    14881536   if($hotel == null)
    1489        $hotel="144";
     1537       $hotel="";
    14901538   
    14911539    $hide_children=$atts["hide_children"];
    1492 
     1540    $hide_pin=$atts["hide_pin"];
     1541   
    14931542    $showCrossed=$atts["showcrossed"];
    14941543    if($showCrossed == null) $showCrossed="";
     
    15591608    <?php                                           
    15601609        }
     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            }
    15611623    ?>
    15621624
     
    15671629            <form name="formSearch" id="formSearch" action="https://booking.roomcloud.net/be/se1/hotel.jsp" method="post">
    15681630
     1631                <?php
     1632                   
     1633                if($hide_pin=='1'){
     1634               
     1635                ?>
     1636                    <input type="hidden" name="hide_pin" value="1">
     1637                <?php                                           
     1638                    }
     1639                ?>
    15691640                <input type="hidden" name="curr" value="<?php echo($curr) ?>">
    15701641                <input type="hidden" name="lang" value="<?php echo($lang) ?>">
     
    18021873   $hotel=$atts["hotel"];
    18031874   if($hotel == null)
    1804        $hotel="144";
     1875       $hotel="";
    18051876   
    18061877       
     
    18101881   
    18111882   $hide_children=$atts["hide_children"];
    1812    
     1883   $hide_pin=$atts["hide_pin"];
    18131884    $showCrossed=$atts["showcrossed"];
    18141885   if($showCrossed == null) $showCrossed="";
     
    18801951    <?php                                           
    18811952        }
     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            }
    18821966    ?>
    18831967
     
    18881972            <form name="formSearch" id="formSearch" action="https://booking.roomcloud.net/be/se2/hotel.jsp" method="post">
    18891973           
     1974                <?php
     1975                   
     1976                if($hide_pin=='1'){
     1977               
     1978                ?>
     1979                    <input type="hidden" name="hide_pin" value="1">
     1980                <?php                                           
     1981                    }
     1982                ?>
    18901983                <input type="hidden" name="curr" value="<?php echo($curr) ?>">
    18911984                <input type="hidden" name="lang" value="<?php echo($lang) ?>">
     
    21282221    $hotel=$atts["hotel"];
    21292222    if($hotel == null)
    2130         $hotel="144";
     2223        $hotel="";
    21312224       
    21322225    $hide_children=$atts["hide_children"];
    2133 
     2226    $hide_pin=$atts["hide_pin"];
    21342227    $group_ids=$atts["multi_id"];
    21352228    if($group_ids== null)
     
    22102303    <?php                                           
    22112304        }
     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            }
    22122318    ?>
    22132319
     
    22182324            <form name="formSearch" id="formSearch" action="https://booking.roomcloud.net/be/se1/hotel.jsp" method="post">
    22192325           
     2326                <?php
     2327                   
     2328                if($hide_pin=='1'){
     2329               
     2330                ?>
     2331                    <input type="hidden" name="hide_pin" value="1">
     2332                <?php                                           
     2333                    }
     2334                ?>
    22202335                <input type="hidden" name="curr" value="<?php echo($curr) ?>">
    22212336                <input type="hidden" name="lang" value="<?php echo($lang) ?>">
     
    24962611   $hotel=$atts["hotel"];
    24972612   if($hotel == null)
    2498        $hotel="144";
     2613       $hotel="";
    24992614   
    25002615   $property_id=$atts["property_id"];
     
    25032618
    25042619    $hide_children=$atts["hide_children"];
    2505    
     2620    $hide_pin=$atts["hide_pin"];
    25062621    $group_ids=$atts["multi_id"];
    25072622    if($group_ids== null)
     
    25842699    <?php                                           
    25852700        }
     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            }
    25862714    ?>
    25872715
     
    25932721            <form name="formSearch" id="formSearch" action="https://booking.roomcloud.net/be/se2/hotel.jsp" method="post">
    25942722           
     2723                <?php
     2724                   
     2725                if($hide_pin=='1'){
     2726               
     2727                ?>
     2728                    <input type="hidden" name="hide_pin" value="1">
     2729                <?php                                           
     2730                    }
     2731                ?>
    25952732                <input type="hidden" name="curr" value="<?php echo($curr) ?>">
    25962733                <input type="hidden" name="lang" value="<?php echo($lang) ?>">
  • roomcloud/trunk/readme.txt

    r3065399 r3067336  
    66Tested up to: 6.2.2
    77Requires PHP: 7
    8 Stable tag: 2.0.21
     8Stable tag: 2.0.22
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8282= 2.0.20 =
    8383added parameter first_dow (0=sunday, 1 monday etc)
    84 = 2.0.20 =
     84= 2.0.21 =
    8585Javascript bug fix
     86= 2.0.22 =
     87Added parameter to hide promocode text field (set hide_pin=1 to hide promocode in search options)
    8688== Frequently Asked Questions ==
    8789= Do I need a Roomcloud account? =
  • roomcloud/trunk/roomcloud.php

    r3010610 r3067336  
    699699   $hotel=$atts["hotel"];
    700700   if($hotel == null)
    701        $hotel="144";
     701       $hotel="";
    702702   
    703703   $showCrossed=$atts["showcrossed"];
     
    708708   
    709709   $hide_children=$atts["hide_children"];
     710   $hide_pin=$atts["hide_pin"];
     711
     712   
    710713   
    711714    wp_register_script('wp_se1_js_horizontal_template', plugin_dir_url(__FILE__) . '/JS/wp_se1_horizontal_template.js');
     
    772775        <?php                                           
    773776            }
    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        ?>
    776792
    777793        <div id="search_room_box" class="notranslate">
     
    779795            <form name="formSearch" id="formSearch" action="https://booking.roomcloud.net/be/se1/hotel.jsp" method="post">
    780796
     797                <?php
     798                   
     799                if($hide_pin=='1'){
     800               
     801                ?>
     802                    <input type="hidden" name="hide_pin" value="1">
     803                <?php                                           
     804                    }
     805                ?>
     806               
    781807                <input type="hidden" name="curr" value="<?php echo($curr); ?>">
    782808                <input type="hidden" name="lang" value="<?php echo($lang); ?>">
     
    10421068
    10431069   $hide_children=$atts["hide_children"];
    1044 
     1070   $hide_pin=$atts["hide_pin"];
     1071   
    10451072    $showCrossed=$atts["showcrossed"];
    10461073    if($showCrossed == null) $showCrossed="";
     
    10531080   $hotel=$atts["hotel"];
    10541081   if($hotel == null)
    1055        $hotel="144";
     1082       $hotel="";
    10561083   
    10571084       
     
    11211148    <?php                                           
    11221149        }
    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       ?>
    11241164
    11251165
     
    11311171                <input type="hidden" name="curr" value="<?php echo($curr) ?>">
    11321172                <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                ?>
    11341182                <input type="hidden" name="showCrossed" id="showCrossed" value="<?php echo ($showCrossed)?>">
    11351183
     
    14871535   $hotel=$atts["hotel"];
    14881536   if($hotel == null)
    1489        $hotel="144";
     1537       $hotel="";
    14901538   
    14911539    $hide_children=$atts["hide_children"];
    1492 
     1540    $hide_pin=$atts["hide_pin"];
     1541   
    14931542    $showCrossed=$atts["showcrossed"];
    14941543    if($showCrossed == null) $showCrossed="";
     
    15591608    <?php                                           
    15601609        }
     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            }
    15611623    ?>
    15621624
     
    15671629            <form name="formSearch" id="formSearch" action="https://booking.roomcloud.net/be/se1/hotel.jsp" method="post">
    15681630
     1631                <?php
     1632                   
     1633                if($hide_pin=='1'){
     1634               
     1635                ?>
     1636                    <input type="hidden" name="hide_pin" value="1">
     1637                <?php                                           
     1638                    }
     1639                ?>
    15691640                <input type="hidden" name="curr" value="<?php echo($curr) ?>">
    15701641                <input type="hidden" name="lang" value="<?php echo($lang) ?>">
     
    18021873   $hotel=$atts["hotel"];
    18031874   if($hotel == null)
    1804        $hotel="144";
     1875       $hotel="";
    18051876   
    18061877       
     
    18101881   
    18111882   $hide_children=$atts["hide_children"];
    1812    
     1883   $hide_pin=$atts["hide_pin"];
    18131884    $showCrossed=$atts["showcrossed"];
    18141885   if($showCrossed == null) $showCrossed="";
     
    18801951    <?php                                           
    18811952        }
     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            }
    18821966    ?>
    18831967
     
    18881972            <form name="formSearch" id="formSearch" action="https://booking.roomcloud.net/be/se2/hotel.jsp" method="post">
    18891973           
     1974                <?php
     1975                   
     1976                if($hide_pin=='1'){
     1977               
     1978                ?>
     1979                    <input type="hidden" name="hide_pin" value="1">
     1980                <?php                                           
     1981                    }
     1982                ?>
    18901983                <input type="hidden" name="curr" value="<?php echo($curr) ?>">
    18911984                <input type="hidden" name="lang" value="<?php echo($lang) ?>">
     
    21282221    $hotel=$atts["hotel"];
    21292222    if($hotel == null)
    2130         $hotel="144";
     2223        $hotel="";
    21312224       
    21322225    $hide_children=$atts["hide_children"];
    2133 
     2226    $hide_pin=$atts["hide_pin"];
    21342227    $group_ids=$atts["multi_id"];
    21352228    if($group_ids== null)
     
    22102303    <?php                                           
    22112304        }
     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            }
    22122318    ?>
    22132319
     
    22182324            <form name="formSearch" id="formSearch" action="https://booking.roomcloud.net/be/se1/hotel.jsp" method="post">
    22192325           
     2326                <?php
     2327                   
     2328                if($hide_pin=='1'){
     2329               
     2330                ?>
     2331                    <input type="hidden" name="hide_pin" value="1">
     2332                <?php                                           
     2333                    }
     2334                ?>
    22202335                <input type="hidden" name="curr" value="<?php echo($curr) ?>">
    22212336                <input type="hidden" name="lang" value="<?php echo($lang) ?>">
     
    24962611   $hotel=$atts["hotel"];
    24972612   if($hotel == null)
    2498        $hotel="144";
     2613       $hotel="";
    24992614   
    25002615   $property_id=$atts["property_id"];
     
    25032618
    25042619    $hide_children=$atts["hide_children"];
    2505    
     2620    $hide_pin=$atts["hide_pin"];
    25062621    $group_ids=$atts["multi_id"];
    25072622    if($group_ids== null)
     
    25842699    <?php                                           
    25852700        }
     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            }
    25862714    ?>
    25872715
     
    25932721            <form name="formSearch" id="formSearch" action="https://booking.roomcloud.net/be/se2/hotel.jsp" method="post">
    25942722           
     2723                <?php
     2724                   
     2725                if($hide_pin=='1'){
     2726               
     2727                ?>
     2728                    <input type="hidden" name="hide_pin" value="1">
     2729                <?php                                           
     2730                    }
     2731                ?>
    25952732                <input type="hidden" name="curr" value="<?php echo($curr) ?>">
    25962733                <input type="hidden" name="lang" value="<?php echo($lang) ?>">
Note: See TracChangeset for help on using the changeset viewer.