Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/09/2010 04:16:51 PM (15 years ago)
Author:
apeatling
Message:

Updating template based hooks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/registration/activate.php

    r2170 r2284  
     1<?php /* This template is only used on multisite installations */ ?>
     2
    13<?php get_header(); ?>
    24
    35    <div id="content">
     6        <div class="padder">
    47
    58        <?php do_action( 'bp_before_activation_page' ) ?>
     
    710        <div class="page" id="activate-page">
    811
    9             <div class="register bp_core_widget_welcome">
     12            <?php do_action( 'template_notices' ) ?>
    1013
    11                 <?php do_action( 'template_notices' ) ?>
     14            <?php if ( bp_account_was_activated() ) : ?>
    1215
    13                 <?php if ( bp_account_was_activated() ) : ?>
     16                <h2 class="widgettitle"><?php _e( 'Account Activated', 'buddypress' ) ?></h2>
    1417
    15                     <h2 class="widgettitle"><?php _e( 'Account Activated', 'buddypress' ) ?></h2>
     18                <?php do_action( 'bp_before_activate_content' ) ?>
    1619
    17                     <?php do_action( 'bp_before_activate_content' ) ?>
    18 
    19                     <p><?php _e( 'Your account was activated successfully! You can now log in with the username and password you provided when you signed up.', 'buddypress' ) ?></p>
     20                <p><?php _e( 'Your account was activated successfully! You can now log in with the username and password you provided when you signed up.', 'buddypress' ) ?></p>
    2021
    2122
    22                 <?php else : ?>
     23            <?php else : ?>
    2324
    24                     <h2 class="widgettitle"><?php _e( 'Activate your Account', 'buddypress' ) ?></h2>
     25                <h3><?php _e( 'Activate your Account', 'buddypress' ) ?></h3>
    2526
    26                     <?php do_action( 'bp_before_activate_content' ) ?>
     27                <?php do_action( 'bp_before_activate_content' ) ?>
    2728
    28                     <p><?php _e( 'Please provide a valid activation key.', 'buddypress' ) ?></p>
     29                <p><?php _e( 'Please provide a valid activation key.', 'buddypress' ) ?></p>
    2930
    30                     <form action="" method="get" class="standard-form" id="activation-form">
     31                <form action="" method="get" class="standard-form" id="activation-form">
    3132
    32                         <label for="key"><?php _e( 'Activation Key:', 'buddypress' ) ?></label>
    33                         <input type="text" name="key" id="key" value="" />
     33                    <label for="key"><?php _e( 'Activation Key:', 'buddypress' ) ?></label>
     34                    <input type="text" name="key" id="key" value="" />
    3435
    35                         <p class="submit">
    36                             <input type="submit" name="submit" value="<?php _e( 'Activate', 'buddypress' ) ?> &rarr;" />
    37                         </p>
     36                    <p class="submit">
     37                        <input type="submit" name="submit" value="<?php _e( 'Activate', 'buddypress' ) ?> &rarr;" />
     38                    </p>
    3839
    39                     </form>
     40                </form>
    4041
    41                 <?php endif; ?>
     42            <?php endif; ?>
    4243
    43                 <?php do_action( 'bp_after_activate_content' ) ?>
     44            <?php do_action( 'bp_after_activate_content' ) ?>
    4445
    45             </div>
    46 
    47         </div>
     46        </div><!-- .page -->
    4847
    4948        <?php do_action( 'bp_after_activation_page' ) ?>
    5049
    51     </div>
     50        </div><!-- .padder -->
     51    </div><!-- #content -->
    5252
    53     <?php get_sidebar() ?>
     53    <?php locate_template( array( 'sidebar.php' ), true ) ?>
    5454
    5555<?php get_footer(); ?>
Note: See TracChangeset for help on using the changeset viewer.