plugins/SpecialPageFuncs.php
changeset 1244 ba80cfffb673
parent 1227 bdac73ed481e
child 1270 bd3ee7f12bc1
--- a/plugins/SpecialPageFuncs.php	Mon Apr 19 18:07:43 2010 -0400
+++ b/plugins/SpecialPageFuncs.php	Tue Apr 20 11:38:24 2010 -0400
@@ -323,7 +323,7 @@
 			'<div class="tblholder">
  				<table border="0" cellspacing="1" cellpadding="4">
  					<tr>',          // print at start
-			'    ' . $last_cell . '</tr>
+			'		' . $last_cell . '</tr>
  				</table>
  			</div>'             // print at end
  			);
@@ -356,12 +356,12 @@
 		}
 		echo '<td style="width: 50%;" class="' . $cclass . '">';
 		echo '<a href="' . makeUrl($cdata['urlname']) . '">';
-		echo htmlspecialchars($cdata['name']);
+		echo htmlspecialchars($lang->get($cdata['name']));
 		echo '</a>';
 		echo '</td>';
 	}
 	// close up the table if necessary
-	if ( $i % 2 > 0 )
+	if ( $i % 2 == 0 )
 	{
 		echo "<td class=\"$cclass\"></td>";
 	}