| @@ -13,15 +13,15 @@ | ||
| 13 | 13 | ?> |
| 14 | 14 | <table class="form-table"> |
| 15 | 15 | <tbody> |
| 16 | 16 | <tr> |
| 17 | - <th><label for="bbp-private-groups"><?php esc_html_e( 'Private Groups', 'bbp-private-groups' ); ?></label></th> | |
| 17 | + <th><label for="bbp-private-groups"><?php esc_html_e( 'Private Groups', 'private-groups' ); ?></label></th> | |
| 18 | 18 | <td> |
| 19 | 19 | |
| 20 | 20 | <?php global $rpg_groups ; |
| 21 | 21 | if (empty( $rpg_groups ) ) : ?> |
| 22 | 22 | |
| 23 | - <option value=""><?php esc_html_e( '— No groups yet set up —', 'bbp-private-groups' ); ?></option> | |
| 23 | + <option value=""><?php esc_html_e( '— No groups yet set up —', 'private-groups' ); ?></option> | |
| 24 | 24 | |
| 25 | 25 | <?php else : ?> |
| 26 | 26 | |
| 27 | 27 | |
| @@ -30,10 +30,9 @@ | ||
| 30 | 30 | |
| 31 | 31 | |
| 32 | 32 | <?php foreach ( $rpg_groups as $group => $details ) : ?> |
| 33 | 33 | <tr valign="top"> |
| 34 | - <?php $groupname=__('Group','bbp-private-groups').substr($group,5,strlen($group)) ; ?> | |
| 35 | - <th><?php echo $groupname." ".$details ; ?></th> | |
| 34 | + <th><?php echo $group." ".$details ; ?></th> | |
| 36 | 35 | <td> |
| 37 | 36 | <?php |
| 38 | 37 | $check=0 ; |
| 39 | 38 | if (strpos($private_group, '*'.$group.'*') !== FALSE) $check=1 ; |
| @@ -40,10 +39,9 @@ | ||
| 40 | 39 | elseif($private_group == $group) $check=1 ; |
| 41 | 40 | //echo $check; |
| 42 | 41 | echo '<input name="'.$group.'" id="group" type="checkbox" ' ; |
| 43 | 42 | if( $check ) echo 'checked="checked"'; |
| 44 | - echo ' />' ; | |
| 45 | - _e ('Click to add this group', 'bbp-private-groups' ); | |
| 43 | + echo ' /> Click to add this group'; | |
| 46 | 44 | ?> |
| 47 | 45 | </td> |
| 48 | 46 | </tr> |
| 49 | 47 | <?php endforeach; ?> |