diff --git a/adminer/call.inc.php b/adminer/call.inc.php index f8988675..20de834f 100644 --- a/adminer/call.inc.php +++ b/adminer/call.inc.php @@ -32,7 +32,7 @@ if (!$error && $_POST) { $query = (isset($_GET["callf"]) ? "SELECT" : "CALL") . " " . table($PROCEDURE) . "(" . implode(", ", $call) . ")"; $start = microtime(true); $result = $connection->multi_query($query); - $affected = $connection->affected_rows; // getting warnigns overwrites this + $affected = $connection->affected_rows; // getting warnings overwrites this echo $adminer->selectQuery($query, $start, !$result); if (!$result) { diff --git a/adminer/drivers/pgsql.inc.php b/adminer/drivers/pgsql.inc.php index 5a626195..14040883 100644 --- a/adminer/drivers/pgsql.inc.php +++ b/adminer/drivers/pgsql.inc.php @@ -823,7 +823,7 @@ AND typelem = 0" } } - // coments for table & fields + // comments for table & fields if ($status['Comment']) { $return .= "\n\nCOMMENT ON TABLE " . idf_escape($status['nspname']) . "." . idf_escape($status['Name']) . " IS " . q($status['Comment']) . ";"; } diff --git a/adminer/include/editing.inc.php b/adminer/include/editing.inc.php index 5181beba..ff2382cb 100644 --- a/adminer/include/editing.inc.php +++ b/adminer/include/editing.inc.php @@ -558,7 +558,7 @@ function doc_link($paths, $text = "?") { * @return string */ function ob_gzencode($string) { - // ob_start() callback recieves an optional parameter $phase but gzencode() accepts optional parameter $level + // ob_start() callback receives an optional parameter $phase but gzencode() accepts optional parameter $level return gzencode($string); } diff --git a/adminer/include/functions.inc.php b/adminer/include/functions.inc.php index 05f2c6ab..32fb0184 100644 --- a/adminer/include/functions.inc.php +++ b/adminer/include/functions.inc.php @@ -328,7 +328,7 @@ function ini_bool($ini) { return (preg_match('~^(on|true|yes)$~i', $val) || (int) $val); // boolean values set by php_value are strings } -/** Check if SID is neccessary +/** Check if SID is necessary * @return bool */ function sid() { diff --git a/adminer/sql.inc.php b/adminer/sql.inc.php index 4f7b47cd..ae8d61aa 100644 --- a/adminer/sql.inc.php +++ b/adminer/sql.inc.php @@ -141,7 +141,7 @@ if (!$error && $_POST) { $time = " (" . format_time($start) . ")" . (strlen($q) < 1000 ? " " . lang('Edit') . "" : "") // 1000 - maximum length of encoded URL in IE is 2083 characters ; - $affected = $connection->affected_rows; // getting warnigns overwrites this + $affected = $connection->affected_rows; // getting warnings overwrites this $warnings = ($_POST["only_errors"] ? "" : $driver->warnings()); $warnings_id = "warnings-$commands"; if ($warnings) { diff --git a/changes.txt b/changes.txt index 0d489597..c1ac053b 100644 --- a/changes.txt +++ b/changes.txt @@ -471,7 +471,7 @@ Allow exporting views dependent on each other (bug #214) Fix resetting search (bug #318) Don't use LIMIT 1 if updating unique row (bug #320) Restrict editing rows without unique identifier to search results -Display navigation bellow main content on mobile browsers +Display navigation below main content on mobile browsers Get number of rows on export page asynchronously Respect 'whole result' even if some rows are checked (bug #339 since Adminer 3.7.0) MySQL: Optimize create table page and Editor navigation diff --git a/todo.txt b/todo.txt index d7a0e5cc..1fae7668 100644 --- a/todo.txt +++ b/todo.txt @@ -9,7 +9,7 @@ Draggable columns in alter table (thanks to Michal Manak) Define foreign keys name - http://forum.zdrojak.root.cz/index.php?topic=185.msg1255#msg1255 Skinnable plus.gif and other images - http://typo3.org/extensions/repository/view/t3adminer/current/ ? Filter by value in row under in select -? Column and table names auto-completition in SQL textarea - http://blog.quplo.com/2010/06/css-code-completion-in-your-browser/ +? Column and table names auto-completion in SQL textarea - http://blog.quplo.com/2010/06/css-code-completion-in-your-browser/ ? Aliasing of built-in functions can save 7 KB, function minification can save 7 KB, substitution of repetitive $a["a"] can save 4 KB, substitution of $_GET and friends can save 2 KB, aliasing of $connection->query can save 24 B, JS Closure compiler can save 2 KB, not enclosing HTML attribute values can save 1.2 KB, replacing \\n by \n can save .3 KB ? Branch binary_compile: LZW compression of all texts can save 11 KB, using chars 127-255 in minification can save 1 KB