Members: Add background in create mode in type adherent

This commit is contained in:
aspangaro 2015-05-19 22:36:35 +02:00
parent 26a74ba3cc
commit 124dbbc2f2

View File

@ -241,7 +241,11 @@ if ($action == 'create')
print '<form action="'.$_SERVER['PHP_SELF'].'" method="POST">'; print '<form action="'.$_SERVER['PHP_SELF'].'" method="POST">';
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">'; print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
dol_fiche_head('');
print '<table class="border" width="100%">'; print '<table class="border" width="100%">';
print '<tbody>';
print '<input type="hidden" name="action" value="add">'; print '<input type="hidden" name="action" value="add">';
@ -271,9 +275,12 @@ if ($action == 'create')
{ {
print $adht->showOptionals($extrafields,'edit'); print $adht->showOptionals($extrafields,'edit');
} }
print '<tbody>';
print "</table>\n"; print "</table>\n";
print '<br><div class="center">'; dol_fiche_end();
print '<div class="center">';
print '<input type="submit" name="button" class="button" value="'.$langs->trans("Add").'">'; print '<input type="submit" name="button" class="button" value="'.$langs->trans("Add").'">';
print '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'; print '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';
print '<input type="submit" name="button" class="button" value="'.$langs->trans("Cancel").'">'; print '<input type="submit" name="button" class="button" value="'.$langs->trans("Cancel").'">';