Hanno Böck commited on 2024-04-23 20:57:41
Zeige 5 geänderte Dateien mit 12 Einfügungen und 12 Löschungen.
... | ... |
@@ -22,7 +22,7 @@ software. |
22 | 22 |
|
23 | 23 |
We release the source code of this software to the public in |
24 | 24 |
hope it will be useful for someone. Possibly it will be not |
25 |
-because the underlaying database is not well documented and |
|
25 |
+because the underlying database is not well documented and |
|
26 | 26 |
to have an effect, there is a need for a bunch of shell-/ |
27 | 27 |
python-Scripts. For the moment, those scripts are not released |
28 | 28 |
because they may contain confidential information and we have |
... | ... |
@@ -67,7 +67,7 @@ function config($key, $localonly = false) |
67 | 67 |
if (array_key_exists($key, $config)) { |
68 | 68 |
return $config[$key]; |
69 | 69 |
} else { |
70 |
- logger(LOG_ERR, "inc/base", "config", "Request to read nonexistant config option »{$key}«."); |
|
70 |
+ logger(LOG_ERR, "inc/base", "config", "Request to read nonexistent config option »{$key}«."); |
|
71 | 71 |
} |
72 | 72 |
return null; |
73 | 73 |
} |
... | ... |
@@ -227,19 +227,19 @@ function output($arg) |
227 | 227 |
$output .= $arg; |
228 | 228 |
} |
229 | 229 |
|
230 |
-function footnote($explaination) |
|
230 |
+function footnote($explanation) |
|
231 | 231 |
{ |
232 | 232 |
global $footnotes; |
233 | 233 |
if (!isset($footnotes) || !is_array($footnotes)) { |
234 | 234 |
$footnotes = []; |
235 | 235 |
} |
236 |
- $fnid = array_search($explaination, $footnotes); |
|
236 |
+ $fnid = array_search($explanation, $footnotes); |
|
237 | 237 |
DEBUG($footnotes); |
238 | 238 |
if ($fnid === false) { |
239 |
- DEBUG("Footnote »{$explaination}« is not in footnotes!"); |
|
240 |
- $footnotes[] = $explaination; |
|
239 |
+ DEBUG("Footnote »{$explanation}« is not in footnotes!"); |
|
240 |
+ $footnotes[] = $explanation; |
|
241 | 241 |
} |
242 |
- $fnid = array_search($explaination, $footnotes); |
|
242 |
+ $fnid = array_search($explanation, $footnotes); |
|
243 | 243 |
return str_repeat('*', ($fnid + 1)); |
244 | 244 |
} |
245 | 245 |
|
... | ... |
@@ -77,7 +77,7 @@ function get_account_details($uid, $customerno = 0) |
77 | 77 |
$args = [":uid" => $uid, ":customerno" => $customerno]; |
78 | 78 |
$result = db_query("SELECT uid,username,name,shell,server,quota,erstellungsdatum,passwordlogin FROM system.useraccounts WHERE kunde=:customerno AND uid=:uid", $args); |
79 | 79 |
if ($result->rowCount() == 0) { |
80 |
- system_failure("Cannot find the requestes useraccount (for this customer)."); |
|
80 |
+ system_failure("Cannot find the requested useraccount (for this customer)."); |
|
81 | 81 |
} |
82 | 82 |
return $result->fetch(); |
83 | 83 |
} |
... | ... |
@@ -76,8 +76,8 @@ if ($messages) { |
76 | 76 |
|
77 | 77 |
<?php if ($footnotes) { |
78 | 78 |
echo '<div class="footnotes">'; |
79 |
- foreach ($footnotes as $num => $explaination) { |
|
80 |
- echo '<p>' . str_repeat('*', $num + 1) . ': ' . $explaination . '</p>'; |
|
79 |
+ foreach ($footnotes as $num => $explanation) { |
|
80 |
+ echo '<p>' . str_repeat('*', $num + 1) . ': ' . $explanation . '</p>'; |
|
81 | 81 |
} |
82 | 82 |
echo '</div>'; |
83 | 83 |
} ?> |
... | ... |
@@ -63,8 +63,8 @@ if ($messages) { |
63 | 63 |
|
64 | 64 |
<?php if ($footnotes) { |
65 | 65 |
echo '<div class="footnotes">'; |
66 |
- foreach ($footnotes as $num => $explaination) { |
|
67 |
- echo '<p>' . str_repeat('*', $num + 1) . ': ' . $explaination . '</p>'; |
|
66 |
+ foreach ($footnotes as $num => $explanation) { |
|
67 |
+ echo '<p>' . str_repeat('*', $num + 1) . ': ' . $explanation . '</p>'; |
|
68 | 68 |
} |
69 | 69 |
echo '</div>'; |
70 | 70 |
} ?> |
71 | 71 |