Fix: appel de fonction dans html.form.class
This commit is contained in:
parent
27ce609642
commit
077c5b2f3e
@ -250,6 +250,8 @@ class FormFile
|
|||||||
}
|
}
|
||||||
|
|
||||||
$headershown=1;
|
$headershown=1;
|
||||||
|
|
||||||
|
$html = new Form($db);
|
||||||
|
|
||||||
print '<form action="'.$urlsource.'#builddoc" method="post">';
|
print '<form action="'.$urlsource.'#builddoc" method="post">';
|
||||||
print '<input type="hidden" name="action" value="builddoc">';
|
print '<input type="hidden" name="action" value="builddoc">';
|
||||||
@ -260,13 +262,13 @@ class FormFile
|
|||||||
print '<tr '.$bc[$var].'>';
|
print '<tr '.$bc[$var].'>';
|
||||||
print '<td>'.$langs->trans('Model').'</td>';
|
print '<td>'.$langs->trans('Model').'</td>';
|
||||||
print '<td align="center">';
|
print '<td align="center">';
|
||||||
$this->select_array('model',$modellist,$modelselected,0,0,1);
|
$html->select_array('model',$modellist,$modelselected,0,0,1);
|
||||||
$texte=$langs->trans('Generate');
|
$texte=$langs->trans('Generate');
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '<td align="center">';
|
print '<td align="center">';
|
||||||
if($conf->global->MAIN_MULTILANGS && ! $forcenomultilang)
|
if($conf->global->MAIN_MULTILANGS && ! $forcenomultilang)
|
||||||
{
|
{
|
||||||
$this->select_lang($langs->getDefaultLang());
|
$html->select_lang($langs->getDefaultLang());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user