From d802470aae145f1b51062ee930cb2b149d8e6940 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@destailleur.fr> Date: Fri, 19 Jul 2013 14:23:42 +0200 Subject: [PATCH] I killed <td nowrap>. Hello <td class="nowrap"> ! --- htdocs/admin/livraison.php | 2 +- htdocs/admin/propal.php | 2 +- htdocs/categories/categorie.php | 2 +- htdocs/comm/action/document.php | 4 +-- htdocs/comm/action/fiche.php | 6 ++-- htdocs/comm/fiche.php | 22 ++++++------ htdocs/comm/index.php | 8 ++--- htdocs/comm/mailing/index.php | 4 +-- htdocs/comm/propal/apercu.php | 2 +- htdocs/comm/propal/contact.php | 2 +- htdocs/comm/propal/document.php | 2 +- htdocs/comm/propal/index.php | 2 +- htdocs/comm/propal/note.php | 2 +- htdocs/comm/prospect/index.php | 2 +- htdocs/commande/apercu.php | 2 +- htdocs/commande/contact.php | 2 +- htdocs/commande/index.php | 2 +- htdocs/commande/note.php | 2 +- htdocs/commande/orderstoinvoice.php | 2 +- htdocs/compta/bank/search.php | 2 +- htdocs/compta/facture.php | 2 +- htdocs/compta/facture/impayees.php | 4 +-- htdocs/compta/index.php | 2 +- htdocs/compta/localtax/clients.php | 28 +++++++-------- htdocs/compta/localtax/index.php | 8 ++--- htdocs/compta/localtax/reglement.php | 4 +-- htdocs/compta/prelevement/ligne.php | 4 +-- htdocs/compta/tva/clients.php | 28 +++++++-------- htdocs/compta/tva/index.php | 8 ++--- htdocs/compta/tva/quadri.php | 10 +++--- htdocs/compta/tva/quadri_detail.php | 36 +++++++++---------- htdocs/compta/tva/reglement.php | 4 +-- .../default/tpl/contactcard_edit.tpl.php | 2 +- .../default/tpl/contactcard_view.tpl.php | 2 +- htdocs/contact/fiche.php | 4 +-- htdocs/contrat/index.php | 6 ++-- .../browser/default/frmcreatefolder.php | 2 +- htdocs/core/modules/dons/html_cerfafr.html | 6 ++-- htdocs/expedition/contact.php | 2 +- htdocs/expedition/shipment.php | 2 +- htdocs/fourn/commande/fiche.php | 8 ++--- htdocs/fourn/commande/index.php | 2 +- htdocs/fourn/facture/impayees.php | 8 ++--- htdocs/fourn/fiche.php | 2 +- htdocs/install/repair.php | 2 +- htdocs/install/upgrade.php | 4 +-- htdocs/product/fiche.php | 8 ++--- htdocs/projet/admin/project.php | 2 +- htdocs/user/home.php | 4 +-- 49 files changed, 139 insertions(+), 139 deletions(-) diff --git a/htdocs/admin/livraison.php b/htdocs/admin/livraison.php index 3fd00c5727b..0235c7adc39 100644 --- a/htdocs/admin/livraison.php +++ b/htdocs/admin/livraison.php @@ -214,7 +214,7 @@ print '<table class="noborder" width="100%">'; print '<tr class="liste_titre">'; print '<td width="100">'.$langs->trans("Name").'</td>'; print '<td>'.$langs->trans("Description").'</td>'; -print '<td nowrap>'.$langs->trans("Example").'</td>'; +print '<td class="nowrap">'.$langs->trans("Example").'</td>'; print '<td align="center" width="60">'.$langs->trans("Status").'</td>'; print '<td align="center" width="16">'.$langs->trans("ShortInfo").'</td>'; print '</tr>'."\n"; diff --git a/htdocs/admin/propal.php b/htdocs/admin/propal.php index 954ec82a9c2..5ca73fa0de3 100644 --- a/htdocs/admin/propal.php +++ b/htdocs/admin/propal.php @@ -261,7 +261,7 @@ print '<table class="noborder" width="100%">'; print '<tr class="liste_titre">'; print '<td>'.$langs->trans("Name")."</td>\n"; print '<td>'.$langs->trans("Description")."</td>\n"; -print '<td nowrap>'.$langs->trans("Example")."</td>\n"; +print '<td class="nowrap">'.$langs->trans("Example")."</td>\n"; print '<td align="center" width="60">'.$langs->trans("Status").'</td>'; print '<td align="center" width="16">'.$langs->trans("ShortInfo").'</td>'; print '</tr>'."\n"; diff --git a/htdocs/categories/categorie.php b/htdocs/categories/categorie.php index 7b88fa1bd6f..1bd177a3015 100644 --- a/htdocs/categories/categorie.php +++ b/htdocs/categories/categorie.php @@ -550,7 +550,7 @@ else if ($id || $ref) if (! empty($conf->mailing->enabled)) { $langs->load("mails"); - print '<td nowrap>'.$langs->trans("NbOfEMailingsReceived").'</td>'; + print '<td class="nowrap">'.$langs->trans("NbOfEMailingsReceived").'</td>'; print '<td><a href="'.DOL_URL_ROOT.'/comm/mailing/liste.php?filteremail='.urlencode($object->email).'">'.$object->getNbOfEMailings().'</a></td>'; } else diff --git a/htdocs/comm/action/document.php b/htdocs/comm/action/document.php index 7ad74302655..2bb710b310f 100755 --- a/htdocs/comm/action/document.php +++ b/htdocs/comm/action/document.php @@ -191,7 +191,7 @@ if ($act->id > 0) print '</td></tr>'; // Status - print '<tr><td nowrap>'.$langs->trans("Status").' / '.$langs->trans("Percentage").'</td><td colspan="2">'; + print '<tr><td class="nowrap">'.$langs->trans("Status").' / '.$langs->trans("Percentage").'</td><td colspan="2">'; print $act->getLibStatut(4); print '</td></tr>'; @@ -246,7 +246,7 @@ if ($act->id > 0) } // Priority - print '<tr><td nowrap>'.$langs->trans("Priority").'</td><td colspan="3">'; + print '<tr><td class="nowrap">'.$langs->trans("Priority").'</td><td colspan="3">'; print ($act->priority?$act->priority:''); print '</td></tr>'; diff --git a/htdocs/comm/action/fiche.php b/htdocs/comm/action/fiche.php index 59b2e6c0a80..81a635e4d9f 100644 --- a/htdocs/comm/action/fiche.php +++ b/htdocs/comm/action/fiche.php @@ -537,7 +537,7 @@ if ($action == 'create') // Realised by if ($conf->global->AGENDA_ENABLE_DONEBY) { - print '<tr><td nowrap>'.$langs->trans("ActionDoneBy").'</td><td>'; + print '<tr><td class="nowrap">'.$langs->trans("ActionDoneBy").'</td><td>'; $form->select_users(GETPOST("doneby")?GETPOST("doneby"):(! empty($actioncomm->userdone->id) && $percent==100?$actioncomm->userdone->id:0),'doneby',1); print '</td></tr>'; } @@ -570,7 +570,7 @@ if ($action == 'create') // If company is forced, we propose contacts (may be contact is also forced) if (GETPOST("contactid") > 0 || GETPOST('socid','int') > 0) { - print '<tr><td nowrap>'.$langs->trans("ActionOnContact").'</td><td>'; + print '<tr><td class="nowrap">'.$langs->trans("ActionOnContact").'</td><td>'; $form->select_contacts(GETPOST('socid','int'),GETPOST('contactid'),'contactid',1); print '</td></tr>'; } @@ -600,7 +600,7 @@ if ($action == 'create') } // Priority - print '<tr><td nowrap>'.$langs->trans("Priority").'</td><td colspan="3">'; + print '<tr><td class="nowrap">'.$langs->trans("Priority").'</td><td colspan="3">'; print '<input type="text" name="priority" value="'.(GETPOST('priority')?GETPOST('priority'):($actioncomm->priority?$actioncomm->priority:'')).'" size="5">'; print '</td></tr>'; diff --git a/htdocs/comm/fiche.php b/htdocs/comm/fiche.php index 811e4a8d211..f5409681be8 100644 --- a/htdocs/comm/fiche.php +++ b/htdocs/comm/fiche.php @@ -293,7 +293,7 @@ if ($id > 0) } // TVA Intra - print '<tr><td nowrap>'.$langs->trans('VATIntra').'</td><td colspan="3">'; + print '<tr><td class="nowrap">'.$langs->trans('VATIntra').'</td><td colspan="3">'; print $object->tva_intra; print '</td></tr>'; @@ -319,8 +319,8 @@ if ($id > 0) print '</tr>'; // Mode de reglement par defaut - print '<tr><td nowrap>'; - print '<table width="100%" class="nobordernopadding"><tr><td nowrap>'; + print '<tr><td class="nowrap">'; + print '<table width="100%" class="nobordernopadding"><tr><td class="nowrap">'; print $langs->trans('PaymentMode'); print '<td>'; if (($action != 'editmode') && $user->rights->societe->creer) print '<td align="right"><a href="'.$_SERVER["PHP_SELF"].'?action=editmode&socid='.$object->id.'">'.img_edit($langs->trans('SetMode'),1).'</a></td>'; @@ -338,8 +338,8 @@ if ($id > 0) print '</tr>'; // Relative discounts (Discounts-Drawbacks-Rebates) - print '<tr><td nowrap>'; - print '<table width="100%" class="nobordernopadding"><tr><td nowrap>'; + print '<tr><td class="nowrap">'; + print '<table width="100%" class="nobordernopadding"><tr><td class="nowrap">'; print $langs->trans("CustomerRelativeDiscountShort"); print '<td><td align="right">'; if ($user->rights->societe->creer && !$user->societe_id > 0) @@ -351,9 +351,9 @@ if ($id > 0) print '</tr>'; // Absolute discounts (Discounts-Drawbacks-Rebates) - print '<tr><td nowrap>'; + print '<tr><td class="nowrap">'; print '<table width="100%" class="nobordernopadding">'; - print '<tr><td nowrap>'; + print '<tr><td class="nowrap">'; print $langs->trans("CustomerAbsoluteDiscountShort"); print '<td><td align="right">'; if ($user->rights->societe->creer && !$user->societe_id > 0) @@ -373,8 +373,8 @@ if ($id > 0) // Multiprice level if (! empty($conf->global->PRODUIT_MULTIPRICES)) { - print '<tr><td nowrap>'; - print '<table width="100%" class="nobordernopadding"><tr><td nowrap>'; + print '<tr><td class="nowrap">'; + print '<table width="100%" class="nobordernopadding"><tr><td class="nowrap">'; print $langs->trans("PriceLevel"); print '<td><td align="right">'; if ($user->rights->societe->creer) @@ -389,8 +389,8 @@ if ($id > 0) // Level of prospect if ($object->client == 2 || $object->client == 3) { - print '<tr><td nowrap>'; - print '<table width="100%" class="nobordernopadding"><tr><td nowrap>'; + print '<tr><td class="nowrap">'; + print '<table width="100%" class="nobordernopadding"><tr><td class="nowrap">'; print $langs->trans('ProspectLevel'); print '<td>'; if ($action != 'editlevel' && $user->rights->societe->creer) print '<td align="right"><a href="'.$_SERVER["PHP_SELF"].'?action=editlevel&socid='.$object->id.'">'.img_edit($langs->trans('Modify'),1).'</a></td>'; diff --git a/htdocs/comm/index.php b/htdocs/comm/index.php index f32fa89b59b..dff264b6f25 100644 --- a/htdocs/comm/index.php +++ b/htdocs/comm/index.php @@ -98,9 +98,9 @@ if (! empty($conf->propal->enabled) && $user->rights->propal->lire) print '<table class="noborder nohover" width="100%">'; print '<tr class="liste_titre"><td colspan="3">'.$langs->trans("SearchAProposal").'</td></tr>'; print '<tr '.$bc[$var].'>'; - print '<td nowrap>'.$langs->trans("Ref").':</td><td><input type="text" class="flat" name="sf_ref" size="18"></td>'; + print '<td class="nowrap">'.$langs->trans("Ref").':</td><td><input type="text" class="flat" name="sf_ref" size="18"></td>'; print '<td rowspan="2"><input type="submit" value="'.$langs->trans("Search").'" class="button"></td></tr>'; - print '<tr '.$bc[$var].'><td nowrap>'.$langs->trans("Other").':</td><td><input type="text" class="flat" name="sall" size="18"></td>'; + print '<tr '.$bc[$var].'><td class="nowrap">'.$langs->trans("Other").':</td><td><input type="text" class="flat" name="sall" size="18"></td>'; print '</tr>'; print "</table></form>\n"; print "<br>\n"; @@ -117,9 +117,9 @@ if (! empty($conf->contrat->enabled) && $user->rights->contrat->lire) print '<table class="noborder nohover" width="100%">'; print '<tr class="liste_titre"><td colspan="3">'.$langs->trans("SearchAContract").'</td></tr>'; print '<tr '.$bc[$var].'>'; - print '<td nowrap>'.$langs->trans("Ref").':</td><td><input type="text" class="flat" name="search_contract" size="18"></td>'; + print '<td class="nowrap">'.$langs->trans("Ref").':</td><td><input type="text" class="flat" name="search_contract" size="18"></td>'; print '<td rowspan="2"><input type="submit" value="'.$langs->trans("Search").'" class="button"></td></tr>'; - print '<tr '.$bc[$var].'><td nowrap>'.$langs->trans("Other").':</td><td><input type="text" class="flat" name="sall" size="18"></td>'; + print '<tr '.$bc[$var].'><td class="nowrap">'.$langs->trans("Other").':</td><td><input type="text" class="flat" name="sall" size="18"></td>'; print '</tr>'; print "</table></form>\n"; print "<br>"; diff --git a/htdocs/comm/mailing/index.php b/htdocs/comm/mailing/index.php index 42944afabef..ac7cbdccb5d 100644 --- a/htdocs/comm/mailing/index.php +++ b/htdocs/comm/mailing/index.php @@ -55,10 +55,10 @@ print '<form method="post" action="'.DOL_URL_ROOT.'/comm/mailing/liste.php">'; print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">'; print '<table class="noborder nohover" width="100%">'; print '<tr class="liste_titre"><td colspan="3">'.$langs->trans("SearchAMailing").'</td></tr>'; -print '<tr '.$bc[$var].'><td nowrap>'; +print '<tr '.$bc[$var].'><td class="nowrap">'; print $langs->trans("Ref").':</td><td><input type="text" class="flat" name="sref" size="18"></td>'; print '<td rowspan="2"><input type="submit" value="'.$langs->trans("Search").'" class="button"></td></tr>'; -print '<tr '.$bc[$var].'><td nowrap>'; +print '<tr '.$bc[$var].'><td class="nowrap">'; print $langs->trans("Other").':</td><td><input type="text" class="flat" name="sall" size="18"></td>'; print "</table></form><br>\n"; diff --git a/htdocs/comm/propal/apercu.php b/htdocs/comm/propal/apercu.php index 2fd7c86fb9a..0e14848d1e8 100644 --- a/htdocs/comm/propal/apercu.php +++ b/htdocs/comm/propal/apercu.php @@ -80,7 +80,7 @@ if ($id > 0 || ! empty($ref)) // Ref client print '<tr><td>'; - print '<table class="nobordernopadding" width="100%"><tr><td nowrap>'; + print '<table class="nobordernopadding" width="100%"><tr><td class="nowrap">'; print $langs->trans('RefCustomer').'</td><td align="left">'; print '</td>'; print '</tr></table>'; diff --git a/htdocs/comm/propal/contact.php b/htdocs/comm/propal/contact.php index 7e94ec5a912..2d7d432a51d 100644 --- a/htdocs/comm/propal/contact.php +++ b/htdocs/comm/propal/contact.php @@ -166,7 +166,7 @@ if ($object->id > 0) // Ref client print '<tr><td>'; - print '<table class="nobordernopadding" width="100%"><tr><td nowrap>'; + print '<table class="nobordernopadding" width="100%"><tr><td class="nowrap">'; print $langs->trans('RefCustomer').'</td><td align="left">'; print '</td>'; print '</tr></table>'; diff --git a/htdocs/comm/propal/document.php b/htdocs/comm/propal/document.php index b0eca76345b..b1b91cfb89c 100644 --- a/htdocs/comm/propal/document.php +++ b/htdocs/comm/propal/document.php @@ -133,7 +133,7 @@ if ($object->id > 0) // Ref client print '<tr><td>'; - print '<table class="nobordernopadding" width="100%"><tr><td nowrap>'; + print '<table class="nobordernopadding" width="100%"><tr><td class="nowrap">'; print $langs->trans('RefCustomer').'</td><td align="left">'; print '</td>'; print '</tr></table>'; diff --git a/htdocs/comm/propal/index.php b/htdocs/comm/propal/index.php index 70eb2e49092..45a594c12cd 100644 --- a/htdocs/comm/propal/index.php +++ b/htdocs/comm/propal/index.php @@ -69,7 +69,7 @@ print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">'; print '<tr class="liste_titre"><td colspan="3">'.$langs->trans("SearchPropal").'</td></tr>'; print '<tr '.$bc[$var].'><td>'; print $langs->trans("Ref").':</td><td><input type="text" class="flat" name="sref" size=18></td><td rowspan="2"><input type="submit" value="'.$langs->trans("Search").'" class="button"></td></tr>'; -print '<tr '.$bc[$var].'><td nowrap>'.$langs->trans("Other").':</td><td><input type="text" class="flat" name="sall" size="18"></td>'; +print '<tr '.$bc[$var].'><td class="nowrap">'.$langs->trans("Other").':</td><td><input type="text" class="flat" name="sall" size="18"></td>'; print '</tr>'; print "</form></table><br>\n"; diff --git a/htdocs/comm/propal/note.php b/htdocs/comm/propal/note.php index 633c0dd4cf4..a9ee5b6a839 100644 --- a/htdocs/comm/propal/note.php +++ b/htdocs/comm/propal/note.php @@ -96,7 +96,7 @@ if ($id > 0 || ! empty($ref)) // Ref client print '<tr><td>'; - print '<table class="nobordernopadding" width="100%"><tr><td nowrap>'; + print '<table class="nobordernopadding" width="100%"><tr><td class="nowrap">'; print $langs->trans('RefCustomer').'</td><td align="left">'; print '</td>'; print '</tr></table>'; diff --git a/htdocs/comm/prospect/index.php b/htdocs/comm/prospect/index.php index e6496c32a58..1f3e0fc4c0c 100644 --- a/htdocs/comm/prospect/index.php +++ b/htdocs/comm/prospect/index.php @@ -60,7 +60,7 @@ if (! empty($conf->propal->enabled)) print '<tr class="liste_titre"><td colspan="3">'.$langs->trans("SearchAProposal").'</td></tr>'; print '<tr '.$bc[$var].'><td>'; print $langs->trans("Ref").':</td><td><input type="text" class="flat" name="sf_ref" size="18"></td><td rowspan="2"><input type="submit" value="'.$langs->trans("Search").'" class="button"></td></tr>'; - print '<tr '.$bc[$var].'><td nowrap>'.$langs->trans("Other").':</td><td><input type="text" class="flat" name="sall" size="18"></td>'; + print '<tr '.$bc[$var].'><td class="nowrap">'.$langs->trans("Other").':</td><td><input type="text" class="flat" name="sall" size="18"></td>'; print '</tr>'; print "</form></table><br>\n"; } diff --git a/htdocs/commande/apercu.php b/htdocs/commande/apercu.php index b4b92e760c5..10bc0b500f4 100644 --- a/htdocs/commande/apercu.php +++ b/htdocs/commande/apercu.php @@ -90,7 +90,7 @@ if ($id > 0 || ! empty($ref)) // Ref cde client print '<tr><td>'; - print '<table class="nobordernopadding" width="100%"><tr><td nowrap>'; + print '<table class="nobordernopadding" width="100%"><tr><td class="nowrap">'; print $langs->trans('RefCustomer').'</td><td align="left">'; print '</td>'; print '</tr></table>'; diff --git a/htdocs/commande/contact.php b/htdocs/commande/contact.php index cde8d1d4a35..055d4a42787 100644 --- a/htdocs/commande/contact.php +++ b/htdocs/commande/contact.php @@ -162,7 +162,7 @@ if ($id > 0 || ! empty($ref)) // Ref commande client print '<tr><td>'; - print '<table class="nobordernopadding" width="100%"><tr><td nowrap>'; + print '<table class="nobordernopadding" width="100%"><tr><td class="nowrap">'; print $langs->trans('RefCustomer').'</td><td align="left">'; print '</td>'; print '</tr></table>'; diff --git a/htdocs/commande/index.php b/htdocs/commande/index.php index 3c69388c8c9..2327c2063be 100644 --- a/htdocs/commande/index.php +++ b/htdocs/commande/index.php @@ -70,7 +70,7 @@ print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">'; print '<tr class="liste_titre"><td colspan="3">'.$langs->trans("SearchOrder").'</td></tr>'; print '<tr '.$bc[$var].'><td>'; print $langs->trans("Ref").':</td><td><input type="text" class="flat" name="sref" size=18></td><td rowspan="2"><input type="submit" value="'.$langs->trans("Search").'" class="button"></td></tr>'; -print '<tr '.$bc[$var].'><td nowrap>'.$langs->trans("Other").':</td><td><input type="text" class="flat" name="sall" size="18"></td>'; +print '<tr '.$bc[$var].'><td class="nowrap">'.$langs->trans("Other").':</td><td><input type="text" class="flat" name="sall" size="18"></td>'; print '</tr>'; print "</form></table><br>\n"; diff --git a/htdocs/commande/note.php b/htdocs/commande/note.php index c9ca34854b7..58023beec33 100644 --- a/htdocs/commande/note.php +++ b/htdocs/commande/note.php @@ -97,7 +97,7 @@ if ($id > 0 || ! empty($ref)) // Ref commande client print '<tr><td>'; - print '<table class="nobordernopadding" width="100%"><tr><td nowrap>'; + print '<table class="nobordernopadding" width="100%"><tr><td class="nowrap">'; print $langs->trans('RefCustomer').'</td><td align="left">'; print '</td>'; print '</tr></table>'; diff --git a/htdocs/commande/orderstoinvoice.php b/htdocs/commande/orderstoinvoice.php index 72599d11840..16696430d40 100755 --- a/htdocs/commande/orderstoinvoice.php +++ b/htdocs/commande/orderstoinvoice.php @@ -416,7 +416,7 @@ if ($action == 'create' && empty($mesgs)) $html->select_date(0,'','','','',"add",1,1); print '</td></tr>'; // Payment term - print '<tr><td nowrap>'.$langs->trans('PaymentConditionsShort').'</td><td colspan="2">'; + print '<tr><td class="nowrap">'.$langs->trans('PaymentConditionsShort').'</td><td colspan="2">'; $html->select_conditions_paiements(isset($_POST['cond_reglement_id'])?$_POST['cond_reglement_id']:$cond_reglement_id,'cond_reglement_id'); print '</td></tr>'; // Payment mode diff --git a/htdocs/compta/bank/search.php b/htdocs/compta/bank/search.php index 9a3a55bfaf4..cc3f0cd548d 100644 --- a/htdocs/compta/bank/search.php +++ b/htdocs/compta/bank/search.php @@ -227,7 +227,7 @@ if ($resql) print "</td>\n"; // Num - print '<td nowrap>'.($objp->num_chq?$objp->num_chq:"")."</td>\n"; + print '<td class="nowrap">'.($objp->num_chq?$objp->num_chq:"")."</td>\n"; // Description print "<td>"; diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index b8bc0b1ed10..d51cac1399e 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -2253,7 +2253,7 @@ if ($action == 'create') print '</td></tr>'; // Payment term - print '<tr><td nowrap>'.$langs->trans('PaymentConditionsShort').'</td><td colspan="2">'; + print '<tr><td class="nowrap">'.$langs->trans('PaymentConditionsShort').'</td><td colspan="2">'; $form->select_conditions_paiements(isset($_POST['cond_reglement_id'])?$_POST['cond_reglement_id']:$cond_reglement_id,'cond_reglement_id'); print '</td></tr>'; diff --git a/htdocs/compta/facture/impayees.php b/htdocs/compta/facture/impayees.php index d2dbceea47f..b334053c5b4 100644 --- a/htdocs/compta/facture/impayees.php +++ b/htdocs/compta/facture/impayees.php @@ -363,8 +363,8 @@ if ($resql) print "</td>\n"; - print '<td nowrap align="center">'.dol_print_date($db->jdate($objp->df),'day').'</td>'."\n"; - print '<td nowrap align="center">'.dol_print_date($db->jdate($objp->datelimite),'day').'</td>'."\n"; + print '<td class="nowrap" align="center">'.dol_print_date($db->jdate($objp->df),'day').'</td>'."\n"; + print '<td class="nowrap" align="center">'.dol_print_date($db->jdate($objp->datelimite),'day').'</td>'."\n"; print '<td><a href="'.DOL_URL_ROOT.'/comm/fiche.php?socid='.$objp->socid.'">'.img_object($langs->trans("ShowCompany"),"company").' '.dol_trunc($objp->nom,28).'</a></td>'; diff --git a/htdocs/compta/index.php b/htdocs/compta/index.php index f26b9a06089..6340e00c28f 100644 --- a/htdocs/compta/index.php +++ b/htdocs/compta/index.php @@ -288,7 +288,7 @@ if (! empty($conf->fournisseur->enabled) && $user->rights->fournisseur->facture- while ($i < $num && $i < 20) { $obj = $db->fetch_object($resql); - print '<tr '.$bc[$var].'><td nowrap>'; + print '<tr '.$bc[$var].'><td class="nowrap">'; $facturesupplierstatic->ref=$obj->ref; $facturesupplierstatic->id=$obj->rowid; $facturesupplierstatic->type=$obj->type; diff --git a/htdocs/compta/localtax/clients.php b/htdocs/compta/localtax/clients.php index e2eb5ab610c..72b02194bc1 100644 --- a/htdocs/compta/localtax/clients.php +++ b/htdocs/compta/localtax/clients.php @@ -176,15 +176,15 @@ if (is_array($coll_list)) } } print "<tr ".$bc[$var].">"; - print "<td nowrap>".$i."</td>"; + print '<td class="nowrap">'.$i."</td>"; $company_static->id=$coll->socid; $company_static->nom=$coll->nom; - print '<td nowrap>'.$company_static->getNomUrl(1).'</td>'; + print '<td class="nowrap">'.$company_static->getNomUrl(1).'</td>'; $find = array(' ','.'); $replace = array('',''); - print "<td nowrap>".$intra."</td>"; - print "<td nowrap align=\"right\">".price($coll->amount)."</td>"; - print "<td nowrap align=\"right\">".price($coll->localtax2)."</td>"; + print '<td class="nowrap">'.$intra."</td>"; + print "<td class=\"nowrap\" align=\"right\">".price($coll->amount)."</td>"; + print "<td class=\"nowrap\" align=\"right\">".price($coll->localtax2)."</td>"; $totalamount = $totalamount + $coll->amount; $total = $total + $coll->localtax2; print "</tr>\n"; @@ -194,8 +194,8 @@ if (is_array($coll_list)) $x_coll_sum = $total; print '<tr class="liste_total"><td align="right" colspan="3">'.$langs->trans("Total").':</td>'; - print '<td nowrap align="right">'.price($totalamount).'</td>'; - print '<td nowrap align="right">'.price($total).'</td>'; + print '<td class="nowrap" align="right">'.price($totalamount).'</td>'; + print '<td class="nowrap" align="right">'.price($total).'</td>'; print '</tr>'; } else @@ -245,15 +245,15 @@ if (is_array($coll_list)) } } print "<tr ".$bc[$var].">"; - print "<td nowrap>".$i."</td>"; + print '<td class="nowrap">'.$i."</td>"; $company_static->id=$coll->socid; $company_static->nom=$coll->nom; - print '<td nowrap>'.$company_static->getNomUrl(1).'</td>'; + print '<td class="nowrap">'.$company_static->getNomUrl(1).'</td>'; $find = array(' ','.'); $replace = array('',''); - print "<td nowrap>".$intra."</td>"; - print "<td nowrap align=\"right\">".price($coll->amount)."</td>"; - print "<td nowrap align=\"right\">".price($coll->localtax2)."</td>"; + print '<td class="nowrap">'.$intra."</td>"; + print "<td class=\"nowrap\" align=\"right\">".price($coll->amount)."</td>"; + print "<td class=\"nowrap\" align=\"right\">".price($coll->localtax2)."</td>"; $totalamount = $totalamount + $coll->amount; $total = $total + $coll->localtax2; print "</tr>\n"; @@ -263,8 +263,8 @@ if (is_array($coll_list)) $x_paye_sum = $total; print '<tr class="liste_total"><td align="right" colspan="3">'.$langs->trans("Total").':</td>'; - print '<td nowrap align="right">'.price($totalamount).'</td>'; - print '<td nowrap align="right">'.price($total).'</td>'; + print '<td class="nowrap" align="right">'.price($totalamount).'</td>'; + print '<td class="nowrap" align="right">'.price($total).'</td>'; print '</tr>'; print '</table>'; diff --git a/htdocs/compta/localtax/index.php b/htdocs/compta/localtax/index.php index 3f0cb9828d5..8acfe896fed 100644 --- a/htdocs/compta/localtax/index.php +++ b/htdocs/compta/localtax/index.php @@ -149,7 +149,7 @@ for ($m = 1 ; $m < 13 ; $m++ ) $var=!$var; print "<tr ".$bc[$var].">"; - print '<td nowrap>'.dol_print_date(dol_mktime(0,0,0,$m,1,$y),"%b %Y").'</td>'; + print '<td class="nowrap">'.dol_print_date(dol_mktime(0,0,0,$m,1,$y),"%b %Y").'</td>'; $x_coll = 0; foreach($coll_listsell as $vatrate=>$val) @@ -157,7 +157,7 @@ for ($m = 1 ; $m < 13 ; $m++ ) $x_coll+=$val['localtax2']; } $subtotalcoll = $subtotalcoll + $x_coll; - print "<td nowrap align=\"right\">".price($x_coll)."</td>"; + print "<td class=\"nowrap\" align=\"right\">".price($x_coll)."</td>"; $x_paye = 0; foreach($coll_listbuy as $vatrate=>$val) @@ -165,13 +165,13 @@ for ($m = 1 ; $m < 13 ; $m++ ) $x_paye+=$val['localtax2']; } $subtotalpaye = $subtotalpaye + $x_paye; - print "<td nowrap align=\"right\">".price($x_paye)."</td>"; + print "<td class=\"nowrap\" align=\"right\">".price($x_paye)."</td>"; $diff = $x_coll - $x_paye; $total = $total + $diff; $subtotal = $subtotal + $diff; - print "<td nowrap align=\"right\">".price($diff)."</td>\n"; + print "<td class=\"nowrap\" align=\"right\">".price($diff)."</td>\n"; print "<td> </td>\n"; print "</tr>\n"; diff --git a/htdocs/compta/localtax/reglement.php b/htdocs/compta/localtax/reglement.php index e750403bf2c..07d81d81df8 100644 --- a/htdocs/compta/localtax/reglement.php +++ b/htdocs/compta/localtax/reglement.php @@ -56,9 +56,9 @@ if ($result) print '<table class="noborder" width="100%">'; print '<tr class="liste_titre">'; - print '<td nowrap align="left">'.$langs->trans("Ref").'</td>'; + print '<td class="nowrap" align="left">'.$langs->trans("Ref").'</td>'; print "<td>".$langs->trans("Label")."</td>"; - print '<td nowrap align="left">'.$langs->trans("DatePayment").'</td>'; + print '<td class="nowrap" align="left">'.$langs->trans("DatePayment").'</td>'; print "<td align=\"right\">".$langs->trans("PayedByThisPayment")."</td>"; print "</tr>\n"; $var=1; diff --git a/htdocs/compta/prelevement/ligne.php b/htdocs/compta/prelevement/ligne.php index a0e2d498ee0..d242deedb38 100644 --- a/htdocs/compta/prelevement/ligne.php +++ b/htdocs/compta/prelevement/ligne.php @@ -196,13 +196,13 @@ if ($id) print '</td></tr>'; //Date - print '<tr><td class="fieldrequired" class="valid">'.$langs->trans("RefusedData").'</td>'; + print '<tr><td class="fieldrequired valid">'.$langs->trans("RefusedData").'</td>'; print '<td colspan="2" class="valid">'; print $form->select_date('','','','','',"confirm_rejet"); print '</td></tr>'; //Reason - print '<tr><td class="fieldrequired" class="valid">'.$langs->trans("RefusedReason").'</td>'; + print '<tr><td class="fieldrequired valid">'.$langs->trans("RefusedReason").'</td>'; print '<td class="valid">'; print $form->selectarray("motif", $rej->motifs); print '</td></tr>'; diff --git a/htdocs/compta/tva/clients.php b/htdocs/compta/tva/clients.php index 83f248a39be..871e8a583ef 100644 --- a/htdocs/compta/tva/clients.php +++ b/htdocs/compta/tva/clients.php @@ -207,16 +207,16 @@ if (is_array($coll_list)) } } print "<tr ".$bc[$var].">"; - print "<td nowrap>".$i."</td>"; + print '<td class="nowrap">'.$i."</td>"; $company_static->id=$coll->socid; $company_static->nom=$coll->nom; $company_static->client=1; - print '<td nowrap>'.$company_static->getNomUrl(1,'customer').'</td>'; + print '<td class="nowrap">'.$company_static->getNomUrl(1,'customer').'</td>'; $find = array(' ','.'); $replace = array('',''); - print "<td nowrap>".$intra."</td>"; - print "<td nowrap align=\"right\">".price($coll->amount)."</td>"; - print "<td nowrap align=\"right\">".price($coll->tva)."</td>"; + print '<td class="nowrap">'.$intra."</td>"; + print "<td class=\"nowrap\" align=\"right\">".price($coll->amount)."</td>"; + print "<td class=\"nowrap\" align=\"right\">".price($coll->tva)."</td>"; $totalamount = $totalamount + $coll->amount; $total = $total + $coll->tva; print "</tr>\n"; @@ -226,8 +226,8 @@ if (is_array($coll_list)) $x_coll_sum = $total; print '<tr class="liste_total"><td align="right" colspan="3">'.$langs->trans("Total").':</td>'; - print '<td nowrap align="right">'.price($totalamount).'</td>'; - print '<td nowrap align="right">'.price($total).'</td>'; + print '<td class="nowrap" align="right">'.price($totalamount).'</td>'; + print '<td class="nowrap" align="right">'.price($total).'</td>'; print '</tr>'; } else @@ -285,16 +285,16 @@ if (is_array($coll_list)) } } print "<tr ".$bc[$var].">"; - print "<td nowrap>".$i."</td>"; + print '<td class="nowrap">'.$i."</td>"; $company_static->id=$coll->socid; $company_static->nom=$coll->nom; $company_static->fournisseur=1; - print '<td nowrap>'.$company_static->getNomUrl(1,'supplier').'</td>'; + print '<td class="nowrap">'.$company_static->getNomUrl(1,'supplier').'</td>'; $find = array(' ','.'); $replace = array('',''); - print "<td nowrap>".$intra."</td>"; - print "<td nowrap align=\"right\">".price($coll->amount)."</td>"; - print "<td nowrap align=\"right\">".price($coll->tva)."</td>"; + print '<td class="nowrap">'.$intra."</td>"; + print "<td class=\"nowrap\" align=\"right\">".price($coll->amount)."</td>"; + print "<td class=\"nowrap\" align=\"right\">".price($coll->tva)."</td>"; $totalamount = $totalamount + $coll->amount; $total = $total + $coll->tva; print "</tr>\n"; @@ -304,8 +304,8 @@ if (is_array($coll_list)) $x_paye_sum = $total; print '<tr class="liste_total"><td align="right" colspan="3">'.$langs->trans("Total").':</td>'; - print '<td nowrap align="right">'.price($totalamount).'</td>'; - print '<td nowrap align="right">'.price($total).'</td>'; + print '<td class="nowrap" align="right">'.price($totalamount).'</td>'; + print '<td class="nowrap" align="right">'.price($total).'</td>'; print '</tr>'; print '</table>'; diff --git a/htdocs/compta/tva/index.php b/htdocs/compta/tva/index.php index 7f23b6cfded..9bd05274f0a 100644 --- a/htdocs/compta/tva/index.php +++ b/htdocs/compta/tva/index.php @@ -158,7 +158,7 @@ for ($m = 1 ; $m < 13 ; $m++ ) $var=!$var; print "<tr ".$bc[$var].">"; - print '<td nowrap><a href="quadri_detail.php?leftmenu=tax_vat&month='.$m.'&year='.$y.'">'.dol_print_date(dol_mktime(0,0,0,$m,1,$y),"%b %Y").'</a></td>'; + print '<td class="nowrap"><a href="quadri_detail.php?leftmenu=tax_vat&month='.$m.'&year='.$y.'">'.dol_print_date(dol_mktime(0,0,0,$m,1,$y),"%b %Y").'</a></td>'; $x_coll = 0; foreach($coll_listsell as $vatrate=>$val) @@ -166,7 +166,7 @@ for ($m = 1 ; $m < 13 ; $m++ ) $x_coll+=$val['vat']; } $subtotalcoll = $subtotalcoll + $x_coll; - print "<td nowrap align=\"right\">".price($x_coll)."</td>"; + print "<td class=\"nowrap\" align=\"right\">".price($x_coll)."</td>"; $x_paye = 0; foreach($coll_listbuy as $vatrate=>$val) @@ -174,13 +174,13 @@ for ($m = 1 ; $m < 13 ; $m++ ) $x_paye+=$val['vat']; } $subtotalpaye = $subtotalpaye + $x_paye; - print "<td nowrap align=\"right\">".price($x_paye)."</td>"; + print "<td class=\"nowrap\" align=\"right\">".price($x_paye)."</td>"; $diff = $x_coll - $x_paye; $total = $total + $diff; $subtotal = $subtotal + $diff; - print "<td nowrap align=\"right\">".price($diff)."</td>\n"; + print "<td class=\"nowrap\" align=\"right\">".price($diff)."</td>\n"; print "<td> </td>\n"; print "</tr>\n"; diff --git a/htdocs/compta/tva/quadri.php b/htdocs/compta/tva/quadri.php index d283f877817..b97eca7bacb 100644 --- a/htdocs/compta/tva/quadri.php +++ b/htdocs/compta/tva/quadri.php @@ -263,11 +263,11 @@ if ($conf->global->COMPTA_MODE == "CREANCES-DETTES") $var=!$var; print "<tr ".$bc[$var].">"; print "<td>$rate%</td>"; - print "<td nowrap align=\"right\">".price($both['coll']['totalht'])."</td>"; - print "<td nowrap align=\"right\">".price($both['coll']['vat'])."</td>"; + print "<td class=\"nowrap\" align=\"right\">".price($both['coll']['totalht'])."</td>"; + print "<td class=\"nowrap\" align=\"right\">".price($both['coll']['vat'])."</td>"; print "<td align=\"right\">".$both['coll']['links']."</td>"; - print "<td nowrap align=\"right\">".price($both['paye']['totalht'])."</td>"; - print "<td nowrap align=\"right\">".price($both['paye']['vat'])."</td>"; + print "<td class=\"nowrap\" align=\"right\">".price($both['paye']['totalht'])."</td>"; + print "<td class=\"nowrap\" align=\"right\">".price($both['paye']['vat'])."</td>"; print "<td align=\"right\">".$both['paye']['links']."</td>"; print "<td></td>"; print "</tr>"; @@ -286,7 +286,7 @@ if ($conf->global->COMPTA_MODE == "CREANCES-DETTES") $var=!$var; print "<tr ".$bc[$var].">"; print '<td colspan="7"></td>'; - print "<td nowrap align=\"right\">".price($diff)."</td>\n"; + print "<td class=\"nowrap\" align=\"right\">".price($diff)."</td>\n"; print "</tr>\n"; $i++; diff --git a/htdocs/compta/tva/quadri_detail.php b/htdocs/compta/tva/quadri_detail.php index 88c1be06409..0d859d96c06 100644 --- a/htdocs/compta/tva/quadri_detail.php +++ b/htdocs/compta/tva/quadri_detail.php @@ -342,7 +342,7 @@ else print '<tr '.$bc[$var].'>'; // Ref - print '<td nowrap align="left">'.$fields['link'].'</td>'; + print '<td class="nowrap" align="left">'.$fields['link'].'</td>'; // Description print '<td align="left">'; @@ -374,7 +374,7 @@ else // Total HT if ($modetax == 0) { - print '<td nowrap align="right">'; + print '<td class="nowrap" align="right">'; print price($fields['totalht']); if (price2num($fields['ftotal_ttc'])) { @@ -390,7 +390,7 @@ else if ($modetax == 0) { if (isset($fields['payment_amount']) && $fields['ftotal_ttc']) $ratiopaymentinvoice=($fields['payment_amount']/$fields['ftotal_ttc']); - print '<td nowrap align="right">'; + print '<td class="nowrap" align="right">'; //print $fields['totalht']."-".$fields['payment_amount']."-".$fields['ftotal_ttc']; if ($fields['payment_amount'] && $fields['ftotal_ttc']) { @@ -409,14 +409,14 @@ else } // Total collected - print '<td nowrap align="right">'; + print '<td class="nowrap" align="right">'; $temp_ht=$fields['totalht']; if ($type == 1) $temp_ht=$fields['totalht']*$ratiopaymentinvoice; print price(price2num($temp_ht,'MT')); print '</td>'; // VAT - print '<td nowrap align="right">'; + print '<td class="nowrap" align="right">'; $temp_vat=$fields['vat']; if ($type == 1) $temp_vat=$fields['vat']*$ratiopaymentinvoice; print price(price2num($temp_vat,'MT')); @@ -435,11 +435,11 @@ else print '<td align="right">'.$langs->trans("Total").':</td>'; if ($modetax == 0) { - print '<td nowrap align="right"> </td>'; + print '<td class="nowrap" align="right"> </td>'; print '<td align="right"> </td>'; } print '<td align="right">'.price(price2num($subtot_coll_total_ht,'MT')).'</td>'; - print '<td nowrap align="right">'.price(price2num($subtot_coll_vat,'MT')).'</td>'; + print '<td class="nowrap" align="right">'.price(price2num($subtot_coll_vat,'MT')).'</td>'; print '</tr>'; } @@ -450,11 +450,11 @@ else print '<td align="right">'.$langs->trans("Total").':</td>'; if ($modetax == 0) { - print '<td nowrap align="right"> </td>'; + print '<td class="nowrap" align="right"> </td>'; print '<td align="right"> </td>'; } print '<td align="right">'.price(price2num(0,'MT')).'</td>'; - print '<td nowrap align="right">'.price(price2num(0,'MT')).'</td>'; + print '<td class="nowrap" align="right">'.price(price2num(0,'MT')).'</td>'; print '</tr>'; } @@ -499,7 +499,7 @@ else print '<tr '.$bc[$var].'>'; // Ref - print '<td nowrap align="left">'.$fields['link'].'</td>'; + print '<td class="nowrap" align="left">'.$fields['link'].'</td>'; // Description print '<td align="left">'; @@ -525,7 +525,7 @@ else // Total HT if ($modetax == 0) { - print '<td nowrap align="right">'; + print '<td class="nowrap" align="right">'; print price($fields['totalht']); if (price2num($fields['ftotal_ttc'])) { @@ -541,7 +541,7 @@ else if ($modetax == 0) { if (isset($fields['payment_amount']) && $fields['ftotal_ttc']) $ratiopaymentinvoice=($fields['payment_amount']/$fields['ftotal_ttc']); - print '<td nowrap align="right">'; + print '<td class="nowrap" align="right">'; if ($fields['payment_amount'] && $fields['ftotal_ttc']) { $paymentfourn_static->id=$fields['payment_id']; @@ -560,14 +560,14 @@ else } // VAT paid - print '<td nowrap align="right">'; + print '<td class="nowrap" align="right">'; $temp_ht=$fields['totalht']; if ($type == 1) $temp_ht=$fields['totalht']*$ratiopaymentinvoice; print price(price2num($temp_ht,'MT')); print '</td>'; // VAT - print '<td nowrap align="right">'; + print '<td class="nowrap" align="right">'; $temp_vat=$fields['vat']; if ($type == 1) $temp_vat=$fields['vat']*$ratiopaymentinvoice; print price(price2num($temp_vat,'MT')); @@ -586,11 +586,11 @@ else print '<td align="right">'.$langs->trans("Total").':</td>'; if ($modetax == 0) { - print '<td nowrap align="right"> </td>'; + print '<td class="nowrap" align="right"> </td>'; print '<td align="right"> </td>'; } print '<td align="right">'.price(price2num($subtot_paye_total_ht,'MT')).'</td>'; - print '<td nowrap align="right">'.price(price2num($subtot_paye_vat,'MT')).'</td>'; + print '<td class="nowrap" align="right">'.price(price2num($subtot_paye_vat,'MT')).'</td>'; print '</tr>'; } @@ -601,11 +601,11 @@ else print '<td align="right">'.$langs->trans("Total").':</td>'; if ($modetax == 0) { - print '<td nowrap align="right"> </td>'; + print '<td class="nowrap" align="right"> </td>'; print '<td align="right"> </td>'; } print '<td align="right">'.price(price2num(0,'MT')).'</td>'; - print '<td nowrap align="right">'.price(price2num(0,'MT')).'</td>'; + print '<td class="nowrap" align="right">'.price(price2num(0,'MT')).'</td>'; print '</tr>'; } diff --git a/htdocs/compta/tva/reglement.php b/htdocs/compta/tva/reglement.php index 4ca5f298514..ea9f7ea445d 100644 --- a/htdocs/compta/tva/reglement.php +++ b/htdocs/compta/tva/reglement.php @@ -60,9 +60,9 @@ if ($result) print '<table class="noborder" width="100%">'; print '<tr class="liste_titre">'; - print '<td nowrap align="left">'.$langs->trans("Ref").'</td>'; + print '<td class="nowrap" align="left">'.$langs->trans("Ref").'</td>'; print "<td>".$langs->trans("Label")."</td>"; - print '<td nowrap align="left">'.$langs->trans("DatePayment").'</td>'; + print '<td class="nowrap" align="left">'.$langs->trans("DatePayment").'</td>'; print "<td align=\"right\">".$langs->trans("PayedByThisPayment")."</td>"; print "</tr>\n"; $var=1; diff --git a/htdocs/contact/canvas/default/tpl/contactcard_edit.tpl.php b/htdocs/contact/canvas/default/tpl/contactcard_edit.tpl.php index 0810624eb4c..a445444e42c 100644 --- a/htdocs/contact/canvas/default/tpl/contactcard_edit.tpl.php +++ b/htdocs/contact/canvas/default/tpl/contactcard_edit.tpl.php @@ -111,7 +111,7 @@ echo $this->control->tpl['ajax_selectcountry']; <td><?php echo $langs->trans("Email"); ?></td> <td><input name="email" type="text" size="50" maxlength="80" value="<?php echo $this->control->tpl['email']; ?>"></td> <?php if ($this->control->tpl['nb_emailing']) { ?> - <td nowrap><?php echo $langs->trans("NbOfEMailingsReceived"); ?></td> + <td class="nowrap"><?php echo $langs->trans("NbOfEMailingsReceived"); ?></td> <td><?php echo $this->control->tpl['nb_emailing']; ?></td> <?php } else { ?> <td colspan="2"> </td> diff --git a/htdocs/contact/canvas/default/tpl/contactcard_view.tpl.php b/htdocs/contact/canvas/default/tpl/contactcard_view.tpl.php index d0ad081e92e..d7556f09f9f 100644 --- a/htdocs/contact/canvas/default/tpl/contactcard_view.tpl.php +++ b/htdocs/contact/canvas/default/tpl/contactcard_view.tpl.php @@ -96,7 +96,7 @@ dol_htmloutput_errors($this->control->tpl['error'],$this->control->tpl['errors'] <td><?php echo $langs->trans("EMail"); ?></td> <td><?php echo $this->control->tpl['email']; ?></td> <?php if ($this->control->tpl['nb_emailing']) { ?> - <td nowrap><?php echo $langs->trans("NbOfEMailingsReceived"); ?></td> + <td class="nowrap"><?php echo $langs->trans("NbOfEMailingsReceived"); ?></td> <td><?php echo $this->control->tpl['nb_emailing']; ?></td> <?php } else { ?> <td colspan="2"> </td> diff --git a/htdocs/contact/fiche.php b/htdocs/contact/fiche.php index 94e8fadf3bf..7a88eb7d8cd 100644 --- a/htdocs/contact/fiche.php +++ b/htdocs/contact/fiche.php @@ -678,7 +678,7 @@ else if (! empty($conf->mailing->enabled)) { $langs->load("mails"); - print '<td nowrap>'.$langs->trans("NbOfEMailingsReceived").'</td>'; + print '<td class="nowrap">'.$langs->trans("NbOfEMailingsReceived").'</td>'; print '<td>'.$object->getNbOfEMailings().'</td>'; } else @@ -879,7 +879,7 @@ else if (! empty($conf->mailing->enabled)) { $langs->load("mails"); - print '<td nowrap>'.$langs->trans("NbOfEMailingsReceived").'</td>'; + print '<td class="nowrap">'.$langs->trans("NbOfEMailingsReceived").'</td>'; print '<td><a href="'.DOL_URL_ROOT.'/comm/mailing/liste.php?filteremail='.urlencode($object->email).'">'.$object->getNbOfEMailings().'</a></td>'; } else diff --git a/htdocs/contrat/index.php b/htdocs/contrat/index.php index 845eaad86bb..05ee288b42c 100644 --- a/htdocs/contrat/index.php +++ b/htdocs/contrat/index.php @@ -80,9 +80,9 @@ if (! empty($conf->contrat->enabled)) print '<table class="noborder nohover" width="100%">'; print '<tr class="liste_titre"><td colspan="3">'.$langs->trans("SearchAContract").'</td></tr>'; print '<tr '.$bc[$var].'>'; - print '<td nowrap>'.$langs->trans("Ref").':</td><td><input type="text" class="flat" name="search_contract" size="18"></td>'; + print '<td class="nowrap">'.$langs->trans("Ref").':</td><td><input type="text" class="flat" name="search_contract" size="18"></td>'; print '<td rowspan="2"><input type="submit" value="'.$langs->trans("Search").'" class="button"></td></tr>'; - print '<tr '.$bc[$var].'><td nowrap>'.$langs->trans("Other").':</td><td><input type="text" class="flat" name="sall" size="18"></td>'; + print '<tr '.$bc[$var].'><td class="nowrap">'.$langs->trans("Other").':</td><td><input type="text" class="flat" name="sall" size="18"></td>'; print '</tr>'; print "</table></form>\n"; print "<br>"; @@ -255,7 +255,7 @@ if (! empty($conf->contrat->enabled) && $user->rights->contrat->lire) while ($i < $num && $i < 20) { $obj = $db->fetch_object($resql); - print '<tr '.$bc[$var].'><td nowrap>'; + print '<tr '.$bc[$var].'><td class="nowrap">'; $staticcontrat->ref=$obj->ref; $staticcontrat->id=$obj->rowid; print $staticcontrat->getNomUrl(1,''); diff --git a/htdocs/core/filemanagerdol/browser/default/frmcreatefolder.php b/htdocs/core/filemanagerdol/browser/default/frmcreatefolder.php index c19c0d5ec43..44b00b2154c 100755 --- a/htdocs/core/filemanagerdol/browser/default/frmcreatefolder.php +++ b/htdocs/core/filemanagerdol/browser/default/frmcreatefolder.php @@ -128,7 +128,7 @@ window.onload = function() <tr> <td><?php echo img_picto_common('','treemenu/folder.gif','width="16" height="16"'); ?></td> <td> </td> - <td nowrap>Create New Folder</td> + <td class="nowrap">Create New Folder</td> </tr> </table> </button> diff --git a/htdocs/core/modules/dons/html_cerfafr.html b/htdocs/core/modules/dons/html_cerfafr.html index 2f21e1c0afe..ebdd30c9376 100644 --- a/htdocs/core/modules/dons/html_cerfafr.html +++ b/htdocs/core/modules/dons/html_cerfafr.html @@ -22,7 +22,7 @@ __DonationRef__ <table width="100%" border="0" bgcolor="#000000" cellspacing="0" cellpadding="3"> <tr bgcolor="#ffffff" align="center"> - <td nowrap> + <td class="nowrap"> <table border="0" cellspacing="0" cellpadding="1"> <tr> <td width="40" class="nowrap">No:</td> @@ -45,7 +45,7 @@ <td valign="bottom"> <table width="100%" border="0" bgcolor="#ffffff" cellspacing="0" cellpadding="3"> <tr bgcolor="#e0e0e0" align="center"> - <td nowrap> + <td class="nowrap"> <font size="+2"> <b>__DonationRecipient__</b> </font> @@ -79,7 +79,7 @@ <td valign="bottom"> <table width="100%" border="0" bgcolor="#ffffff" cellspacing="0" cellpadding="3"> <tr bgcolor="#e0e0e0" align="center"> - <td nowrap> + <td class="nowrap"> <font size="+2"> <b>__Donor__</b> </font> diff --git a/htdocs/expedition/contact.php b/htdocs/expedition/contact.php index c907cf89ba0..bd396f0e8f5 100644 --- a/htdocs/expedition/contact.php +++ b/htdocs/expedition/contact.php @@ -199,7 +199,7 @@ if ($id > 0 || ! empty($ref)) // Ref expedition client print '<tr><td>'; - print '<table class="nobordernopadding" width="100%"><tr><td nowrap>'; + print '<table class="nobordernopadding" width="100%"><tr><td class="nowrap">'; print $langs->trans('RefCustomer').'</td><td align="left">'; print '</td>'; print '</tr></table>'; diff --git a/htdocs/expedition/shipment.php b/htdocs/expedition/shipment.php index f381b5bbd1c..33cf13ffc6f 100644 --- a/htdocs/expedition/shipment.php +++ b/htdocs/expedition/shipment.php @@ -185,7 +185,7 @@ if ($id > 0 || ! empty($ref)) // Ref commande client print '<tr><td>'; - print '<table class="nobordernopadding" width="100%"><tr><td nowrap>'; + print '<table class="nobordernopadding" width="100%"><tr><td class="nowrap">'; print $langs->trans('RefCustomer').'</td><td align="left">'; print '</td>'; if ($action != 'RefCustomerOrder' && $commande->brouillon) print '<td align="right"><a href="'.$_SERVER['PHP_SELF'].'?action=RefCustomerOrder&id='.$commande->id.'">'.img_edit($langs->trans('Modify')).'</a></td>'; diff --git a/htdocs/fourn/commande/fiche.php b/htdocs/fourn/commande/fiche.php index 516a975e5ab..00d7589448a 100644 --- a/htdocs/fourn/commande/fiche.php +++ b/htdocs/fourn/commande/fiche.php @@ -1226,8 +1226,8 @@ elseif (! empty($object->id)) // Conditions de reglement par defaut $langs->load('bills'); $form = new Form($db); - print '<tr><td nowrap>'; - print '<table width="100%" class="nobordernopadding"><tr><td nowrap>'; + print '<tr><td class="nowrap">'; + print '<table width="100%" class="nobordernopadding"><tr><td class="nowrap">'; print $langs->trans('PaymentConditions'); print '<td>'; if ($action != 'editconditions') print '<td align="right"><a href="'.$_SERVER["PHP_SELF"].'?action=editconditions&id='.$object->id.'">'.img_edit($langs->trans('SetConditions'),1).'</a></td>'; @@ -1247,8 +1247,8 @@ elseif (! empty($object->id)) // Mode of payment $langs->load('bills'); $form = new Form($db); - print '<tr><td nowrap>'; - print '<table width="100%" class="nobordernopadding"><tr><td nowrap>'; + print '<tr><td class="nowrap">'; + print '<table width="100%" class="nobordernopadding"><tr><td class="nowrap">'; print $langs->trans('PaymentMode'); print '</td>'; if ($action != 'editmode') print '<td align="right"><a href="'.$_SERVER["PHP_SELF"].'?action=editmode&id='.$object->id.'">'.img_edit($langs->trans('SetMode'),1).'</a></td>'; diff --git a/htdocs/fourn/commande/index.php b/htdocs/fourn/commande/index.php index 52064cb39eb..9a1aaf4164f 100644 --- a/htdocs/fourn/commande/index.php +++ b/htdocs/fourn/commande/index.php @@ -64,7 +64,7 @@ print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">'; print '<tr class="liste_titre"><td colspan="3">'.$langs->trans("SearchOrder").'</td></tr>'; print '<tr '.$bc[$var].'><td>'; print $langs->trans("Ref").':</td><td><input type="text" class="flat" name="search_ref" size=18></td><td rowspan="2"><input type="submit" value="'.$langs->trans("Search").'" class="button"></td></tr>'; -print '<tr '.$bc[$var].'><td nowrap>'.$langs->trans("Other").':</td><td><input type="text" class="flat" name="search_all" size="18"></td>'; +print '<tr '.$bc[$var].'><td class="nowrap">'.$langs->trans("Other").':</td><td><input type="text" class="flat" name="search_all" size="18"></td>'; print '</tr>'; print "</form></table><br>\n"; diff --git a/htdocs/fourn/facture/impayees.php b/htdocs/fourn/facture/impayees.php index 4a7b61f2768..87c3c7e6dc8 100644 --- a/htdocs/fourn/facture/impayees.php +++ b/htdocs/fourn/facture/impayees.php @@ -237,16 +237,16 @@ if ($user->rights->fournisseur->facture->lire) print "<tr ".$bc[$var].">"; $classname = "impayee"; - print '<td nowrap>'; + print '<td class="nowrap">'; $facturestatic->id=$objp->facid; $facturestatic->ref=$objp->ref; print $facturestatic->getNomUrl(1); print "</td>\n"; - print "<td nowrap>".dol_trunc($objp->ref_supplier,12)."</td>\n"; + print '<td class="nowrap">'.dol_trunc($objp->ref_supplier,12)."</td>\n"; - print "<td nowrap align=\"center\">".dol_print_date($db->jdate($objp->df),'day')."</td>\n"; - print "<td nowrap align=\"center\">".dol_print_date($db->jdate($objp->datelimite),'day'); + print '<td class="nowrap" align="center">'.dol_print_date($db->jdate($objp->df),'day')."</td>\n"; + print '<td class="nowrap" align="center">'.dol_print_date($db->jdate($objp->datelimite),'day'); if ($objp->datelimite && $db->jdate($objp->datelimite) < ($now - $conf->facture->fournisseur->warning_delay) && ! $objp->paye && $objp->fk_statut == 1) print img_warning($langs->trans("Late")); print "</td>\n"; diff --git a/htdocs/fourn/fiche.php b/htdocs/fourn/fiche.php index 5899870b955..d61d49476bc 100644 --- a/htdocs/fourn/fiche.php +++ b/htdocs/fourn/fiche.php @@ -190,7 +190,7 @@ if ($object->fetch($id)) } // TVA Intra - print '<tr><td nowrap>'.$langs->trans('VATIntra').'</td><td colspan="3">'; + print '<tr><td class="nowrap">'.$langs->trans('VATIntra').'</td><td colspan="3">'; print $object->tva_intra; print '</td></tr>'; diff --git a/htdocs/install/repair.php b/htdocs/install/repair.php index 2751c963158..a6c0975ec97 100644 --- a/htdocs/install/repair.php +++ b/htdocs/install/repair.php @@ -180,7 +180,7 @@ if ($ok) // Loop on each file foreach($filelist as $file) { - print '<tr><td nowrap>'; + print '<tr><td class="nowrap">'; print $langs->trans("Script").'</td><td align="right">'.$file.'</td></tr>'; $name = substr($file, 0, dol_strlen($file) - 4); diff --git a/htdocs/install/upgrade.php b/htdocs/install/upgrade.php index 886276197e3..904144cad66 100644 --- a/htdocs/install/upgrade.php +++ b/htdocs/install/upgrade.php @@ -369,7 +369,7 @@ if (! GETPOST("action") || preg_match('/upgrade/i',GETPOST('action'))) foreach($filelist as $file) { print '<tr><td colspan="2"><hr></td></tr>'; - print '<tr><td nowrap>'.$langs->trans("ChoosedMigrateScript").'</td><td align="right">'.$file.'</td></tr>'."\n"; + print '<tr><td class="nowrap">'.$langs->trans("ChoosedMigrateScript").'</td><td align="right">'.$file.'</td></tr>'."\n"; // Run sql script $ok=run_sql($dir.$file, 0, '', 1); @@ -399,7 +399,7 @@ if (! GETPOST("action") || preg_match('/upgrade/i',GETPOST('action'))) foreach ($modulesfile as $modulefilelong => $modulefileshort) { print '<tr><td colspan="2"><hr></td></tr>'; - print '<tr><td nowrap>'.$langs->trans("ChoosedMigrateScript").' (external modules)</td><td align="right">'.$modulefileshort.'</td></tr>'."\n"; + print '<tr><td class="nowrap">'.$langs->trans("ChoosedMigrateScript").' (external modules)</td><td align="right">'.$modulefileshort.'</td></tr>'."\n"; // Run sql script $okmodule=run_sql($modulefilelong, 0, '', 1); // Note: Result of migration of external module should not decide if we continue migration of Dolibarr or not. diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index c5aa1916f70..aa262f9a6c2 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -1070,8 +1070,8 @@ else if ($showbarcode) { // Barcode type - print '<tr><td nowrap>'; - print '<table width="100%" class="nobordernopadding"><tr><td nowrap>'; + print '<tr><td class="nowrap">'; + print '<table width="100%" class="nobordernopadding"><tr><td class="nowrap">'; print $langs->trans("BarcodeType"); print '<td>'; if (($action != 'editbarcodetype') && $user->rights->barcode->creer) print '<td align="right"><a href="'.$_SERVER["PHP_SELF"].'?action=editbarcodetype&id='.$object->id.'">'.img_edit($langs->trans('Edit'),1).'</a></td>'; @@ -1091,8 +1091,8 @@ else print '</td></tr>'."\n"; // Barcode value - print '<tr><td nowrap>'; - print '<table width="100%" class="nobordernopadding"><tr><td nowrap>'; + print '<tr><td class="nowrap">'; + print '<table width="100%" class="nobordernopadding"><tr><td class="nowrap">'; print $langs->trans("BarcodeValue"); print '<td>'; if (($action != 'editbarcode') && $user->rights->barcode->creer) print '<td align="right"><a href="'.$_SERVER["PHP_SELF"].'?action=editbarcode&id='.$object->id.'">'.img_edit($langs->trans('Edit'),1).'</a></td>'; diff --git a/htdocs/projet/admin/project.php b/htdocs/projet/admin/project.php index 136e5124ca5..658d87fff0d 100644 --- a/htdocs/projet/admin/project.php +++ b/htdocs/projet/admin/project.php @@ -444,7 +444,7 @@ foreach ($dirmodels as $reldir) print '</td>'; // Show example of numbering module - print '<td nowrap="nowrap">'; + print '<td class="nowrap"="nowrap">'; $tmp=$module->getExample(); if (preg_match('/^Error/',$tmp)) print '<div class="error">'.$langs->trans($tmp).'</div>'; elseif ($tmp=='NotConfigured') print $langs->trans($tmp); diff --git a/htdocs/user/home.php b/htdocs/user/home.php index a8a62df999a..3f43e40e43a 100644 --- a/htdocs/user/home.php +++ b/htdocs/user/home.php @@ -69,7 +69,7 @@ print '<table class="noborder" width="100%">'; print '<tr class="liste_titre"><td colspan="3">'.$langs->trans("SearchAUser").'</td></tr>'; print '<tr '.$bc[$var].'><td>'; print $langs->trans("Ref").':</td><td><input class="flat" type="text" name="search_user" size="18"></td><td rowspan="2"><input type="submit" value="'.$langs->trans("Search").'" class="button"></td></tr>'; -print '<tr '.$bc[$var].'><td nowrap>'.$langs->trans("Other").':</td><td><input type="text" class="flat" name="sall" size="18"></td></tr>'; +print '<tr '.$bc[$var].'><td class="nowrap">'.$langs->trans("Other").':</td><td><input type="text" class="flat" name="sall" size="18"></td></tr>'; print "</table><br>\n"; print '</form>'; @@ -83,7 +83,7 @@ if ($canreadperms) print '<tr class="liste_titre"><td colspan="3">'.$langs->trans("SearchAGroup").'</td></tr>'; print '<tr '.$bc[$var].'><td>'; print $langs->trans("Ref").':</td><td><input class="flat" type="text" name="search_group" size="18"></td><td rowspan="2"><input type="submit" value="'.$langs->trans("Search").'" class="button"></td></tr>'; - print '<tr '.$bc[$var].'><td nowrap>'.$langs->trans("Other").':</td><td><input type="text" class="flat" name="sall" size="18"></td></tr>'; + print '<tr '.$bc[$var].'><td class="nowrap">'.$langs->trans("Other").':</td><td><input type="text" class="flat" name="sall" size="18"></td></tr>'; print "</table><br>\n"; print '</form>'; } -- GitLab