diff -r 70fa9fdd6f25 -r eaeb479c52c9 plugins/CategoryList.php --- a/plugins/CategoryList.php Fri Aug 15 10:25:31 2008 -0400 +++ b/plugins/CategoryList.php Fri Aug 15 20:39:02 2008 -0400 @@ -113,13 +113,14 @@ $have_subcats = true; - $ticker++; if ( $ticker == 3 ) { $ticker = 0; - $html = ''; + $html .= ''; $class = ( $class == 'row1' ) ? 'row2' : 'row1'; } + $ticker++; + $inner = '' . htmlspecialchars($row['name']) . ''; $html .= '' . $inner . ''; } @@ -160,13 +161,14 @@ $have_pages = true; - $ticker++; if ( $ticker == 3 ) { $ticker = 0; - $html = ''; + $html .= ''; $class = ( $class == 'row1' ) ? 'row2' : 'row1'; } + $ticker++; + $inner = '' . htmlspecialchars($row['name']) . ''; $html .= '' . $inner . ''; }