/**
 * Output a 'since' string describing when the last post in the current topic was created.
 */
function bp_the_topic_time_since_last_post()
{
    echo bp_get_the_topic_time_since_last_post();
}
Exemplo n.º 2
0
                bp_the_topic_title();
                ?>
 - <?php 
                _e('Permalink', 'buddypress');
                ?>
"><?php 
                bp_the_topic_title();
                ?>
</a> 
							<span class="small">- <?php 
                bp_the_topic_total_post_count();
                ?>
 </span>
							
							<p><span class="activity"><?php 
                echo sprintf(__('updated %s ago', 'buddypress'), bp_get_the_topic_time_since_last_post());
                ?>
</span></p>
					
							<div class="latest-post">
								<?php 
                _e('Latest by', 'buddypress');
                ?>
 <?php 
                bp_the_topic_last_poster_name();
                ?>
:
								<?php 
                bp_the_topic_latest_post_excerpt();
                ?>
							</div>
Exemplo n.º 3
0
							</span>

						</p>

					<?php 
        }
        ?>
				</td>

				<td class="td-freshness">
					<?php 
        bp_the_topic_last_poster_avatar('width=35&height=35');
        ?>

					<span class="time-since"><?php 
        printf(__('Last Reply %s', 'huddle'), bp_get_the_topic_time_since_last_post());
        ?>
</span>
					<p class="topic-meta">
						<span class="freshness-author">
							<?php 
        _e('By &middot; ', 'huddle');
        bp_the_topic_last_poster_name();
        ?>
						</span>
					</p>
				</td>

				<td class="td-postcount">
					<a href="<?php 
        bp_the_topic_permalink();
Exemplo n.º 4
0
function bp_the_topic_time_since_last_post() {
	global $forum_template;

	echo bp_get_the_topic_time_since_last_post();
}
function bp_the_topic_time_since_last_post($deprecated = true)
{
    global $forum_template;
    if (!$deprecated) {
        return bp_get_the_topic_time_since_last_post();
    } else {
        echo bp_get_the_topic_time_since_last_post();
    }
}