From: Steve Sutton Date: Thu, 16 Mar 2017 17:06:17 +0000 (-0400) Subject: Update on the class id names X-Git-Tag: v1.0.0^2~24 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=bed555780dbc73f96c3b9ca49964283642c907f7;p=WP-Plugins%2Fglm-member-db-apis.git Update on the class id names Need to use different id for the drop down. --- diff --git a/models/front/apis/schedule.php b/models/front/apis/schedule.php index 4a1521a..62e077d 100644 --- a/models/front/apis/schedule.php +++ b/models/front/apis/schedule.php @@ -51,9 +51,10 @@ class GlmMembersFront_apis_schedule { //echo '
$_REQUEST: ' . print_r( $_REQUEST, true ) . '
'; //echo '
$actionData: ' . print_r( $actionData, true ) . '
'; - $view = 'schedule'; - $settings = array(); - $content = ''; + $view = 'schedule'; + $settings = array(); + $content = ''; + $mainSchedId = false; // Get the options for starline $starlineOptions = unserialize( get_option( GLM_MEMBERS_APIS_STARLINE_OPTION_NAME ) ); @@ -86,6 +87,7 @@ class GlmMembersFront_apis_schedule curl_close( $curl ); $templateData = array( + 'mainSchedId' => $mainSchedId, 'content' => $content, 'inDropDown' => $inDropDown, 'schedulePage' => get_home_url(null, '/' ) . $starlinePageSlug . '/', diff --git a/views/front/apis/schedule.html b/views/front/apis/schedule.html index fff3689..9c7c999 100644 --- a/views/front/apis/schedule.html +++ b/views/front/apis/schedule.html @@ -67,8 +67,8 @@ jQuery(document).ready(function(){ }); -
- {if $inDropDown} +{if $inDropDown} +
- {/if} +{else} +
+{/if} {$content} {if $inDropDown}