Fix typos found by codespell

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil
2015-02-08 17:52:45 +01:00
parent 909c6a8bdf
commit 0fc73b2bbb
28 changed files with 48 additions and 48 deletions

View File

@@ -270,7 +270,7 @@ if ($page == 'overview') {
if ($paging->checkDisplay($i)) { if ($paging->checkDisplay($i)) {
if (strpos($row['path'], $userinfo['documentroot']) === 0) { if (strpos($row['path'], $userinfo['documentroot']) === 0) {
$row['path'] = substr($row['path'], strlen($userinfo['documentroot'])); $row['path'] = substr($row['path'], strlen($userinfo['documentroot']));
// don't show nothing wehn it's the docroot, show slash // don't show nothing when it's the docroot, show slash
if ($row['path'] == '') { $row['path'] = '/'; } if ($row['path'] == '') { $row['path'] = '/'; }
} }
@@ -445,7 +445,7 @@ if ($page == 'overview') {
} else { } else {
if (strpos($result['path'], $userinfo['documentroot']) === 0) { if (strpos($result['path'], $userinfo['documentroot']) === 0) {
$result['path'] = substr($result['path'], strlen($userinfo['documentroot'])); $result['path'] = substr($result['path'], strlen($userinfo['documentroot']));
// don't show nothing wehn it's the docroot, show slash // don't show nothing when it's the docroot, show slash
if ($result['path'] == '') { $result['path'] = '/'; } if ($result['path'] == '') { $result['path'] = '/'; }
} }

View File

@@ -1039,7 +1039,7 @@ class FroxlorInstall {
private function _getTemplate($template = null) { private function _getTemplate($template = null) {
// build filename // build filename
$filename = $this->_basepath.'/install/templates/' . $template . '.tpl'; $filename = $this->_basepath.'/install/templates/' . $template . '.tpl';
// check existance // check existence
if(file_exists($filename) if(file_exists($filename)
&& is_readable($filename) && is_readable($filename)
) { ) {
@@ -1222,7 +1222,7 @@ class FroxlorInstall {
// we don't actually care about the matches preg gives us. // we don't actually care about the matches preg gives us.
$matches = array(); $matches = array();
// this is faster than calling count($oktens) every time thru the loop. // this is faster than calling count($tokens) every time through the loop.
$token_count = count($tokens); $token_count = count($tokens);
for ($i = 0; $i < $token_count; $i++) { for ($i = 0; $i < $token_count; $i++) {
// Don't wanna add an empty string as the last thing in the array. // Don't wanna add an empty string as the last thing in the array.

View File

@@ -1961,7 +1961,7 @@ if (isFroxlorVersion('0.9.28-svn2')) {
showUpdateStep("Updating from 0.9.28-svn2 to 0.9.28-svn3"); showUpdateStep("Updating from 0.9.28-svn2 to 0.9.28-svn3");
lastStepStatus(0); lastStepStatus(0);
// change lenght of passwd column // change length of passwd column
Database::query("ALTER TABLE `" . TABLE_FTP_USERS . "` MODIFY `password` varchar(128) NOT NULL default ''"); Database::query("ALTER TABLE `" . TABLE_FTP_USERS . "` MODIFY `password` varchar(128) NOT NULL default ''");
// Add default setting for vmail_maildirname if not already in place // Add default setting for vmail_maildirname if not already in place

View File

@@ -663,7 +663,7 @@ function parseAndOutputPreconfig(&$has_preconfig, &$return, $current_version) {
$description = 'You can enable/disable the display/usage of the custom newsfeed for customers.<br /><br />'; $description = 'You can enable/disable the display/usage of the custom newsfeed for customers.<br /><br />';
$question = '<strong>Do you want to enable the custom newsfeed for customer? (default: no):</strong>&nbsp;'; $question = '<strong>Do you want to enable the custom newsfeed for customer? (default: no):</strong>&nbsp;';
$question.= makeyesno('customer_show_news_feed', '1', '0', '0').'<br />'; $question.= makeyesno('customer_show_news_feed', '1', '0', '0').'<br />';
$question.= '<strong>You have to set the URL for your RSS-feed here, if you have choosen to enable the custom newsfeed on the customer-dashboard:</strong>&nbsp;'; $question.= '<strong>You have to set the URL for your RSS-feed here, if you have chosen to enable the custom newsfeed on the customer-dashboard:</strong>&nbsp;';
$question.= '<input type="text" class="text" name="customer_news_feed_url" value="" /><br />'; $question.= '<input type="text" class="text" name="customer_news_feed_url" value="" /><br />';
eval("\$return.=\"" . getTemplate("update/preconfigitem") . "\";"); eval("\$return.=\"" . getTemplate("update/preconfigitem") . "\";");
} }

View File

@@ -260,7 +260,7 @@ Example: {$object->method1($x)->method2($y)}
{for} tag added for looping (replacement for {section} tag): {for} tag added for looping (replacement for {section} tag):
{for $x=0, $y=count($foo); $x<$y; $x++} .... {/for} {for $x=0, $y=count($foo); $x<$y; $x++} .... {/for}
Any number of statements can be used separated by comma as the first Any number of statements can be used separated by comma as the first
inital expression at {for}. initial expression at {for}.
{for $x = $start to $end step $step} ... {/for}is in the SVN now . {for $x = $start to $end step $step} ... {/for}is in the SVN now .
You can use also You can use also

View File

@@ -50,7 +50,7 @@ The escape modifier now knows the $double_encode option, which will
prevent entities from being encoded again. prevent entities from being encoded again.
The capitalize modifier now know the $lc_rest option, which makes sure The capitalize modifier now know the $lc_rest option, which makes sure
all letters following a captial letter are lower-cased. all letters following a capital letter are lower-cased.
The count_sentences modifier now accepts (.?!) as The count_sentences modifier now accepts (.?!) as
legitimate endings of a sentence - previously only (.) was legitimate endings of a sentence - previously only (.) was

View File

@@ -784,7 +784,7 @@
- bugfix complete empty inline subtemplates did fail - bugfix complete empty inline subtemplates did fail
15/06/2011 15/06/2011
- bugfix template variables where not accessable within inline subtemplates - bugfix template variables where not accessible within inline subtemplates
12/06/2011 12/06/2011
- bugfix removed unneeded merging of template variable when fetching includled subtemplates - bugfix removed unneeded merging of template variable when fetching includled subtemplates
@@ -1122,7 +1122,7 @@
17/11/2010 17/11/2010
- bugfix on {call} with variable function name - bugfix on {call} with variable function name
- bugfix on {block} if name did contain '-' - bugfix on {block} if name did contain '-'
- bugfix in function.fetch.php , referece to undefined $smarty - bugfix in function.fetch.php , reference to undefined $smarty
16/11/2010 16/11/2010
- bugfix whitespace in front of "<?php" in smarty_internal_compile_private_block_plugin.php - bugfix whitespace in front of "<?php" in smarty_internal_compile_private_block_plugin.php
@@ -1629,7 +1629,7 @@ request_use_auto_globals
- bugfix for custom delimiter at extends resource and {extends} tag - bugfix for custom delimiter at extends resource and {extends} tag
01/05/2010 01/05/2010
- bugfix sha1() calculations at extends resource and some general improvments on sha1() handling - bugfix sha1() calculations at extends resource and some general improvements on sha1() handling
01/03/2010 01/03/2010
@@ -1722,7 +1722,7 @@ request_use_auto_globals
- bugfix for {$foo.$x.$y.$z} - bugfix for {$foo.$x.$y.$z}
12/01/2009 12/01/2009
- fixed parsing of names of special formated tags like if,elseif,while,for,foreach - fixed parsing of names of special formatted tags like if,elseif,while,for,foreach
- removed direct access to constants in templates because of some syntax problems - removed direct access to constants in templates because of some syntax problems
- removed cache resource plugin for mysql from the distribution - removed cache resource plugin for mysql from the distribution
- replaced most hard errors (exceptions) by softerrors(trigger_error) in plugins - replaced most hard errors (exceptions) by softerrors(trigger_error) in plugins
@@ -1986,7 +1986,7 @@ NOTICE: existing compiled template and cache files must be deleted
- added global variable SCRIPT_NAME - added global variable SCRIPT_NAME
08/21/2009 08/21/2009
- fixed problems whitespace in conjuction with custom delimiters - fixed problems whitespace in conjunction with custom delimiters
- Smarty tags can now be used as value anywhere - Smarty tags can now be used as value anywhere
08/18/2009 08/18/2009
@@ -2389,7 +2389,7 @@ NOTICE: existing compiled template and cache files must be deleted
12/30/2008 12/30/2008
- added compiler support of registered object - added compiler support of registered object
- added backtick support in doubled quoted strings for backward compatibility - added backtick support in doubled quoted strings for backward compatibility
- some minor bug fixes and improvments - some minor bug fixes and improvements
12/23/2008 12/23/2008
- fixed problem of not working "not" operator in if-expressions - fixed problem of not working "not" operator in if-expressions

View File

@@ -31,7 +31,7 @@
require_once(dirname(__FILE__) . '/Smarty.class.php'); require_once(dirname(__FILE__) . '/Smarty.class.php');
/** /**
* Smarty Backward Compatability Wrapper Class * Smarty Backward Compatibility Wrapper Class
* *
* @package Smarty * @package Smarty
*/ */

View File

@@ -203,7 +203,7 @@ class Smarty_Internal_Template extends Smarty_Internal_TemplateBase
} }
throw $e; throw $e;
} }
// compiling succeded // compiling succeeded
if (!$this->source->recompiled && $this->compiler->write_compiled_code) { if (!$this->source->recompiled && $this->compiler->write_compiled_code) {
// write compiled template // write compiled template
$_filepath = $this->compiled->filepath; $_filepath = $this->compiled->filepath;

View File

@@ -231,7 +231,7 @@ abstract class Smarty_Internal_TemplateBase extends Smarty_Internal_Data
if ($this->smarty->debugging) { if ($this->smarty->debugging) {
Smarty_Internal_Debug::end_render($_template); Smarty_Internal_Debug::end_render($_template);
} }
// write to cache when nessecary // write to cache when necessary
if (!$_template->source->recompiled && ($_template->caching == Smarty::CACHING_LIFETIME_SAVED || $_template->caching == Smarty::CACHING_LIFETIME_CURRENT)) { if (!$_template->source->recompiled && ($_template->caching == Smarty::CACHING_LIFETIME_SAVED || $_template->caching == Smarty::CACHING_LIFETIME_CURRENT)) {
if ($this->smarty->debugging) { if ($this->smarty->debugging) {
Smarty_Internal_Debug::start_cache($_template); Smarty_Internal_Debug::start_cache($_template);

View File

@@ -388,9 +388,9 @@ class idna_convert
} }
/** /**
* Use this method to get the last error ocurred * Use this method to get the last error occurred
* @param void * @param void
* @return string The last error, that occured * @return string The last error, that occurred
*/ */
public function get_last_error() public function get_last_error()
{ {
@@ -416,7 +416,7 @@ class idna_convert
$this->_error('The given encoded string was empty'); $this->_error('The given encoded string was empty');
return false; return false;
} }
// Find last occurence of the delimiter // Find last occurrence of the delimiter
$delim_pos = strrpos($encoded, '-'); $delim_pos = strrpos($encoded, '-');
if ($delim_pos > self::byteLength($this->_punycode_prefix)) { if ($delim_pos > self::byteLength($this->_punycode_prefix)) {
for ($k = self::byteLength($this->_punycode_prefix); $k < $delim_pos; ++$k) { for ($k = self::byteLength($this->_punycode_prefix); $k < $delim_pos; ++$k) {
@@ -606,7 +606,7 @@ class idna_convert
// Mapping // Mapping
// Walking through the input array, performing the required steps on each of // Walking through the input array, performing the required steps on each of
// the input chars and putting the result into the output array // the input chars and putting the result into the output array
// While mapping required chars we apply the cannonical ordering // While mapping required chars we apply the canonical ordering
foreach ($input as $v) { foreach ($input as $v) {
// Map to nothing == skip that code point // Map to nothing == skip that code point
if (in_array($v, self::$NP['map_nothing'])) continue; if (in_array($v, self::$NP['map_nothing'])) continue;
@@ -743,7 +743,7 @@ class idna_convert
} }
/** /**
* Applies the cannonical ordering of a decomposed UCS4 sequence * Applies the canonical ordering of a decomposed UCS4 sequence
* @param array Decomposed UCS4 sequence * @param array Decomposed UCS4 sequence
* @return array Ordered USC4 sequence * @return array Ordered USC4 sequence
*/ */

View File

@@ -44,10 +44,10 @@ class idna_convert_wrapper
* Encode a domain name, a email address or a list of one of both. * Encode a domain name, a email address or a list of one of both.
* *
* @param string May be either a single domain name, e single email address or a list of one * @param string May be either a single domain name, e single email address or a list of one
* seperated either by ',', ';' or ' '. * separated either by ',', ';' or ' '.
* *
* @return string Returns either a single domain name, a single email address or a list of one of * @return string Returns either a single domain name, a single email address or a list of one of
* both seperated by the same string as the input. * both separated by the same string as the input.
*/ */
public function encode($to_encode) public function encode($to_encode)
@@ -59,10 +59,10 @@ class idna_convert_wrapper
* Decode a domain name, a email address or a list of one of both. * Decode a domain name, a email address or a list of one of both.
* *
* @param string May be either a single domain name, e single email address or a list of one * @param string May be either a single domain name, e single email address or a list of one
* seperated either by ',', ';' or ' '. * separated either by ',', ';' or ' '.
* *
* @return string Returns either a single domain name, a single email address or a list of one of * @return string Returns either a single domain name, a single email address or a list of one of
* both seperated by the same string as the input. * both separated by the same string as the input.
*/ */
public function decode($to_decode) public function decode($to_decode)
@@ -71,7 +71,7 @@ class idna_convert_wrapper
} }
/** /**
* Do the real de- or encoding. First checks if a list is submitted and seperates it. Afterwards sends * Do the real de- or encoding. First checks if a list is submitted and separates it. Afterwards sends
* each entry to the idna converter to do the converting. * each entry to the idna converter to do the converting.
* *
* @param string May be either 'decode' or 'encode'. * @param string May be either 'decode' or 'encode'.

View File

@@ -45,7 +45,7 @@ class IntegrityCheck {
} }
/** /**
* Check all occuring integrity problems at once * Check all occurring integrity problems at once
*/ */
public function checkAll() { public function checkAll() {
$integrityok = true; $integrityok = true;
@@ -56,7 +56,7 @@ class IntegrityCheck {
} }
/** /**
* Fix all occuring integrity problems at once with default settings * Fix all occurring integrity problems at once with default settings
*/ */
public function fixAll() { public function fixAll() {
$integrityok = true; $integrityok = true;

View File

@@ -269,7 +269,7 @@ class phpinterface_fpm {
$is = explode("=", $inisection); $is = explode("=", $inisection);
foreach ($this->_ini as $sec => $possibles) { foreach ($this->_ini as $sec => $possibles) {
if (in_array(trim($is[0]), $possibles)) { if (in_array(trim($is[0]), $possibles)) {
// check explictly for open_basedir // check explicitly for open_basedir
if (trim($is[0]) == 'open_basedir' && $openbasedir == '') { if (trim($is[0]) == 'open_basedir' && $openbasedir == '') {
continue; continue;
} }

View File

@@ -435,7 +435,7 @@ return array(
'php-fpm' => array( 'php-fpm' => array(
'label' => 'PHP-FPM', 'label' => 'PHP-FPM',
'commands' => array( 'commands' => array(
(Settings::Get('system.webserver') == 'apache2') ? '# add "non-free" after all occurances of "main" in /etc/apt/sources.list' : null, (Settings::Get('system.webserver') == 'apache2') ? '# add "non-free" after all occurrences of "main" in /etc/apt/sources.list' : null,
(Settings::Get('system.webserver') == 'apache2') ? '# this is needed for libapache2-mod-fastcgi to install' : null, (Settings::Get('system.webserver') == 'apache2') ? '# this is needed for libapache2-mod-fastcgi to install' : null,
'apt-get install '.((Settings::Get('system.webserver') == 'apache2') ? 'apache2-suexec libapache2-mod-fastcgi ' : '') . 'php5-fpm', 'apt-get install '.((Settings::Get('system.webserver') == 'apache2') ? 'apache2-suexec libapache2-mod-fastcgi ' : '') . 'php5-fpm',
'rm /etc/php5/fpm/pool.d/www.conf', 'rm /etc/php5/fpm/pool.d/www.conf',

View File

@@ -122,7 +122,7 @@ while ($fName = readdir($lockDirHandle)) {
system("kill -CHLD " . (int)$check_pid . " 1> /dev/null 2> /dev/null", $check_pid_return); system("kill -CHLD " . (int)$check_pid . " 1> /dev/null 2> /dev/null", $check_pid_return);
if ($check_pid_return == 1) { if ($check_pid_return == 1) {
// Result: Existing lockfile/pid isnt running // Result: Existing lockfile/pid isn't running
// Most likely it has died // Most likely it has died
// //
// Action: Remove it and continue // Action: Remove it and continue
@@ -188,7 +188,7 @@ if (Settings::Get('panel.version') == null
*/ */
fclose($debugHandler); fclose($debugHandler);
unlink($lockfile); unlink($lockfile);
$errormessage = "Version of file doesnt match version of database. Exiting...\n\n"; $errormessage = "Version of file doesn't match version of database. Exiting...\n\n";
$errormessage.= "Possible reason: Froxlor update\n"; $errormessage.= "Possible reason: Froxlor update\n";
$errormessage.= "Information: Current version in database: ".Settings::Get('panel.version')." - version of Froxlor files: ".$version."\n"; $errormessage.= "Information: Current version in database: ".Settings::Get('panel.version')." - version of Froxlor files: ".$version."\n";
$errormessage.= "Solution: Please visit your Foxlor admin interface for further information.\n"; $errormessage.= "Solution: Please visit your Foxlor admin interface for further information.\n";

View File

@@ -27,7 +27,7 @@
* @param int $uid the uid which must match the found directories * @param int $uid the uid which must match the found directories
* @param int $gid the gid which must match the found direcotries * @param int $gid the gid which must match the found direcotries
* *
* @return array Array of found valid pathes * @return array Array of found valid paths
*/ */
function findDirs($path, $uid, $gid) { function findDirs($path, $uid, $gid) {

View File

@@ -18,14 +18,14 @@
*/ */
/** /**
* Returns a valid html tag for the choosen $fieldType for pathes * Returns a valid html tag for the chosen $fieldType for paths
* *
* @param string path The path to start searching in * @param string path The path to start searching in
* @param integer uid The uid which must match the found directories * @param integer uid The uid which must match the found directories
* @param integer gid The gid which must match the found direcotries * @param integer gid The gid which must match the found direcotries
* @param string value the value for the input-field * @param string value the value for the input-field
* *
* @return string The html tag for the choosen $fieldType * @return string The html tag for the chosen $fieldType
* *
* @author Martin Burchert <martin.burchert@syscp.de> * @author Martin Burchert <martin.burchert@syscp.de>
* @author Manuel Bernhardt <manuel.bernhardt@syscp.de> * @author Manuel Bernhardt <manuel.bernhardt@syscp.de>

View File

@@ -7,7 +7,7 @@
* @param int $id customer-id * @param int $id customer-id
* @param int $adminid target-admin-id * @param int $adminid target-admin-id
* *
* @return true on sucess, error-message on failure * @return true on success, error-message on failure
*/ */
function moveCustomerToAdmin($id = 0, $adminid = 0) { function moveCustomerToAdmin($id = 0, $adminid = 0) {
if ($id <= 0 || $adminid <= 0) { if ($id <= 0 || $adminid <= 0) {

View File

@@ -18,7 +18,7 @@
*/ */
/** /**
* Replaces all occurences of variables defined in the second argument * Replaces all occurrences of variables defined in the second argument
* in the first argument with their values. * in the first argument with their values.
* *
* @param string The string that should be searched for variables * @param string The string that should be searched for variables

View File

@@ -377,7 +377,7 @@ msgstr "Die Datei '%1$s' konnte nicht gespeichert werden!"
#: webftp.php:747 #: webftp.php:747
#: webftp.php:693 #: webftp.php:693
#, php-format #, php-format
msgid "File '%1$s' was saved succesfully!" msgid "File '%1$s' was saved successfully!"
msgstr "Die Datei '%1$s' wurde erfolgreich gespeichert!" msgstr "Die Datei '%1$s' wurde erfolgreich gespeichert!"
#: webftp.php:754 #: webftp.php:754

View File

@@ -133,7 +133,7 @@ msgstr ""
#: webftp.php:693 #: webftp.php:693
#, php-format #, php-format
msgid "File '%1$s' was saved succesfully!" msgid "File '%1$s' was saved successfully!"
msgstr "" msgstr ""
#: webftp.php:700 #: webftp.php:700

View File

@@ -35,7 +35,7 @@ while ($maildir = $maildirs_stmt->fetch(PDO::FETCH_ASSOC)) {
if (file_exists($_maildir) if (file_exists($_maildir)
&& is_dir($_maildir) && is_dir($_maildir)
) { ) {
// mail-adress allows many special characters, see http://en.wikipedia.org/wiki/Email_address#Local_part // mail-address allows many special characters, see http://en.wikipedia.org/wiki/Email_address#Local_part
$return = false; $return = false;
$back = safe_exec('du -sk ' . escapeshellarg($_maildir), $return, array('|', '&', '`', '$', '~', '?')); $back = safe_exec('du -sk ' . escapeshellarg($_maildir), $return, array('|', '&', '`', '$', '~', '?'));
foreach ($back as $backrow) { foreach ($back as $backrow) {

View File

@@ -231,7 +231,7 @@ class bind {
$ip_a_records[] = "AAAA\t\t" . $ip['ip']; $ip_a_records[] = "AAAA\t\t" . $ip['ip'];
} }
else { else {
return ";Error in at least one IP Adress (".$ip['ip']."), could not create zonefile!"; return ";Error in at least one IP Address (".$ip['ip']."), could not create zonefile!";
} }
} }

View File

@@ -230,7 +230,7 @@ while ($row = $result_tasks_stmt->fetch(PDO::FETCH_ASSOC)) {
&& filegroup($maildir) == Settings::Get('system.vmail_gid') && filegroup($maildir) == Settings::Get('system.vmail_gid')
) { ) {
$cronlog->logAction(CRON_ACTION, LOG_NOTICE, 'Running: rm -rf ' . escapeshellarg($maildir)); $cronlog->logAction(CRON_ACTION, LOG_NOTICE, 'Running: rm -rf ' . escapeshellarg($maildir));
// mail-adress allows many special characters, see http://en.wikipedia.org/wiki/Email_address#Local_part // mail-address allows many special characters, see http://en.wikipedia.org/wiki/Email_address#Local_part
$return = false; $return = false;
safe_exec('rm -rf '.escapeshellarg($maildir), $return, array('|', '&', '`', '$', '~', '?')); safe_exec('rm -rf '.escapeshellarg($maildir), $return, array('|', '&', '`', '$', '~', '?'));
} }
@@ -303,7 +303,7 @@ while ($row = $result_tasks_stmt->fetch(PDO::FETCH_ASSOC)) {
&& filegroup($maildir) == Settings::Get('system.vmail_gid') && filegroup($maildir) == Settings::Get('system.vmail_gid')
) { ) {
$cronlog->logAction(CRON_ACTION, LOG_NOTICE, 'Running: rm -rf ' . escapeshellarg($maildir)); $cronlog->logAction(CRON_ACTION, LOG_NOTICE, 'Running: rm -rf ' . escapeshellarg($maildir));
// mail-adress allows many special characters, see http://en.wikipedia.org/wiki/Email_address#Local_part // mail-address allows many special characters, see http://en.wikipedia.org/wiki/Email_address#Local_part
$return = false; $return = false;
safe_exec('rm -rf '.escapeshellarg($maildir), $return, array('|', '&', '`', '$', '~', '?')); safe_exec('rm -rf '.escapeshellarg($maildir), $return, array('|', '&', '`', '$', '~', '?'));
@@ -320,7 +320,7 @@ while ($row = $result_tasks_stmt->fetch(PDO::FETCH_ASSOC)) {
&& filegroup($maildir_old) == Settings::Get('system.vmail_gid') && filegroup($maildir_old) == Settings::Get('system.vmail_gid')
) { ) {
$cronlog->logAction(CRON_ACTION, LOG_NOTICE, 'Running: rm -rf ' . escapeshellarg($maildir_old)); $cronlog->logAction(CRON_ACTION, LOG_NOTICE, 'Running: rm -rf ' . escapeshellarg($maildir_old));
// mail-adress allows many special characters, see http://en.wikipedia.org/wiki/Email_address#Local_part // mail-address allows many special characters, see http://en.wikipedia.org/wiki/Email_address#Local_part
$return = false; $return = false;
safe_exec('rm -rf '.escapeshellarg($maildir_old), $return, array('|', '&', '`', '$', '~', '?')); safe_exec('rm -rf '.escapeshellarg($maildir_old), $return, array('|', '&', '`', '$', '~', '?'));
} }

View File

@@ -19,7 +19,7 @@
<section class="errorsec"> <section class="errorsec">
<div class="errorcontainer bradius"> <div class="errorcontainer bradius">
<div class="errortitle">A database error occured</div> <div class="errortitle">A database error occurred</div>
<div class="error"> <div class="error">
<p><TEXT></p> <p><TEXT></p>
<p>&nbsp;</p> <p>&nbsp;</p>

View File

@@ -123,7 +123,7 @@ MySQLGetQTASZ SELECT panel_customers.diskspace/1024 AS QuotaSize FROM panel_cus
# If you're using a transactionnal storage engine, you can enable SQL # If you're using a transactionnal storage engine, you can enable SQL
# transactions to avoid races. Leave this commented if you are using the # transactions to avoid races. Leave this commented if you are using the
# traditionnal MyIsam engine. # traditional MyIsam engine.
# MySQLTransactions On # MySQLTransactions On

View File

@@ -491,7 +491,7 @@ if (isset($_GET['logoff']) || isset($_POST['logoff'])) {
$errormessage = sprintf(_('File \'%1$s\' couldn\'t be saved!') . "\n", $file); $errormessage = sprintf(_('File \'%1$s\' couldn\'t be saved!') . "\n", $file);
} }
else { else {
$successmessage = sprintf(_('File \'%1$s\' was saved succesfully!') . "\n", $file); $successmessage = sprintf(_('File \'%1$s\' was saved successfully!') . "\n", $file);
} }
unlink($downloadDir . killslashes(html_entity_decode($file))."_".$s); unlink($downloadDir . killslashes(html_entity_decode($file))."_".$s);
} }