Merge pull request #269 from pachuco/master

Comment extension
This commit is contained in:
Shish 2013-01-04 14:43:52 -08:00
commit 1664f932fe

View File

@ -198,6 +198,7 @@ class CommentListTheme extends Themelet {
$h_index = "<a href='".make_link("post/list")."'>Index</a>";
$h_next = ($page_number >= $total_pages) ? "Next" : "<a href='$next'>Next</a>";
$page->set_title($user->name."'s comments");
$page->add_block(new Block("Navigation", $h_prev.' | '.$h_index.' | '.$h_next, "left", 0));
$this->display_paginator($page, "comment/beta-search/{$user->name}", null, $page_number, $total_pages);
}