From d8f86708b1357735adef4b586012b9160c60b634 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@destailleur.fr> Date: Fri, 19 Jun 2015 00:36:03 +0200 Subject: [PATCH] Minor look fix --- htdocs/product/composition/card.php | 4 ++-- htdocs/product/stats/card.php | 4 ++-- htdocs/product/stock/tpl/stockcorrection.tpl.php | 4 +++- htdocs/product/stock/tpl/stocktransfer.tpl.php | 3 ++- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/htdocs/product/composition/card.php b/htdocs/product/composition/card.php index 6809e3d3a52..bd878c4ce9d 100644 --- a/htdocs/product/composition/card.php +++ b/htdocs/product/composition/card.php @@ -290,7 +290,7 @@ if ($id > 0 || ! empty($ref)) } else { - print '<tr>'; + print '<tr clas="impair">'; print '<td colspan="3">'.$langs->trans("None").'</td>'; print '</tr>'; } @@ -436,7 +436,7 @@ if ($id > 0 || ! empty($ref)) $colspan=6; if (! empty($conf->stock->enabled)) $colspan++; - print '<tr>'; + print '<tr class="impair">'; print '<td colspan="'.$colspan.'">'.$langs->trans("None").'</td>'; print '</tr>'; } diff --git a/htdocs/product/stats/card.php b/htdocs/product/stats/card.php index 60e3cba31e3..d8ca1fa15d0 100644 --- a/htdocs/product/stats/card.php +++ b/htdocs/product/stats/card.php @@ -1,6 +1,6 @@ <?php /* Copyright (C) 2001-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org> - * Copyright (c) 2004-2013 Laurent Destailleur <eldy@users.sourceforge.net> + * Copyright (c) 2004-2015 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com> * Copyright (C) 2005 Eric Seigne <eric.seigne@ryxeo.com> * Copyright (C) 2013 Juanjo Menent <jmenent@2byte.es> @@ -229,7 +229,7 @@ if (! empty($id) || ! empty($ref)) print $graphfiles[$key]['label']; print '</td></tr>'; // Image - print '<tr><td colspan="2" align="center">'; + print '<tr class="impair"><td colspan="2" class="nohover" align="center">'; print $graphfiles[$key]['output']; print '</td></tr>'; // Date generation diff --git a/htdocs/product/stock/tpl/stockcorrection.tpl.php b/htdocs/product/stock/tpl/stockcorrection.tpl.php index 501272983cd..dc102d8eb05 100644 --- a/htdocs/product/stock/tpl/stockcorrection.tpl.php +++ b/htdocs/product/stock/tpl/stockcorrection.tpl.php @@ -39,7 +39,9 @@ $langs->load("productbatch"); }); </script>'; - print_titre($langs->trans("StockCorrection")); + + print load_fiche_titre($langs->trans("StockCorrection"),'','title_generic.png'); + print '<form action="'.$_SERVER["PHP_SELF"].'?id='.$id.'" method="post">'."\n"; print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">'; print '<input type="hidden" name="action" value="correct_stock">'; diff --git a/htdocs/product/stock/tpl/stocktransfer.tpl.php b/htdocs/product/stock/tpl/stocktransfer.tpl.php index 556e924b07d..de947a75014 100644 --- a/htdocs/product/stock/tpl/stocktransfer.tpl.php +++ b/htdocs/product/stock/tpl/stocktransfer.tpl.php @@ -38,7 +38,8 @@ } } - print_titre($langs->trans("StockTransfer")); + print load_fiche_titre($langs->trans("StockTransfer"),'','title_generic.png'); + print '<form action="'.$_SERVER["PHP_SELF"].'?id='.$product->id.'" method="post">'."\n"; print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">'; print '<input type="hidden" name="action" value="transfert_stock">'; -- GitLab