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.= '
| '.img_picto('',$picto, 'id="pictotitle"', $pictoisfullpath).' | '; + if ($picto) $return.= ''.img_picto('',$picto, 'id="pictotitle"', $pictoisfullpath).' | '; $return.= '';
$return.= ' '.$titre.' ';
$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; }