From bb736bb631788574137742f60dfaa2a808573af8 Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Sun, 7 Dec 2008 17:11:22 -0500 Subject: Moved pingbacks to a seperate table Because pingbacks just aren't comments, they shouldn't be stored in the comments table. So, a new table has been created for them and the blog post view pages have been accomodated to show them at the bottom just like the related posts are shown. --- includes/footer.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'includes/footer.php') diff --git a/includes/footer.php b/includes/footer.php index 8cb0f2d..204aaf5 100755 --- a/includes/footer.php +++ b/includes/footer.php @@ -176,12 +176,9 @@ if (!isset($noRightbar)) break; } - if ($name != 'Pingback') - { - $template->adds_block('TOP', array( 'USERNAME' => $name, - 'COUNT' => $count)); - $i++; - } + $template->adds_block('TOP', array( 'USERNAME' => $name, + 'COUNT' => $count)); + $i++; } $gethits = "SELECT * FROM config WHERE name = \"hits\""; -- cgit 1.4.1