<?php

/*
 * @package WordPreciousss
 * @subpackage Precious_Parent_Theme
*/


/*comments and ping listing*/
function precious_list_pings($comment, $args, $depth = 1) {
       $GLOBALS['comment'] = $comment;
?>

        <li id="comment-<?php comment_ID() ?>"  <?php comment_class() ?>>
		<span class="pingtype"><?php comment_type(__('Comment:','precious'),__('Trackback from','precious'),__('Pingback from','precious')); ?></span> 

		<span class="pinglink"><?php comment_author_link() ?></span> 

<?php }

function precious_list_comments($comment, $args, $depth) {
       $GLOBALS['comment'] = $comment;
?>

	<li id="comment-<?php comment_ID() ?>"  <?php comment_class(); ?>>
		<?php echo get_avatar( $comment->comment_author_email, 32, '', $comment->comment_author ); ?>

		<cite class="comment_author"><?php comment_author_link() ?></cite> <?php _e('at','precious'); ?>
 <a href="#comment-<?php comment_ID() ?>" 
			title="<?php _e('Permalink to this comment','precious'); ?>" class="commentdate"><?php comment_date(get_option('date_format')) ?> <?php comment_time(get_option('time_format')) ?></a>
		<div class="comment_text">
			<?php comment_text() ?>
		</div>

		<?php if ($comment->comment_approved == '0') : ?>
			<p class="moderation message"><?php precious_moderation_message(); ?></p>
		<?php endif; ?>

		<p class="commentmeta">
			<?php comment_reply_link(array_merge( $args, array('depth' => $depth, 'max_depth '=> $args['depth'], 'reply_text' => __('Reply to this comment', 'precious'),
		'login_text' => __('Log in to reply', 'precious'),'add_below' => ''))) ?> 
			<?php edit_comment_link(__('Edit this comment','precious'),' | ','');  ?>
		</p>


<?php
}
function precious_end_listing() {
	 echo '</li>';
}





?>
