From 2fd6bde50425da84bec9a1ba4e3731689d7453dc Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 10 Dec 2008 14:11:59 +0000 Subject: [PATCH] Renamed option MAIN_AUTOFILL_TOWNFROMZIP --- htdocs/comm/adresse_livraison.php | 8 ++++---- htdocs/soc.php | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/htdocs/comm/adresse_livraison.php b/htdocs/comm/adresse_livraison.php index 24e7250f2a7..bbac58fedc0 100644 --- a/htdocs/comm/adresse_livraison.php +++ b/htdocs/comm/adresse_livraison.php @@ -229,9 +229,9 @@ if ($_GET["action"] == 'create' || $_POST["action"] == 'create') print ''; print ''.$langs->trans('Zip').'use_javascript_ajax && $conf->global->MAIN_AUTO_FILLTOWNFROMZIP) print ' onChange="autofilltownfromzip_PopupPostalCode(cp.value,ville)"'; + if ($conf->use_javascript_ajax && $conf->global->MAIN_AUTOFILL_TOWNFROMZIP) print ' onChange="autofilltownfromzip_PopupPostalCode(cp.value,ville)"'; print '>'; - if ($conf->use_javascript_ajax && $conf->global->MAIN_AUTO_FILLTOWNFROMZIP) print ' '; + if ($conf->use_javascript_ajax && $conf->global->MAIN_AUTOFILL_TOWNFROMZIP) print ' '; print ''; print ''.$langs->trans('Town').''; @@ -334,9 +334,9 @@ elseif ($_GET["action"] == 'edit' || $_POST["action"] == 'edit') print ''; print ''.$langs->trans('Zip').'use_javascript_ajax && $conf->global->MAIN_AUTO_FILLTOWNFROMZIP) print ' onChange="autofilltownfromzip_PopupPostalCode(cp.value,ville)"'; + if ($conf->use_javascript_ajax && $conf->global->MAIN_AUTOFILL_TOWNFROMZIP) print ' onChange="autofilltownfromzip_PopupPostalCode(cp.value,ville)"'; print '>'; - if ($conf->use_javascript_ajax && $conf->global->MAIN_AUTO_FILLTOWNFROMZIP) print ' '; + if ($conf->use_javascript_ajax && $conf->global->MAIN_AUTOFILL_TOWNFROMZIP) print ' '; print ''; print ''.$langs->trans('Town').''; diff --git a/htdocs/soc.php b/htdocs/soc.php index 07896165cfe..e4afb114f4c 100644 --- a/htdocs/soc.php +++ b/htdocs/soc.php @@ -473,9 +473,9 @@ $_GET["action"] == 'create' || $_POST["action"] == 'create') print ''; print ''.$langs->trans('Zip').'use_javascript_ajax && $conf->global->MAIN_AUTO_FILLTOWNFROMZIP) print ' onChange="autofilltownfromzip_PopupPostalCode(cp.value,ville)"'; + if ($conf->use_javascript_ajax && $conf->global->MAIN_AUTOFILL_TOWNFROMZIP) print ' onChange="autofilltownfromzip_PopupPostalCode(cp.value,ville)"'; print '>'; - if ($conf->use_javascript_ajax && $conf->global->MAIN_AUTO_FILLTOWNFROMZIP) print ' '; + if ($conf->use_javascript_ajax && $conf->global->MAIN_AUTOFILL_TOWNFROMZIP) print ' '; print ''; print ''.$langs->trans('Town').''; @@ -825,9 +825,9 @@ elseif ($_GET["action"] == 'edit' || $_POST["action"] == 'edit') print ''; print ''.$langs->trans('Zip').'use_javascript_ajax && $conf->global->MAIN_AUTO_FILLTOWNFROMZIP) print ' onChange="autofilltownfromzip_PopupPostalCode(cp.value,ville)"'; + if ($conf->use_javascript_ajax && $conf->global->MAIN_AUTOFILL_TOWNFROMZIP) print ' onChange="autofilltownfromzip_PopupPostalCode(cp.value,ville)"'; print '>'; - if ($conf->use_javascript_ajax && $conf->global->MAIN_AUTO_FILLTOWNFROMZIP) print ' '; + if ($conf->use_javascript_ajax && $conf->global->MAIN_AUTOFILL_TOWNFROMZIP) print ' '; print ''; print ''.$langs->trans('Town').'';