2012-07-13 15:46:22 +00:00
|
|
|
<?php
|
|
|
|
|
/**
|
|
|
|
|
* BuddyPress - Dedications
|
|
|
|
|
*/
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
|
|
<?php global $bp, $post, $gp_settings; ?>
|
|
|
|
|
|
|
|
|
|
<?php get_header( 'buddypress' ); ?>
|
2012-08-27 18:06:11 +00:00
|
|
|
|
|
|
|
|
<?php if ( bp_is_my_profile() ) : ?>
|
2012-08-28 11:08:23 +00:00
|
|
|
<?php bp_core_render_message(); ?>
|
2012-07-18 17:27:44 +00:00
|
|
|
<?php if ( !bp_is_current_action( 'new-dedication' ) ) : ?>
|
2012-08-27 16:23:04 +00:00
|
|
|
<?php require(ghostpool_scripts . 'comment-home.php'); ?>
|
2012-07-18 17:27:44 +00:00
|
|
|
<?php locate_template( array( 'video-slider.php' ), true ); ?>
|
|
|
|
|
<?php endif; ?>
|
2012-07-13 15:46:22 +00:00
|
|
|
|
2012-07-20 14:42:00 +00:00
|
|
|
<?php
|
|
|
|
|
$classcss = '';
|
|
|
|
|
$idcss = 'fullwidth';
|
|
|
|
|
|
|
|
|
|
if (bp_is_current_action('new-dedication')) :
|
|
|
|
|
$idcss = '';
|
|
|
|
|
$classcss = 'new-dedication';
|
|
|
|
|
endif;
|
|
|
|
|
|
|
|
|
|
if (bp_is_current_action('dedication-profile')) :
|
|
|
|
|
$idcss = '';
|
|
|
|
|
$classcss = 'dedication-profile';
|
|
|
|
|
endif;
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
|
|
<div id="content<?php echo ($idcss) ? ' '.$idcss : '';?>" class="<?php echo $classcss;?>">
|
2012-08-27 16:23:04 +00:00
|
|
|
<?php if ( !bp_is_current_action( 'new-dedication' ) ) : ?>
|
|
|
|
|
<div id="precontent-wrapper">
|
|
|
|
|
<div id="dedicationComments_container" class="columns two first text-left"> </div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="clear"></div>
|
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
2012-07-13 15:46:22 +00:00
|
|
|
<div class="padder">
|
2012-07-17 16:19:40 +00:00
|
|
|
<?php do_action('bp_before_member_plugin_template'); ?>
|
2012-07-13 15:46:22 +00:00
|
|
|
|
|
|
|
|
<div id="item-body" role="main">
|
|
|
|
|
|
|
|
|
|
<?php do_action( 'bp_before_member_body' ); ?>
|
|
|
|
|
|
|
|
|
|
<h3><?php do_action( 'bp_template_title' ); ?></h3>
|
|
|
|
|
|
|
|
|
|
<?php do_action( 'bp_template_content' ); ?>
|
|
|
|
|
|
|
|
|
|
<?php do_action( 'bp_after_member_body' ); ?>
|
|
|
|
|
|
|
|
|
|
</div><!-- #item-body -->
|
|
|
|
|
|
|
|
|
|
<?php do_action( 'bp_after_member_plugin_template' ); ?>
|
|
|
|
|
|
|
|
|
|
</div><!-- .padder -->
|
|
|
|
|
</div><!-- #content -->
|
2012-08-27 18:06:11 +00:00
|
|
|
<?php else: ?>
|
|
|
|
|
<div id="content" class="fullwidth">
|
|
|
|
|
<div class="padder">
|
|
|
|
|
<?php do_action( 'bp_before_member_home_content' ); ?>
|
|
|
|
|
|
|
|
|
|
<div id="item-header" role="complementary">
|
|
|
|
|
<?php locate_template( array( 'members/single/member-header.php' ), true ); ?>
|
|
|
|
|
</div>
|
2012-07-13 15:46:22 +00:00
|
|
|
|
2012-08-27 18:06:11 +00:00
|
|
|
<?php do_action( 'bp_after_member_home_content' ); ?>
|
|
|
|
|
</div><!-- .padder -->
|
|
|
|
|
</div><!-- #content -->
|
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
|
|
|
|
<?php if ( bp_is_my_profile() ) : ?>
|
|
|
|
|
<?php get_sidebar( 'buddypress' ); ?>
|
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
2012-07-13 15:46:22 +00:00
|
|
|
<?php get_footer( 'buddypress' ); ?>
|