Esempio n. 1
0
 function trackbacks()
 {
     if ($this->linkbacks) {
         thesis_comments_intro(count($this->linkbacks), pings_open(), 'trackbacks');
         #wp
         echo "\t\t\t\t<ul id=\"trackback_list\">\n";
         foreach ($this->linkbacks as $comment) {
             echo "\t\t\t\t\t<li>" . thesis_trackback_link($comment) . thesis_trackback_date($comment) . "</li>\n";
         }
         #filter
         echo "\t\t\t\t</ul>\n";
     }
 }
Esempio n. 2
0
 function trackbacks($user_data, $depth = 4)
 {
     if ($this->linkbacks) {
         $tab = str_repeat("\t", $depth);
         thesis_comments_intro(count($this->linkbacks), pings_open(), 'trackbacks');
         #wp
         echo "{$tab}<ul id=\"trackback_list\">\n";
         foreach ($this->linkbacks as $comment) {
             echo "{$tab}\t<li>" . thesis_trackback_link($comment) . thesis_trackback_date($comment) . "</li>\n";
         }
         #filter
         echo "{$tab}</ul>\n";
     }
 }
Esempio n. 3
0
<?php 
    }
    // Display comments (how deep does this rabbit hole go?).
    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) {