Changeset 3716
- Timestamp:
- 01/15/2011 01:30:39 AM (16 years ago)
- Location:
- trunk/bp-core
- Files:
-
- 3 edited
-
admin/bp-core-admin.php (modified) (1 diff)
-
admin/bp-core-update.php (modified) (8 diffs)
-
css/admin.dev.css (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/admin/bp-core-admin.php
r3643 r3716 6 6 <div id="bp-admin-header"> 7 7 <h3><?php _e( 'BuddyPress', 'buddypress' ) ?></h3> 8 <h 4><?php _e( 'Dashboard', 'buddypress' ) ?></h4>8 <h2><?php _e( 'Dashboard', 'buddypress' ) ?></h2> 9 9 </div> 10 10 -
trunk/bp-core/admin/bp-core-update.php
r3714 r3716 167 167 <div id="bp-admin-header"> 168 168 <h3><?php _e( 'BuddyPress', 'buddypress' ) ?></h3> 169 <h 4>169 <h2> 170 170 <?php if ( 'update' == $this->setup_type ) : ?> 171 171 172 <?php _e( 'Update', 'buddypress' ) ?> 173 172 174 <?php else : ?> 175 173 176 <?php _e( 'Setup', 'buddypress' ) ?> 177 174 178 <?php endif; ?> 175 </h4> 176 </div> 177 178 <div id="bp-admin-nav"> 179 <ol> 180 <?php foreach( (array)$this->steps as $i => $name ) : ?> 181 <li<?php if ( $this->current_step == $i ) : ?> class="current"<?php endif; ?>> 182 <?php if ( $this->current_step > $i ) : ?> 183 <span class="complete"> </span> 184 <?php else : ?> 185 <?php echo $i + 1 . '. ' ?> 186 <?php endif; ?> 187 <?php echo esc_attr( $name ) ?> 188 </li> 189 <?php endforeach; ?> 190 </ol> 179 </h2> 191 180 </div> 192 181 … … 199 188 200 189 <form action="<?php echo $form_action; ?>" method="post" id="bp-admin-form"> 190 <div id="bp-admin-nav"> 191 <ol> 192 <?php foreach( (array)$this->steps as $i => $name ) : ?> 193 <li<?php if ( $this->current_step == $i ) : ?> class="current"<?php endif; ?>> 194 <?php if ( $this->current_step > $i ) : ?> 195 <span class="complete"> </span> 196 <?php else : ?> 197 <?php echo $i + 1 . '. ' ?> 198 <?php endif; ?> 199 <?php echo esc_attr( $name ) ?> 200 </li> 201 <?php endforeach; ?> 202 </ol> 203 <div class="prev-next submit clear"> 204 <input type="submit" value="<?php _e( 'Save & Next →', 'buddypress' ) ?>" name="submit" /> 205 </div> 206 </div> 207 201 208 <div id="bp-admin-content"> 202 209 <?php switch ( $this->steps[$this->current_step] ) { … … 267 274 $existing_pages = get_blog_option( BP_ROOT_BLOG, 'bp-pages' ); 268 275 else 269 $existing_pages = get_option( 'bp-pages' ); 270 271 ?> 272 <div class="prev-next submit clear"> 273 <p><input type="submit" value="<?php _e( 'Save & Next →', 'buddypress' ) ?>" name="submit" /></p> 274 </div> 276 $existing_pages = get_option( 'bp-pages' ); ?> 275 277 276 278 <p><?php printf( __( 'It looks like you have just activated WordPress Multisite mode, which allows members of your BuddyPress community to have their own WordPress blogs. You can enable or disable this feature at any time at <a href="%s">Network Options</a>.', 'buddypress' ), admin_url( 'ms-options.php' ) ); ?></p> … … 335 337 $disabled_components = apply_filters( 'bp_deactivated_components', get_site_option( 'bp-deactivated-components' ) ); ?> 336 338 337 <div class="prev-next submit clear">338 <p><input type="submit" value="<?php _e( 'Save & Next →', 'buddypress' ) ?>" name="submit" /></p>339 </div>340 341 339 <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> 342 340 … … 493 491 $activation_slug = __( 'activate', 'buddypress' ); 494 492 495 ?> 496 <div class="prev-next submit clear"> 497 <p><input type="submit" value="<?php _e( 'Save & Next →', 'buddypress' ) ?>" name="submit" /></p> 498 </div> 499 500 <?php if ( 'new' == $this->setup_type ) : ?> 493 if ( 'new' == $this->setup_type ) : ?> 501 494 502 495 <p><?php _e( "BuddyPress needs to use pages to display content and directories.", 'buddypress' ) ?></p> … … 637 630 $prefix = '/index.php'; 638 631 ?> 639 <div class="prev-next submit clear">640 <p><input type="submit" value="<?php _e( 'Save & Next →', 'buddypress' ) ?>" name="submit" /></p>641 </div>642 632 643 633 <p><?php _e( "To make sure the pages we created in the previous step work correctly, you will need to enable permalink support on your site.", 'buddypress' ) ?></p> … … 695 685 } 696 686 ?> 697 <div class="prev-next submit clear">698 <p><input type="submit" value="<?php _e( 'Save & Next →', 'buddypress' ) ?>" name="submit" /></p>699 </div>700 687 701 688 <p><?php _e( "BuddyPress introduces a whole range of new screens to display content. To display these screens you will need to decide how you want to handle them in your active theme. There are a few different options, please choose the option that best suits your demands and needs.", 'buddypress' ) ?></p> … … 793 780 if ( !current_user_can( 'activate_plugins' ) ) 794 781 return false; 795 ?> 796 <div class="prev-next submit clear"> 797 <p><input type="submit" value="<?php _e( 'Finish & Activate →', 'buddypress' ) ?>" name="submit" /></p> 798 </div> 799 800 <?php if ( 'new' == $this->setup_type ) : 782 783 if ( 'new' == $this->setup_type ) : 801 784 $type = __( 'setup', 'buddypress' ); ?> 802 785 -
trunk/bp-core/css/admin.dev.css
r3714 r3716 1 1 div#bp-admin { 2 background: #fff;3 2 margin: 25px 15px 25px 0; 4 padding: 20px; 5 -moz-border-radius: 6px; 6 -webkit-border-radius: 6px; 7 border-radius: 6px; 8 -moz-box-shadow: #eee 0 -1px 4px; 9 -webkit-box-shadow: #eee 0 -1px 4px; 10 -khtml-box-shadow: #eee 0 -1px 4px; 11 box-shadow: #eee 0 -1px 4px; 12 font-family: helvetica, arial, tahoma, sans-serif; 3 padding: 0 20px 20px 20px; 13 4 color: #555; 14 5 overflow: hidden; … … 25 16 } 26 17 div#bp-admin h2 { 27 font-family: helvetica, arial, tahoma, sans-serif;28 18 color: #555; 29 font-style: normal; 30 font-weight: bold; 31 font-size: 22px; 19 position: relative; 20 top: -6px; 32 21 } 33 22 … … 38 27 height: 49px; 39 28 background: url( ../images/logo.gif ) top left no-repeat; 40 border-right: 1px solid #eee;41 29 padding-right: 20px; 42 30 float: left; … … 51 39 52 40 div#bp-admin-nav { 53 background: # f0f0f0;54 margin: 15px -1 9px 10px -19px;55 padding: 8px 19px 0 19px;41 background: #e0e0e0; 42 margin: 15px -10px 10px; 43 padding: 10px 10px 0 10px; 56 44 height: 30px; 45 -moz-border-radius: 6px; 46 -webkit-border-radius: 6px; 47 border-radius: 6px; 48 } 49 div#bp-admin-nav div.submit { 50 position: relative; 51 float: right; 52 margin-top: -36px !important; 53 } 54 div#bp-admin-nav div.submit input { 55 padding: 6px 10px; 57 56 } 58 57 div#bp-admin-nav ol { … … 64 63 float: left; 65 64 margin: 0 10px 0 0; 66 color: # bbb;65 color: #666; 67 66 } 68 67 div#bp-admin-nav ol li { … … 75 74 } 76 75 div#bp-admin-nav ol li.current { 77 background: #f ff;76 background: #f9f9f9; 78 77 color: #555; 79 78 } … … 90 89 div.component div.radio { 91 90 position: relative; 92 background: # f4f4f4;91 background: #e0e0e0; 93 92 padding: 5px 10px; 94 -moz-border-radius: 3px;95 -webkit-border-radius: 3px;96 border-radius: 3px;93 -moz-border-radius: 6px; 94 -webkit-border-radius: 6px; 95 border-radius: 6px; 97 96 top: -6px; 98 right: 10px;99 97 } 100 98 101 99 div.component img { 102 margin-top: 2px;100 margin-top: 10px; 103 101 } 104 102 … … 108 106 109 107 div.component h5 { 110 font-size: 1 5px;108 font-size: 18px; 111 109 float: left; 112 110 margin: 0 0 0 4px; 111 width: 100px; 113 112 } 114 113 … … 116 115 font-size: 11px; 117 116 float: right; 117 top: 5px; 118 118 } 119 119 … … 127 127 128 128 div#bp-admin div.prev-next { 129 border-bottom: 1px solid #f0f0f0;130 129 margin: 0 -20px; 131 130 padding: 0 20px 10px;
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)