Diff of /trunk/adminer/include/adminer.inc.php [r1513] .. [r1514] Maximize Restore

  Switch to side-by-side view

--- a/trunk/adminer/include/adminer.inc.php
+++ b/trunk/adminer/include/adminer.inc.php
@@ -525,10 +525,9 @@
 					}
 					echo "<script type='text/javascript'>\n";
 					echo "var jushLinks = { $driver: [ '" . addcslashes(h(ME), "\\'/") . "table=\$&', /\\b(" . implode("|", $links) . ")\\b/g ] };\n";
-					echo "jushLinks.bac = jushLinks.$driver;\n";
-					echo "jushLinks.bra = jushLinks.$driver;\n";
-					echo "jushLinks.mssql_bra = jushLinks.$driver;\n";
-					echo "jushLinks.sqlite_quo = jushLinks.$driver;\n";
+					foreach (array("bac", "bra", "sqlite_quo", "mssql_bra") as $val) {
+						echo "jushLinks.$val = jushLinks.$driver;\n";
+					}
 					echo "</script>\n";
 				}
 				echo '<p><a href="' . h(ME) . 'create=">' . bold(lang('Create new table'), $_GET["create"] === "") . "</a>\n";