| 1 | 7c7 |
|---|
| 2 | < add_submenu_page( 'wpmu-admin.php', __("Group Forums"), __("Group Forums"), 1, "bp_forums_settings", "bp_forums_bbpress_admin" ); |
|---|
| 3 | --- |
|---|
| 4 | > add_submenu_page( 'wpmu-admin.php', __("Group Forums",'buddypress'), __("Group Forums",'buddypress'), 1, "bp_forums_settings", "bp_forums_bbpress_admin" ); |
|---|
| 5 | 43c43 |
|---|
| 6 | < <h2><?php _e("Group Forum Settings") ?></h2> |
|---|
| 7 | --- |
|---|
| 8 | > <h2><?php _e("Group Forum Settings",'buddypress') ?></h2> |
|---|
| 9 | 48,49c48,49 |
|---|
| 10 | < <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> |
|---|
| 11 | < <p><?php _e('Once you have bbPress set up correctly, enter the options below so that BuddyPress can connect.') ?></p> |
|---|
| 12 | --- |
|---|
| 13 | > <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> |
|---|
| 14 | > <p><?php _e('Once you have bbPress set up correctly, enter the options below so that BuddyPress can connect.','buddypress') ?></p> |
|---|
| 15 | 56c56 |
|---|
| 16 | < <th scope="row"><label for="target_uri"><?php _e( 'bbPress URL', 'bbpress_live' ) ?></label></th> |
|---|
| 17 | --- |
|---|
| 18 | > <th scope="row"><label for="target_uri"><?php _e( 'bbPress URL','buddypress' ) ?></label></th> |
|---|
| 19 | 59c59 |
|---|
| 20 | < <?php _e( 'The URL of the location you installed bbPress. For example, http://domain.com/forums/', 'bbpress_live' ); ?> |
|---|
| 21 | --- |
|---|
| 22 | > <?php _e( 'The URL of the location you installed bbPress. For example, http://domain.com/forums/','buddypress'); ?> |
|---|
| 23 | 63c63 |
|---|
| 24 | < <th scope="row"><label for="username"><?php _e( 'bbPress username', 'bbpress_live' ) ?></label></th> |
|---|
| 25 | --- |
|---|
| 26 | > <th scope="row"><label for="username"><?php _e( 'bbPress username','buddypress' ) ?></label></th> |
|---|
| 27 | 66c66 |
|---|
| 28 | < <?php _e( 'The username for the user (with admin rights) that you created for BuddyPress integration', 'bbpress_live' ); ?> |
|---|
| 29 | --- |
|---|
| 30 | > <?php _e( 'The username for the user (with admin rights) that you created for BuddyPress integration','buddypress'); ?> |
|---|
| 31 | 70c70 |
|---|
| 32 | < <th scope="row"><label for="password"><?php _e( 'bbPress password', 'bbpress_live' ) ?></label></th> |
|---|
| 33 | --- |
|---|
| 34 | > <th scope="row"><label for="password"><?php _e( 'bbPress password','buddypress' ) ?></label></th> |
|---|
| 35 | 73c73 |
|---|
| 36 | < <?php _e( 'The password for the user (with admin rights) that you created for BuddyPress integration', 'bbpress_live' ); ?> |
|---|
| 37 | --- |
|---|
| 38 | > <?php _e( 'The password for the user (with admin rights) that you created for BuddyPress integration','buddypress' ); ?> |
|---|
| 39 | 78c78 |
|---|
| 40 | < <h3><?php _e( 'Cache requests', 'bbpress_live' ) ?></h3> |
|---|
| 41 | --- |
|---|
| 42 | > <h3><?php _e( 'Cache requests','buddypress' ) ?></h3> |
|---|
| 43 | 81c81 |
|---|
| 44 | < <th scope="row"><label for="cache_enabled"><?php _e( 'Caching enabled', 'bbpress_live' ) ?></label></th> |
|---|
| 45 | --- |
|---|
| 46 | > <th scope="row"><label for="cache_enabled"><?php _e( 'Caching enabled','buddypress' ) ?></label></th> |
|---|
| 47 | 84c84 |
|---|
| 48 | < <?php _e( 'Turn on caching of requests to reduce latency and load.', 'bbpress_live' ); ?> |
|---|
| 49 | --- |
|---|
| 50 | > <?php _e( 'Turn on caching of requests to reduce latency and load.','buddypress' ); ?> |
|---|
| 51 | 88c88 |
|---|
| 52 | < <th scope="row"><label for="cache_timeout"><?php _e( 'Cache timeout', 'bbpress_live' ) ?></label></th> |
|---|
| 53 | --- |
|---|
| 54 | > <th scope="row"><label for="cache_timeout"><?php _e( 'Cache timeout','buddypress' ) ?></label></th> |
|---|
| 55 | 90,91c90,91 |
|---|
| 56 | < <input name="cache_timeout" type="text" id="cache_timeout" value="<?php echo attribute_escape( $options['cache_timeout'] ); ?>" size="10" /> <?php _e( '(seconds)', 'bbpress_live' ) ?><br /> |
|---|
| 57 | < <?php _e( 'The amount of time in seconds that a cached request is valid for.', 'bbpress_live' ); ?> |
|---|
| 58 | --- |
|---|
| 59 | > <input name="cache_timeout" type="text" id="cache_timeout" value="<?php echo attribute_escape( $options['cache_timeout'] ); ?>" size="10" /> <?php _e( '(seconds)','buddypress' ) ?><br /> |
|---|
| 60 | > <?php _e( 'The amount of time in seconds that a cached request is valid for.','buddypress' ); ?> |
|---|
| 61 | 20c20 |
|---|
| 62 | < 'description' => __('Forum lists from your bbPress forums') |
|---|
| 63 | --- |
|---|
| 64 | > 'description' => __('Forum lists from your bbPress forums','buddypress') |
|---|
| 65 | 36c36 |
|---|
| 66 | < __('bbPress Forum list', 'bbpress_live'), |
|---|
| 67 | --- |
|---|
| 68 | > __('bbPress Forum list', 'buddypress'), |
|---|
| 69 | 44c44 |
|---|
| 70 | < __('bbPress Forum list', 'bbpress_live'), |
|---|
| 71 | --- |
|---|
| 72 | > __('bbPress Forum list','buddypress'), |
|---|
| 73 | 89,91c89,91 |
|---|
| 74 | < echo '<th>'. __('Forum', 'bbpress_live') . '</th>'; |
|---|
| 75 | < echo '<th>'. __('Topics', 'bbpress_live') . '</th>'; |
|---|
| 76 | < echo '<th>'. __('Posts', 'bbpress_live') . '</th>'; |
|---|
| 77 | --- |
|---|
| 78 | > echo '<th>'. __('Forum','buddypress') . '</th>'; |
|---|
| 79 | > echo '<th>'. __('Topics','buddypress') . '</th>'; |
|---|
| 80 | > echo '<th>'. __('Posts','buddypress') . '</th>'; |
|---|
| 81 | 166c166 |
|---|
| 82 | < <?php _e('Title:', 'bbpress_live'); ?> |
|---|
| 83 | --- |
|---|
| 84 | > <?php _e('Title:','buddypress'); ?> |
|---|
| 85 | 172c172 |
|---|
| 86 | < <?php _e('Parent forum id or slug (optional):', 'bbpress_live'); ?> |
|---|
| 87 | --- |
|---|
| 88 | > <?php _e('Parent forum id or slug (optional):','buddypress'); ?> |
|---|
| 89 | 178c178 |
|---|
| 90 | < <?php _e('Hierarchy depth:', 'bbpress_live'); ?> |
|---|
| 91 | --- |
|---|
| 92 | > <?php _e('Hierarchy depth:','buddypress'); ?> |
|---|
| 93 | 184c184 |
|---|
| 94 | < <?php _e('Layout style:', 'bbpress_live'); ?> |
|---|
| 95 | --- |
|---|
| 96 | > <?php _e('Layout style:','buddypress'); ?> |
|---|
| 97 | 188c188 |
|---|
| 98 | < <input id="bbpress_live_widget_forums_list_<?php echo $instance; ?>" name="bbpress_live_widget_forums[<?php echo $instance; ?>][layout]" type="radio" value="list"<?php echo $layout['list']; ?> /> <?php _e('ordered list', 'bbpress_live'); ?> |
|---|
| 99 | --- |
|---|
| 100 | > <input id="bbpress_live_widget_forums_list_<?php echo $instance; ?>" name="bbpress_live_widget_forums[<?php echo $instance; ?>][layout]" type="radio" value="list"<?php echo $layout['list']; ?> /> <?php _e('ordered list','buddypress'); ?> |
|---|
| 101 | 193c193 |
|---|
| 102 | < <input id="bbpress_live_widget_forums_table_<?php echo $instance; ?>" name="bbpress_live_widget_forums[<?php echo $instance; ?>][layout]" type="radio" value="table"<?php echo $layout['table']; ?> /> <?php _e('table', 'bbpress_live'); ?> |
|---|
| 103 | --- |
|---|
| 104 | > <input id="bbpress_live_widget_forums_table_<?php echo $instance; ?>" name="bbpress_live_widget_forums[<?php echo $instance; ?>][layout]" type="radio" value="table"<?php echo $layout['table']; ?> /> <?php _e('table','buddypress'); ?> |
|---|
| 105 | 221c221 |
|---|
| 106 | < 'description' => __('The latest topics from your bbPress forums') |
|---|
| 107 | --- |
|---|
| 108 | > 'description' => __('The latest topics from your bbPress forums','buddypress') |
|---|
| 109 | 237c237 |
|---|
| 110 | < __('bbPress latest topics', 'bbpress_live'), |
|---|
| 111 | --- |
|---|
| 112 | > __('bbPress latest topics','buddypress'), |
|---|
| 113 | 245c245 |
|---|
| 114 | < __('bbPress latest topics', 'bbpress_live'), |
|---|
| 115 | --- |
|---|
| 116 | > __('bbPress latest topics','buddypress'), |
|---|
| 117 | 282c282 |
|---|
| 118 | < printf( __( '%1$s posted %2$s ago', 'bbpress_live' ), $topic['topic_last_poster_display_name'], $topic['topic_time_since'] ); |
|---|
| 119 | --- |
|---|
| 120 | > printf( __( '%1$s posted %2$s ago','buddypress' ), $topic['topic_last_poster_display_name'], $topic['topic_time_since'] ); |
|---|
| 121 | 291,294c291,294 |
|---|
| 122 | < echo '<th>'. __('Topic', 'bbpress_live') . '</th>'; |
|---|
| 123 | < echo '<th>'. __('Posts', 'bbpress_live') . '</th>'; |
|---|
| 124 | < echo '<th>'. __('Last Poster', 'bbpress_live') . '</th>'; |
|---|
| 125 | < echo '<th>'. __('Freshness', 'bbpress_live') . '</th>'; |
|---|
| 126 | --- |
|---|
| 127 | > echo '<th>'. __('Topic','buddypress') . '</th>'; |
|---|
| 128 | > echo '<th>'. __('Posts','buddypress') . '</th>'; |
|---|
| 129 | > echo '<th>'. __('Last Poster','buddypress') . '</th>'; |
|---|
| 130 | > echo '<th>'. __('Freshness','buddypress') . '</th>'; |
|---|
| 131 | 370c370 |
|---|
| 132 | < <?php _e('Title:', 'bbpress_live'); ?> |
|---|
| 133 | --- |
|---|
| 134 | > <?php _e('Title:','buddypress'); ?> |
|---|
| 135 | 376c376 |
|---|
| 136 | < <?php _e('Forum id or slug (optional):', 'bbpress_live'); ?> |
|---|
| 137 | --- |
|---|
| 138 | > <?php _e('Forum id or slug (optional):','buddypress'); ?> |
|---|
| 139 | 382c382 |
|---|
| 140 | < <?php _e('Number of topics to show:', 'bbpress_live'); ?> |
|---|
| 141 | --- |
|---|
| 142 | > <?php _e('Number of topics to show:','buddypress'); ?> |
|---|
| 143 | 388c388 |
|---|
| 144 | < <?php _e('Layout style:', 'bbpress_live'); ?> |
|---|
| 145 | --- |
|---|
| 146 | > <?php _e('Layout style:','buddypress'); ?> |
|---|
| 147 | 392c392 |
|---|
| 148 | < <input id="bbpress_live_widget_topics_list_<?php echo $instance; ?>" name="bbpress_live_widget_topics[<?php echo $instance; ?>][layout]" type="radio" value="list"<?php echo $layout['list']; ?> /> <?php _e('ordered list', 'bbpress_live'); ?> |
|---|
| 149 | --- |
|---|
| 150 | > <input id="bbpress_live_widget_topics_list_<?php echo $instance; ?>" name="bbpress_live_widget_topics[<?php echo $instance; ?>][layout]" type="radio" value="list"<?php echo $layout['list']; ?> /> <?php _e('ordered list','buddypress'); ?> |
|---|
| 151 | 397c397 |
|---|
| 152 | < <input id="bbpress_live_widget_topics_table_<?php echo $instance; ?>" name="bbpress_live_widget_topics[<?php echo $instance; ?>][layout]" type="radio" value="table"<?php echo $layout['table']; ?> /> <?php _e('table', 'bbpress_live'); ?> |
|---|
| 153 | --- |
|---|
| 154 | > <input id="bbpress_live_widget_topics_table_<?php echo $instance; ?>" name="bbpress_live_widget_topics[<?php echo $instance; ?>][layout]" type="radio" value="table"<?php echo $layout['table']; ?> /> <?php _e('table','buddypress'); ?> |
|---|