Changeset 4965 for trunk/bp-core/admin/bp-core-admin.php
- Timestamp:
- 08/11/2011 08:44:20 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/admin/bp-core-admin.php
r4963 r4965 12 12 } 13 13 add_action( 'in_plugin_update_message-buddypress/bp-loader.php', 'bp_core_update_message' ); 14 15 /**16 * Renders the main admin panel.17 *18 * @package BuddyPress Core19 * @since {@internal Unknown}}20 */21 function bp_core_admin_dashboard() {22 $base_url = bp_get_admin_url( 'admin.php' );23 $action = add_query_arg( array( 'page' => 'bp-general-settings' ), $base_url );24 ?>25 26 <div class="wrap" id="bp-admin">27 28 <div id="bp-admin-header">29 <h3><?php _e( 'BuddyPress', 'buddypress' ); ?></h3>30 <h2><?php _e( 'Dashboard', 'buddypress' ); ?></h2>31 </div>32 33 <?php do_action( 'bp_admin_notices' ); ?>34 35 <form action="<?php echo $action ?>" method="post" id="bp-admin-form">36 <div id="bp-admin-content">37 <p>[TODO: All sorts of awesome things will go here. Latest plugins and themes, stats, version check, support topics, news, tips]</p>38 </div>39 </form>40 41 </div>42 43 <?php44 }45 14 46 15 /** … … 348 317 'description' => __( 'Allow your users to modify their account and notification settings directly from within their profiles.', 'buddypress' ) 349 318 ), 350 'friends' => array(319 'friends' => array( 351 320 'title' => __( 'Friend Connections', 'buddypress' ), 352 321 'description' => __( 'Let your users make connections so they can track the activity of others and focus on the people they care about the most.', 'buddypress' ) … … 360 329 'description' => __( 'Global, personal, and group activity streams with threaded commenting, direct posting, favoriting and @mentions, all with full RSS feed and email notification support.', 'buddypress' ) 361 330 ), 362 'groups' => array(331 'groups' => array( 363 332 'title' => __( 'User Groups', 'buddypress' ), 364 333 'description' => __( 'Groups allow your users to organize themselves into specific public, private or hidden sections with separate activity streams and member listings.', 'buddypress' ) 365 334 ), 366 'forums' => array(335 'forums' => array( 367 336 'title' => __( 'Discussion Forums', 'buddypress' ), 368 337 'description' => __( 'Full-powered discussion forums built directly into groups allow for more conventional in-depth conversations. NOTE: This will require an extra (but easy) setup step.', 'buddypress' ) 338 ), 339 'blogs' => array( 340 'title' => __( 'Site Tracking', 'buddypress' ), 341 'description' => __( 'Make BuddyPress aware of new posts and new comments from your site.', 'buddypress' ) 369 342 ) 370 343 ) ); 371 344 372 if ( is_multisite() ) { 373 $optional_components['blogs'] = array( 374 'title' => __( 'Site Tracking', 'buddypress' ), 375 'description' => __( 'Track new sites, new posts and new comments across your entire network.', 'buddypress' ) 376 ); 377 } 345 if ( is_multisite() ) 346 $optional_components['blogs']['description'] = __( 'Make BuddyPress aware of new sites, new posts and new comments from across your entire network.', 'buddypress' ); 378 347 379 348 // Required components
Note: See TracChangeset
for help on using the changeset viewer.