Changeset 1567
- Timestamp:
- 06/23/2009 01:01:10 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 9 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-admin.php
r1518 r1567 257 257 </tr> 258 258 <?php endif; ?> 259 <?php if ( file_exists( BP_PLUGIN_DIR . '/bp-statusupdates.php') ) : ?> 260 <tr> 261 <td><h3><?php _e( 'Status Updates', 'buddypress' ) ?></h3><p><?php _e( 'Allow users to post status updates.', 'buddypress' ) ?></p></td> 262 <td width="45%"> 263 <input type="radio" name="bp_components[bp-statusupdates.php]" value="1"<?php if ( !isset( $disabled_components['bp-statusupdates.php'] ) ) : ?> checked="checked" <?php endif; ?>/> <?php _e( 'Enabled', 'buddypress' ) ?> 264 <input type="radio" name="bp_components[bp-statusupdates.php]" value="0"<?php if ( isset( $disabled_components['bp-statusupdates.php'] ) ) : ?> checked="checked" <?php endif; ?>/> <?php _e( 'Disabled', 'buddypress' ) ?> 265 </td> 266 </tr> 267 <?php endif; ?> 259 268 </tbody> 260 269 </table> -
trunk/bp-core/bp-core-templatetags.php
r1538 r1567 501 501 502 502 function bp_has_custom_signup_page() { 503 if ( file_exists( WP_CONTENT_DIR . '/themes/' . get_blog_option( 1, 'template') . '/register.php') )503 if ( file_exists( WP_CONTENT_DIR . '/themes/' . get_blog_option( BP_ROOT_BLOG, 'template') . '/register.php') ) 504 504 return true; 505 505 -
trunk/bp-loader.php
r1522 r1567 10 10 */ 11 11 12 define( 'BP_VERSION', '1. 0.1' );12 define( 'BP_VERSION', '1.1-bleeding' ); 13 13 14 14 /*** … … 52 52 include( BP_PLUGIN_DIR . '/bp-xprofile.php' ); 53 53 54 /* Status Updates */ 55 if ( !isset( $deactivated['bp-status.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-status.php') ) 56 include( BP_PLUGIN_DIR . '/bp-status.php' ); 57 54 58 ?>
Note: See TracChangeset
for help on using the changeset viewer.