diff --git a/htdocs/admin/livraison.php b/htdocs/admin/livraison.php index 3fd00c5727bd1e2ef1e5df0654e12bac0d155790..0235c7adc39a77819400e9be83ec85cf1e6e4b65 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 954ec82a9c2e825ed34b0beaaef1c6e76e339c04..5ca73fa0de35e1fe0f374a15c62864f16e59b9ce 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 7b88fa1bd6f957cd100accd3132d91a453adb4f3..1bd177a30158a271781532dad6a5949239a02d09 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 7ad74302655729db684ab9ea01f8b125b3e6f36c..2bb710b310f4a49657217b8c77133d289179270f 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 59b2e6c0a8057b10af64754fe640fcf4330bdf49..81a635e4d9f047383d5643f69c2d9633927fa86d 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 811e4a8d21175f515e70e752ad24dfe62cf9683c..f5409681be84527bead93c2631074987f3ee9cc0 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 f32fa89b59bc3ce2f98f4a2c0b43d9bde46d6c4c..dff264b6f25f0944b768fbf9d64aebea87d774b8 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 42944afabef74fd20b1f8cc25ad8f17df9a7592b..ac7cbdccb5d7558154a0f26b37619b040534a4b0 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 2fd7c86fb9a7a9215e0468b6d8b81499edd8c66f..0e14848d1e80f41771ba9f7b2e7341a7c0e7dcd6 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 7e94ec5a9125ed990d0bd25987e0076d06f76f25..2d7d432a51d6a0c3a32e3e89af04ce5b70aaa751 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 b0eca76345ba95bbac8cd73cd1af739b0ffe9bd2..b1b91cfb89c23a8f693cd9dbd8dde25bc2bcb056 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 70eb2e490920537eb86108c4a8c4b2daa499341e..45a594c12cd4ad83d619db0d23786b5474045f93 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 633c0dd4cf4f800576c7d54ee7d05e913f1fd4b1..a9ee5b6a839de062182673304b649189519febf2 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 e6496c32a58907af27de945fb1090b5431436989..1f3e0fc4c0c00bee673a2bff5c75daf850befeae 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 b4b92e760c5b415a56421d5aa60db6ca8f121997..10bc0b500f43296dd5d049adb05394109ce1fff4 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 cde8d1d4a355f5cb7941411a73bc5f509ab61808..055d4a4278765a16817de2ef8575e3adf2d60542 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 3c69388c8c978d29cff477db044af6b0e1be680c..2327c2063bef3df3af45e6df1e1a5c7d2f89bdde 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 c9ca34854b7170d9b9733238561e63c272ec1a68..58023beec33b69eb26e34b315fcb0d3985f03670 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 72599d118400d0bdde38b980a511ad97f5f3ef67..16696430d406f415155df857fb765ac492ae4938 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 9a3a55bfaf4a80a58d5cce053fdab202e37970d3..cc3f0cd548d3adcd374aab21eddd5fb80a322766 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 b8bc0b1ed105e1dbf883597a7b688c1fd87f3561..d51cac1399e2cfa88c8ae9fe73376cad98987ef3 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 d2dbceea47f112274945a884ec93a338191abb2e..b334053c5b451e92026a826b81e53ad795f3113f 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 f26b9a06089cefd2fd2d63e9674a31364287c3fc..6340e00c28fb0874286804e3fcf120e90d5e9a82 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 e2eb5ab610c496684fdcd82f546ab98a78874aef..72b02194bc15b6ea7e8cc1e3d63ea191aed32b2f 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 3f0cb9828d50e23af4e8012813d926da7d688672..8acfe896fede0bac724f521313ed08b1cc69b7fe 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 e750403bf2c6c7c5ecffa7b4ec7dbcdda19d8234..07d81d81df876e2cefcec55ebfcdfcc22114bd9d 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 a0e2d498ee039de262afd62b925d9498ee972ca1..d242deedb38ecd4ca37324841a10957c5f0471bf 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 83f248a39be9e27d09115b72afff037d7ef32673..871e8a583ef6845cec349b3bacd3ec24e7e2f545 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 7f23b6cfded433796c7e35da3efcb4e9415628e2..9bd05274f0a622e8729d80da2b9395d2c35cf316 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 d283f87781785018d87e0913ece80f4d0a625dce..b97eca7bacb3f13a66c79a290fd0e039a7c38108 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 88c1be064098f81038d416e95a476a7044fe6014..0d859d96c063ca932981fbcc215226f9a55e3155 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 4ca5f298514ec0b5655ad2d8b1cffcc95f9b7db8..ea9f7ea445dc77d3bc778c5a5c3d44261c19134b 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 0810624eb4c48c7089a50ed181b46453898d80f6..a445444e42cd3f0965743ff661d12903e4a37094 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 d0ad081e92e3f3738594b0611a34290cf567ffa4..d7556f09f9ff37b8c7c1fc9e8c2963105ca13a84 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 94e8fadf3bf3a54331ed509e1b97166ef867e4e3..7a88eb7d8cd1596e51859986f085866e79de9797 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 845eaad86bb9975dac99881f698106502a0e4f0f..05ee288b42c59198b213aabb6c4a09c5f146c6d9 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 c19c0d5ec436802ecdf158071071c2cc5bbebff7..44b00b2154c76cccb13e68a60a0886d81fca8181 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 2f21e1c0afe79425be7bd08b4a56ff250432346a..ebdd30c937630e59331b8f1007f80e7e37167494 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 c907cf89ba0dddaa685644f380969a28014beb58..bd396f0e8f5df2f75c52cfe5ad3b35caae025ab5 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 f381b5bbd1c0a886e56446f9a016d13f5a4f6cae..33cf13ffc6f25a6abd3bada323492c9a4f341cda 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 516a975e5abbff5b915d41d8243e92bb1e098b9e..00d7589448a5e9c8e9c9945ce2293acfa6a56752 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 52064cb39ebd3dd42b10258e9b7f6e75f3fa123a..9a1aaf4164f8c6ee53f1c709506872d3d66b2ec2 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 4a7b61f2768327884341a4e72bcf6dcc8c3ae0df..87c3c7e6dc8350846df199c742f5c5068511dcd8 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 5899870b955443e20cf9b602c1e6b3e2367fb3b0..d61d49476bc5ff015bbfab724c48e22af645e79d 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 2751c96315887215863a943063971e4270950794..a6c0975ec9762f2ef34b2511b875910194d928c5 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 886276197e32392f26b3e6ac24a3d22a2c6210da..904144cad66c4b87eabbf2a6829db3111db6dcc4 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 c5aa1916f7020ae2efe400e225598302937db40d..aa262f9a6c2102deee34327bd153b5fe9da7ab60 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 136e5124ca548611a8f3f5b56b9ea90c1f787309..658d87fff0d5ccaa6612412e7368302ba7e66ddb 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 a8a62df999aa4da7a842b3fc9094ccd6548c379d..3f43e40e43a2fd660538613c5d78e3c3eb541df0 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>'; }