Nettoyage

This commit is contained in:
Rodolphe Quiedeville 2005-06-08 13:38:24 +00:00
parent 62862e7e9e
commit 71548d9e39

View File

@ -22,18 +22,10 @@
require("./pre.inc.php"); require("./pre.inc.php");
$mesg = '';
llxHeader("","Téléphonie - Contrat"); llxHeader("","Téléphonie - Contrat");
if ($cancel == $langs->trans("Cancel"))
{ /* Affichage */
$action = '';
}
/*
* Affichage
*
*/
if ($_GET["id"]) if ($_GET["id"])
{ {
@ -145,7 +137,7 @@ if ($_GET["id"])
if (file_exists($file)) if (file_exists($file))
{ {
print '<img src="'.DOL_URL_ROOT.'/telephonie/showgraph.php?graph='.$file.'" alt="CA Mensuel">'; print '<img src="'.DOL_URL_ROOT.'/telephonie/showgraph.php?graph='.$file.'">';
} }
else else
{ {
@ -189,23 +181,16 @@ if ($_GET["id"])
print '</td></tr></table>'; print '</td></tr></table>';
} }
} }
} }
else else
{ {
print "Error"; print "Erreur";
} }
print '</div>'; print '</div>';
/* ************************************************************************** */
/* */
/* Barre d'action */
/* */
/* ************************************************************************** */
$db->close(); $db->close();
llxFooter("<em>Derni&egrave;re modification $Date$ r&eacute;vision $Revision$</em>"); llxFooter("<em>Derni&egrave;re modification $Date$ r&eacute;vision $Revision$</em>");