|
@@ -822,7 +822,7 @@ class FormMail extends Form
|
|
|
$out .= '<br></div>';
|
|
|
}
|
|
|
} elseif (empty($this->withmaindocfile)) {
|
|
|
- $out .= '<span class="opacitymedium">'.$langs->trans("NoAttachedFiles").'</span><br>';
|
|
|
+ //$out .= '<span class="opacitymedium">'.$langs->trans("NoAttachedFiles").'</span><br>';
|
|
|
}
|
|
|
if ($this->withfile == 2) {
|
|
|
$maxfilesizearray = getMaxFileSizeArray();
|
|
@@ -837,7 +837,7 @@ class FormMail extends Form
|
|
|
$out .= '<input type="file" class="flat" id="addedfile" name="addedfile" value="'.$langs->trans("Upload").'" />';
|
|
|
}
|
|
|
$out .= ' ';
|
|
|
- $out .= '<input type="submit" class="button small" id="'.$addfileaction.'" name="'.$addfileaction.'" value="'.$langs->trans("MailingAddFile").'" />';
|
|
|
+ $out .= '<input type="submit" class="button smallpaddingimp" id="'.$addfileaction.'" name="'.$addfileaction.'" value="'.$langs->trans("MailingAddFile").'" />';
|
|
|
}
|
|
|
} else {
|
|
|
$out .= $this->withfile;
|
|
@@ -947,10 +947,13 @@ class FormMail extends Form
|
|
|
}
|
|
|
|
|
|
$out .= '<tr>';
|
|
|
- $out .= '<td class="tdtop">';
|
|
|
+ $out .= '<td colspan="2">';
|
|
|
$out .= $form->textwithpicto($langs->trans('MailText'), $helpforsubstitution, 1, 'help', '', 0, 2, 'substittooltipfrombody');
|
|
|
$out .= '</td>';
|
|
|
- $out .= '<td>';
|
|
|
+ $out .= '</tr>';
|
|
|
+
|
|
|
+ $out .= '<tr>';
|
|
|
+ $out .= '<td colspan="2">';
|
|
|
if ($this->withbodyreadonly) {
|
|
|
$out .= nl2br($defaultmessage);
|
|
|
$out .= '<input type="hidden" id="message" name="message" value="'.$defaultmessage.'" />';
|