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 '
';
+ print '
';
// Valid
if ($propal->statut == 0)
@@ -638,7 +639,7 @@ if ($_GET["propalid"])
}
}
- print "
";
+ print "
";
}
@@ -988,6 +989,6 @@ else
}
$db->close();
-llxFooter("Dernière modification $Date$ révision $Revision$");
+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 @@
- * Copyright (C) 2004 Laurent Destailleur
- * Copyright (C) 2004 Eric Seigne
+/* Copyright (C) 2004 Rodolphe Quiedeville
+ * Copyright (C) 2004-2005 Laurent Destailleur
+ * Copyright (C) 2004 Eric Seigne
*
* 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 "";
print '
';
+ print '';
/*
* Actions
*/
- print '';
- print '
';
+
+ print '
';
if ($user->rights->propale->creer && $_GET["action"] <> 'edit')
{
@@ -150,5 +152,5 @@ if ($_GET["propalid"])
}
$db->close();
-llxFooter("Dernière modification $Date$ révision $Revision$");
+llxFooter('$Date$ - $Revision: 1.15 ');
?>