From: Steve Sutton Date: Thu, 21 Dec 2017 20:56:01 +0000 (-0500) Subject: Setup popup for login X-Git-Tag: v1.0.0^2~143 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=fd5c5015e9a5f92c666172d563d35bbd28922883;p=WP-Plugins%2Fglm-member-db-registrations.git Setup popup for login Tried setting up ui theme but getting strange results. --- diff --git a/models/front/registrations/index.php b/models/front/registrations/index.php index 1a6cf98..df15033 100644 --- a/models/front/registrations/index.php +++ b/models/front/registrations/index.php @@ -79,8 +79,15 @@ class GlmMembersFront_registrations_index */ public function modelAction($actionData = false) { - + global $wp_scripts; $page = false; + $ui = $wp_scripts->query('jquery-ui-core'); + wp_enqueue_style( + 'jquery-ui-smoothness', + "//ajax.googleapis.com/ajax/libs/jqueryui/{$ui->ver}/themes/smoothness/jquery-ui.min.css", + false, + null + ); // Check for valid page - if not valid default to "list" $page = (isset($actionData['request']['page']) ? $actionData['request']['page']: false); diff --git a/views/front/registrations/accountHeader.html b/views/front/registrations/accountHeader.html index a360b6c..8e1b246 100644 --- a/views/front/registrations/accountHeader.html +++ b/views/front/registrations/accountHeader.html @@ -1,5 +1,5 @@
- +
Event Registration List @@ -68,7 +68,7 @@ Logged in as {$loggedIn.fname} {$loggedIn.lname} {else} - + Login