diff --git a/htdocs/comm/card.php b/htdocs/comm/card.php index 8058eaff9f8907c57180b4ed71930ccdcef7ec5e..6bf5c5a5dca314e21bb9af729487c1c51a4b2974 100644 --- a/htdocs/comm/card.php +++ b/htdocs/comm/card.php @@ -228,7 +228,7 @@ if ($id > 0) print '</td></tr>'; // Alias names (commercial, trademark or alias names) - print '<tr><td valign="top">'.$langs->trans('AliasNames').'</td><td colspan="3">'; + print '<tr><td>'.$langs->trans('AliasNames').'</td><td colspan="3">'; print $object->name_alias; print "</td></tr>"; @@ -265,7 +265,7 @@ if ($id > 0) } // Address - print '<tr><td valign="top">'.$langs->trans('Address').'</td><td colspan="3">'; + print '<tr><td>'.$langs->trans('Address').'</td><td colspan="3">'; dol_print_address($object->address,'gmap','thirdparty',$object->id); print "</td></tr>"; @@ -500,7 +500,7 @@ if ($id > 0) { $langs->load("members"); $langs->load("users"); - print '<tr><td width="25%" valign="top">'.$langs->trans("LinkedToDolibarrMember").'</td>'; + print '<tr><td width="25%">'.$langs->trans("LinkedToDolibarrMember").'</td>'; print '<td colspan="3">'; $adh=new Adherent($db); $result=$adh->fetch('','',$object->id); diff --git a/htdocs/compta/recap-compta.php b/htdocs/compta/recap-compta.php index 0375297316b09070195d4180ad4e32a12953c776..19ac5705ef1bb96e0666d4e634256e1dfd176264 100644 --- a/htdocs/compta/recap-compta.php +++ b/htdocs/compta/recap-compta.php @@ -115,7 +115,7 @@ if ($socid > 0) if (! $num > 0) { - print '<tr><td colspan="7">'.$langs->trans("NoInvoice").'</td></tr>'; + print '<tr '.$bc[false].'><td colspan="7">'.$langs->trans("NoInvoice").'</td></tr>'; } $solde = 0; diff --git a/htdocs/societe/agenda.php b/htdocs/societe/agenda.php index 31ddda849330858d399bbfec8b8fbb7a979a2f21..4648992506b0d9c5975ec1430c8abb2874a0b31b 100644 --- a/htdocs/societe/agenda.php +++ b/htdocs/societe/agenda.php @@ -87,7 +87,7 @@ if ($socid) print '</td></tr>'; // Alias names (commercial, trademark or alias names) - print '<tr><td valign="top">'.$langs->trans('AliasNames').'</td><td colspan="3">'; + print '<tr><td>'.$langs->trans('AliasNames').'</td><td colspan="3">'; print $object->name_alias; print "</td></tr>"; @@ -119,7 +119,7 @@ if ($socid) print '<tr><td>'.$langs->trans('Gencod').'</td><td colspan="3">'.$object->barcode.'</td></tr>'; } - print "<tr><td valign=\"top\">".$langs->trans('Address')."</td><td colspan=\"3\">"; + print "<tr><td>".$langs->trans('Address')."</td><td colspan=\"3\">"; dol_print_address($object->address, 'gmap', 'thirdparty', $object->id); print "</td></tr>"; diff --git a/htdocs/societe/consumption.php b/htdocs/societe/consumption.php index 18cc214246d538fd2349b0958e0a8f37672ea574..a883a2568d9189fa6cbd536cb62ffd42358d1b7c 100644 --- a/htdocs/societe/consumption.php +++ b/htdocs/societe/consumption.php @@ -1,6 +1,6 @@ <?php /* Copyright (C) 2012-2013 Philippe Berthet <berthet@systune.be> - * Copyright (C) 2004-2014 Laurent Destailleur <eldy@users.sourceforge.net> + * Copyright (C) 2004-2015 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2013-2015 Juanjo Menent <jmenent@2byte.es> * Copyright (C) 2015 Marcos GarcĂa <marcosgdf@gmail.com> * @@ -121,8 +121,8 @@ print $form->showrefnav($object,'socid','',($user->societe_id?0:1),'rowid','nom' print '</td></tr>'; // Alias names (commercial, trademark or alias names) -print '<tr id="name_alias"><td valign="top"><label for="name_alias_input">'.$langs->trans('AliasNames').'</label></td>'; -print '<td colspan="3"><input type="text" name="name_alias" id="name_alias_input" value="'.dol_escape_htmltag($object->name_alias).'" size="32"></td></tr>'; +print '<tr id="name_alias"><td><label for="name_alias_input">'.$langs->trans('AliasNames').'</label></td>'; +print '<td colspan="3">'.$object->name_alias.'</td></tr>'; if (! empty($conf->global->SOCIETE_USEPREFIX)) // Old not used prefix field { diff --git a/htdocs/societe/document.php b/htdocs/societe/document.php index a4ca499ab5ad54813d0002cc9f9f09ce39f75d55..f1961e02b2d29ca9c357eff737e285f9f9d9daee 100644 --- a/htdocs/societe/document.php +++ b/htdocs/societe/document.php @@ -119,7 +119,7 @@ if ($object->id) print '</td></tr>'; // Alias names (commercial, trademark or alias names) - print '<tr><td valign="top">'.$langs->trans('AliasNames').'</td><td colspan="3">'; + print '<tr><td>'.$langs->trans('AliasNames').'</td><td colspan="3">'; print $object->name_alias; print "</td></tr>"; diff --git a/htdocs/societe/note.php b/htdocs/societe/note.php index 271c69872ce73c7971b37d4513065769051448e8..c7db3b66645672eeeef7ad87e41f2b1dbec9b9af 100644 --- a/htdocs/societe/note.php +++ b/htdocs/societe/note.php @@ -83,7 +83,7 @@ if ($id > 0) print '</td></tr>'; // Alias names (commercial, trademark or alias names) - print '<tr><td valign="top">'.$langs->trans('AliasNames').'</td><td colspan="3">'; + print '<tr><td>'.$langs->trans('AliasNames').'</td><td colspan="3">'; print $object->name_alias; print "</td></tr>"; diff --git a/htdocs/societe/price.php b/htdocs/societe/price.php index 6f1f4e1a42cd47d07b7fec39da7511b92088163f..6246b203c83690519c63e9fd9e41a4f39792e798 100644 --- a/htdocs/societe/price.php +++ b/htdocs/societe/price.php @@ -1,6 +1,6 @@ <?php /* Copyright (C) 2001-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org> - * Copyright (C) 2004-2012 Laurent Destailleur <eldy@users.sourceforge.net> + * Copyright (C) 2004-2015 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2005 Eric Seigne <eric.seigne@ryxeo.com> * Copyright (C) 2005-2013 Regis Houssin <regis.houssin@capnetworks.com> * Copyright (C) 2006 Andre Cianfarani <acianfa@free.fr> @@ -138,7 +138,7 @@ print $form->showrefnav($soc, 'socid', '', ($user->societe_id ? 0 : 1), 'rowid', print '</td></tr>'; // Alias names (commercial, trademark or alias names) -print '<tr><td valign="top">'.$langs->trans('AliasNames').'</td><td colspan="3">'; +print '<tr><td>'.$langs->trans('AliasNames').'</td><td colspan="3">'; print $soc->name_alias; print "</td></tr>"; @@ -169,7 +169,7 @@ if (! empty($conf->barcode->enabled)) { print '<tr><td>' . $langs->trans('Gencod') . '</td><td colspan="3">' . $soc->barcode . '</td></tr>'; } -print "<tr><td valign=\"top\">" . $langs->trans('Address') . "</td><td colspan=\"3\">"; +print "<tr><td>" . $langs->trans('Address') . "</td><td colspan=\"3\">"; dol_print_address($soc->address, 'gmap', 'thirdparty', $soc->id); print "</td></tr>"; @@ -536,14 +536,16 @@ if (! empty($conf->global->PRODUIT_CUSTOMER_PRICES)) { // Action if ($user->rights->produit->creer || $user->rights->service->creer) { print '<td align="right">'; - print '<a href="' . $_SERVER["PHP_SELF"] . '?action=delete_customer_price&socid=' . $soc->id . '&lineid=' . $line->id . '">'; - print img_delete(); + print '<a href="' . $_SERVER["PHP_SELF"] . '?action=showlog_customer_price&socid=' . $soc->id . '&prodid=' . $line->fk_product . '">'; + print img_info(); print '</a>'; + print ' '; print '<a href="' . $_SERVER["PHP_SELF"] . '?action=edit_customer_price&socid=' . $soc->id . '&lineid=' . $line->id . '">'; - print img_edit(); + print img_edit('default', 0, 'style="vertical-align: middle;"'); print '</a>'; - print '<a href="' . $_SERVER["PHP_SELF"] . '?action=showlog_customer_price&socid=' . $soc->id . '&prodid=' . $line->fk_product . '">'; - print img_info(); + print ' '; + print '<a href="' . $_SERVER["PHP_SELF"] . '?action=delete_customer_price&socid=' . $soc->id . '&lineid=' . $line->id . '">'; + print img_delete('default', 'style="vertical-align: middle;"'); print '</a>'; print '</td>'; }