function bp_link_vote_panel_count($show = true)
{
    if (true === $show) {
        // render tags
        ?>
		<div class="vote-count">
			<span id="vote-count-<?php 
        bp_link_id();
        ?>
"><?php 
        bp_link_vote_count();
        ?>
</span>
			<?php 
        _e('Votes', 'buddypress-links');
        ?>
		</div><?php 
    }
}
Example #2
0
?>
</textarea>
		</div>

		<div id="whats-new-options">
			<div id="whats-new-submit">
				<span class="ajax-loader"></span> &nbsp;
				<input type="submit" name="aw-whats-new-submit" id="aw-whats-new-submit" value="<?php 
_e('Post Update', 'buddypress');
?>
" />
			</div>

			<input type="hidden" id="whats-new-post-object" name="whats-new-post-object" value="links" />
			<input type="hidden" id="whats-new-post-in" name="whats-new-post-in" value="<?php 
bp_link_id();
?>
" />

			<?php 
do_action('bp_activity_post_form_options');
?>

		</div><!-- #whats-new-options -->
	</div><!-- #whats-new-content -->

	<?php 
wp_nonce_field('post_update', '_wpnonce_post_update');
?>
	<?php 
do_action('bp_after_activity_post_form');