Changed reservation file name to 150
authorAnthony Talarico <talarico@gaslightmedia.com>
Thu, 29 Oct 2015 20:38:35 +0000 (16:38 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Thu, 29 Oct 2015 20:38:35 +0000 (16:38 -0400)
js/app.js
js/custom/pageSetup.js
page-118.php [deleted file]
page-150.php [new file with mode: 0644]

index 4c125d6..d25bd0a 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -42,28 +42,11 @@ $(document).ready(function () {
     // get the url to determine the page location
     page = $(location).attr('pathname');
 
-    // if current page is NOT reservation change submit to regular button to nav to reservation page
-   /* if (page.indexOf("reservation") <= 0) {
-        $("#resBtn").prop("type", 'button');
-        $("#resBtn").prop("id", "btn");
-        $("#offResBtn").prop("type", 'button');
-        $("#offResBtn").prop("id", "offBtn");
-    } */
     // remove featured image from reservation page and trigger form submission to iframe
     if (page.indexOf("reservation") >= 0) {
         $("#head-img").remove();
-      /*  $(document).ready(function () {
-            $("#resBtn").trigger("click");
-        }); */
+     
     }
-    // navigate to reservation page
-   // $('#btn').click(function () {
-     //   window.location.href = "reservation";
-    //});
-    //$('#offBtn').click(function () {
-      //  window.location.href = "reservation";
-
-  //  });
 
     // save guest input
     $('#guests').blur(function () {
index 5fc2c85..d8281a4 100644 (file)
@@ -36,9 +36,7 @@ $(document).ready(function () {
     // remove featured image from reservation page and trigger form submission to iframe
     if (page.indexOf("reservation") >= 0) {
         $("#head-img").remove();
-      /*  $(document).ready(function () {
-            $("#resBtn").trigger("click");
-        }); */
+     
     }
 
     // save guest input
diff --git a/page-118.php b/page-118.php
deleted file mode 100644 (file)
index 43682bc..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php get_header(); ?>
-<main class="page-inside">
-    <div id="head-img">
-        <?php echo glm_get_background(); ?>
-    </div>
-        <div id="content-wrapper">
-            <div class="row">
-                <div class="tag small-11 small-centered columns">
-                    <img class="show-for-small-down" src="<?php echo get_template_directory_uri(); ?>/assets/tagline.jpg">
-                </div>
-                <?php
-                get_template_part('parts/bread-crumbs');
-                ?>
-            </div>
-            <div class="row">
-                <div id="main-content" class="small-12 columns">
-                        <?php if(have_posts()) : while(have_posts()): the_post();?>
-                        <?php the_content();?>
-                        <?php endwhile; else:?>
-                        <p><?php _e('Sorry, no results found.');?></p>
-                        <?php endif;?>
-                
-                        <iframe name="res_frame" src="https://weblink.instantsoftware.com/widgetsearch/1134?ArrivalDate=<?php echo urlencode($_REQUEST['ArrivalDate']); ?> &DepartureDate= <?php echo urlencode($_REQUEST['DepartureDate']); ?>&Occupancy=<?php echo urlencode($_REQUEST['Occupancy']); ?>" height="3300" id="res_frame" width="100%" frameborder="0"></iframe>
-                </div>
-            </div>
-        </div>
-</main><!--End of main-->
-<?php get_footer(); ?>
diff --git a/page-150.php b/page-150.php
new file mode 100644 (file)
index 0000000..43682bc
--- /dev/null
@@ -0,0 +1,28 @@
+<?php get_header(); ?>
+<main class="page-inside">
+    <div id="head-img">
+        <?php echo glm_get_background(); ?>
+    </div>
+        <div id="content-wrapper">
+            <div class="row">
+                <div class="tag small-11 small-centered columns">
+                    <img class="show-for-small-down" src="<?php echo get_template_directory_uri(); ?>/assets/tagline.jpg">
+                </div>
+                <?php
+                get_template_part('parts/bread-crumbs');
+                ?>
+            </div>
+            <div class="row">
+                <div id="main-content" class="small-12 columns">
+                        <?php if(have_posts()) : while(have_posts()): the_post();?>
+                        <?php the_content();?>
+                        <?php endwhile; else:?>
+                        <p><?php _e('Sorry, no results found.');?></p>
+                        <?php endif;?>
+                
+                        <iframe name="res_frame" src="https://weblink.instantsoftware.com/widgetsearch/1134?ArrivalDate=<?php echo urlencode($_REQUEST['ArrivalDate']); ?> &DepartureDate= <?php echo urlencode($_REQUEST['DepartureDate']); ?>&Occupancy=<?php echo urlencode($_REQUEST['Occupancy']); ?>" height="3300" id="res_frame" width="100%" frameborder="0"></iframe>
+                </div>
+            </div>
+        </div>
+</main><!--End of main-->
+<?php get_footer(); ?>