| 1 |
<?php |
| 2 |
/* |
| 3 |
+----------------------------------------------------------------+ |
| 4 |
| | |
| 5 |
| WordPress 2.6 Plugin: WP-Print 2.40 | |
| 6 |
| Copyright (c) 2008 Lester "GaMerZ" Chan | |
| 7 |
| | |
| 8 |
| File Written By: | |
| 9 |
| - Lester "GaMerZ" Chan | |
| 10 |
| - http://lesterchan.net | |
| 11 |
| | |
| 12 |
| File Information: | |
| 13 |
| - Printer Friendly Comments Template | |
| 14 |
| - wp-content/plugins/wp-print/print-comments.php | |
| 15 |
| | |
| 16 |
+----------------------------------------------------------------+ |
| 17 |
*/ |
| 18 |
?> |
| 19 |
|
| 20 |
|
| 21 |
<?php if($comments) : ?> |
| 22 |
<?php $comment_count = 1; global $text_direction; ?> |
| 23 |
<span style='float:<?php echo ('rtl' == $text_direction) ? 'left' : 'right'; ?>' id='comments_controls'><?php print_comments_number(); ?> (<a href="#" onclick="javascript:document.getElementById('comments_box').style.display = 'block'; return false;"><?php _e('Open', 'wp-print'); ?></a> | <a href="#" onclick="javascript:document.getElementById('comments_box').style.display = 'none'; return false;"><?php _e('Close', 'wp-print'); ?></a>)</span> |
| 24 |
<div id="comments_box"> |
| 25 |
<p id="CommentTitle"><?php print_comments_number(); ?> <?php _e('To', 'wp-print'); ?> "<?php the_title(); ?>"</p> |
| 26 |
<?php foreach ($comments as $comment) : ?> |
| 27 |
<p class="CommentDate"> |
| 28 |
<strong>#<?php echo number_format_i18n($comment_count); ?> <?php comment_type(__('Comment', 'wp-print'), __('Trackback', 'wp-print'), __('Pingback', 'wp-print')); ?></strong> <?php _e('By', 'wp-print'); ?> <u><?php comment_author(); ?></u> <?php _e('On', 'wp-print'); ?> <?php comment_date(sprintf(__('%s @ %s', 'wp-print'), get_option('date_format'), get_option('time_format'))); ?> |
| 29 |
</p> |
| 30 |
<div class="CommentContent"> |
| 31 |
<?php if ($comment->comment_approved == '0') : ?> |
| 32 |
<p><em><?php _e('Your comment is awaiting moderation.', 'wp-print'); ?></em></p> |
| 33 |
<?php endif; ?> |
| 34 |
<?php print_comments_content(); ?> |
| 35 |
</div> |
| 36 |
<?php $comment_count++; ?> |
| 37 |
<?php endforeach; ?> |
| 38 |
<hr class="Divider" style="text-align: center;" /> |
| 39 |
</div> |
| 40 |
<?php endif; ?> |