PluginProbe
Private groups / 2.4
Private groups v2.4
trunk 1.5 1.6 1.7 1.8 1.8.1 1.9.1 1.9.2 2.0 2.0.1 2.2 2.3 2.4 2.5 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 All 116 releases
← All changes | includes/meta-box.php +4 -5 2.52.4 View file →
@@ -13,9 +13,9 @@
13 13 add_action( 'save_post', 'private_groups_save_meta', 1, 2 );
14 14
15 15
16 16 function private_groups_create_meta_box() {
17 - add_meta_box( 'forum-group-meta-box', __( 'Forum Groups' , 'bbp-private-groups') , 'private_groups_meta_box', 'forum', 'normal', 'high' );
17 + add_meta_box( 'forum-group-meta-box', 'Forum Groups', 'private_groups_meta_box', 'forum', 'normal', 'high' );
18 18 //add_meta_box( 'forum-group-meta-box', 'Forum Groups', 'private_groups_meta_box', 'topic', 'normal', 'high' );
19 19 //add_meta_box( 'forum-group-meta-box', 'Forum Groups', 'private_groups_meta_box', 'reply', 'normal', 'high' );
20 20 }
21 21
@@ -29,9 +29,9 @@
29 29
30 30 <input type="hidden" name="private_groups_meta_nonce" value="<?php echo wp_create_nonce(plugin_basename(__FILE__)); ?>" />
31 31
32 32 <p>
33 - <label for="groups"><?php _e('<strong>Groups:</strong> Restrict the content to these groups on the front end of the site. If all boxes are left unchecked, everyone can view the content.', 'bbp-private_groups'); ?></label>
33 + <label for="groups"><?php _e('<strong>Groups:</strong> Restrict the content to these groups on the front end of the site. If all boxes are left unchecked, everyone can view the content.', 'private_groups'); ?></label>
34 34 </p>
35 35
36 36 <div style="overflow: hidden;">
37 37
@@ -43,9 +43,9 @@
43 43 global $rpg_groups ;
44 44
45 45 /* Loop through each of the available roles. */
46 46 if(empty($rpg_groups)) {
47 - echo _e('<b>No groups have yet been set up - go to Dashboard>Settings>bbp Private Groups to set</b>', 'bbp-private_groups') ;
47 + echo '<b>No groups have yet been set up - go to Dashboard>Settings>bbp Private Groups to set</b>' ;
48 48 }
49 49 else {
50 50 foreach ( $rpg_groups as $group => $details ) {
51 51 $checked = false;
@@ -55,11 +55,10 @@
55 55 $checked = ' checked="checked" '; ?>
56 56
57 57 <p style="width: 32%; float: left; margin-right: 0;">
58 58 <label for="group-<?php echo $group; ?>">
59 - <?php $groupname=__('Group','bbp-private-groups').substr($group,5,strlen($group)) ; ?>
60 59 <input type="checkbox" name=<?php echo $group ; ?> id=<?php echo $group ; ?> <?php echo $checked; ?> value="<?php echo $group; ?>" />
61 - <?php echo $groupname." ".$details ; ?>
60 + <?php echo $group." ".$details ; ?>
62 61 </label>
63 62 </p>
64 63
65 64 <?php }} ?>