CSS
This commit is contained in:
parent
b23e968ed6
commit
69f5220977
3 changed files with 14 additions and 14 deletions
|
|
@ -33,9 +33,6 @@
|
|||
|
||||
// Load Dolibarr environment
|
||||
require '../../main.inc.php';
|
||||
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
|
||||
require_once DOL_DOCUMENT_ROOT.'/core/lib/member.lib.php';
|
||||
|
||||
/**
|
||||
* @var Conf $conf
|
||||
* @var DoliDB $db
|
||||
|
|
@ -43,6 +40,8 @@ require_once DOL_DOCUMENT_ROOT.'/core/lib/member.lib.php';
|
|||
* @var Translate $langs
|
||||
* @var User $user
|
||||
*/
|
||||
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
|
||||
require_once DOL_DOCUMENT_ROOT.'/core/lib/member.lib.php';
|
||||
|
||||
// Load translation files required by the page
|
||||
$langs->loadLangs(array("admin", "members"));
|
||||
|
|
@ -79,7 +78,6 @@ $constantes = array(
|
|||
);
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Actions
|
||||
*/
|
||||
|
|
@ -173,7 +171,7 @@ $tableau = $constantes;
|
|||
print '<div class="div-table-responsive-no-min">';
|
||||
print '<table class="noborder centpercent">';
|
||||
print '<tr class="liste_titre">';
|
||||
print '<td class="">'.$langs->trans("Description").'</td>';
|
||||
print '<td class="">'.$langs->trans("Parameter").'</td>';
|
||||
print '<td>';
|
||||
print '</td>';
|
||||
print "</tr>\n";
|
||||
|
|
@ -223,20 +221,19 @@ foreach ($tableau as $key => $const) { // Loop on each param
|
|||
}
|
||||
|
||||
if (!empty($tableau[$key]['tooltip'])) {
|
||||
print $form->textwithpicto($label ? $label : $langs->trans('Desc'.$const), $tableau[$key]['tooltip']);
|
||||
print $form->textwithpicto($label ? $label : $langs->trans('Desc'.$const), $tableau[$key]['tooltip'] . $help);
|
||||
} else {
|
||||
print '<span class="valignmiddle">';
|
||||
print($label ? $label : $langs->trans('Desc'.$const));
|
||||
print '</span>';
|
||||
if ($help) {
|
||||
print $form->textwithpicto('', $help);
|
||||
}
|
||||
}
|
||||
|
||||
if (in_array($const, ['ADHERENT_MAIL_FROM', 'ADHERENT_CC_MAIL_FROM'])) {
|
||||
print ' '.img_help(1, $langs->trans("EMailHelpMsgSPFDKIM"));
|
||||
}
|
||||
if ($help) {
|
||||
print '<br><span class="opacitymedium">';
|
||||
//print $langs->trans("MEMBER_REMINDER_EMAILHelp");
|
||||
print $help;
|
||||
print '</span>';
|
||||
}
|
||||
|
||||
print "</td>\n";
|
||||
|
||||
|
|
|
|||
|
|
@ -191,10 +191,13 @@ if (!getDolGlobalString('MEMBER_ENABLE_PUBLIC')) {
|
|||
$enabledisablehtml .= img_picto($langs->trans("Activated"), 'switch_on');
|
||||
$enabledisablehtml .= '</a>';
|
||||
}
|
||||
|
||||
print '<div class="neutral">';
|
||||
print $enabledisablehtml;
|
||||
print '<input type="hidden" id="MEMBER_ENABLE_PUBLIC" name="MEMBER_ENABLE_PUBLIC" value="'.(!getDolGlobalString('MEMBER_ENABLE_PUBLIC') ? 0 : 1).'">';
|
||||
print '</div>';
|
||||
|
||||
print '<br><br>';
|
||||
print '<br>';
|
||||
|
||||
|
||||
if (getDolGlobalString('MEMBER_ENABLE_PUBLIC')) {
|
||||
|
|
|
|||
|
|
@ -517,7 +517,7 @@ if (!$rowid && $action != 'create' && $action != 'edit') {
|
|||
print '</td>';
|
||||
}
|
||||
if (!empty($arrayfields['t.amountformuladescription']['checked'])) {
|
||||
print '<td class="center">'.dol_escape_htmltag($objp->amountformuladescription).'</td>';
|
||||
print '<td class="center">'.dolPrintHTML($objp->amountformuladescription).'</td>';
|
||||
}
|
||||
if (!empty($arrayfields['t.vote']['checked'])) {
|
||||
print '<td class="center">'.yn($objp->vote).'</td>';
|
||||
|
|
|
|||
Loading…
Reference in a new issue