diff --git a/htdocs/user/notify/card.php b/htdocs/user/notify/card.php index cac9a3d476b..307b8ae5bc9 100644 --- a/htdocs/user/notify/card.php +++ b/htdocs/user/notify/card.php @@ -205,7 +205,7 @@ if ($result > 0) print_liste_field_titre(''); print "\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 ''; @@ -299,7 +298,6 @@ if ($result > 0) while ($i < $num) { - $var = !$var; $obj = $db->fetch_object($resql); diff --git a/htdocs/user/param_ihm.php b/htdocs/user/param_ihm.php index b0473e15c49..76b25751806 100644 --- a/htdocs/user/param_ihm.php +++ b/htdocs/user/param_ihm.php @@ -235,13 +235,11 @@ if ($action == 'edit') clearstatcache(); - $var=true; print '
'; print ''; // Landing page - print ''; print ''; // Langue par defaut - print ''; print ''; // Taille max des listes - print ''; print ''; print '
'.$langs->trans("Parameter").''.$langs->trans("DefaultValue").' '.$langs->trans("PersonalValue").'
'.$langs->trans("LandingPage").''; print (empty($conf->global->MAIN_LANDING_PAGE)?'':$conf->global->MAIN_LANDING_PAGE); @@ -255,7 +253,6 @@ if ($action == 'edit') print '
'.$langs->trans("Language").''; $s=picto_from_langcode($conf->global->MAIN_LANG_DEFAULT); @@ -270,7 +267,6 @@ if ($action == 'edit') print '
'.$langs->trans("MaxSizeList").''.$conf->global->MAIN_SIZE_LISTE_LIMIT.'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 ''; print '';
'.$langs->trans("Parameter").''.$langs->trans("DefaultValue").' '.$langs->trans("PersonalValue").'