From bdb2becba4c98a278e0ce8feba4a0968134d7f83 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@users.sourceforge.net> Date: Sat, 30 Apr 2005 14:49:40 +0000 Subject: [PATCH] =?UTF-8?q?Look:=20Modifications=20eth=E9tiques=20mineures?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/comm/propal.php | 23 ++++++++++++----------- htdocs/comm/propal/note.php | 16 +++++++++------- 2 files changed, 21 insertions(+), 18 deletions(-) diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php index ab584690118..1ab3349d4bc 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 ee82e103078..bb786d25185 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 '); ?> -- GitLab