From 74f19944b9f84a8c2084e16c8fdf5d27709e047e Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 20 Jun 2016 00:11:59 +0200 Subject: [PATCH] Fix rtl language ar_SA --- htdocs/core/lib/functions.lib.php | 2 +- htdocs/langs/ar_SA/main.lang | 2 +- htdocs/theme/eldy/style.css.php | 4 ++-- htdocs/theme/md/style.css.php | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index f53c5f934b3..495d7ce1c3c 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -2996,7 +2996,7 @@ function load_fiche_titre($titre, $mesg='', $picto='title_generic.png', $pictois $return.= "\n"; $return.= ''; - if ($picto) $return.= ''; + if ($picto) $return.= ''; $return.= ''; diff --git a/htdocs/langs/ar_SA/main.lang b/htdocs/langs/ar_SA/main.lang index 8c3bdbde5ea..b498146538c 100644 --- a/htdocs/langs/ar_SA/main.lang +++ b/htdocs/langs/ar_SA/main.lang @@ -1,5 +1,5 @@ # Dolibarr language file - Source file is en_US - main -DIRECTION=ltr +DIRECTION=rtl # Note for Chinese: # msungstdlight or cid0ct are for traditional Chinese (traditional does not render with Ubuntu pdf reader) # stsongstdlight or cid0cs are for simplified Chinese diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index 8928b9faa29..18e42d6e3be 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -817,7 +817,7 @@ div.ficheaddleft tr.liste_titre:first-child td table.nobordernopadding td { } #pictotitle { - margin-right: 8px; + margin-: 8px; margin-bottom: 4px; } .pictosubstatus { @@ -2952,7 +2952,7 @@ a.impayee:hover { font-weight: bold; color: #550000; } .fieldrequired { font-weight: bold; color: #000055; } -.widthpictotitle { width: 40px; } +.widthpictotitle { width: 40px; text-align: ; } .dolgraphtitle { margin-top: 6px; margin-bottom: 4px; } .dolgraphtitlecssboxes { margin: 0px; } diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index eda06ea99f6..6a9defb7451 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -842,7 +842,7 @@ table.noborder tr.liste_titre td { } #pictotitle { - margin-right: 8px; + margin-: 8px; margin-bottom: 4px; } .pictosubstatus { @@ -2804,7 +2804,7 @@ a.impayee:hover { font-weight: bold; color: #550000; } .fieldrequired { font-weight: bold; color: #000055; } -.widthpictotitle { width: 40px; } +.widthpictotitle { width: 40px; text-align: ; } .dolgraphtitle { margin-top: 6px; margin-bottom: 4px; } .dolgraphtitlecssboxes { margin: 0px; }
'.img_picto('',$picto, 'id="pictotitle"', $pictoisfullpath).''.img_picto('',$picto, 'id="pictotitle"', $pictoisfullpath).''; $return.= '
'.$titre.'
'; $return.= '