Added GLM_MEMBERS_PLUGIN_ADMIN_MENU_URL_BASE to help with Registrations add-on
authorChuck Scott <cscott@gaslightmedia.com>
Fri, 11 Aug 2017 18:47:54 +0000 (14:47 -0400)
committerChuck Scott <cscott@gaslightmedia.com>
Fri, 11 Aug 2017 18:47:54 +0000 (14:47 -0400)
Changed "Export Members" to "Export Member Profiles" on the export button and on the dialog box in the member list page.
Changed the title of the HTML export output to "Member Profiles

defines.php
views/admin/ajax/membersListExport.html
views/admin/members/list.html

index 00a4a81..204f41f 100644 (file)
@@ -49,6 +49,7 @@ define('GLM_MEMBERS_HOSTNAME', $urlParts['host']);
 define('GLM_MEMBERS_SITE_BASE_URL', home_url('/') );
 define('GLM_MEMBERS_PLUGIN_URL', plugin_dir_url(__FILE__));
 define('GLM_MEMBERS_PLUGIN_ADMIN_URL', admin_url('admin.php'));
+define('GLM_MEMBERS_PLUGIN_ADMIN_MENU_URL_BASE', admin_url('admin.php')."?page=glm-members-admin-menu-");                // Add to this lower case {menu}-{submenu}
 define('GLM_MEMBERS_PLUGIN_ADMIN_AJAX_URL', admin_url('admin-ajax.php'));
 define('GLM_MEMBERS_PLUGIN_ASSETS_URL', GLM_MEMBERS_PLUGIN_URL.'assets');
 define('GLM_MEMBERS_PLUGIN_JS_URL', GLM_MEMBERS_PLUGIN_URL.'js');
index 197e74b..ede0c66 100644 (file)
@@ -4,7 +4,7 @@
     <body>
 
         <span style="float: right;"><b>Total found: {$memberCount}&nbsp;&nbsp;</b></span>
-        <b>List&nbsp;of&nbsp;{$terms.term_member_plur_cap}</b>
+        <b>List&nbsp;of&nbsp;{$terms.term_member_cap} Profiles</b>
         <br clear="all">
 
 
@@ -85,7 +85,7 @@
                 </tr>
         {/foreach}
     {else}
-                <tr class="alternate"><td colspan="2">(no {$terms.term_member_plur} listed)</td></tr>
+                <tr class="alternate"><td colspan="2">(no {$terms.term_member} profiles listed)</td></tr>
     {/if}
             </tbody>
         </table>
index 98930fd..e723f50 100644 (file)
@@ -36,7 +36,7 @@
 
         <br clear="all">
         <!-- Add Member Type Button and Dialog Box -->
-        <div id="exportMembersButton" class="button button-secondary glm-admin-export-button">Export {$terms.term_member_plur_cap}</div>
+        <div id="exportMembersButton" class="button button-secondary glm-admin-export-button">Export {$terms.term_member_cap} Profiles</div>
 
         {if $paging}
             <input type="Submit" name="pageSelect" value="Previous {$limit} {$terms.term_member_plur_cap}" class="button button-secondary glm-button"{if !$prevStart} disabled{/if}>
 
     </form>
 
-    <div id="exportMembersDialog" class="glm-dialog-box" title="Export {$terms.term_member_plur_cap}">
+    <div id="exportMembersDialog" class="glm-dialog-box" title="Export {$terms.term_member_cap} Profiles">
         <form id="exportForm" action="{$ajaxUrl}" method="post" enctype="multipart/form-data">
             <input type="hidden" name="action" value="glm_members_admin_ajax">
             <input type="hidden" name="glm_action" value="membersListExport">