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 '';