Esempio n. 1
0
</span></a></li>
			<li class="social-pingback<?php 
        echo (isset($_GET['social_tab']) and $_GET['social_tab'] == 'social-pingback') ? ' social-current-tab' : '';
        ?>
"><a href="#" rel="social-pingback"><span><?php 
        printf(_n('1 Pingback', '%1$s Pingbacks', isset($groups['pingback']) ? $groups['pingback'] : 0, 'social'), isset($groups['pingback']) ? $groups['pingback'] : 0);
        ?>
</span></a></li>
		</ul>

		<!-- panel items -->
		<div id="social-comments-tab-all" class="social-tabs-panel social-tabs-first-panel">
			<div id="comments" class="social-comments">
				<?php 
        if ($last_reply_time) {
            echo '<div class="social-last-reply-when">' . sprintf(__('Last reply was %s', 'social'), Social_Date::span_comment($last_reply_time)) . '</div>';
        }
        if (count($social_items)) {
            echo '<div id="social-items-wrapper">';
            foreach ($social_items as $group => $items) {
                $service = Social::instance()->service($group);
                if ($service !== false and count($items)) {
                    $avatar_size = apply_filters('social_items_avatar_size', array('width' => 24, 'height' => 24));
                    echo Social_View::factory('comment/social_item', compact('items', 'service', 'avatar_size'));
                }
            }
            echo '</div>';
        }
        if ($last_reply_time or count($social_items)) {
            echo '<div class="cf-clearfix"></div>';
        }
Esempio n. 2
0
_e('View', 'social');
?>
</span>
				<?php 
if ($status_url !== null) {
    ?>
				</a>
				<?php 
}
?>
			</span>
			<a href="<?php 
echo esc_url(get_comment_link(get_comment_ID()));
?>
" class="social-posted-when" target="_blank"><?php 
echo esc_html(Social_Date::span_comment(strtotime($comment->comment_date_gmt)));
?>
</a>
		</div>
	</div>
	<div class="social-comment-body">
		<?php 
if ($comment->comment_approved == '0') {
    ?>
		<em class="comment-awaiting-moderation"><?php 
    _e('Your comment is awaiting moderation.', 'social');
    ?>
</em><br />
		<?php 
}
?>