Added page title.
This commit is contained in:
		
							parent
							
								
									9ef73748de
								
							
						
					
					
						commit
						15de0f7732
					
				| @ -198,6 +198,7 @@ class CommentListTheme extends Themelet { | |||||||
| 		$h_index = "<a href='".make_link("post/list")."'>Index</a>"; | 		$h_index = "<a href='".make_link("post/list")."'>Index</a>"; | ||||||
| 		$h_next = ($page_number >= $total_pages) ? "Next" : "<a href='$next'>Next</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)); | 		$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); | 		$this->display_paginator($page, "comment/beta-search/{$user->name}", null, $page_number, $total_pages); | ||||||
| 	} | 	} | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user