From 262efb997f2c947a5d3e9f235aa1b1e997f71d77 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 2 Apr 2014 18:45:59 +0200 Subject: [PATCH] Fix: paddingrightonly must use $right and $left to be compatible with LTR languages. --- htdocs/core/class/html.form.class.php | 2 +- htdocs/theme/amarok/style.css.php | 7 +++++++ htdocs/theme/auguria/style.css.php | 5 ++--- htdocs/theme/bureau2crea/style.css.php | 7 +++++++ htdocs/theme/cameleo/style.css.php | 9 ++++++++- htdocs/theme/eldy/style.css.php | 5 ++--- 6 files changed, 27 insertions(+), 8 deletions(-) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 86bc2768840..4c1c82f6049 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -4051,7 +4051,7 @@ class Form if ($morehtml) { - $ret.=''.$morehtml; + $ret.=''.$morehtml; } if ($shownav && ($previous_ref || $next_ref)) { diff --git a/htdocs/theme/amarok/style.css.php b/htdocs/theme/amarok/style.css.php index 1784d20d9f2..13fbe768d5d 100644 --- a/htdocs/theme/amarok/style.css.php +++ b/htdocs/theme/amarok/style.css.php @@ -1130,6 +1130,13 @@ table a, div.tagtable a { vertical-align:middle; } +.paddingrightonly { + border-collapse: collapse; + border: 0px; + margin-left: 0px; + padding-: 0px !important; + padding-: 4px !important; +} .nocellnopadd { list-style-type:none; margin:0px; diff --git a/htdocs/theme/auguria/style.css.php b/htdocs/theme/auguria/style.css.php index 581dfa838e4..7cfc8e57b2c 100644 --- a/htdocs/theme/auguria/style.css.php +++ b/htdocs/theme/auguria/style.css.php @@ -1214,9 +1214,8 @@ background-repeat: repeat-x; border-collapse: collapse; border: 0px; margin-left: 0px; - spacing-left: 0px; - padding-left: 0px; - padding-right: 4px; + padding-: 0px !important; + padding-: 4px !important; } .nocellnopadd { list-style-type:none; diff --git a/htdocs/theme/bureau2crea/style.css.php b/htdocs/theme/bureau2crea/style.css.php index 178a36081ce..9e5b56b753b 100644 --- a/htdocs/theme/bureau2crea/style.css.php +++ b/htdocs/theme/bureau2crea/style.css.php @@ -1343,6 +1343,13 @@ background-repeat: repeat-x; } */ +.paddingrightonly { + border-collapse: collapse; + border: 0px; + margin-left: 0px; + padding-: 0px !important; + padding-: 4px !important; +} .nocellnopadd { list-style-type:none; margin: 0px; diff --git a/htdocs/theme/cameleo/style.css.php b/htdocs/theme/cameleo/style.css.php index d86edbab779..23e97ed2c6b 100644 --- a/htdocs/theme/cameleo/style.css.php +++ b/htdocs/theme/cameleo/style.css.php @@ -1378,6 +1378,13 @@ background-repeat: repeat-x; */ +.paddingrightonly { + border-collapse: collapse; + border: 0px; + margin-left: 0px; + padding-: 0px !important; + padding-: 4px !important; +} .nocellnopadd { list-style-type:none; margin: 0px; @@ -1472,7 +1479,7 @@ padding: 0px 0px; } table.nobordernopadding td { border: 0px; -padding: 0px 0px !important; +padding: 0px 0px; } /* For lists */ diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index f0885c24673..e4ff22532cc 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -1577,9 +1577,8 @@ span.butAction, span.butActionDelete { border-collapse: collapse; border: 0px; margin-left: 0px; - spacing-left: 0px; - padding-left: 0px; - padding-right: 4px; + padding-: 0px !important; + padding-: 4px !important; } .nocellnopadd { list-style-type:none;