From: Anthony Talarico Date: Thu, 25 Oct 2018 12:35:01 +0000 (-0400) Subject: testing jquery results from array in the new member management dashboard X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=301765b03d152112139e569754891d4a3310fdcd;p=WP-Plugins%2Fglm-member-db.git testing jquery results from array in the new member management dashboard --- diff --git a/models/admin/ajax/adminSearch.php b/models/admin/ajax/adminSearch.php index dc6b0576..a8c13915 100644 --- a/models/admin/ajax/adminSearch.php +++ b/models/admin/ajax/adminSearch.php @@ -79,7 +79,7 @@ class GlmMembersAdmin_ajax_adminSearch } $return = array( - 'searchData' => 'test' // Where our events list will go + 'searchData' => ['result 1','result 2','result 3','result 4','result 5'] // Where our events list will go ); header('Content-type:application/json;charset=utf-8', true); diff --git a/setup/adminHooks.php b/setup/adminHooks.php index edbbd041..089f1a49 100644 --- a/setup/adminHooks.php +++ b/setup/adminHooks.php @@ -108,8 +108,7 @@ if( !$menuExists && defined( 'GLM_MEMBERS_PLUGIN_MEMBERS_ONLY_ID' ) ){ } $locations = get_theme_mod( 'nav_menu_locations' ); -if(!empty($locations)) -{ +if(!empty($locations)){ $menu = get_term_by('name', $menuName, 'nav_menu'); $locations[$menuSlug] = $menu->term_id; set_theme_mod('nav_menu_locations', $locations); diff --git a/setup/adminMenus.php b/setup/adminMenus.php index 87443cab..a0ca7e4d 100644 --- a/setup/adminMenus.php +++ b/setup/adminMenus.php @@ -75,7 +75,7 @@ if (current_user_can('glm_members_members')) { add_submenu_page( $mainMenuSlug, $this->config['terms']['term_admin_menu_members'].' Members', - $this->config['terms']['term_admin_menu_newMembers'], + $this->config['terms']['term_admin_menu_members'], 'glm_members_member', 'glm-members-admin-menu-members', function() {$this->controller('members', 'index');} diff --git a/views/admin/manageMembers/manage.html b/views/admin/manageMembers/manage.html index d4f17f3d..1aaca43d 100644 --- a/views/admin/manageMembers/manage.html +++ b/views/admin/manageMembers/manage.html @@ -4,9 +4,14 @@ width: 100%; height: 100vh; } + .glm-list-result{ + background-color: #FFFFFF; + padding: 5px; + border-bottom: 1px solid #DEE2E2; + }
- test +