configuration multi-langue
This commit is contained in:
parent
89ba3d5c8c
commit
e157bce1d5
@ -2066,7 +2066,7 @@ class Form
|
|||||||
{
|
{
|
||||||
// filedir = conf->...dir_ouput."/".get_exdir(id)
|
// filedir = conf->...dir_ouput."/".get_exdir(id)
|
||||||
|
|
||||||
global $langs,$bc;
|
global $langs,$bc,$conf;
|
||||||
$var=true;
|
$var=true;
|
||||||
|
|
||||||
$filename = sanitize_string($filename);
|
$filename = sanitize_string($filename);
|
||||||
@ -2156,9 +2156,14 @@ class Form
|
|||||||
$this->select_array('model',$modellist,$modelselected,0,0,1);
|
$this->select_array('model',$modellist,$modelselected,0,0,1);
|
||||||
$texte=$langs->trans('Generate');
|
$texte=$langs->trans('Generate');
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '<td align="center">';
|
|
||||||
$this->select_lang($langs->getDefaultLang());
|
if($conf->global->MAIN_MULTILANGS)
|
||||||
print '</td>';
|
{
|
||||||
|
print '<td align="center">';
|
||||||
|
$this->select_lang($langs->getDefaultLang());
|
||||||
|
print '</td>';
|
||||||
|
}
|
||||||
|
|
||||||
print '<td align="center" colspan="'.($delallowed?'2':'1').'">';
|
print '<td align="center" colspan="'.($delallowed?'2':'1').'">';
|
||||||
print '<input class="button" type="submit" value="'.$texte.'">';
|
print '<input class="button" type="submit" value="'.$texte.'">';
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user