diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php index ab584690118d32e5ceddf6bc911d30bf797947c0..1ab3349d4bc80942b60ccb17fb0a8ce85ec2fedf 100644 --- a/htdocs/comm/propal.php +++ b/htdocs/comm/propal.php @@ -22,7 +22,8 @@ * */ -/** \file htdocs/comm/propal.php +/** + \file htdocs/comm/propal.php \ingroup propale \brief Page liste des propales */ @@ -68,15 +69,15 @@ $NBLINES=4; if ($_POST["action"] == 'confirm_delete' && $_POST["confirm"] == 'yes') { - if ($user->rights->propale->supprimer) + if ($user->rights->propale->supprimer) { - $propal = new Propal($db, 0, $_GET["propalid"]); - $propal->delete($user); - $propalid = 0; - $brouillon = 1; + $propal = new Propal($db, 0, $_GET["propalid"]); + $propal->delete($user); + $propalid = 0; + $brouillon = 1; } - - Header("Location: propal.php"); + + Header("Location: propal.php"); } @@ -578,7 +579,7 @@ if ($_GET["propalid"]) */ if ($propal->statut < 2) { - print '<p><div class="tabsAction">'; + print '<div class="tabsAction">'; // Valid if ($propal->statut == 0) @@ -638,7 +639,7 @@ if ($_GET["propalid"]) } } - print "</div>"; + print "</div><br>"; } @@ -988,6 +989,6 @@ else } $db->close(); -llxFooter("<em>Dernière modification $Date$ révision $Revision$</em>"); +llxFooter('$Date$ - $Revision$'); ?> diff --git a/htdocs/comm/propal/note.php b/htdocs/comm/propal/note.php index ee82e103078544344b409732e7b78827a9c48975..bb786d251857253c5da3a4d997b6f8c6a3b427ee 100644 --- a/htdocs/comm/propal/note.php +++ b/htdocs/comm/propal/note.php @@ -1,7 +1,7 @@ <?php -/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> - * Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net> - * Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com> +/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> + * Copyright (C) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net> + * Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,7 +22,8 @@ * */ -/*! \file htdocs/comm/propal/note.php +/** + \file htdocs/comm/propal/note.php \ingroup propale \brief Fiche d'information sur une proposition commerciale \version $Revision$ @@ -131,12 +132,13 @@ if ($_GET["propalid"]) print "</table>"; print '<br>'; + print '</div>'; /* * Actions */ - print '</div>'; - print '<br><div class="tabsAction">'; + + print '<div class="tabsAction">'; if ($user->rights->propale->creer && $_GET["action"] <> 'edit') { @@ -150,5 +152,5 @@ if ($_GET["propalid"]) } $db->close(); -llxFooter("<em>Dernière modification $Date$ révision $Revision$</em>"); +llxFooter('$Date$ - $Revision: 1.15 '); ?>