Changeset 4994
- Timestamp:
- 08/17/2011 08:34:53 PM (13 years ago)
- Location:
- trunk/bp-themes/bp-default
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/activity/index.php
r4676 r4994 10 10 ?> 11 11 12 <?php get_header( 'buddypress' ) ?> 12 <?php get_header( 'buddypress' ); ?> 13 14 <?php do_action( 'bp_before_directory_activity_page' ); ?> 13 15 14 16 <div id="content"> 15 17 <div class="padder"> 16 18 19 <?php do_action( 'bp_before_directory_activity' ); ?> 20 17 21 <?php if ( !is_user_logged_in() ) : ?> 18 22 19 <h3><?php _e( 'Site Activity', 'buddypress' ) ?></h3>23 <h3><?php _e( 'Site Activity', 'buddypress' ); ?></h3> 20 24 21 25 <?php endif; ?> 22 26 23 <?php do_action( 'bp_before_directory_activity_content' ) ?>27 <?php do_action( 'bp_before_directory_activity_content' ); ?> 24 28 25 29 <?php if ( is_user_logged_in() ) : ?> 26 30 27 <?php locate_template( array( 'activity/post-form.php'), true ) ?>31 <?php locate_template( array( 'activity/post-form.php'), true ); ?> 28 32 29 33 <?php endif; ?> 30 34 31 <?php do_action( 'template_notices' ) ?>35 <?php do_action( 'template_notices' ); ?> 32 36 33 37 <div class="item-list-tabs activity-type-tabs" role="navigation"> 34 38 <ul> 35 <?php do_action( 'bp_before_activity_type_tab_all' ) ?>39 <?php do_action( 'bp_before_activity_type_tab_all' ); ?> 36 40 37 <li class="selected" id="activity-all"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/' ?>" title="<?php _e( 'The public activity for everyone on this site.', 'buddypress' ) ?>"><?php printf( __( 'All Members <span>%s</span>', 'buddypress' ), bp_get_total_site_member_count() )?></a></li>41 <li class="selected" id="activity-all"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/'; ?>" title="<?php _e( 'The public activity for everyone on this site.', 'buddypress' ); ?>"><?php printf( __( 'All Members <span>%s</span>', 'buddypress' ), bp_get_total_site_member_count() ); ?></a></li> 38 42 39 43 <?php if ( is_user_logged_in() ) : ?> … … 45 49 <?php if ( bp_get_total_friend_count( bp_loggedin_user_id() ) ) : ?> 46 50 47 <li id="activity-friends"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/' . bp_get_friends_slug() . '/' ?>" title="<?php _e( 'The activity of my friends only.', 'buddypress' ) ?>"><?php printf( __( 'My Friends <span>%s</span>', 'buddypress' ), bp_get_total_friend_count( bp_loggedin_user_id() ) )?></a></li>51 <li id="activity-friends"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/' . bp_get_friends_slug() . '/'; ?>" title="<?php _e( 'The activity of my friends only.', 'buddypress' ); ?>"><?php printf( __( 'My Friends <span>%s</span>', 'buddypress' ), bp_get_total_friend_count( bp_loggedin_user_id() ) ); ?></a></li> 48 52 49 53 <?php endif; ?> … … 57 61 <?php if ( bp_get_total_group_count_for_user( bp_loggedin_user_id() ) ) : ?> 58 62 59 <li id="activity-groups"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/' . bp_get_groups_slug() . '/' ?>" title="<?php _e( 'The activity of groups I am a member of.', 'buddypress' ) ?>"><?php printf( __( 'My Groups <span>%s</span>', 'buddypress' ), bp_get_total_group_count_for_user( bp_loggedin_user_id() ) )?></a></li>63 <li id="activity-groups"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/' . bp_get_groups_slug() . '/'; ?>" title="<?php _e( 'The activity of groups I am a member of.', 'buddypress' ); ?>"><?php printf( __( 'My Groups <span>%s</span>', 'buddypress' ), bp_get_total_group_count_for_user( bp_loggedin_user_id() ) ); ?></a></li> 60 64 61 65 <?php endif; ?> … … 63 67 <?php endif; ?> 64 68 65 <?php do_action( 'bp_before_activity_type_tab_favorites' ) ?>69 <?php do_action( 'bp_before_activity_type_tab_favorites' ); ?> 66 70 67 71 <?php if ( bp_get_total_favorite_count_for_user( bp_loggedin_user_id() ) ) : ?> 68 72 69 <li id="activity-favorites"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/favorites/' ?>" title="<?php _e( "The activity I've marked as a favorite.", 'buddypress' ) ?>"><?php printf( __( 'My Favorites <span>%s</span>', 'buddypress' ), bp_get_total_favorite_count_for_user( bp_loggedin_user_id() ) )?></a></li>73 <li id="activity-favorites"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/favorites/'; ?>" title="<?php _e( "The activity I've marked as a favorite.", 'buddypress' ); ?>"><?php printf( __( 'My Favorites <span>%s</span>', 'buddypress' ), bp_get_total_favorite_count_for_user( bp_loggedin_user_id() ) ); ?></a></li> 70 74 71 75 <?php endif; ?> 72 76 73 <?php do_action( 'bp_before_activity_type_tab_mentions' ) ?>77 <?php do_action( 'bp_before_activity_type_tab_mentions' ); ?> 74 78 75 <li id="activity-mentions"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/mentions/' ?>" title="<?php _e( 'Activity that I have been mentioned in.', 'buddypress' ) ?>"><?php _e( 'Public Mentions', 'buddypress' ); ?><?php if ( bp_get_total_mention_count_for_user( bp_loggedin_user_id() ) ) : ?> <strong><?php printf( __( '<span>%s new</span>', 'buddypress' ), bp_get_total_mention_count_for_user( bp_loggedin_user_id() ) )?></strong><?php endif; ?></a></li>79 <li id="activity-mentions"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/mentions/'; ?>" title="<?php _e( 'Activity that I have been mentioned in.', 'buddypress' ); ?>"><?php _e( 'Public Mentions', 'buddypress' ); ?><?php if ( bp_get_total_mention_count_for_user( bp_loggedin_user_id() ) ) : ?> <strong><?php printf( __( '<span>%s new</span>', 'buddypress' ), bp_get_total_mention_count_for_user( bp_loggedin_user_id() ) ); ?></strong><?php endif; ?></a></li> 76 80 77 81 <?php endif; ?> 78 82 79 <?php do_action( 'bp_activity_type_tabs' ) ?>83 <?php do_action( 'bp_activity_type_tabs' ); ?> 80 84 </ul> 81 85 </div><!-- .item-list-tabs --> … … 83 87 <div class="item-list-tabs no-ajax" id="subnav" role="navigation"> 84 88 <ul> 85 <li class="feed"><a href="<?php bp_sitewide_activity_feed_link() ?>" title="<?php _e( 'RSS Feed', 'buddypress' ); ?>"><?php _e( 'RSS', 'buddypress' ) ?></a></li>89 <li class="feed"><a href="<?php bp_sitewide_activity_feed_link() ?>" title="<?php _e( 'RSS Feed', 'buddypress' ); ?>"><?php _e( 'RSS', 'buddypress' ); ?></a></li> 86 90 87 <?php do_action( 'bp_activity_syndication_options' ) ?>91 <?php do_action( 'bp_activity_syndication_options' ); ?> 88 92 89 93 <li id="activity-filter-select" class="last"> 90 94 <label for="activity-filter-by"><?php _e( 'Show:', 'buddypress' ); ?></label> 91 95 <select id="activity-filter-by"> 92 <option value="-1"><?php _e( 'Everything', 'buddypress' ) ?></option>93 <option value="activity_update"><?php _e( 'Updates', 'buddypress' ) ?></option>96 <option value="-1"><?php _e( 'Everything', 'buddypress' ); ?></option> 97 <option value="activity_update"><?php _e( 'Updates', 'buddypress' ); ?></option> 94 98 95 99 <?php if ( bp_is_active( 'blogs' ) ) : ?> 96 100 97 <option value="new_blog_post"><?php _e( 'Posts', 'buddypress' ) ?></option>98 <option value="new_blog_comment"><?php _e( 'Comments', 'buddypress' ) ?></option>101 <option value="new_blog_post"><?php _e( 'Posts', 'buddypress' ); ?></option> 102 <option value="new_blog_comment"><?php _e( 'Comments', 'buddypress' ); ?></option> 99 103 100 104 <?php endif; ?> … … 129 133 </div><!-- .item-list-tabs --> 130 134 131 <?php do_action( 'bp_before_directory_activity_list' ) ?>135 <?php do_action( 'bp_before_directory_activity_list' ); ?> 132 136 133 137 <div class="activity" role="main"> 134 138 135 <?php locate_template( array( 'activity/activity-loop.php' ), true ) ?>139 <?php locate_template( array( 'activity/activity-loop.php' ), true ); ?> 136 140 137 141 </div><!-- .activity --> 138 142 139 <?php do_action( 'bp_ directory_activity_content' )?>143 <?php do_action( 'bp_after_directory_activity_list' ); ?> 140 144 141 <?php do_action( 'bp_after_directory_activity_content' ) ?> 145 <?php do_action( 'bp_directory_activity_content' ); ?> 146 147 <?php do_action( 'bp_after_directory_activity_content' ); ?> 148 149 <?php do_action( 'bp_after_directory_activity' ); ?> 142 150 143 151 </div><!-- .padder --> 144 152 </div><!-- #content --> 145 153 146 <?php get_sidebar( 'buddypress' )?>154 <?php do_action( 'bp_after_directory_activity_page' ); ?> 147 155 148 <?php get_footer( 'buddypress' ) ?> 156 <?php get_sidebar( 'buddypress' ); ?> 157 <?php get_footer( 'buddypress' ); ?> -
trunk/bp-themes/bp-default/blogs/index.php
r4676 r4994 12 12 <?php get_header( 'buddypress' ); ?> 13 13 14 <?php do_action( 'bp_before_directory_blogs_ content' ); ?>14 <?php do_action( 'bp_before_directory_blogs_page' ); ?> 15 15 16 16 <div id="content"> 17 17 <div class="padder"> 18 18 19 <?php do_action( 'bp_before_directory_blogs' ); ?> 20 19 21 <form action="" method="post" id="blogs-directory-form" class="dir-form"> 20 22 21 23 <h3><?php _e( 'Site Directory', 'buddypress' ); ?><?php if ( is_user_logged_in() && bp_blog_signup_enabled() ) : ?> <a class="button" href="<?php echo bp_get_root_domain() . '/' . bp_get_blogs_slug() . '/create/' ?>"><?php _e( 'Create a Site', 'buddypress' ); ?></a><?php endif; ?></h3> 24 25 <?php do_action( 'bp_before_directory_blogs_content' ); ?> 22 26 23 27 <div id="blog-dir-search" class="dir-search" role="search"> … … 71 75 72 76 <?php wp_nonce_field( 'directory_blogs', '_wpnonce-blogs-filter' ); ?> 77 78 <?php do_action( 'bp_after_directory_blogs_content' ); ?> 73 79 74 80 </form><!-- #blogs-directory-form --> 81 82 <?php do_action( 'bp_after_directory_blogs' ); ?> 75 83 76 84 </div><!-- .padder --> 77 85 </div><!-- #content --> 78 86 79 <?php do_action( 'bp_after_directory_blogs_ content' ); ?>87 <?php do_action( 'bp_after_directory_blogs_page' ); ?> 80 88 81 89 <?php get_sidebar( 'buddypress' ); ?> -
trunk/bp-themes/bp-default/forums/index.php
r4831 r4994 12 12 <?php get_header( 'buddypress' ); ?> 13 13 14 <?php do_action( 'bp_before_directory_forums_ content' ); ?>14 <?php do_action( 'bp_before_directory_forums_page' ); ?> 15 15 16 16 <div id="content"> … … 22 22 23 23 <h3><?php _e( 'Forums Directory', 'buddypress' ); ?><?php if ( is_user_logged_in() ) : ?> <a class="button show-hide-new" href="#new-topic" id="new-topic-button"><?php _e( 'New Topic', 'buddypress' ); ?></a><?php endif; ?></h3> 24 25 <?php do_action( 'bp_before_directory_forums_content' ); ?> 24 26 25 27 <div id="forums-dir-search" class="dir-search" role="search"> … … 149 151 <?php endif; ?> 150 152 </div><!-- #new-topic-post --> 153 154 <?php do_action( 'bp_after_new_topic_form' ); ?> 155 156 <?php do_action( 'bp_after_directory_forums_content' ); ?> 157 151 158 </div><!-- .padder --> 152 159 </div><!-- #content --> 153 160 154 <?php do_action( 'bp_after_directory_forums_ content' ); ?>161 <?php do_action( 'bp_after_directory_forums_page' ); ?> 155 162 156 163 <?php get_sidebar( 'buddypress' ); ?> -
trunk/bp-themes/bp-default/groups/index.php
r4923 r4994 12 12 <?php get_header( 'buddypress' ); ?> 13 13 14 <?php do_action( 'bp_before_directory_groups_ content' ); ?>14 <?php do_action( 'bp_before_directory_groups_page' ); ?> 15 15 16 16 <div id="content"> 17 17 <div class="padder"> 18 18 19 <?php do_action( 'bp_before_directory_groups' ); ?> 20 19 21 <form action="" method="post" id="groups-directory-form" class="dir-form"> 20 22 21 23 <h3><?php _e( 'Groups Directory', 'buddypress' ); ?><?php if ( is_user_logged_in() && bp_user_can_create_groups() ) : ?> <a class="button" href="<?php echo trailingslashit( bp_get_root_domain() . '/' . bp_get_groups_root_slug() . '/create' ); ?>"><?php _e( 'Create a Group', 'buddypress' ); ?></a><?php endif; ?></h3> 24 25 <?php do_action( 'bp_before_directory_groups_content' ); ?> 22 26 23 27 <div id="group-dir-search" class="dir-search" role="search"> … … 75 79 <?php wp_nonce_field( 'directory_groups', '_wpnonce-groups-filter' ); ?> 76 80 81 <?php do_action( 'bp_after_directory_groups_content' ); ?> 82 77 83 </form><!-- #groups-directory-form --> 84 85 <?php do_action( 'bp_after_directory_groups' ); ?> 78 86 79 87 </div><!-- .padder --> 80 88 </div><!-- #content --> 81 89 82 <?php do_action( 'bp_after_directory_groups_ content' ); ?>90 <?php do_action( 'bp_after_directory_groups_page' ); ?> 83 91 84 92 <?php get_sidebar( 'buddypress' ); ?> -
trunk/bp-themes/bp-default/members/index.php
r4676 r4994 12 12 <?php get_header( 'buddypress' ); ?> 13 13 14 <?php do_action( 'bp_before_directory_members_ content' ); ?>14 <?php do_action( 'bp_before_directory_members_page' ); ?> 15 15 16 16 <div id="content"> 17 17 <div class="padder"> 18 18 19 <?php do_action( 'bp_before_directory_members' ); ?> 20 19 21 <form action="" method="post" id="members-directory-form" class="dir-form"> 20 22 21 23 <h3><?php _e( 'Members Directory', 'buddypress' ); ?></h3> 24 25 <?php do_action( 'bp_before_directory_members_content' ); ?> 22 26 23 27 <div id="members-dir-search" class="dir-search" role="search"> … … 77 81 <?php wp_nonce_field( 'directory_members', '_wpnonce-member-filter' ); ?> 78 82 83 <?php do_action( 'bp_after_directory_members_content' ); ?> 84 79 85 </form><!-- #members-directory-form --> 86 87 <?php do_action( 'bp_after_directory_members' ); ?> 80 88 81 89 </div><!-- .padder --> 82 90 </div><!-- #content --> 83 91 84 <?php do_action( 'bp_after_directory_members_ content' ); ?>92 <?php do_action( 'bp_after_directory_members_page' ); ?> 85 93 86 94 <?php get_sidebar( 'buddypress' ); ?>
Note: See TracChangeset
for help on using the changeset viewer.