Now using member terms
authorChuck Scott <cscott@gaslightmedia.com>
Fri, 22 Apr 2016 17:47:21 +0000 (13:47 -0400)
committerChuck Scott <cscott@gaslightmedia.com>
Fri, 22 Apr 2016 17:47:21 +0000 (13:47 -0400)
defines.php
views/admin/member/contacts.html
views/admin/profile/index.html

index 31d2f05..0b125be 100644 (file)
@@ -55,7 +55,7 @@ define('GLM_MEMBERS_CONTACTS_PLUGIN_SETUP_PATH', GLM_MEMBERS_CONTACTS_PLUGIN_PAT
 
 // Parameters related to the Main GLM Member DB plugin - Depending on what's going on these may already defined by the main plugin
 $pluginsPath = str_replace(GLM_MEMBERS_CONTACTS_PLUGIN_SLUG, '', GLM_MEMBERS_CONTACTS_PLUGIN_PATH);
-define('GLM_MEMBERS_CONTACTS_MAIN_PLUGIN_PATH', $pluginsPath.'/glm-member-db');
+define('GLM_MEMBERS_CONTACTS_MAIN_PLUGIN_PATH', $pluginsPath.'glm-member-db');
 define('GLM_MEMBERS_CONTACTS_PLUGIN_LIB_PATH', GLM_MEMBERS_CONTACTS_MAIN_PLUGIN_PATH.'/lib');
 define('GLM_MEMBERS_CONTACTS_PLUGIN_MEDIA_PATH', $WPUploadDir['basedir'].'/'.GLM_MEMBERS_CONTACTS_PLUGIN_SLUG);
 define('GLM_MEMBERS_CONTACTS_PLUGIN_IMAGES_PATH', GLM_MEMBERS_CONTACTS_MAIN_PLUGIN_PATH.'/images');
index 4de1f63..35ef661 100644 (file)
@@ -15,7 +15,7 @@
   {if $option == 'list'}
 
     {if apply_filters('glm_members_permit_admin_member_contacts_add_contact', true)}
-    <a href="{$thisUrl}?page={$thisPage}&glm_action=contacts&member={$memberID}&option=create" class="button button-primary glm-button glm-right">Add New Member Contact</a>
+    <a href="{$thisUrl}?page={$thisPage}&glm_action=contacts&member={$memberID}&option=create" class="button button-primary glm-button glm-right">Add New {$terms.term_member_cap} Contact</a>
     {/if}
     <form class="glm-right" onSubmit="return false;">
        <span{if $haveFilter} class="glm-notice"{/if}><b>List Filters:</b>&nbsp;&nbsp;</span> 
   {/if} <!-- /if option -->
 
 {else} <!-- Member not specified or not found -->
-    <h2 class="glm-error">No current member.</h2>
+    <h2 class="glm-error">No current {$terms.term_member}.</h2>
 {/if}
 
     <script type="text/javascript">
index 17cba20..ffbd49f 100644 (file)
                 </tr>
             </table>
             <p><span class="glm-required">*</span> Required</p>
-            <input type="submit" name="Add new member">
+            <input type="submit" name="Add new {$terms.term_member}">
         </form>  
 
     {else} <!-- may edit contact -->