- Timestamp:
- 11/02/2009 07:54:21 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-sn-parent/directories/forums/index.php
r2018 r2077 1 1 <?php get_header() ?> 2 2 3 <?php do_action( 'bp_before_directory_forums_content' ) ?> 3 <?php do_action( 'bp_before_directory_forums_content' ) ?> 4 4 5 5 <div id="content"> 6 6 7 7 <div class="page" id="forums-directory-page"> 8 8 9 9 <form action="<?php echo site_url() . '/' ?>" method="post" id="forums-directory-form"> 10 10 … … 13 13 <div id="popular-group-forum-listing"> 14 14 <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' ) ?> 17 17 18 18 <?php while ( bp_site_groups() ) : bp_the_site_group(); ?> … … 33 33 <?php endwhile; ?> 34 34 35 <?php do_action( 'bp_after_directory_popular_group_forums' ) ?> 36 35 <?php do_action( 'bp_after_directory_popular_group_forums' ) ?> 36 37 37 </div> 38 38 39 39 <?php endif; ?> 40 40 41 41 <div id="forums-directory-listing" class="directory-listing"> 42 42 <h3><?php _e( 'Latest Forum Topics', 'buddypress' ) ?></h3> 43 43 44 44 <div id="forum-dir-list"> 45 45 46 46 <?php do_action( 'bp_before_directory_forums_topic_filters' ) ?> 47 47 48 48 <div id="global-forum-topic-filters"> 49 49 <ul> … … 51 51 <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> 52 52 <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 54 54 <?php if ( is_user_logged_in() ) : ?> 55 55 <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> 56 56 <?php endif; ?> 57 57 58 58 <?php if ( 'tag' == bp_current_action() ) : ?> 59 59 <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> 60 60 <?php endif; ?> 61 61 62 62 <?php if ( isset( $_GET['fs'] ) ) : ?> 63 63 <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> 64 64 <?php endif; ?> 65 65 66 66 <?php do_action( 'bp_directory_forums_topic_filters' ) ?> 67 </ul> 67 </ul> 68 68 </div> 69 69 70 70 <?php do_action( 'bp_after_directory_forums_topic_filters' ) ?> 71 71 … … 74 74 75 75 </div> 76 76 77 77 <?php do_action( 'bp_directory_forums_content' ) ?> 78 78 79 79 </form> 80 80 81 81 </div> 82 82 83 83 </div> 84 84 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' ) ?> 87 87 88 88 <div id="sidebar" class="directory-sidebar"> 89 89 90 <?php do_action( 'bp_before_directory_forums_search' ) ?> 90 <?php do_action( 'bp_before_directory_forums_search' ) ?> 91 91 92 92 <div id="forums-directory-search" class="directory-widget"> 93 93 94 94 <h3><?php _e( 'Forum Topic Search', 'buddypress' ) ?></h3> 95 95 … … 97 97 98 98 <?php do_action( 'bp_directory_forums_search' ) ?> 99 99 100 100 </div> 101 101 102 102 <?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' ) ?> 104 104 105 105 <div id="forums-directory-tags" class="directory-widget"> 106 106 107 107 <h3><?php _e( 'Forum Topic Tags', 'buddypress' ) ?></h3> 108 108 … … 110 110 111 111 <?php do_action( 'bp_directory_forums_search' ) ?> 112 112 113 113 </div> 114 114 115 <?php do_action( 'bp_after_directory_forums_search' ) ?> 115 <?php do_action( 'bp_after_directory_forums_search' ) ?> 116 116 117 117 </div> 118 119 <?php do_action( 'bp_after_directory_forums_sidebar' ) ?> 118 119 <?php do_action( 'bp_after_directory_forums_sidebar' ) ?> 120 120 121 121 <?php get_footer() ?>
Note: See TracChangeset
for help on using the changeset viewer.