From 70e8c2331773976dcba122350e375f3559762303 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 25 Aug 2005 22:06:29 +0000 Subject: [PATCH] =?UTF-8?q?Affiche=20les=20bons=20identifiants=20r=E9gleme?= =?UTF-8?q?ntaires=20de=20soci=E9t=E9=20et=20dans=20la=20bonne=20langue=20?= =?UTF-8?q?en=20fonction=20de=20chaque=20pays.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/admin/index.php | 72 +++++++++++++++++++++--------------------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/htdocs/admin/index.php b/htdocs/admin/index.php index 4363da14c35..d18218b9960 100644 --- a/htdocs/admin/index.php +++ b/htdocs/admin/index.php @@ -160,68 +160,68 @@ if ((isset($_GET["action"]) && $_GET["action"] == 'edit') print ''; // ProfID1 - $var=!$var; - print ''.$langs->transcountry("ProfId1",$code_pays).''; - if ($conf->global->MAIN_INFO_SOCIETE_PAYS) + if ($langs->transcountry("ProfId1",$code_pays) != '-') { - if ($langs->transcountry("ProfId1",$code_pays) != '-') + $var=!$var; + print ''.$langs->transcountry("ProfId1",$code_pays).''; + if ($conf->global->MAIN_INFO_SOCIETE_PAYS) { print ''; } + else + { + print $countrynotdefined; + } + print ''; } - else - { - print $countrynotdefined; - } - print ''; // ProfId2 - $var=!$var; - print ''.$langs->transcountry("ProfId2",$code_pays).''; - if ($conf->global->MAIN_INFO_SOCIETE_PAYS) + if ($langs->transcountry("ProfId2",$code_pays) != '-') { - if ($langs->transcountry("ProfId2",$code_pays) != '-') + $var=!$var; + print ''.$langs->transcountry("ProfId2",$code_pays).''; + if ($conf->global->MAIN_INFO_SOCIETE_PAYS) { print ''; } + else + { + print $countrynotdefined; + } + print ''; } - else - { - print $countrynotdefined; - } - print ''; // ProfId3 - $var=!$var; - print ''.$langs->transcountry("ProfId3",$code_pays).''; - if ($conf->global->MAIN_INFO_SOCIETE_PAYS) + if ($langs->transcountry("ProfId3",$code_pays) != '-') { - if ($langs->transcountry("ProfId3",$code_pays) != '-') + $var=!$var; + print ''.$langs->transcountry("ProfId3",$code_pays).''; + if ($conf->global->MAIN_INFO_SOCIETE_PAYS) { print ''; } + else + { + print $countrynotdefined; + } + print ''; } - else - { - print $countrynotdefined; - } - print ''; // ProfId4 - $var=!$var; - print ''.$langs->transcountry("ProfId4",$code_pays).''; - if ($conf->global->MAIN_INFO_SOCIETE_PAYS) + if ($langs->transcountry("ProfId4",$code_pays) != '-') { - if ($langs->transcountry("ProfId4",$code_pays) != '-') + $var=!$var; + print ''.$langs->transcountry("ProfId4",$code_pays).''; + if ($conf->global->MAIN_INFO_SOCIETE_PAYS) { print ''; } + else + { + print $countrynotdefined; + } + print ''; } - else - { - print $countrynotdefined; - } - print ''; // TVA Intra $var=!$var;