Mercurial > hg > batmud > materials
changeset 9:3c3fadcf13f2
Whitespace cosmetics.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 04 Jan 2016 10:43:48 +0200 |
parents | aa7263b8e621 |
children | 8780755f38a1 |
files | info.php |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/info.php Mon Jan 04 10:06:49 2016 +0200 +++ b/info.php Mon Jan 04 10:43:48 2016 +0200 @@ -80,7 +80,7 @@ "<table class=\"".$class."\">". " <tr>\n". " <th>-</th>\n"; - + foreach ($currTable2 as $name) { echo " <th>".stGetMatLink($name)."</th>\n"; @@ -107,7 +107,7 @@ $tmp = $alloyTable[$mat2][$mat1]; else unset($tmp); - + if ($onlyMat !== FALSE && !isset($tmp[$onlyMat])) unset($tmp); @@ -146,7 +146,7 @@ { echo "<td class=\"impossible\" title=\"Impossible combination\">-</td>"; } - } + } echo "</tr>\n"; } echo @@ -303,7 +303,7 @@ if ($n != 0) echo "</tr>\n"; echo "</table>\n\n"; - + // // Show alloy combinations table for this material // @@ -405,7 +405,7 @@ $data[14] == $matTypeTable[$setShowOnly][2]) $currTable[] = $name; } - + // Swap desired rows if (count($setSwapRows) > 0) { @@ -420,7 +420,7 @@ $currTable[$from] = $currTable[$to]; $currTable[$to] = $tmp; } - + if (count($str) > 0) { echo "<p>Swapped rows: ".implode(", ", $str)."</p>\n";