Skip to:
Content

BuddyPress.org

Changeset 3714


Ignore:
Timestamp:
01/15/2011 12:00:41 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Adjust installer component selection styling.

Location:
trunk/bp-core
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/admin/bp-core-update.php

    r3713 r3714  
    333333            return false;
    334334
    335         $disabled_components = apply_filters( 'bp_deactivated_components', get_site_option( 'bp-deactivated-components' ) );
    336     ?>
     335        $disabled_components = apply_filters( 'bp_deactivated_components', get_site_option( 'bp-deactivated-components' ) ); ?>
     336
    337337        <div class="prev-next submit clear">
    338338            <p><input type="submit" value="<?php _e( 'Save &amp; Next &rarr;', 'buddypress' ) ?>" name="submit" /></p>
     
    341341        <p><?php _e( "BuddyPress is made up of a number of individual components, each one adding a distinct feature. The first step is to decide which of these features you'd like to enable on your site. All features are enabled by default, and don't worry, you can change your mind at any point in the future.", 'buddypress' ) ?></p>
    342342
    343         <div class="left-col">
    344 
    345             <div class="component">
    346                 <h5><?php _e( "Activity Streams", 'buddypress' ) ?></h5>
    347 
    348                 <div class="radio">
    349                     <input type="radio" name="bp_components[bp-activity.php]" value="1"<?php if ( !isset( $disabled_components['bp-activity.php'] ) ) : ?> checked="checked" <?php endif; ?>/> <?php _e( 'Enabled', 'buddypress' ) ?> &nbsp;
    350                     <input type="radio" name="bp_components[bp-activity.php]" value="0"<?php if ( isset( $disabled_components['bp-activity.php'] ) ) : ?> checked="checked" <?php endif; ?>/> <?php _e( 'Disabled', 'buddypress' ) ?>
    351                 </div>
    352 
    353                 <img src="<?php echo plugins_url( 'buddypress/screenshot-1.gif' ) ?>" alt="Activity Streams" />
    354                 <p><?php _e( "Global, personal and group activity streams with threaded commenting, direct posting, favoriting and @mentions. All with full RSS feed and email notification support.", 'buddypress' ) ?></p>
     343        <div class="component">
     344            <h5><?php _e( "Extended Profiles", 'buddypress' ) ?></h5>
     345
     346            <div class="radio">
     347                <input type="radio" name="bp_components[bp-xprofile.php]" value="1"<?php if ( !isset( $disabled_components['bp-xprofile.php'] ) ) : ?> checked="checked" <?php endif; ?>/> <?php _e( 'Enabled', 'buddypress' ) ?> &nbsp;
     348                <input type="radio" name="bp_components[bp-xprofile.php]" value="0"<?php if ( isset( $disabled_components['bp-xprofile.php'] ) ) : ?> checked="checked" <?php endif; ?>/> <?php _e( 'Disabled', 'buddypress' ) ?>
    355349            </div>
    356350
    357             <div class="component">
    358                 <h5><?php _e( "Extensible Groups", 'buddypress' ) ?></h5>
    359 
    360                 <div class="radio">
    361                     <input type="radio" name="bp_components[bp-groups.php]" value="1"<?php if ( !isset( $disabled_components['bp-groups.php'] ) ) : ?> checked="checked" <?php endif; ?>/> <?php _e( 'Enabled', 'buddypress' ) ?> &nbsp;
    362                     <input type="radio" name="bp_components[bp-groups.php]" value="0"<?php if ( isset( $disabled_components['bp-groups.php'] ) ) : ?> checked="checked" <?php endif; ?>/> <?php _e( 'Disabled', 'buddypress' ) ?>
    363                 </div>
    364 
    365                 <img src="<?php echo plugins_url( 'buddypress/screenshot-3.gif' ) ?>" alt="Activity Streams" />
    366                 <p><?php _e( "Powerful public, private or hidden groups allow your users to break the discussion down into specific topics with a separate activity stream and member listing.", 'buddypress' ) ?></p>
     351            <img src="<?php echo plugins_url( 'buddypress/screenshot-2.gif' ) ?>" alt="Activity Streams" />
     352            <p><?php _e( "Fully editable profile fields allow you to define the fields users can fill in to describe themselves. Tailor profile fields to suit your audience.", 'buddypress' ) ?></p>
     353        </div>
     354
     355        <div class="component">
     356            <h5><?php _e( "Friend Connections", 'buddypress' ) ?></h5>
     357
     358            <div class="radio">
     359                <input type="radio" name="bp_components[bp-friends.php]" value="1"<?php if ( !isset( $disabled_components['bp-friends.php'] ) ) : ?> checked="checked" <?php endif; ?>/> <?php _e( 'Enabled', 'buddypress' ) ?> &nbsp;
     360                <input type="radio" name="bp_components[bp-friends.php]" value="0"<?php if ( isset( $disabled_components['bp-friends.php'] ) ) : ?> checked="checked" <?php endif; ?>/> <?php _e( 'Disabled', 'buddypress' ) ?>
    367361            </div>
    368362
    369             <div class="component">
    370                 <h5><?php _e( "Private Messaging", 'buddypress' ) ?></h5>
    371 
    372                 <div class="radio">
    373                     <input type="radio" name="bp_components[bp-messages.php]" value="1"<?php if ( !isset( $disabled_components['bp-messages.php'] ) ) : ?> checked="checked" <?php endif; ?>/> <?php _e( 'Enabled', 'buddypress' ) ?> &nbsp;
    374                     <input type="radio" name="bp_components[bp-messages.php]" value="0"<?php if ( isset( $disabled_components['bp-messages.php'] ) ) : ?> checked="checked" <?php endif; ?>/> <?php _e( 'Disabled', 'buddypress' ) ?>
    375                 </div>
    376 
    377                 <img src="<?php echo plugins_url( 'buddypress/screenshot-5.gif' ) ?>" alt="Activity Streams" />
    378                 <p><?php _e( "Private messaging will allow your users to talk to each other directly, and in private. Not just limited to one on one discussions, your users can send messages to multiple recipients.", 'buddypress' ) ?></p>
     363            <img src="<?php echo plugins_url( 'buddypress/screenshot-4.gif' ) ?>" alt="Activity Streams" />
     364            <p><?php _e( "Let your users make connections so they can track the activity of others, or filter on only those users they care about the most.", 'buddypress' ) ?></p>
     365        </div>
     366
     367        <div class="component">
     368            <h5><?php _e( "Discussion Forums", 'buddypress' ) ?></h5>
     369
     370            <div class="radio">
     371                <input type="radio" name="bp_components[bp-forums.php]" value="1"<?php if ( !isset( $disabled_components['bp-forums.php'] ) ) : ?> checked="checked" <?php endif; ?>/> <?php _e( 'Enabled', 'buddypress' ) ?> &nbsp;
     372                <input type="radio" name="bp_components[bp-forums.php]" value="0"<?php if ( isset( $disabled_components['bp-forums.php'] ) ) : ?> checked="checked" <?php endif; ?>/> <?php _e( 'Disabled', 'buddypress' ) ?>
    379373            </div>
    380374
    381 
    382             <?php if ( is_multisite() ) : ?>
     375            <img src="<?php echo plugins_url( 'buddypress/screenshot-6.gif' ) ?>" alt="Activity Streams" />
     376            <p><?php _e( "Full powered discussion forums built directly into groups allow for more conventional in-depth conversations. <strong>NOTE: This will require an extra (but easy) setup step.</strong>", 'buddypress' ) ?></p>
     377        </div>
     378
     379        <div class="component">
     380            <h5><?php _e( "Activity Streams", 'buddypress' ) ?></h5>
     381
     382            <div class="radio">
     383                <input type="radio" name="bp_components[bp-activity.php]" value="1"<?php if ( !isset( $disabled_components['bp-activity.php'] ) ) : ?> checked="checked" <?php endif; ?>/> <?php _e( 'Enabled', 'buddypress' ) ?> &nbsp;
     384                <input type="radio" name="bp_components[bp-activity.php]" value="0"<?php if ( isset( $disabled_components['bp-activity.php'] ) ) : ?> checked="checked" <?php endif; ?>/> <?php _e( 'Disabled', 'buddypress' ) ?>
     385            </div>
     386
     387            <img src="<?php echo plugins_url( 'buddypress/screenshot-1.gif' ) ?>" alt="Activity Streams" />
     388            <p><?php _e( "Global, personal and group activity streams with threaded commenting, direct posting, favoriting and @mentions. All with full RSS feed and email notification support.", 'buddypress' ) ?></p>
     389        </div>
     390
     391        <div class="component">
     392            <h5><?php _e( "Extensible Groups", 'buddypress' ) ?></h5>
     393
     394            <div class="radio">
     395                <input type="radio" name="bp_components[bp-groups.php]" value="1"<?php if ( !isset( $disabled_components['bp-groups.php'] ) ) : ?> checked="checked" <?php endif; ?>/> <?php _e( 'Enabled', 'buddypress' ) ?> &nbsp;
     396                <input type="radio" name="bp_components[bp-groups.php]" value="0"<?php if ( isset( $disabled_components['bp-groups.php'] ) ) : ?> checked="checked" <?php endif; ?>/> <?php _e( 'Disabled', 'buddypress' ) ?>
     397            </div>
     398
     399            <img src="<?php echo plugins_url( 'buddypress/screenshot-3.gif' ) ?>" alt="Activity Streams" />
     400            <p><?php _e( "Powerful public, private or hidden groups allow your users to break the discussion down into specific topics with a separate activity stream and member listing.", 'buddypress' ) ?></p>
     401        </div>
     402
     403        <div class="component">
     404            <h5><?php _e( "Private Messaging", 'buddypress' ) ?></h5>
     405
     406            <div class="radio">
     407                <input type="radio" name="bp_components[bp-messages.php]" value="1"<?php if ( !isset( $disabled_components['bp-messages.php'] ) ) : ?> checked="checked" <?php endif; ?>/> <?php _e( 'Enabled', 'buddypress' ) ?> &nbsp;
     408                <input type="radio" name="bp_components[bp-messages.php]" value="0"<?php if ( isset( $disabled_components['bp-messages.php'] ) ) : ?> checked="checked" <?php endif; ?>/> <?php _e( 'Disabled', 'buddypress' ) ?>
     409            </div>
     410
     411            <img src="<?php echo plugins_url( 'buddypress/screenshot-5.gif' ) ?>" alt="Activity Streams" />
     412            <p><?php _e( "Private messaging will allow your users to talk to each other directly, and in private. Not just limited to one on one discussions, your users can send messages to multiple recipients.", 'buddypress' ) ?></p>
     413        </div>
     414
     415        <?php if ( is_multisite() ) : ?>
     416
    383417            <div class="component">
    384418                <h5><?php _e( "Blog Tracking", 'buddypress' ) ?></h5>
     
    392426                    <p><?php _e( "Track new blogs, new posts and new comments across your entire blog network.", 'buddypress' ) ?></p>
    393427            </div>
    394             <?php else: ?>
    395                 <input type="hidden" name="bp_components[bp-blogs.php]" value="0" />
    396             <?php endif; ?>
    397         </div>
    398 
    399         <div class="right-col">
    400 
    401             <div class="component">
    402                 <h5><?php _e( "Extended Profiles", 'buddypress' ) ?></h5>
    403 
    404                 <div class="radio">
    405                     <input type="radio" name="bp_components[bp-xprofile.php]" value="1"<?php if ( !isset( $disabled_components['bp-xprofile.php'] ) ) : ?> checked="checked" <?php endif; ?>/> <?php _e( 'Enabled', 'buddypress' ) ?> &nbsp;
    406                     <input type="radio" name="bp_components[bp-xprofile.php]" value="0"<?php if ( isset( $disabled_components['bp-xprofile.php'] ) ) : ?> checked="checked" <?php endif; ?>/> <?php _e( 'Disabled', 'buddypress' ) ?>
    407                 </div>
    408 
    409                 <img src="<?php echo plugins_url( 'buddypress/screenshot-2.gif' ) ?>" alt="Activity Streams" />
    410                 <p><?php _e( "Fully editable profile fields allow you to define the fields users can fill in to describe themselves. Tailor profile fields to suit your audience.", 'buddypress' ) ?></p>
    411             </div>
    412 
    413             <div class="component">
    414                 <h5><?php _e( "Friend Connections", 'buddypress' ) ?></h5>
    415 
    416                 <div class="radio">
    417                     <input type="radio" name="bp_components[bp-friends.php]" value="1"<?php if ( !isset( $disabled_components['bp-friends.php'] ) ) : ?> checked="checked" <?php endif; ?>/> <?php _e( 'Enabled', 'buddypress' ) ?> &nbsp;
    418                     <input type="radio" name="bp_components[bp-friends.php]" value="0"<?php if ( isset( $disabled_components['bp-friends.php'] ) ) : ?> checked="checked" <?php endif; ?>/> <?php _e( 'Disabled', 'buddypress' ) ?>
    419                 </div>
    420 
    421                 <img src="<?php echo plugins_url( 'buddypress/screenshot-4.gif' ) ?>" alt="Activity Streams" />
    422                 <p><?php _e( "Let your users make connections so they can track the activity of others, or filter on only those users they care about the most.", 'buddypress' ) ?></p>
    423             </div>
    424 
    425             <div class="component">
    426                 <h5><?php _e( "Discussion Forums", 'buddypress' ) ?></h5>
    427 
    428                 <div class="radio">
    429                     <input type="radio" name="bp_components[bp-forums.php]" value="1"<?php if ( !isset( $disabled_components['bp-forums.php'] ) ) : ?> checked="checked" <?php endif; ?>/> <?php _e( 'Enabled', 'buddypress' ) ?> &nbsp;
    430                     <input type="radio" name="bp_components[bp-forums.php]" value="0"<?php if ( isset( $disabled_components['bp-forums.php'] ) ) : ?> checked="checked" <?php endif; ?>/> <?php _e( 'Disabled', 'buddypress' ) ?>
    431                 </div>
    432 
    433                 <img src="<?php echo plugins_url( 'buddypress/screenshot-6.gif' ) ?>" alt="Activity Streams" />
    434                 <p><?php _e( "Full powered discussion forums built directly into groups allow for more conventional in-depth conversations. <strong>NOTE: This will require an extra (but easy) setup step.</strong>", 'buddypress' ) ?></p>
    435             </div>
    436 
    437         </div>
     428
     429        <?php else: ?>
     430
     431            <input type="hidden" name="bp_components[bp-blogs.php]" value="0" />
     432
     433        <?php endif; ?>
    438434
    439435        <div class="submit clear">
     
    442438            <input type="hidden" name="save" value="components" />
    443439            <input type="hidden" name="step" value="<?php echo esc_attr( $this->current_step ) ?>" />
     440
    444441            <?php wp_nonce_field( 'bpwizard_components' )?>
    445         </div>
     442
     443        </div>
     444
    446445    <?php
    447446    }
  • trunk/bp-core/css/admin.dev.css

    r3476 r3714  
    8383    }
    8484
    85 div#bp-admin div.left-col, div#bp-admin div.right-col {
     85div.component {
    8686    width: 323px;
    8787    float: left;
    8888    margin: 15px 30px 0 0;
    89 }
    90 div#bp-admin div.right-col { margin-right: 0; }
    91 
    92 div.component {
    93     width: 323px;
    94     margin: 10px 0 40px 0;
    9589}
    9690    div.component div.radio {
Note: See TracChangeset for help on using the changeset viewer.