';
$usersection .= img_picto('', 'phoning_fax', 'class="pictofixedwidth"');
$usersection .= dol_print_phone($object->office_fax, $object->country_code, 0, $mysoc->id, 'fax', ' ', 0, '');
- $usersection .= '
';
}
if ($object->user_mobile && !getDolUserInt('USER_PUBLIC_HIDE_USER_MOBILE', 0, $object)) {
$usersection .= '
';
$usersection .= img_picto('', 'phone', 'class="pictofixedwidth"');
$usersection .= dol_print_phone($object->user_mobile, $object->country_code, 0, $mysoc->id, 'tel', ' ', 0, '');
- $usersection .= '
';
+ $usersection .= '
';
}
// Social networks
@@ -324,7 +330,7 @@ if ($usersection) {
// Output payment summary form
print '
';
- print '';
+ print ' ';
print $usersection;
@@ -344,7 +350,7 @@ if (!getDolUserInt('USER_PUBLIC_HIDE_COMPANY', 0, $object)) {
$companysection .= ' ';
$companysection .= img_picto('', 'email', 'class="pictofixedwidth"');
$companysection .= dol_print_email($mysoc->email, 0, 0, 1);
- $companysection .= ' ';
+ $companysection .= ' ';
}
if ($mysoc->url) {
@@ -358,13 +364,13 @@ if (!getDolUserInt('USER_PUBLIC_HIDE_COMPANY', 0, $object)) {
$companysection .= ' ';
$companysection .= img_picto('', 'phone', 'class="pictofixedwidth"');
$companysection .= dol_print_phone($mysoc->phone, $mysoc->country_code, 0, $mysoc->id, 'tel', ' ', 0, '');
- $companysection .= ' ';
+ $companysection .= ' ';
}
if ($mysoc->fax) {
$companysection .= ' ';
$companysection .= img_picto('', 'phoning_fax', 'class="pictofixedwidth"');
$companysection .= dol_print_phone($mysoc->fax, $mysoc->country_code, 0, $mysoc->id, 'fax', ' ', 0, '');
- $companysection .= ' ';
+ $companysection .= ' ';
}
// Social networks
@@ -414,12 +420,12 @@ if (!getDolUserInt('USER_PUBLIC_HIDE_COMPANY', 0, $object)) {
// Output payment summary form
print ' ';
- print '';
+ print ' ';
// Add company info
if ($mysoc->name) {
print ' ';
- print $mysoc->name;
+ print dol_escape_htmltag($mysoc->name);
print ' ';
print ' ';
}
diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php
index 0b987de469e..e3df53d52cb 100644
--- a/htdocs/theme/eldy/global.inc.php
+++ b/htdocs/theme/eldy/global.inc.php
@@ -1770,6 +1770,13 @@ select.widthcentpercentminusxx, span.widthcentpercentminusxx:not(.select2-select
.smallonsmartphone {
font-size: 0.8em;
}
+
+ .nopaddingtoponsmartphone {
+ padding-top: 0 !important;
+ }
+ .nopaddingbottomonsmartphone {
+ padding-bottom: 0 !important;
+ }
}
/* Force values for small screen 570 */
diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php
index 0fde8b72044..429940fd537 100644
--- a/htdocs/theme/md/style.css.php
+++ b/htdocs/theme/md/style.css.php
@@ -1981,6 +1981,13 @@ select.widthcentpercentminusxx, span.widthcentpercentminusxx:not(.select2-select
.smallonsmartphone {
font-size: 0.8em;
}
+
+ .nopaddingtoponsmartphone {
+ padding-top: 0 !important;
+ }
+ .nopaddingbottomonsmartphone {
+ padding-bottom: 0 !important;
+ }
}
/* Force values for small screen 570 */
| |