git-svn-id: https://192.168.0.254/svn/Proyectos.ASong2U_Web/trunk@60 cd1a4ea2-8c7f-e448-aada-19d1fee9e1d6
This commit is contained in:
David Arranz 2012-08-03 16:41:20 +00:00
parent 7379ca78ef
commit 0f43496ca5
2 changed files with 0 additions and 113 deletions

View File

@ -1,60 +0,0 @@
<?php
/**
* BuddyPress - Example Directory
*
* @package BuddyPress_Skeleton_Component
*/
?>
<?php get_header( 'buddypress' ); ?>
<?php do_action( 'bp_before_directory_example_page' ); ?>
<div id="content">
<div class="padder">
<?php do_action( 'bp_before_directory_example' ); ?>
<form action="" method="post" id="example-directory-form" class="dir-form">
<h3><?php _e( 'High Fives Directory', 'bp-example' ); ?></h3>
<?php do_action( 'bp_before_directory_example_content' ); ?>
<?php do_action( 'template_notices' ); ?>
<div class="item-list-tabs no-ajax" role="navigation">
<ul>
<li class="selected" id="groups-all"><a href="<?php echo trailingslashit( bp_get_root_domain() . '/' . bp_get_example_root_slug() ); ?>"><?php printf( __( 'All High Fives <span>%s</span>', 'buddypress' ), bp_example_get_total_high_five_count() ); ?></a></li>
<?php do_action( 'bp_example_directory_example_filter' ); ?>
</ul>
</div><!-- .item-list-tabs -->
<div id="example-dir-list" class="example dir-list">
<?php bp_core_load_template( 'example/example-loop' ); ?>
</div><!-- #examples-dir-list -->
<?php do_action( 'bp_directory_example_content' ); ?>
<?php wp_nonce_field( 'directory_example', '_wpnonce-example-filter' ); ?>
<?php do_action( 'bp_after_directory_example_content' ); ?>
</form><!-- #example-directory-form -->
<?php do_action( 'bp_after_directory_example' ); ?>
</div><!-- .padder -->
</div><!-- #content -->
<?php do_action( 'bp_after_directory_example_page' ); ?>
<?php get_sidebar( 'buddypress' ); ?>
<?php get_footer( 'buddypress' ); ?>

View File

@ -1,53 +0,0 @@
<?php
/**
* BuddyPress - Dedications
*
* @package BuddyPress
* @subpackage bp-default
*/
?>
<div class="item-list-tabs no-ajax" id="subnav" role="navigation">
<ul>
<?php if ( bp_is_my_profile() ) bp_get_options_nav(); ?>
<?php if ( !bp_is_current_action( 'invites' ) ) : ?>
<li id="groups-order-select" class="last filter">
<label for="groups-sort-by"><?php _e( 'Order By:', 'buddypress' ); ?></label>
<select id="groups-sort-by">
<option value="active"><?php _e( 'Last Active', 'buddypress' ); ?></option>
<option value="popular"><?php _e( 'Most Members', 'buddypress' ); ?></option>
<option value="newest"><?php _e( 'Newly Created', 'buddypress' ); ?></option>
<option value="alphabetical"><?php _e( 'Alphabetical', 'buddypress' ); ?></option>
<?php do_action( 'bp_member_group_order_options' ) ?>
</select>
</li>
<?php endif; ?>
</ul>
</div><!-- .item-list-tabs -->
<?php
if ( bp_is_current_action( 'invites' ) ) :
locate_template( array( 'members/single/groups/invites.php' ), true );
else :
do_action( 'bp_before_member_groups_content' ); ?>
<div class="groups mygroups">
<?php locate_template( array( 'groups/groups-loop.php' ), true ); ?>
</div>
<?php do_action( 'bp_after_member_groups_content' ); ?>
<?php endif; ?>