コード例 #1
0
ファイル: comments.php プロジェクト: JGrubb/Almond-Tree
 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();
 }
コード例 #2
0
ファイル: comments.php プロジェクト: CherylMuniz/fashion
 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();
 }
コード例 #3
0
ファイル: comments.php プロジェクト: billerby/Surdeg
    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">