summaryrefslogtreecommitdiff
path: root/classes/Misc.php
diff options
context:
space:
mode:
authorJean-Michel Vourgère2019-10-20 20:47:32 +0000
committerRobert Treat2019-10-31 20:00:17 +0000
commit80e18adc0b288f471e3284be53e1b8368811f877 (patch)
tree932e8cf2014870f9fd1afd3d1e75491c3ca453d8 /classes/Misc.php
parent3c887d8cb2078b428095809ced9a8f47735349cb (diff)
codespell assisted typo cleaning
Diffstat (limited to 'classes/Misc.php')
-rw-r--r--classes/Misc.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/classes/Misc.php b/classes/Misc.php
index 9939502e..e2553e55 100644
--- a/classes/Misc.php
+++ b/classes/Misc.php
@@ -626,7 +626,7 @@
* ...
* ),
* 'content' => The link text
- * 'fields' => (optionnal) the data from which content and attr's values are obtained
+ * 'fields' => (optional) the data from which content and attr's values are obtained
* );
* the special attribute 'href' might be a string or an array. If href is an array it
* will be generated by getActionUrl. See getActionUrl comment for array format.
@@ -1336,7 +1336,7 @@
echo "<div class=\"topbar\"><table style=\"width: 100%\"><tr><td>";
if ($server_info && isset($server_info['platform']) && isset($server_info['username'])) {
- /* top left informations when connected */
+ /* top left information when connected */
echo sprintf($lang['strtopbar'],
'<span class="platform">'.htmlspecialchars($server_info['platform']).'</span>',
'<span class="host">'.htmlspecialchars((empty($server_info['host'])) ? 'localhost':$server_info['host']).'</span>',
@@ -1345,7 +1345,7 @@
echo "</td>";
- /* top right informations when connected */
+ /* top right information when connected */
$toplinks = array (
'sql' => array (
@@ -1668,7 +1668,7 @@
* @param $navlinks - An array with the the attributes and values that will be shown. See printLinksList for array format.
* @param $place - Place where the $navlinks are displayed. Like 'display-browse', where 'display' is the file (display.php)
* @param $env - Associative array of defined variables in the scope of the caller.
- * Allows to give some environnement details to plugins.
+ * Allows to give some environment details to plugins.
* and 'browse' is the place inside that code (doBrowse).
*/
function printNavLinks($navlinks, $place, $env = array()) {
@@ -1788,7 +1788,7 @@
}
/**
- * Converts a PHP.INI size variable to bytes. Taken from publically available
+ * Converts a PHP.INI size variable to bytes. Taken from publicly available
* function by Chris DeRose, here: http://www.php.net/manual/en/configuration.directives.php#ini.file-uploads
* @param $strIniSize The PHP.INI variable
* @return size in bytes, false on failure
@@ -2551,7 +2551,7 @@
/**
* returns an array representing FKs definition for a table, sorted by fields
* or by constraint.
- * @param $table The table to retrieve FK contraints from
+ * @param $table The table to retrieve FK constraints from
* @returns the array of FK definition:
* array(
* 'byconstr' => array(