clean code
This commit is contained in:
parent
15a4cdcc9c
commit
4fd2468b6f
@ -205,7 +205,7 @@ if ($result > 0)
|
||||
print_liste_field_titre('');
|
||||
print "</tr>\n";
|
||||
|
||||
$var=false;
|
||||
|
||||
// $listofemails=$object->thirdparty_and_contact_email_array();
|
||||
if ($object->email)
|
||||
{
|
||||
@ -277,7 +277,6 @@ if ($result > 0)
|
||||
|
||||
// List of active notifications
|
||||
print_fiche_titre($langs->trans("ListOfActiveNotifications").' ('.$num.')','','');
|
||||
$var=true;
|
||||
|
||||
// Line with titles
|
||||
print '<table width="100%" class="noborder">';
|
||||
@ -299,7 +298,6 @@ if ($result > 0)
|
||||
|
||||
while ($i < $num)
|
||||
{
|
||||
$var = !$var;
|
||||
|
||||
$obj = $db->fetch_object($resql);
|
||||
|
||||
|
||||
@ -235,13 +235,11 @@ if ($action == 'edit')
|
||||
|
||||
|
||||
clearstatcache();
|
||||
$var=true;
|
||||
|
||||
print '<table class="noborder" width="100%">';
|
||||
print '<tr class="liste_titre"><td width="25%">'.$langs->trans("Parameter").'</td><td width="25%">'.$langs->trans("DefaultValue").'</td><td> </td><td>'.$langs->trans("PersonalValue").'</td></tr>';
|
||||
|
||||
// Landing page
|
||||
|
||||
print '<tr class="oddeven"><td>'.$langs->trans("LandingPage").'</td>';
|
||||
print '<td>';
|
||||
print (empty($conf->global->MAIN_LANDING_PAGE)?'':$conf->global->MAIN_LANDING_PAGE);
|
||||
@ -255,7 +253,6 @@ if ($action == 'edit')
|
||||
print '</td></tr>';
|
||||
|
||||
// Langue par defaut
|
||||
|
||||
print '<tr class="oddeven"><td>'.$langs->trans("Language").'</td>';
|
||||
print '<td>';
|
||||
$s=picto_from_langcode($conf->global->MAIN_LANG_DEFAULT);
|
||||
@ -270,7 +267,6 @@ if ($action == 'edit')
|
||||
print '</td></tr>';
|
||||
|
||||
// Taille max des listes
|
||||
|
||||
print '<tr class="oddeven"><td>'.$langs->trans("MaxSizeList").'</td>';
|
||||
print '<td>'.$conf->global->MAIN_SIZE_LISTE_LIMIT.'</td>';
|
||||
print '<td align="left" class="nowrap" width="20%"><input '.$bc[$var].' name="check_SIZE_LISTE_LIMIT" id="check_SIZE_LISTE_LIMIT" type="checkbox" '.(! empty($object->conf->MAIN_SIZE_LISTE_LIMIT)?" checked":"");
|
||||
@ -301,8 +297,6 @@ else
|
||||
|
||||
dol_banner_tab($object,'id',$linkback,$user->rights->user->user->lire || $user->admin);
|
||||
|
||||
$var=true;
|
||||
|
||||
print '<table class="noborder" width="100%">';
|
||||
print '<tr class="liste_titre"><td width="25%">'.$langs->trans("Parameter").'</td><td width="25%">'.$langs->trans("DefaultValue").'</td><td> </td><td>'.$langs->trans("PersonalValue").'</td></tr>';
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user