Exemple #1
0
 function comments()
 {
     if ($this->comments) {
         thesis_comments_intro(count($this->comments), comments_open());
         #wp
         thesis_comments_navigation();
         echo "\t\t\t\t<dl id=\"comment_list\">\n";
         thesis_list_comments();
         echo "\t\t\t\t</dl>\n";
         thesis_comments_navigation(2);
     }
     thesis_hook_after_comments();
 }
Exemple #2
0
 function comments($user_data, $depth = 4)
 {
     if ($this->comments) {
         $tab = str_repeat("\t", $depth);
         thesis_comments_intro(count($this->comments), comments_open());
         #wp
         thesis_comments_navigation();
         echo "{$tab}<dl id=\"comment_list\">\n";
         thesis_list_comments();
         echo "{$tab}</dl>\n";
         thesis_comments_navigation(2);
     }
     thesis_hook_after_comments();
 }
Exemple #3
0
    if ($only_comments) {
        thesis_comments_intro(count($only_comments), comments_open());
        thesis_comments_navigation();
        ?>
				<dl id="comment_list">
<?php 
        thesis_list_comments();
        ?>
				</dl>
<?php 
        thesis_comments_navigation(2);
    } elseif (comments_open()) {
        thesis_comments_intro(0, comments_open());
    }
}
thesis_hook_after_comments();
if (!comments_open()) {
    ?>
				<div class="comments_closed">
					<p><?php 
    _e('Comments on this entry are closed.', 'thesis');
    ?>
</p>
				</div>
<?php 
}
if (comments_open()) {
    if (get_option('comment_registration') && !$user_ID) {
        // If registration is required and the user is NOT logged in...
        ?>
				<div class="login_alert">