From e157bce1d50170784e9acdb529f7362bf543a912 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 22 Mar 2006 10:30:25 +0000 Subject: [PATCH] configuration multi-langue --- htdocs/html.form.class.php | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php index 6e0a110b52d..08066e79356 100644 --- a/htdocs/html.form.class.php +++ b/htdocs/html.form.class.php @@ -2066,7 +2066,7 @@ class Form { // filedir = conf->...dir_ouput."/".get_exdir(id) - global $langs,$bc; + global $langs,$bc,$conf; $var=true; $filename = sanitize_string($filename); @@ -2156,9 +2156,14 @@ class Form $this->select_array('model',$modellist,$modelselected,0,0,1); $texte=$langs->trans('Generate'); print ''; - print ''; - $this->select_lang($langs->getDefaultLang()); - print ''; + + if($conf->global->MAIN_MULTILANGS) + { + print ''; + $this->select_lang($langs->getDefaultLang()); + print ''; + } + print ''; print ''; print '';