Cleaned up the admin member edit screen and removed things that weren't needed
authorChuck Scott <cscott@gaslightmedia.com>
Wed, 20 May 2015 19:54:56 +0000 (15:54 -0400)
committerChuck Scott <cscott@gaslightmedia.com>
Wed, 20 May 2015 19:54:56 +0000 (15:54 -0400)
views/admin_edit.php
views/admin_member_form_common_part.php

index 93812f6..335bd61 100644 (file)
@@ -3,7 +3,7 @@
     <input name="action" type="hidden" value="edituser" />
     <?php wp_nonce_field( 'edit-swpmuser', '_wpnonce_edit-swpmuser' ) ?>
     <h3><?php echo  BUtils::_('Edit Member') ?></h3>
-    <p><?php echo  BUtils::_('Edit existing member details.'); ?></p>
+<!--    <p><?php echo  BUtils::_('Edit existing member details.'); ?></p> -->
     <table class="form-table">
         <tr class="form-field form-required">
             <th scope="row"><label for="user_name"><?php echo  BUtils::_('Username'); ?> <span class="description"><?php echo  BUtils::_('(required)'); ?></span></label></th>
                     </select>
             </td>
        </tr>        
+<!--
        <tr>
             <th scope="row"><label for="account_state_change"><?php echo  BUtils::_('Notify User'); ?></label></th>
             <td><input type="checkbox" id="account_status_change" name="account_status_change" />
                 <p class="description indicator-hint">You can use this option to send a quick notification email to this member (the email will be sent when you hit the save button below).</p>
             </td>
        </tr>
+-->
     <?php include('admin_member_form_common_part.php');?>
+<!--
         <tr>
                <th scope="row"><label for="subscr_id"><?php echo  BUtils::_('Subscriber ID/Reference') ?> </label></th>
                <td><input class="regular-text" name="subscr_id" type="text" id="subscr_id" value="<?php echo esc_attr($subscr_id); ?>" /></td>
        </tr>        
-
+-->
     </table>
     
     <?php include('admin_member_form_common_js.php');?>
index 55626cd..af83d77 100644 (file)
@@ -19,6 +19,7 @@
                <th scope="row"><label for="last_name"><?php echo  BUtils::_('Last Name') ?> </label></th>
                <td><input class="regular-text" name="last_name" type="text" id="last_name" value="<?php echo esc_attr($last_name); ?>" /></td>
        </tr>
+<!--
        <tr>
                <th scope="row"><label for="gender"><?php echo  BUtils::_('Gender'); ?></label></th>
                <td><select class="regular-text" name="gender" id="gender">
@@ -58,3 +59,4 @@
                <th scope="row"><label for="member_since"><?php echo  BUtils::_('Member Since') ?> </label></th>
                <td><input class="regular-text" name="member_since" type="text" id="member_since" value="<?php echo esc_attr($member_since); ?>" /></td>
        </tr>
+-->