PluginProbe
WP-Print / 2.11
WP-Print v2.11
3.0.0 trunk 1.00 2.00 2.01 2.02 2.03 2.04 2.05 2.06 2.10 2.11 2.20 2.30 2.31 2.40 2.50 2.52 2.53 2.54 2.55 2.56 2.57 2.57.1 2.57.2 All 29 releases
wp-print / print / wp-print-comments.php

wp-print-comments.php in WP-Print 2.11, at print/wp-print-comments.php

34 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 +----------------------------------------------------------------+
4 | |
5 | WordPress 2.1 Plugin: WP-Print 2.11 |
6 | Copyright (c) 2007 Lester "GaMerZ" Chan |
7 | |
8 | File Written By: |
9 | - Lester "GaMerZ" Chan |
10 | - http://www.lesterchan.net |
11 | |
12 | File Information: |
13 | - Printer Friendly Page For Comments |
14 | - wp-print-comments.php |
15 | |
16 +----------------------------------------------------------------+
17 */
18 ?>
19 <?php if($comments) : ?>
20 <?php $comment_count = 1; ?>
21 <p id="CommentTitle"><?php print_comments_number(); ?> <?php _e('To', 'wp-print'); ?> "<?php the_title(); ?>"</p>
22 <?php foreach ($comments as $comment) : ?>
23 <p class="CommentDate">
24 <strong>#<?php echo $comment_count; ?> <?php comment_type(); ?></strong> <?php _e('By', 'wp-print'); ?> <u><?php comment_author(); ?></u> <?php _e('On', 'wp-print'); ?> <?php comment_date(get_option("date_format").' @ '.get_option("time_format")); ?></p>
25 <div class="CommentContent">
26 <?php if ($comment->comment_approved == '0') : ?>
27 <p><em><?php _e('Your comment is awaiting moderation.', 'wp-print'); ?></em></p>
28 <?php endif; ?>
29 <?php print_comments_content(); ?>
30 </div>
31 <?php $comment_count++; ?>
32 <?php endforeach; ?>
33 <hr class="Divider" style="text-align: center;" />
34 <?php endif; ?>