Esempio n. 1
0
				</td>

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

				<td width="10%">
					<a class="button" href="<?php 
        bp_message_activate_deactivate_link();
        ?>
" class="confirm"><?php 
        bp_message_activate_deactivate_text();
        ?>
</a>
					<a class="button" href="<?php 
        bp_message_notice_delete_link();
        ?>
" class="confirm" title="<?php 
        _e("Delete Message", "buddypress");
        ?>
">x</a>
				</td>
			</tr>
		<?php 
    }
    ?>
	</table><!-- #message-threads -->

	<?php 
    do_action('bp_after_notices');
    ?>
Esempio n. 2
0
				<td width="1%">
				</td>
				<td width="38%">
					<strong><?php bp_message_notice_subject() ?></strong>
					<?php bp_message_notice_text() ?>
				</td>
				<td width="21%">
					<strong><?php bp_message_is_active_notice() ?></strong>
					<span class="activity"><?php _e("Sent:", "buddypress"); ?> <?php bp_message_notice_post_date() ?></span>
				</td>

				<?php do_action( 'bp_notices_list_item' ) ?>

				<td width="10%">
					<a class="button" href="<?php bp_message_activate_deactivate_link() ?>" class="confirm"><?php bp_message_activate_deactivate_text() ?></a>
					<a class="button" href="<?php bp_message_notice_delete_link() ?>" class="confirm" title="<?php _e( "Delete Message", "buddypress" ); ?>">x</a>
				</td>
			</tr>
		<?php endwhile; ?>
	</table><!-- #message-threads -->

	<?php do_action( 'bp_after_notices' ) ?>

<?php else: ?>

	<div id="message" class="info">
		<p><?php _e( 'Sorry, no notices were found.', 'buddypress' ); ?></p>
	</div>

<?php endif;?>