Look: Modifications ethtiques mineures

This commit is contained in:
Laurent Destailleur 2005-04-30 14:49:40 +00:00
parent 5513bff2c9
commit bdb2becba4
2 changed files with 21 additions and 18 deletions

View File

@ -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&egrave;re modification $Date$ r&eacute;vision $Revision$</em>");
llxFooter('$Date$ - $Revision$');
?>

View File

@ -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&egrave;re modification $Date$ r&eacute;vision $Revision$</em>");
llxFooter('$Date$ - $Revision: 1.15 ');
?>