mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-14 08:54:21 +01:00
PSR2 space after comma in function call
This commit is contained in:
@@ -149,7 +149,7 @@ function limitChars(textarea, limit, infodiv)
|
||||
{
|
||||
$help.=$key.' -> '.$langs->trans($val).'<br>';
|
||||
}
|
||||
print $form->textwithpicto($langs->trans("SmsTestSubstitutionReplacedByGenericValues"),$help);
|
||||
print $form->textwithpicto($langs->trans("SmsTestSubstitutionReplacedByGenericValues"), $help);
|
||||
print "</td></tr>\n";
|
||||
}
|
||||
|
||||
@@ -205,12 +205,12 @@ function limitChars(textarea, limit, infodiv)
|
||||
}
|
||||
catch(Exception $e)
|
||||
{
|
||||
dol_print_error('','Error to get list of senders: '.$e->getMessage());
|
||||
dol_print_error('', 'Error to get list of senders: '.$e->getMessage());
|
||||
}
|
||||
}
|
||||
else if (!empty($conf->global->MAIN_SMS_SENDMODE)) // $conf->global->MAIN_SMS_SENDMODE looks like a value 'class@module'
|
||||
{
|
||||
$tmp=explode('@',$conf->global->MAIN_SMS_SENDMODE);
|
||||
$tmp=explode('@', $conf->global->MAIN_SMS_SENDMODE);
|
||||
$classfile=$tmp[0]; $module=(empty($tmp[1])?$tmp[0]:$tmp[1]);
|
||||
dol_include_once('/'.$module.'/class/'.$classfile.'.class.php');
|
||||
try
|
||||
@@ -229,7 +229,7 @@ function limitChars(textarea, limit, infodiv)
|
||||
}
|
||||
catch(Exception $e)
|
||||
{
|
||||
dol_print_error('','Error to get list of senders: '.$e->getMessage());
|
||||
dol_print_error('', 'Error to get list of senders: '.$e->getMessage());
|
||||
exit;
|
||||
}
|
||||
}
|
||||
@@ -266,7 +266,7 @@ function limitChars(textarea, limit, infodiv)
|
||||
print '<tr><td>';
|
||||
//$moretext=$langs->trans("YouCanUseCommaSeparatorForSeveralRecipients");
|
||||
$moretext='';
|
||||
print $form->textwithpicto($langs->trans("SmsTo"),$moretext);
|
||||
print $form->textwithpicto($langs->trans("SmsTo"), $moretext);
|
||||
print '</td><td>';
|
||||
if ($this->withtoreadonly)
|
||||
{
|
||||
@@ -299,9 +299,9 @@ function limitChars(textarea, limit, infodiv)
|
||||
{
|
||||
$defaultmessage=$this->withbody;
|
||||
}
|
||||
$defaultmessage=make_substitutions($defaultmessage,$this->substit);
|
||||
$defaultmessage=make_substitutions($defaultmessage, $this->substit);
|
||||
if (isset($_POST["message"])) $defaultmessage=$_POST["message"];
|
||||
$defaultmessage=str_replace('\n',"\n",$defaultmessage);
|
||||
$defaultmessage=str_replace('\n', "\n", $defaultmessage);
|
||||
|
||||
print "<tr>";
|
||||
print '<td class="tdtop">'.$langs->trans("SmsText")."</td>";
|
||||
|
||||
Reference in New Issue
Block a user