Mutualize code for forms to send emails. Remove thousand line of code.

This commit is contained in:
Laurent Destailleur
2017-09-17 15:38:50 +02:00
parent e014ac6ea9
commit ab5724e7ff
29 changed files with 839 additions and 1410 deletions

View File

@@ -130,7 +130,7 @@ function limitChars(textarea, limit, infodiv)
print "<table class=\"border centpercent\">\n";
// Substitution array
if ($this->withsubstit)
if (! empty($this->withsubstit)) // Unset or set ->withsubstit=0 to disable this.
{
print "<tr><td colspan=\"2\">";
$help="";