Exemple #1
0
?>
<div class="info-group">
	<h4><?php 
bp_wire_title();
?>
 <a href="<?php 
bp_wire_see_all_link();
?>
"><?php 
_e("See All &raquo;", "buddypress");
?>
</a></h4>

	<form name="wire-post-list-form" id="wire-post-list-form" action="" method="post">
	<?php 
if (bp_has_wire_posts('item_id=' . bp_wire_item_id() . '&can_post=' . bp_wire_can_post())) {
    ?>
		
		<?php 
    if (bp_wire_needs_pagination()) {
        ?>
			
			<div id="wire-count" class="pag-count">
				<?php 
        bp_wire_pagination_count();
        ?>
 &nbsp;
				<img id="ajax-loader" src="<?php 
        bp_wire_ajax_loader_src();
        ?>
" height="7" alt="<?php 
Exemple #2
0
    }
    ?>
		</ul>
	
	<?php 
} else {
    ?>

		<div id="message" class="info">
			<p><?php 
    bp_wire_no_posts_message();
    ?>
</p>
		</div>

	<?php 
}
?>
	
	<input type="hidden" name="bp_wire_item_id" id="bp_wire_item_id" value="<?php 
bp_wire_item_id(true);
?>
" />
	</form>

	<?php 
bp_wire_get_post_form();
?>
		
</div>
Exemple #3
0
    _e('Notify members via email (will slow down posting)', 'buddypress');
    ?>
</p>
			
			<?php 
}
?>
			
			<?php 
do_action('bp_wire_custom_wire_boxes_after');
?>
			
			<input type="submit" name="wire-post-submit" id="wire-post-submit" value="<?php 
_e('Post &raquo;', 'buddypress');
?>
" />
			
			<?php 
wp_nonce_field('bp_wire_post');
?>
			
			<input type="hidden" name="bp_wire_item_id" id="bp_wire_item_id" value="<?php 
bp_wire_item_id();
?>
" />
			
		</div>
		
	</form>
	
</div>