Fix spellcheck
This commit is contained in:
parent
70768832c5
commit
e3de2dddb7
2 changed files with 3 additions and 3 deletions
|
|
@ -1213,7 +1213,7 @@ class FormMail extends Form
|
|||
}
|
||||
$out .= ' <'.$this->tomail.'>';
|
||||
if ($this->withtofree) {
|
||||
$out .= '<br>'.$langs->trans("and").' <input class="minwidth200" id="sendto" name="sendto" value="'.(!is_array($this->withto) && !is_numeric($this->withto) ? (GETPOSTISSET("sendto") ? GETPOST("sendto") : $this->withto) : "").'" />';
|
||||
$out .= '<br>'.$langs->trans("and").' <input class="minwidth200" id="sendto" name="sendto" spellcheck="false" value="'.(!is_array($this->withto) && !is_numeric($this->withto) ? (GETPOSTISSET("sendto") ? GETPOST("sendto") : $this->withto) : "").'" />';
|
||||
}
|
||||
} else {
|
||||
// Note withto may be a text like 'AllRecipientSelected'
|
||||
|
|
@ -1222,7 +1222,7 @@ class FormMail extends Form
|
|||
} else {
|
||||
// The free input of email
|
||||
if (!empty($this->withtofree)) {
|
||||
$out .= '<input class="minwidth200" id="sendto" name="sendto" value="'.(($this->withtofree && !is_numeric($this->withtofree)) ? $this->withtofree : (!is_array($this->withto) && !is_numeric($this->withto) ? (GETPOSTISSET("sendto") ? GETPOST("sendto") : $this->withto) : "")).'" />';
|
||||
$out .= '<input class="minwidth200" id="sendto" name="sendto" spellcheck="false" value="'.(($this->withtofree && !is_numeric($this->withtofree)) ? $this->withtofree : (!is_array($this->withto) && !is_numeric($this->withto) ? (GETPOSTISSET("sendto") ? GETPOST("sendto") : $this->withto) : "")).'" />';
|
||||
}
|
||||
// The select combo
|
||||
if (!empty($this->withto) && is_array($this->withto)) {
|
||||
|
|
|
|||
|
|
@ -315,7 +315,7 @@ function limitChars(textarea, limit, infodiv)
|
|||
if ($this->withtoreadonly) {
|
||||
print (!is_array($this->withto) && !is_numeric($this->withto)) ? $this->withto : "";
|
||||
} else {
|
||||
print '<input class="width150" id="sendto" name="sendto" value="'.dol_escape_htmltag(!is_array($this->withto) && $this->withto != '1' ? (GETPOSTISSET("sendto") ? GETPOST("sendto") : $this->withto) : "+").'">';
|
||||
print '<input class="width150" id="sendto" name="sendto" spellcheck="false" value="'.dol_escape_htmltag(!is_array($this->withto) && $this->withto != '1' ? (GETPOSTISSET("sendto") ? GETPOST("sendto") : $this->withto) : "+").'">';
|
||||
if (!empty($this->withtosocid) && $this->withtosocid > 0) {
|
||||
$liste = array();
|
||||
foreach ($soc->thirdparty_and_contact_phone_array() as $key => $value) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue