Fixed: form outside table

This commit is contained in:
Laurent Destailleur 2014-12-08 17:28:26 +01:00
parent 1e8e7474d8
commit bd91603cd8

View File

@ -122,6 +122,10 @@ $arrayofcss=array();
llxHeader('',$langs->trans("UserSetup"),'','',0,0,$arrayofjs,$arrayofcss);
print '<form name="extsitesconfig" action="'.$_SERVER["PHP_SELF"].'" method="post">';
print '<input type="hidden" name="id" value="'.$id.'">';
$head=user_prepare_head($fuser);
dol_fiche_head($head, 'extsites', $langs->trans("User"), 0, 'user');
@ -129,9 +133,6 @@ dol_fiche_head($head, 'extsites', $langs->trans("User"), 0, 'user');
print $langs->trans("AgendaExtSitesDesc")."<br>\n";
print "<br>\n";
print '<form name="extsitesconfig" action="'.$_SERVER["PHP_SELF"].'" method="post">';
print '<input type="hidden" name="id" value="'.$id.'">';
$selectedvalue=$conf->global->AGENDA_DISABLE_EXT;
if ($selectedvalue==1) $selectedvalue=0; else $selectedvalue=1;
@ -172,15 +173,15 @@ while ($i <= $MAXAGENDA)
}
print '</table>';
print '<br>';
print '<center>';
dol_fiche_end();
print '<div align="center">';
print "<input type=\"submit\" id=\"save\" name=\"save\" class=\"button hideifnotset\" value=\"".$langs->trans("Save")."\">";
print "</center>";
print "</div>";
print "</form>\n";
dol_fiche_end();
llxFooter();