diff --git a/htdocs/admin/company.php b/htdocs/admin/company.php index da955a67ea4..b82f0fcd765 100644 --- a/htdocs/admin/company.php +++ b/htdocs/admin/company.php @@ -178,13 +178,6 @@ if (($action == 'update' && !GETPOST("cancel", 'alpha')) } } - dolibarr_set_const($db, "MAIN_INFO_SOCIETE_FACEBOOK_URL", GETPOST("facebookurl", 'alpha'), 'chaine', 0, '', $conf->entity); - dolibarr_set_const($db, "MAIN_INFO_SOCIETE_TWITTER_URL", GETPOST("twitterurl", 'alpha'), 'chaine', 0, '', $conf->entity); - dolibarr_set_const($db, "MAIN_INFO_SOCIETE_LINKEDIN_URL", GETPOST("linkedinurl", 'alpha'), 'chaine', 0, '', $conf->entity); - dolibarr_set_const($db, "MAIN_INFO_SOCIETE_INSTAGRAM_URL", GETPOST("instagramurl", 'alpha'), 'chaine', 0, '', $conf->entity); - dolibarr_set_const($db, "MAIN_INFO_SOCIETE_YOUTUBE_URL", GETPOST("youtubeurl", 'alpha'), 'chaine', 0, '', $conf->entity); - dolibarr_set_const($db, "MAIN_INFO_SOCIETE_GITHUB_URL", GETPOST("githuburl", 'alpha'), 'chaine', 0, '', $conf->entity); - dolibarr_set_const($db, "MAIN_INFO_SOCIETE_MANAGERS", GETPOST("MAIN_INFO_SOCIETE_MANAGERS", 'nohtml'), 'chaine', 0, '', $conf->entity); dolibarr_set_const($db, "MAIN_INFO_GDPR", GETPOST("MAIN_INFO_GDPR", 'nohtml'), 'chaine', 0, '', $conf->entity); dolibarr_set_const($db, "MAIN_INFO_CAPITAL", GETPOST("capital", 'nohtml'), 'chaine', 0, '', $conf->entity); @@ -546,25 +539,6 @@ print ''; print ''; -// Social networks -print '
'; -print ''; -print ''; -print ''; -print "\n"; - -$listofnetworks = array('facebook'=>'facebook', 'twitter'=>'twitter', 'linkedin'=>'linkedin', 'instagram'=>'instagram', 'youtube'=>'youtube', 'github'=>'github'); -foreach ($listofnetworks as $networkkey => $networkicon) { - print ''; - print ''."\n"; -} - -print "
'.$langs->trans("SocialNetworksInformation").''.$langs->trans("Value").'
'; - print ''; - $networkconst = 'MAIN_INFO_SOCIETE_'.strtoupper($networkkey).'_URL'; - print ''; - print '
"; - print '
'; // IDs of the company (country-specific) @@ -711,7 +685,7 @@ print ' '; print "\n"; // Main tax -print ""; +print '"; print ''; $tooltiphelp = ''; if ($mysoc->country_code == 'FR') $tooltiphelp = ''.$langs->trans("Example").': '.$langs->trans("VATIsUsedExampleFR").""; @@ -719,7 +693,7 @@ print "