Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/23/2009 01:50:04 AM (15 years ago)
Author:
apeatling
Message:

Fixes #1044

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-sn-parent/home.php

    r1905 r1932  
    55        <?php do_action( 'bp_before_home' ) ?>
    66
    7         <div id="first-section" class="widget-section">
     7        <div id="third-section" class="widget-section">
    88            <?php if ( !function_exists('dynamic_sidebar')
    99                    || !dynamic_sidebar('third-section') ) : ?>
    10 
     10       
    1111            <div class="widget-error">
    12                 <?php _e( 'Please log in and add widgets to this section.', 'buddypress' ) ?> <a href="<?php echo get_option('siteurl') ?>/wp-admin/widgets.php?s=&amp;show=&amp;sidebar=third-section"><?php _e( 'Add Widgets', 'buddypress' ) ?></a>
    13             </div>     
     12                <?php _e( 'Please log in and add widgets to this section.', 'buddypress' ) ?> <a href="<?php echo get_option('siteurl') ?>/wp-admin/widgets.php?s=&amp;show=&amp;sidebar=first-section"><?php _e( 'Add Widgets', 'buddypress' ) ?></a>
     13            </div>
    1414       
    1515            <?php endif; ?>
     
    2727        </div>
    2828
    29         <div id="third-section" class="widget-section">
     29        <div id="first-section" class="widget-section">
    3030            <?php if ( !function_exists('dynamic_sidebar')
    3131                    || !dynamic_sidebar('first-section') ) : ?>
    32        
     32
    3333            <div class="widget-error">
    34                 <?php _e( 'Please log in and add widgets to this section.', 'buddypress' ) ?> <a href="<?php echo get_option('siteurl') ?>/wp-admin/widgets.php?s=&amp;show=&amp;sidebar=first-section"><?php _e( 'Add Widgets', 'buddypress' ) ?></a>
    35             </div>
     34                <?php _e( 'Please log in and add widgets to this section.', 'buddypress' ) ?> <a href="<?php echo get_option('siteurl') ?>/wp-admin/widgets.php?s=&amp;show=&amp;sidebar=third-section"><?php _e( 'Add Widgets', 'buddypress' ) ?></a>
     35            </div>     
    3636       
    3737            <?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.