Changeset 827 for trunk/bp-forums/bp-forums-admin.php
- Timestamp:
- 01/09/2009 10:46:48 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/bp-forums/bp-forums-admin.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-forums/bp-forums-admin.php
r676 r827 5 5 if ( is_site_admin() ) { 6 6 /* Add the administration tab under the "Site Admin" tab for site administrators */ 7 add_submenu_page( 'wpmu-admin.php', __( "Group Forums"), __("Group Forums"), 1, "bp_forums_settings", "bp_forums_bbpress_admin" );7 add_submenu_page( 'wpmu-admin.php', __( 'Group Forums', 'buddypress' ), __( 'Group Forums', 'buddypress' ), 1, "bp_forums_settings", "bp_forums_bbpress_admin" ); 8 8 } 9 9 } … … 46 46 <?php if ( isset($path_success) ) : ?><?php echo "<p id='message' class='updated fade'>$path_success</p>" ?><?php endif; ?> 47 47 48 <p><?php _e( 'To enable forums for each group in a BuddyPress installation, you must first download, install, and setup bbPress and integrate it with WordPress MU.') ?></p>49 <p><?php _e( 'Once you have bbPress set up correctly, enter the options below so that BuddyPress can connect.') ?></p>48 <p><?php _e( 'To enable forums for each group in a BuddyPress installation, you must first download, install, and setup bbPress and integrate it with WordPress MU.', 'buddypress' ) ?></p> 49 <p><?php _e( 'Once you have bbPress set up correctly, enter the options below so that BuddyPress can connect.', 'buddypress' ) ?></p> 50 50 51 51 <form action="<?php echo site_url() . '/wp-admin/admin.php?page=bp_forums_settings' ?>" name="bbpress-path-form" id="bbpress-path-form" method="post"> … … 54 54 <table class="form-table"> 55 55 <tr valign="top"> 56 <th scope="row"><label for="target_uri"><?php _e( 'bbPress URL', 'b bpress_live' ) ?></label></th>56 <th scope="row"><label for="target_uri"><?php _e( 'bbPress URL', 'buddypress' ) ?></label></th> 57 57 <td> 58 58 <input name="target_uri" type="text" id="target_uri" value="<?php echo attribute_escape( $fetch_options['target_uri'] ); ?>" size="60" /><br /> 59 <?php _e( 'The URL of the location you installed bbPress. For example, http://domain.com/forums/', 'b bpress_live' ); ?>59 <?php _e( 'The URL of the location you installed bbPress. For example, http://domain.com/forums/', 'buddypress' ); ?> 60 60 </td> 61 61 </tr> 62 62 <tr valign="top"> 63 <th scope="row"><label for="username"><?php _e( 'bbPress username', 'b bpress_live' ) ?></label></th>63 <th scope="row"><label for="username"><?php _e( 'bbPress username', 'buddypress' ) ?></label></th> 64 64 <td> 65 65 <input name="username" type="text" id="username" value="<?php echo attribute_escape( $fetch_options['username'] ); ?>" size="20" /><br /> 66 <?php _e( 'The username for the user (with admin rights) that you created for BuddyPress integration', 'b bpress_live' ); ?>66 <?php _e( 'The username for the user (with admin rights) that you created for BuddyPress integration', 'buddypress' ); ?> 67 67 </td> 68 68 </tr> 69 69 <tr valign="top"> 70 <th scope="row"><label for="password"><?php _e( 'bbPress password', 'b bpress_live' ) ?></label></th>70 <th scope="row"><label for="password"><?php _e( 'bbPress password', 'buddypress' ) ?></label></th> 71 71 <td> 72 72 <input name="password" type="password" id="password" value="<?php echo attribute_escape( $fetch_options['password'] ); ?>" size="20" /><br /> 73 <?php _e( 'The password for the user (with admin rights) that you created for BuddyPress integration', 'b bpress_live' ); ?>73 <?php _e( 'The password for the user (with admin rights) that you created for BuddyPress integration', 'buddypress' ); ?> 74 74 </td> 75 75 </tr> 76 76 </table> 77 77 <br /> 78 <h3><?php _e( 'Cache requests', 'b bpress_live' ) ?></h3>78 <h3><?php _e( 'Cache requests', 'buddypress' ) ?></h3> 79 79 <table class="form-table"> 80 80 <tr valign="top"> 81 <th scope="row"><label for="cache_enabled"><?php _e( 'Caching enabled', 'b bpress_live' ) ?></label></th>81 <th scope="row"><label for="cache_enabled"><?php _e( 'Caching enabled', 'buddypress' ) ?></label></th> 82 82 <td> 83 83 <input name="cache_enabled" type="checkbox" id="cache_enabled" value="1"<?php echo( $options['cache_enabled'] ? ' checked="checked"' : '' ); ?> /> 84 <?php _e( 'Turn on caching of requests to reduce latency and load.', 'b bpress_live' ); ?>84 <?php _e( 'Turn on caching of requests to reduce latency and load.', 'buddypress' ); ?> 85 85 </td> 86 86 </tr> 87 87 <tr valign="top"> 88 <th scope="row"><label for="cache_timeout"><?php _e( 'Cache timeout', 'b bpress_live' ) ?></label></th>88 <th scope="row"><label for="cache_timeout"><?php _e( 'Cache timeout', 'buddypress' ) ?></label></th> 89 89 <td> 90 <input name="cache_timeout" type="text" id="cache_timeout" value="<?php echo attribute_escape( $options['cache_timeout'] ); ?>" size="10" /> <?php _e( '(seconds)', 'b bpress_live' ) ?><br />91 <?php _e( 'The amount of time in seconds that a cached request is valid for.', 'b bpress_live' ); ?>90 <input name="cache_timeout" type="text" id="cache_timeout" value="<?php echo attribute_escape( $options['cache_timeout'] ); ?>" size="10" /> <?php _e( '(seconds)', 'buddypress' ) ?><br /> 91 <?php _e( 'The amount of time in seconds that a cached request is valid for.', 'buddypress' ); ?> 92 92 </td> 93 93 </tr>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)