Update view files
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 7 Sep 2017 19:05:44 +0000 (15:05 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 7 Sep 2017 19:05:44 +0000 (15:05 -0400)
For the reference to js url.

lib/registrations.php
registrations/Views/Default/registrations_step2.html

index b0f1e1c..278df6f 100644 (file)
@@ -1,4 +1,5 @@
 <?php
+//echo '<pre>$_REQUEST: ' . print_r( $_REQUEST, true ) . '</pre>';
 $_ENV['GLM_HOST_ID'] = 'DEVELOPMENT';
 add_shortcode( 'glm-event-registrations', function( $atts ){
     extract( $_REQUEST );
index 91c429d..a4ea7df 100644 (file)
@@ -12,7 +12,7 @@
   <!--{/if:have_reason}-->
        <div class="item">
        <h2>{reg_term_cap}: {reg_name}</h2>
-       <!--{if:image}--><img src="{base_secure_url}/images/thumb/{image}" alt=""><!--{/if:image}-->
+       <!--{if:image}--><img src="{old_url}/images/thumb/{image}" alt=""><!--{/if:image}-->
        <!--{if:reg_descr}-->
                <p>{reg_descr}</p>
        <!--{/if:reg_descr}-->
@@ -37,7 +37,7 @@
                <input type="hidden" name="rate_class" value="-1">
        {/if:rate_classes}-->
        <!--{if:ask_attendees=Yes}-->
-       <script type="text/javascript" src="{base_secure_url}/java_functions.js"></script>
+       <script type="text/javascript" src="{old_url}/java_functions.js"></script>
        <h3>Attendees</h3>
        <p>Please enter all attendees names, using one box per attendee. Additional boxes will be created as needed.</p>
        <p>All attendees will be {reg_term_past} at the level selected above.  Each attendee must have a first and last name.</p>