Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/15/2009 01:20:07 PM (16 years ago)
Author:
apeatling
Message:

Added left hand menu's to single item pages. This will allow extra space for custom content and other pieces of missing information.

Moved template file selection for groups and members pages into a home.php template file. This will give greater control over the template names and locations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/members/single/activity.php

    r2170 r2179  
    1 <?php get_header() ?>
     1<div class="item-list-tabs" id="user-subnav">
     2    <ul>
     3        <li id="activity-filter-select" class="last">
     4            <select>
     5                <option value="-1"><?php _e( 'No Filter', 'buddypress' ) ?></option>
     6                <option value="new_wire_post"><?php _e( 'Updates Only', 'buddypress' ) ?></option>
     7                <option value="new_blog_post"><?php _e( 'New Blog Posts Only', 'buddypress' ) ?></option>
     8                <option value="new_blog_comment"><?php _e( 'New Blog Comments Only', 'buddypress' ) ?></option>
     9                <option value="new_forum_topic"><?php _e( 'New Group Forum Topics Only', 'buddypress' ) ?></option>
     10                <option value="new_forum_post"><?php _e( 'New Group Forum Replies Only', 'buddypress' ) ?></option>
     11                <option value="friendship_accepted,friendship_created"><?php _e( 'New Friendships Only', 'buddypress' ) ?></option>
    212
    3     <?php do_action( 'bp_before_directory_members_content' ) ?>
     13                <?php do_action( 'bp_activity_filter_options' ) ?>
     14            </select>
     15        </li>
     16    </ul>
     17</div>
    418
    5     <div id="content">
    6         <div class="padder">
     19<?php if ( is_user_logged_in() && bp_is_my_profile() ) : ?>
     20    <?php locate_template( array( 'activity/post-form.php'), true ) ?>
     21<?php endif; ?>
    722
    8             <?php locate_template( array( 'members/single/member-header.php' ), true ) ?>
     23<div class="activity">
     24    <?php // 'activity/activity-loop.php' loaded here via AJAX. ?>
     25</div>
    926
    10             <div class="item-list-tabs" id="user-subnav">
    11                 <ul>
    12                     <li id="activity-filter-select" class="last">
    13                         <select>
    14                             <option value="-1"><?php _e( 'No Filter', 'buddypress' ) ?></option>
    15                             <option value="new_wire_post"><?php _e( 'Updates Only', 'buddypress' ) ?></option>
    16                             <option value="new_blog_post"><?php _e( 'New Blog Posts Only', 'buddypress' ) ?></option>
    17                             <option value="new_blog_comment"><?php _e( 'New Blog Comments Only', 'buddypress' ) ?></option>
    18                             <option value="new_forum_topic"><?php _e( 'New Group Forum Topics Only', 'buddypress' ) ?></option>
    19                             <option value="new_forum_post"><?php _e( 'New Group Forum Replies Only', 'buddypress' ) ?></option>
    20                             <option value="friendship_accepted,friendship_created"><?php _e( 'New Friendships Only', 'buddypress' ) ?></option>
    21 
    22                             <?php do_action( 'bp_activity_filter_options' ) ?>
    23                         </select>
    24                     </li>
    25                 </ul>
    26             </div>
    27 
    28             <?php if ( is_user_logged_in() && bp_is_my_profile() ) : ?>
    29                 <?php locate_template( array( 'activity/post-form.php'), true ) ?>
    30             <?php endif; ?>
    31 
    32             <div class="activity">
    33                 <?php // 'activity/activity-loop.php' loaded here via AJAX. ?>
    34             </div>
    35 
    36             <?php do_action( 'bp_directory_members_content' ) ?>
    37 
    38         </div><!-- .padder -->
    39     </div><!-- #content -->
    40 
    41     <?php locate_template( array( 'sidebar.php' ), true ) ?>
    42 
    43     <?php do_action( 'bp_after_directory_members_content' ) ?>
    44 
    45 <?php get_footer() ?>
     27<?php do_action( 'bp_directory_members_content' ) ?>
Note: See TracChangeset for help on using the changeset viewer.