Fix bad comment
This commit is contained in:
parent
592b9d0b20
commit
874bb488da
@ -549,7 +549,7 @@ class FormFile
|
|||||||
$buttonlabeltoshow=$buttonlabel;
|
$buttonlabeltoshow=$buttonlabel;
|
||||||
if (empty($buttonlabel)) $buttonlabel=$langs->trans('Generate');
|
if (empty($buttonlabel)) $buttonlabel=$langs->trans('Generate');
|
||||||
|
|
||||||
if ($conf->browser->layout == 'phone') $urlsource.='#'.$forname.'_form'; # So we switch to form after a generation
|
if ($conf->browser->layout == 'phone') $urlsource.='#'.$forname.'_form'; // So we switch to form after a generation
|
||||||
if (empty($noform)) $out.= '<form action="'.$urlsource.(empty($conf->global->MAIN_JUMP_TAG)?'':'#builddoc').'" name="'.$forname.'" id="'.$forname.'_form" method="post">';
|
if (empty($noform)) $out.= '<form action="'.$urlsource.(empty($conf->global->MAIN_JUMP_TAG)?'':'#builddoc').'" name="'.$forname.'" id="'.$forname.'_form" method="post">';
|
||||||
$out.= '<input type="hidden" name="action" value="builddoc">';
|
$out.= '<input type="hidden" name="action" value="builddoc">';
|
||||||
$out.= '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
$out.= '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user