diff --git a/htdocs/soc.php b/htdocs/soc.php index a84ec5262df..555cc6b2a49 100644 --- a/htdocs/soc.php +++ b/htdocs/soc.php @@ -175,7 +175,9 @@ elseif ($action == 'edit') print 'Téléphone'; print 'Fax'; - print 'Webhttp://'; + print 'Web'; + if ($soc->url && ! ereg("http:\/\/",$soc->url)) { print 'http://'; } + print ''; print 'Siren'; print 'Siret'; @@ -291,7 +293,9 @@ else print 'Tel'.$soc->tel.''; print 'Fax'.$soc->fax.''; - print 'Webhttp://'.$soc->url.''; + print 'Web'; + if ($soc->url) { print 'http://'.$soc->url.''; } + print ''; print 'Siren'.$soc->siren.' ';