Qual: Uniformize code

This commit is contained in:
Laurent Destailleur 2011-09-24 23:42:31 +00:00
parent ab017e0a72
commit 9e09b16219
2 changed files with 92 additions and 90 deletions

View File

@ -158,14 +158,16 @@ if ($id > 0 || ! empty($ref))
print '</td></tr>'; print '</td></tr>';
} }
print "</table>";
if ($user->rights->fournisseur->commande->creer) if ($user->rights->fournisseur->commande->creer)
{ {
print '<tr><td colspan="3" align="center"><input type="submit" class="button" value="'.$langs->trans("Save").'"></td></tr>'; print '<center><br><input type="submit" class="button" value="'.$langs->trans("Save").'"></center>';
} }
print "</table></form>"; print "</form>";
print "</div>\n"; dol_fiche_end();
} }
else else
{ {

View File

@ -130,7 +130,7 @@ if ($_GET["facid"])
} }
print "</td></tr>"; print "</td></tr>";
// Note priv<EFBFBD>e // Note private
if (! $user->societe_id) if (! $user->societe_id)
{ {
print '<tr><td valign="top">'.$langs->trans("NotePrivate").' :</td>'; print '<tr><td valign="top">'.$langs->trans("NotePrivate").' :</td>';
@ -153,11 +153,11 @@ if ($_GET["facid"])
print "</table>"; print "</table>";
dol_fiche_end();
/* /*
* Actions * Actions
*/ */
print '</div>';
print '<div class="tabsAction">'; print '<div class="tabsAction">';
if ($user->rights->fournisseur->facture->creer && $_GET["action"] <> 'edit') if ($user->rights->fournisseur->facture->creer && $_GET["action"] <> 'edit')