From 6d7e6a0f8fae5a2893a3312cc6d1551c4fcfe5bb Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 17 Aug 2024 01:40:44 +0200 Subject: [PATCH 1/2] Look and feel --- htdocs/core/bookmarks_page.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/bookmarks_page.php b/htdocs/core/bookmarks_page.php index 06b855459ff..a6df90ac883 100644 --- a/htdocs/core/bookmarks_page.php +++ b/htdocs/core/bookmarks_page.php @@ -109,7 +109,7 @@ if (empty($conf->bookmark->enabled)) { $i++; } if ($i == 0) { - $bookmarkList .= '
'.$langs->trans("NoBookmarks").''; + $bookmarkList .= '
'.$langs->trans("NoBookmarks").'
'; $bookmarkList .= '

'; } From 223f87a78b71ca3ba5d661b782d905a01f51dadc Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 17 Aug 2024 02:02:32 +0200 Subject: [PATCH 2/2] Debug v20 --- htdocs/admin/company.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/admin/company.php b/htdocs/admin/company.php index e3b07183c1b..26ac145dde8 100644 --- a/htdocs/admin/company.php +++ b/htdocs/admin/company.php @@ -856,7 +856,7 @@ if ($mysoc->useLocalTax(1)) { print "\n"; } else { if (empty($mysoc->country_code)) { - print ''.$countrynotdefined.''; + print ''.$countrynotdefined.''; } else { print ''.$langs->trans("NoLocalTaxXForThisCountry", $langs->transnoentitiesnoconv("Setup"), $langs->transnoentitiesnoconv("Dictionaries"), $langs->transnoentitiesnoconv("DictionaryVAT"), $langs->transnoentitiesnoconv("LocalTax1Management")).''; } @@ -899,7 +899,7 @@ if ($mysoc->useLocalTax(2)) { print "\n"; } else { if (empty($mysoc->country_code)) { - print ''.$countrynotdefined.''; + print ''.$countrynotdefined.''; } else { print ''.$langs->trans("NoLocalTaxXForThisCountry", $langs->transnoentitiesnoconv("Setup"), $langs->transnoentitiesnoconv("Dictionaries"), $langs->transnoentitiesnoconv("DictionaryVAT"), $langs->transnoentitiesnoconv("LocalTax2Management")).''; } @@ -925,7 +925,7 @@ if ($mysoc->useRevenueStamp()) { print "\n"; } else { if (empty($mysoc->country_code)) { - print ''.$countrynotdefined.''; + print ''.$countrynotdefined.''; } else { print ''.$langs->trans("NoLocalTaxXForThisCountry", $langs->transnoentitiesnoconv("Setup"), $langs->transnoentitiesnoconv("Dictionaries"), $langs->transnoentitiesnoconv("DictionaryRevenueStamp"), $langs->transnoentitiesnoconv("RevenueStamp")).''; }