From 0b808b42f9f3617fc84749adf5e730a1e9bc189b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 10 Apr 2012 10:55:20 +0200 Subject: [PATCH 1/3] Fix: translation --- htdocs/langs/en_US/bills.lang | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/langs/en_US/bills.lang b/htdocs/langs/en_US/bills.lang index 3b758e008ce..aced8c2c897 100644 --- a/htdocs/langs/en_US/bills.lang +++ b/htdocs/langs/en_US/bills.lang @@ -235,7 +235,7 @@ Discount=Discount Discounts=Discounts AddDiscount=Create discount AddRelativeDiscount=Create relative discount -EditRelativelDiscount=Edit relatvie discount +EditRelativeDiscount=Edit relative discount AddGlobalDiscount=Create absolute discount EditGlobalDiscounts=Edit absolute discounts AddCreditNote=Create credit note From 6618c4e658a7d7fa2331ed157030cabbc170c6a1 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 10 Apr 2012 11:00:42 +0200 Subject: [PATCH 2/3] Fix: W3C --- htdocs/core/boxes/box_produits.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/boxes/box_produits.php b/htdocs/core/boxes/box_produits.php index a45900672b6..10d85f10cda 100644 --- a/htdocs/core/boxes/box_produits.php +++ b/htdocs/core/boxes/box_produits.php @@ -130,7 +130,7 @@ class box_produits extends ModeleBoxes $this->info_box_contents[$i][2] = array('td' => 'align="right"', 'text' => $price); - $this->info_box_contents[$i][3] = array('td' => 'align="center" width="20" nowrap="nowrap"', + $this->info_box_contents[$i][3] = array('td' => 'align="left" nowrap="nowrap"', 'text' => $price_base_type); $this->info_box_contents[$i][4] = array('td' => 'align="right"', From caf2ad85ed304212fdde1587cb930fee22e61ac0 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 10 Apr 2012 11:18:01 +0200 Subject: [PATCH 3/3] Fix: bad link --- htdocs/admin/ihm.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/admin/ihm.php b/htdocs/admin/ihm.php index 920433691dc..48362cbc5f7 100644 --- a/htdocs/admin/ihm.php +++ b/htdocs/admin/ihm.php @@ -218,7 +218,7 @@ if ($action == 'edit') // Edit // Hide wiki link on login page $var=!$var; - print ''.$langs->trans("DisableLinkToHelp",img_picto('',DOL_URL_ROOT.'/theme/common/helpdoc.png','',1)).''; + print ''.$langs->trans("DisableLinkToHelp",img_picto('',DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/helpdoc.png','',1)).''; print $form->selectyesno('MAIN_HELP_DISABLELINK',isset($conf->global->MAIN_HELP_DISABLELINK)?$conf->global->MAIN_HELP_DISABLELINK:0,1); print ''; print ' '; @@ -366,7 +366,7 @@ else // Show // Link to wiki help $var=!$var; - print ''.$langs->trans("DisableLinkToHelp",img_picto('',DOL_URL_ROOT.'/theme/common/helpdoc.png','',1)).''; + print ''.$langs->trans("DisableLinkToHelp",img_picto('',DOL_URL_ROOT.'/theme/'.$conf->theme.'/img//helpdoc.png','',1)).''; print yn($conf->global->MAIN_HELP_DISABLELINK,1); print '';