Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/12/2012 08:09:34 PM (14 years ago)
Author:
johnjamesjacoby
Message:

Add ending semicolons to bp-default where omitted. Fixes #4002.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/sidebar-footer.php

    r3771 r5737  
    11<?php
    2         /* The footer widget area is triggered if any of the areas
    3          * have widgets. So let's check that first.
     2        /**
     3         * The footer widget area is triggered if any of the areas
     4         * have widgets.
    45         *
    5          * If none of the sidebars have widgets, then let's bail early.
     6         * If none of the sidebars have widgets, bail early.
    67         */
    78        if (   ! is_active_sidebar( 'first-footer-widget-area'  )
     
    1011                && ! is_active_sidebar( 'fourth-footer-widget-area' )
    1112        )
    12                 return;
    13         // If we get this far, we have widgets. Let do this.
    14 ?>
     13        return; ?>
    1514
    1615                        <div id="footer-widget-area" role="complementary">
    1716
    18 <?php if ( is_active_sidebar( 'first-footer-widget-area' ) ) : ?>
    19                                 <div id="first" class="widget-area">
    20                                         <ul class="xoxo">
    21                                                 <?php dynamic_sidebar( 'first-footer-widget-area' ); ?>
    22                                         </ul>
    23                                 </div><!-- #first .widget-area -->
    24 <?php endif; ?>
     17                                <?php if ( is_active_sidebar( 'first-footer-widget-area' ) ) : ?>
    2518
    26 <?php if ( is_active_sidebar( 'second-footer-widget-area' ) ) : ?>
    27                                 <div id="second" class="widget-area">
    28                                         <ul class="xoxo">
    29                                                 <?php dynamic_sidebar( 'second-footer-widget-area' ); ?>
    30                                         </ul>
    31                                 </div><!-- #second .widget-area -->
    32 <?php endif; ?>
     19                                        <div id="first" class="widget-area">
     20                                                <ul class="xoxo">
     21                                                        <?php dynamic_sidebar( 'first-footer-widget-area' ); ?>
     22                                                </ul>
     23                                        </div><!-- #first .widget-area -->
    3324
    34 <?php if ( is_active_sidebar( 'third-footer-widget-area' ) ) : ?>
    35                                 <div id="third" class="widget-area">
    36                                         <ul class="xoxo">
    37                                                 <?php dynamic_sidebar( 'third-footer-widget-area' ); ?>
    38                                         </ul>
    39                                 </div><!-- #third .widget-area -->
    40 <?php endif; ?>
     25                                <?php endif; ?>
    4126
    42 <?php if ( is_active_sidebar( 'fourth-footer-widget-area' ) ) : ?>
    43                                 <div id="fourth" class="widget-area">
    44                                         <ul class="xoxo">
    45                                                 <?php dynamic_sidebar( 'fourth-footer-widget-area' ); ?>
    46                                         </ul>
    47                                 </div><!-- #fourth .widget-area -->
    48 <?php endif; ?>
     27                                <?php if ( is_active_sidebar( 'second-footer-widget-area' ) ) : ?>
     28
     29                                        <div id="second" class="widget-area">
     30                                                <ul class="xoxo">
     31                                                        <?php dynamic_sidebar( 'second-footer-widget-area' ); ?>
     32                                                </ul>
     33                                        </div><!-- #second .widget-area -->
     34
     35                                <?php endif; ?>
     36
     37                                <?php if ( is_active_sidebar( 'third-footer-widget-area' ) ) : ?>
     38
     39                                        <div id="third" class="widget-area">
     40                                                <ul class="xoxo">
     41                                                        <?php dynamic_sidebar( 'third-footer-widget-area' ); ?>
     42                                                </ul>
     43                                        </div><!-- #third .widget-area -->
     44
     45                                <?php endif; ?>
     46
     47                                <?php if ( is_active_sidebar( 'fourth-footer-widget-area' ) ) : ?>
     48
     49                                        <div id="fourth" class="widget-area">
     50                                                <ul class="xoxo">
     51                                                        <?php dynamic_sidebar( 'fourth-footer-widget-area' ); ?>
     52                                                </ul>
     53                                        </div><!-- #fourth .widget-area -->
     54
     55                                <?php endif; ?>
    4956
    5057                        </div><!-- #footer-widget-area -->
Note: See TracChangeset for help on using the changeset viewer.