Fix: add free input
This commit is contained in:
parent
8ccbe4c7dd
commit
00bbebe4d3
@ -354,6 +354,10 @@ class FormMail
|
|||||||
$out.= $this->toname;
|
$out.= $this->toname;
|
||||||
}
|
}
|
||||||
$out.= ' <'.$this->tomail.'>';
|
$out.= ' <'.$this->tomail.'>';
|
||||||
|
if ($this->withtofree)
|
||||||
|
{
|
||||||
|
$out.= '<br />'.$langs->trans("or").' <input size="'.(is_array($this->withto)?"30":"60").'" id="sendto" name="sendto" value="'.(! is_array($this->withto) && ! is_numeric($this->withto)? (isset($_REQUEST["sendto"])?$_REQUEST["sendto"]:$this->withto) :"").'" />';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user