Clean css
This commit is contained in:
parent
74e59a1bc4
commit
aed2c5cb30
@ -5948,7 +5948,7 @@ class Form
|
|||||||
{
|
{
|
||||||
console.log("We uncheck all");
|
console.log("We uncheck all");
|
||||||
$(".'.$cssclass.'").prop(\'checked\', false);
|
$(".'.$cssclass.'").prop(\'checked\', false);
|
||||||
}';
|
}'."\n";
|
||||||
if ($calljsfunction) $out.='if (typeof initCheckForSelect == \'function\') { initCheckForSelect(); } else { console.log("No function initCheckForSelect found. Call won\'t done."); }';
|
if ($calljsfunction) $out.='if (typeof initCheckForSelect == \'function\') { initCheckForSelect(); } else { console.log("No function initCheckForSelect found. Call won\'t done."); }';
|
||||||
$out.=' });
|
$out.=' });
|
||||||
});
|
});
|
||||||
|
|||||||
@ -715,9 +715,11 @@ class FormMail extends Form
|
|||||||
$out.= "</td></tr>\n";
|
$out.= "</td></tr>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$out.= '</table>'."\n";
|
||||||
|
|
||||||
if ($this->withform == 1 || $this->withform == -1)
|
if ($this->withform == 1 || $this->withform == -1)
|
||||||
{
|
{
|
||||||
$out.= '<tr><td align="center" colspan="2"><div class="center">';
|
$out.= '<br><div class="center">';
|
||||||
$out.= '<input class="button" type="submit" id="sendmail" name="sendmail" value="'.$langs->trans("SendMail").'"';
|
$out.= '<input class="button" type="submit" id="sendmail" name="sendmail" value="'.$langs->trans("SendMail").'"';
|
||||||
// Add a javascript test to avoid to forget to submit file before sending email
|
// Add a javascript test to avoid to forget to submit file before sending email
|
||||||
if ($this->withfile == 2 && $conf->use_javascript_ajax)
|
if ($this->withfile == 2 && $conf->use_javascript_ajax)
|
||||||
@ -730,11 +732,9 @@ class FormMail extends Form
|
|||||||
$out.= ' ';
|
$out.= ' ';
|
||||||
$out.= '<input class="button" type="submit" id="cancel" name="cancel" value="'.$langs->trans("Cancel").'" />';
|
$out.= '<input class="button" type="submit" id="cancel" name="cancel" value="'.$langs->trans("Cancel").'" />';
|
||||||
}
|
}
|
||||||
$out.= '</div></td></tr>'."\n";
|
$out.= '</div>'."\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
$out.= '</table>'."\n";
|
|
||||||
|
|
||||||
if ($this->withform == 1) $out.= '</form>'."\n";
|
if ($this->withform == 1) $out.= '</form>'."\n";
|
||||||
|
|
||||||
// Disable enter key if option MAIN_MAILFORM_DISABLE_ENTERKEY is set
|
// Disable enter key if option MAIN_MAILFORM_DISABLE_ENTERKEY is set
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user