diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2245a427..52b6725a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -454,7 +454,7 @@ Adminer 4.4.0 (2018-01-17)
- PostgreSQL: Sort table names (regression from 4.3.1)
- Editor: Don't set time zone from PHP, fixes DST
- Editor: Display field comment's text inside [] only in edit form
-- Editor: Fix doubleclick on database page
+- Editor: Fix double-click on database page
- Editor: Fix Search data in tables
- Customization: Always send security headers
- Hebrew translation
@@ -665,7 +665,7 @@ Adminer 3.7.0 (2013-05-19)
- 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/adminer/call.inc.php b/adminer/call.inc.php
index dc4d2677..8a19119f 100644
--- a/adminer/call.inc.php
+++ b/adminer/call.inc.php
@@ -33,7 +33,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 829d8e81..4660e5ad 100644
--- a/adminer/drivers/pgsql.inc.php
+++ b/adminer/drivers/pgsql.inc.php
@@ -847,7 +847,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 75ef25bb..cfb18f96 100644
--- a/adminer/include/editing.inc.php
+++ b/adminer/include/editing.inc.php
@@ -637,7 +637,7 @@ function doc_link(array $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 4afe5996..0db06513 100644
--- a/adminer/include/functions.inc.php
+++ b/adminer/include/functions.inc.php
@@ -323,7 +323,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 9cb2b098..293ba67e 100644
--- a/adminer/sql.inc.php
+++ b/adminer/sql.inc.php
@@ -153,7 +153,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/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