Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/02/2009 07:54:21 PM (16 years ago)
Author:
apeatling
Message:

Merging 1.1 branch changes and syncing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-sn-parent/directories/forums/index.php

    r2018 r2077  
    11<?php get_header() ?>
    22
    3     <?php do_action( 'bp_before_directory_forums_content' ) ?>     
     3    <?php do_action( 'bp_before_directory_forums_content' ) ?>
    44
    55    <div id="content">
    6    
     6
    77        <div class="page" id="forums-directory-page">
    8    
     8
    99            <form action="<?php echo site_url() . '/' ?>" method="post" id="forums-directory-form">
    1010
     
    1313                    <div id="popular-group-forum-listing">
    1414                        <h3><?php _e( 'Popular Group Forums', 'buddypress' ) ?></h3>
    15    
    16                         <?php do_action( 'bp_before_directory_popular_group_forums' ) ?>       
     15
     16                        <?php do_action( 'bp_before_directory_popular_group_forums' ) ?>
    1717
    1818                        <?php while ( bp_site_groups() ) : bp_the_site_group(); ?>
     
    3333                        <?php endwhile; ?>
    3434
    35                         <?php do_action( 'bp_after_directory_popular_group_forums' ) ?>     
    36    
     35                        <?php do_action( 'bp_after_directory_popular_group_forums' ) ?>
     36
    3737                    </div>
    38                    
     38
    3939                <?php endif; ?>
    4040
    4141                <div id="forums-directory-listing" class="directory-listing">
    4242                    <h3><?php _e( 'Latest Forum Topics', 'buddypress' ) ?></h3>
    43                    
     43
    4444                    <div id="forum-dir-list">
    45                        
     45
    4646                        <?php do_action( 'bp_before_directory_forums_topic_filters' ) ?>
    47                        
     47
    4848                        <div id="global-forum-topic-filters">
    4949                            <ul>
     
    5151                                <li<?php if ( 'popular' == bp_current_action() ) : ?> class="selected"<?php endif; ?> id="forums-popular"><a href="<?php bp_popular_forum_topics_link() ?>" title="<?php _e( 'Most Popular Topics', 'buddypress' ) ?>"><?php _e( 'Most Popular Topics', 'buddypress') ?></a></li>
    5252                                <li<?php if ( 'unreplied' == bp_current_action() ) : ?> class="selected"<?php endif; ?> id="forums-unreplied"><a href="<?php bp_unreplied_forum_topics_link() ?>" title="<?php _e( 'Unreplied Topics', 'buddypress' ) ?>"><?php _e( 'Unreplied Topics', 'buddypress') ?></a></li>
    53        
     53
    5454                                <?php if ( is_user_logged_in() ) : ?>
    5555                                    <li<?php if ( 'personal' == bp_current_action() ) : ?> class="selected"<?php endif; ?> id="forums-personal"><a href="<?php bp_my_forum_topics_link() ?>" title="<?php _e( 'Topics I have started or replied to', 'buddypress' ) ?>"><?php _e( 'My Topics', 'buddypress') ?></a></li>
    5656                                <?php endif; ?>
    57                                
     57
    5858                                <?php if ( 'tag' == bp_current_action() ) : ?>
    5959                                    <li class="selected" id="forums-tag"><a href="<?php bp_newest_forum_topics_link() ?>" title="<?php _e( 'Tag', 'buddypress' ) ?>"><?php printf( __( 'Tagged: %s', 'buddypress' ), bp_get_forums_tag_name() ) ?></a></li>
    6060                                <?php endif; ?>
    61                                
     61
    6262                                <?php if ( isset( $_GET['fs'] ) ) : ?>
    6363                                    <li class="selected" id="forums-search"><a href="<?php bp_newest_forum_topics_link() ?>" title="<?php _e( 'Search', 'buddypress' ) ?>"><?php printf( __( 'Matching: %s', 'buddypress' ), attribute_escape( $_GET['fs'] ) ) ?></a></li>
    6464                                <?php endif; ?>
    65                                
     65
    6666                                <?php do_action( 'bp_directory_forums_topic_filters' ) ?>
    67                             </ul>                               
     67                            </ul>
    6868                        </div>
    69                        
     69
    7070                        <?php do_action( 'bp_after_directory_forums_topic_filters' ) ?>
    7171
     
    7474
    7575                </div>
    76            
     76
    7777                <?php do_action( 'bp_directory_forums_content' ) ?>
    7878
    7979            </form>
    80    
     80
    8181        </div>
    82    
     82
    8383    </div>
    8484
    85     <?php do_action( 'bp_after_directory_forums_content' ) ?>       
    86     <?php do_action( 'bp_before_directory_forums_sidebar' ) ?>     
     85    <?php do_action( 'bp_after_directory_forums_content' ) ?>
     86    <?php do_action( 'bp_before_directory_forums_sidebar' ) ?>
    8787
    8888    <div id="sidebar" class="directory-sidebar">
    8989
    90         <?php do_action( 'bp_before_directory_forums_search' ) ?>   
     90        <?php do_action( 'bp_before_directory_forums_search' ) ?>
    9191
    9292        <div id="forums-directory-search" class="directory-widget">
    93            
     93
    9494            <h3><?php _e( 'Forum Topic Search', 'buddypress' ) ?></h3>
    9595
     
    9797
    9898            <?php do_action( 'bp_directory_forums_search' ) ?>
    99                
     99
    100100        </div>
    101101
    102102        <?php do_action( 'bp_after_directory_forums_search' ) ?>
    103         <?php do_action( 'bp_before_directory_forums_tags' ) ?> 
     103        <?php do_action( 'bp_before_directory_forums_tags' ) ?>
    104104
    105105        <div id="forums-directory-tags" class="directory-widget">
    106            
     106
    107107            <h3><?php _e( 'Forum Topic Tags', 'buddypress' ) ?></h3>
    108108
     
    110110
    111111            <?php do_action( 'bp_directory_forums_search' ) ?>
    112                
     112
    113113        </div>
    114114
    115         <?php do_action( 'bp_after_directory_forums_search' ) ?>   
     115        <?php do_action( 'bp_after_directory_forums_search' ) ?>
    116116
    117117    </div>
    118    
    119     <?php do_action( 'bp_after_directory_forums_sidebar' ) ?> 
     118
     119    <?php do_action( 'bp_after_directory_forums_sidebar' ) ?>
    120120
    121121<?php get_footer() ?>
Note: See TracChangeset for help on using the changeset viewer.