Ejemplo n.º 1
0
?>

                        <div id="gallery-dir-search" class="dir-search">
				<?php 
bp_gallery_directory_search_form();
?>
			</div><!-- #members-dir-search -->
                        
                        <div class="item-list-tabs">
				<ul>
					<li class="selected" id="gallery-all"><a href="<?php 
global $bp;
echo get_permalink($bp->pages->gallery->id);
?>
"><?php 
printf(__('All Galleries <span>%s</span>', 'bp-gallery'), bp_get_total_gallery_count_for_dir());
?>
</a></li>

					<?php 
if (is_user_logged_in() && function_exists('gallery_total_gallery_for_user')) {
    ?>
						<li id="gallery-personal"><a href="<?php 
    echo bp_loggedin_user_domain() . BP_GALLERY_SLUG . '/my-galleries/';
    ?>
"><?php 
    printf(__('My Galleries <span>%s</span>', 'bp-gallery'), gallery_total_gallery_for_user(bp_loggedin_user_id()));
    ?>
</a></li>
						<?php 
    if (bp_is_active('groups') && bp_is_gallery_enabled_for('groups')) {
Ejemplo n.º 2
0
	<div id="content">
		<div class="padder">

		<form action="" method="post" id="galleries-directory-form" class="dir-form">

			<h3><?php _e( 'Gallery Directory', 'bp-gallery' ) ?></h3>

			<?php do_action( 'bp_before_directory_gallery_content' ) ?>

                        <div id="members-dir-search" class="dir-search">
				<?php bp_directory_members_search_form() ?>
			</div><!-- #members-dir-search -->
                        
                        <div class="item-list-tabs">
				<ul>
					<li class="selected" id="gallery-all"><a href="<?php bp_root_domain() ?>"><?php printf( __( 'All Galleries (%s)', 'bp-gallery' ), bp_get_total_gallery_count_for_dir() ) ?></a></li>

					<?php if ( is_user_logged_in() && function_exists( 'gallery_total_gallery_for_user' )  ) : ?>
						<li id="gallery-personal"><a href="<?php echo bp_loggedin_user_domain() . BP_GALLERY_SLUG . '/my-galleries/' ?>"><?php printf( __( 'My Galleries (%s)', 'bp-gallery' ),  gallery_total_gallery_for_user(bp_loggedin_user_id()) ) ?></a></li>
						<li id="gallery-groups"><a href="<?php echo bp_loggedin_user_domain() . BP_GROUPS_SLUG . '/group-galleries/' ?>"><?php printf( __( 'My Group Galleries', 'bp-gallery' ) ) ?></a></li>
					<?php endif; ?>
					
                                        <?php do_action( 'bp_gallery_directory_member_types' ) ?>

					<li id="gallery-order-select" class="last filter">

						<?php _e( 'Filter By:', 'bp-gallery' ) ?>
						<select><option value=""><?php _e( 'All Galleries', 'bp-gallery' ) ?></option>
							<option value="photo"><?php _e( 'Photo Gallery', 'bp-gallery' ) ?></option>
							<option value="audio"><?php _e( 'Audio Gallery', 'bp-gallery' ) ?></option>
							<option value="video"><?php _e( 'Video Gallery', 'bp-gallery' ) ?></option>