Skip to:
Content

BuddyPress.org

Changeset 4117


Ignore:
Timestamp:
03/11/2011 08:59:41 PM (14 years ago)
Author:
djpaul
Message:

Don't show "next step" button on final step of upgrader and add i18n argument swapping.

File:
1 edited

Legend:

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

    r4107 r4117  
    153153
    154154                    </ol>
    155                     <div class="prev-next submit clear">
    156                         <input type="submit" value="<?php _e( 'Save &amp; Next &rarr;', 'buddypress' ) ?>" name="submit" />
    157                     </div>
     155
     156                    <?php if ( __( 'Finish', 'buddypress' ) != $this->steps[$this->current_step] ) : ?>
     157                        <div class="prev-next submit clear">
     158                            <input type="submit" value="<?php _e( 'Save &amp; Next &rarr;', 'buddypress' ) ?>" name="submit" />
     159                        </div>
     160                    <?php endif; ?>
    158161                </div>
    159162
     
    703706        <?php endif; ?>
    704707
    705         <p><?php printf( __( "You've now completed all of the %s steps and BuddyPress is ready to be activated. Please hit the 'Finish &amp; Activate' button to complete the %s procedure.", 'buddypress' ), $type, $type ) ?></p>
     708        <p><?php printf( __( "You've now completed all of the %1\$s steps and BuddyPress is ready to be activated. Please hit the 'Finish &amp; Activate' button to complete the %2\$s procedure.", 'buddypress' ), $type, $type ) ?></p>
    706709
    707710
Note: See TracChangeset for help on using the changeset viewer.