From: Mr. E23 Date: Thu, 18 Nov 2004 18:57:51 +0000 (+0000) Subject: Added 'cont.' to category listing headers when the listing continues from the previou... X-Git-Tag: 1.5.0alpha1~1312 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=2691d45e5dcc02ab597e87301cee546e0cb74598;p=lhc%2Fweb%2Fwiklou.git Added 'cont.' to category listing headers when the listing continues from the previous column --- 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