This commit is contained in:
Laurent Destailleur 2026-06-16 15:10:30 +02:00
parent f6f7a02189
commit 970892c278
5 changed files with 17 additions and 14 deletions

View file

@ -196,9 +196,7 @@ jQuery(document).ready(function() {
print load_fiche_titre($langs->trans("OtherSetup"), '', 'title_setup');
print '<span class="opacitymedium">'.$langs->trans("ConstDesc")."</span><br>\n";
print "<br>\n";
print "<br>\n";
print '<div class="info">'.$langs->trans("ConstDesc")."</div><br>\n";
$param = '';

View file

@ -685,6 +685,7 @@ if ($action == 'edit') {
print '<span class="opacitymedium">'.$langs->trans("EMailsDesc")."</span><br>\n";
print "<br>\n";
print '<div class="neutral nomargintop">';
print $langs->trans("MAIN_DISABLE_ALL_MAILS");
if (!empty($conf->use_javascript_ajax)) {
print ajax_constantonoff('MAIN_DISABLE_ALL_MAILS', array(), null, 0, 0, 1, 2, 0, 0, '_red').'</a>';
@ -695,8 +696,9 @@ if ($action == 'edit') {
}
}
print "<br>\n";
print "<br>\n";
print '</div>';
//print "<br>\n";
//print "<br>\n";
print "<br>\n";

View file

@ -572,6 +572,7 @@ if ($action == 'edit') {
print '<span class="opacitymedium">'.$langs->trans("EMailsDesc")."</span><br>\n";
print "<br>\n";
print '<div class="neutral nomargintop">';
print $langs->trans("MAIN_DISABLE_ALL_MAILS");
if (!empty($conf->use_javascript_ajax)) {
print ajax_constantonoff('MAIN_DISABLE_ALL_MAILS', array(), null, 0, 0, 1, 2, 0, 0, '_red').'</a>';
@ -581,9 +582,9 @@ if ($action == 'edit') {
print img_warning($langs->trans("Disabled"));
}
}
print "<br>\n";
print "<br>\n";
print '</div>';
//print "<br>\n";
//print "<br>\n";
print "<br>\n";
print '<div class="div-table-responsive-no-min">'; // You can use div-table-responsive-no-min if you don't need reserved height for your table

View file

@ -591,6 +591,7 @@ if ($action == 'edit') {
print '<span class="opacitymedium">'.$langs->trans("EMailsDesc")."</span><br>\n";
print "<br>\n";
print '<div class="neutral nomargintop">';
print $langs->trans("MAIN_DISABLE_ALL_MAILS");
if (!empty($conf->use_javascript_ajax)) {
print ajax_constantonoff('MAIN_DISABLE_ALL_MAILS', array(), null, 0, 0, 1, 2, 0, 0, '_red').'</a>';
@ -600,9 +601,9 @@ if ($action == 'edit') {
print img_warning($langs->trans("Disabled"));
}
}
print "<br>\n";
print "<br>\n";
print '</div>';
//print "<br>\n";
//print "<br>\n";
print "<br>\n";
print '<div class="div-table-responsive-no-min">'; // You can use div-table-responsive-no-min if you don't need reserved height for your table

View file

@ -566,6 +566,7 @@ if ($action == 'edit') {
print '<span class="opacitymedium">'.$langs->trans("EMailsDesc")."</span><br>\n";
print "<br>\n";
print '<div class="neutral nomargintop">';
print $langs->trans("MAIN_DISABLE_ALL_MAILS");
if (!empty($conf->use_javascript_ajax)) {
print ajax_constantonoff('MAIN_DISABLE_ALL_MAILS', array(), null, 0, 0, 1, 2, 0, 0, '_red').'</a>';
@ -575,9 +576,9 @@ if ($action == 'edit') {
print img_warning($langs->trans("Disabled"));
}
}
print "<br>\n";
print "<br>\n";
print '</div>';
//print "<br>\n";
//print "<br>\n";
print "<br>\n";
print '<div class="div-table-responsive-no-min">'; // You can use div-table-responsive-no-min if you don't need reserved height for your table