Пример #1
0
			<span class="highlight">

				<?php 
    if (!bp_get_the_thread_recipients()) {
        ?>

					<?php 
        _e('You are alone in this conversation.', 'product');
        ?>

				<?php 
    } else {
        ?>

					<?php 
        printf(__('Conversation between %s and you.', 'product'), bp_get_the_thread_recipients());
        ?>

				<?php 
    }
    ?>

			</span>

			<a class="button confirm" href="<?php 
    bp_the_thread_delete_link();
    ?>
" title="<?php 
    _e("Delete Message", "buddypress");
    ?>
"><?php 
Пример #2
0
			<span class="highlight">

				<?php 
    if (!bp_get_the_thread_recipients()) {
        ?>

					<?php 
        _e('You are alone in this conversation.', 'buddypress');
        ?>

				<?php 
    } else {
        ?>

					<?php 
        printf(__('Conversation between %s and you.', 'buddypress'), bp_get_the_thread_recipients());
        ?>

				<?php 
    }
    ?>

			</span>

			<a class="button confirm" href="<?php 
    bp_the_thread_delete_link();
    ?>
" title="<?php 
    _e("Delete Message", "buddypress");
    ?>
"><?php 
function bp_the_thread_recipients()
{
    echo bp_get_the_thread_recipients();
}
Пример #4
0
<div id="message-thread">

	<?php do_action( 'bp_before_message_thread_content' ) ?>

	<?php if ( bp_thread_has_messages() ) : ?>

		<h3 id="message-subject"><?php bp_the_thread_subject() ?></h3>

		<p id="message-recipients">
			<span class="highlight">
				<?php printf( __('Sent between %s and %s', 'buddypress'), bp_get_the_thread_recipients(), '<a href="' . bp_get_loggedin_user_link() . '" title="' . bp_get_loggedin_user_fullname() . '">' . bp_get_loggedin_user_fullname() . '</a>' ) ?>
			</span>
		</p>

		<?php do_action( 'bp_before_message_thread_list' ) ?>

		<?php while ( bp_thread_messages() ) : bp_thread_the_message(); ?>

			<div class="message-box">

				<div class="message-metadata">

					<?php do_action( 'bp_before_message_meta' ) ?>

					<?php bp_the_thread_message_sender_avatar( 'type=thumb&width=30&height=30' ) ?>
					<strong><a href="<?php bp_the_thread_message_sender_link() ?>" title="<?php bp_the_thread_message_sender_name() ?>"><?php bp_the_thread_message_sender_name() ?></a> <span class="activity"><?php bp_the_thread_message_time_since() ?></span></strong>

					<?php do_action( 'bp_after_message_meta' ) ?>

				</div><!-- .message-metadata -->
Пример #5
0
			<span class="highlight">

				<?php 
    if (!bp_get_the_thread_recipients()) {
        ?>

					<?php 
        _e('You are alone in this conversation.', 'thatcamp');
        ?>

				<?php 
    } else {
        ?>

					<?php 
        printf(__('Conversation between %s and you.', 'thatcamp'), bp_get_the_thread_recipients());
        ?>

				<?php 
    }
    ?>

			</span>

			<a class="button confirm" href="<?php 
    bp_the_thread_delete_link();
    ?>
" title="<?php 
    _e("Delete Message", "buddypress");
    ?>
"><?php 
Пример #6
0
			<span class="highlight">

				<?php 
    if (!bp_get_the_thread_recipients()) {
        ?>

					<?php 
        _e('You are alone in this conversation.', 'logicalboneshug');
        ?>

				<?php 
    } else {
        ?>

					<?php 
        printf(__('Conversation between %s and you.', 'logicalboneshug'), bp_get_the_thread_recipients());
        ?>

				<?php 
    }
    ?>

			</span>

			<a class="button confirm" href="<?php 
    bp_the_thread_delete_link();
    ?>
" title="<?php 
    _e("Delete Message", "buddypress");
    ?>
"><?php 
Пример #7
0
			<span class="highlight">

				<?php 
    if (!bp_get_the_thread_recipients()) {
        ?>

					<?php 
        _e('You are alone in this conversation.', 'wplms_modern');
        ?>

				<?php 
    } else {
        ?>

					<?php 
        printf(__('Conversation between %s and you.', 'wplms_modern'), bp_get_the_thread_recipients());
        ?>

				<?php 
    }
    ?>

			</span>

			<a class="button confirm" href="<?php 
    bp_the_thread_delete_link();
    ?>
" title="<?php 
    _e("Delete Message", "wplms_modern");
    ?>
"><?php 
Пример #8
0
			<span class="highlight">

				<?php 
    if (!bp_get_the_thread_recipients()) {
        ?>

					<?php 
        _e('You are alone in this conversation.', 'bp-magic');
        ?>

				<?php 
    } else {
        ?>

					<?php 
        printf(__('Conversation between %s and you.', 'bp-magic'), bp_get_the_thread_recipients());
        ?>

				<?php 
    }
    ?>

			</span>

			<a class="button confirm message-delete" href="<?php 
    bp_the_thread_delete_link();
    ?>
" title="<?php 
    _e("Delete Message", "bp-magic");
    ?>
"><?php 
Пример #9
0
			<span class="highlight label label-default">

				<?php 
    if (!bp_get_the_thread_recipients()) {
        ?>

					<?php 
        _e('You are alone in this conversation.', 'firmasite');
        ?>

				<?php 
    } else {
        ?>

					<?php 
        printf(__('Conversation between %s and you.', 'firmasite'), bp_get_the_thread_recipients());
        ?>

				<?php 
    }
    ?>

			</span>

			<a class="button btn btn-primary btn-sm confirm" href="<?php 
    bp_the_thread_delete_link();
    ?>
" title="<?php 
    _e("Delete Message", 'firmasite');
    ?>
"><?php