From 98f26bfcfb90d96af01a9c72e0e9378f62ca4441 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 17 Sep 2018 14:31:30 +0200 Subject: [PATCH] NEW Can set 2 url in url field of thirdparty --- htdocs/admin/company.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/htdocs/admin/company.php b/htdocs/admin/company.php index f7242ee43bc..0f1f88f8c42 100644 --- a/htdocs/admin/company.php +++ b/htdocs/admin/company.php @@ -766,7 +766,13 @@ else // Web - print ''.$langs->trans("Web").'' . dol_print_url($conf->global->MAIN_INFO_SOCIETE_WEB,'_blank',80) . ''; + print ''.$langs->trans("Web").''; + $arrayofurl = preg_split('/\s/', $conf->global->MAIN_INFO_SOCIETE_WEB); + foreach($arrayofurl as $urltoshow) + { + if ($urltoshow) print dol_print_url($urltoshow,'_blank',80); + } + print ''; // Barcode if (! empty($conf->barcode->enabled))