Merged (accidental split)
authorDan
Fri, 30 Apr 2010 22:15:03 -0400
changeset 1248 3914c9a95879
parent 1247 30f023a13a71 (current diff)
parent 1245 62763b17be2d (diff)
child 1249 81b03b3e88d0
Merged (accidental split)
--- a/includes/wikiformat.php	Fri Apr 30 22:13:08 2010 -0400
+++ b/includes/wikiformat.php	Fri Apr 30 22:15:03 2010 -0400
@@ -69,11 +69,11 @@
 			'bold',
 			'italic',
 			'underline',
+			'image',
 			'externalwithtext',
 			'externalnotext',
 			'mailtowithtext',
 			'mailtonotext',
-			'image',
 			'internallink',
 			'paragraph',
 			'blockquotepost'
--- a/plugins/SpecialPageFuncs.php	Fri Apr 30 22:13:08 2010 -0400
+++ b/plugins/SpecialPageFuncs.php	Fri Apr 30 22:15:03 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>";
 	}