From 2691d45e5dcc02ab597e87301cee546e0cb74598 Mon Sep 17 00:00:00 2001 From: "Mr. E23" Date: Thu, 18 Nov 2004 18:57:51 +0000 Subject: [PATCH] Added 'cont.' to category listing headers when the listing continues from the previous column --- includes/CategoryPage.php | 10 ++++++++-- languages/Language.php | 1 + 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/includes/CategoryPage.php b/includes/CategoryPage.php index 6c56dbc0a4..491c8343f6 100644 --- a/includes/CategoryPage.php +++ b/includes/CategoryPage.php @@ -250,7 +250,9 @@ class CategoryPage extends Article { // get and display header $r .= ''; - // loop through the chunks + $prev_start_char = ""; + + // loop through the chunks for($startChunk = 0, $endChunk = $chunk, $chunkIndex = 0; $chunkIndex < 3; $chunkIndex++, $startChunk = $endChunk, $endChunk += $chunk + 1) @@ -268,7 +270,11 @@ class CategoryPage extends Article { ($articles_start_char[$index] != $articles_start_char[$index - 1]) ) { - $r .= "

{$articles_start_char[$index]}

\n

{$articles_start_char[$index]}$cont_msg

\n