Nettoyage
This commit is contained in:
parent
7fd6a929a4
commit
6cc0795e09
@ -1,5 +1,5 @@
|
|||||||
<?PHP
|
<?PHP
|
||||||
/* Copyright (c) 2002-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (c) 2002-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
|
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
|
||||||
* Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-toi.org>
|
* Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-toi.org>
|
||||||
@ -23,13 +23,15 @@
|
|||||||
* $Source$
|
* $Source$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*! \file htdocs/html.form.class.php
|
/*!
|
||||||
|
\file htdocs/html.form.class.php
|
||||||
\brief Fichier de la classe des fonctions prédéfinie de composants html
|
\brief Fichier de la classe des fonctions prédéfinie de composants html
|
||||||
\version $Revision$
|
\version $Revision$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
/*! \class Form
|
/*!
|
||||||
|
\class Form
|
||||||
\brief Classe permettant la génération de composants html
|
\brief Classe permettant la génération de composants html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -332,7 +334,8 @@ class Form
|
|||||||
}
|
}
|
||||||
print '</select>';
|
print '</select>';
|
||||||
}
|
}
|
||||||
else {
|
else
|
||||||
|
{
|
||||||
dolibarr_print_error($this->db);
|
dolibarr_print_error($this->db);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -366,8 +369,6 @@ class Form
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* \brief Retourne la liste déroulante des civilite actives
|
* \brief Retourne la liste déroulante des civilite actives
|
||||||
* \param selected civilite pré-sélectionnée
|
* \param selected civilite pré-sélectionnée
|
||||||
@ -620,7 +621,6 @@ class Form
|
|||||||
|
|
||||||
print "</select>";
|
print "</select>";
|
||||||
|
|
||||||
|
|
||||||
print '<select name="'.$prefix.'month">';
|
print '<select name="'.$prefix.'month">';
|
||||||
if ($empty || $set_time == -1)
|
if ($empty || $set_time == -1)
|
||||||
{
|
{
|
||||||
@ -886,7 +886,8 @@ class Form
|
|||||||
print "<table class=\"border\" width=\"100%\">";
|
print "<table class=\"border\" width=\"100%\">";
|
||||||
|
|
||||||
// Topic
|
// Topic
|
||||||
if ($withtopic) {
|
if ($withtopic)
|
||||||
|
{
|
||||||
print "<tr>";
|
print "<tr>";
|
||||||
print "<td width=\"180\">".$langs->trans("MailTopic")."</td>";
|
print "<td width=\"180\">".$langs->trans("MailTopic")."</td>";
|
||||||
print "<td>";
|
print "<td>";
|
||||||
@ -895,7 +896,8 @@ class Form
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Message
|
// Message
|
||||||
if ($withbody) {
|
if ($withbody)
|
||||||
|
{
|
||||||
print "<tr>";
|
print "<tr>";
|
||||||
print "<td width=\"180\" valign=\"top\">".$langs->trans("MailText")."</td>";
|
print "<td width=\"180\" valign=\"top\">".$langs->trans("MailText")."</td>";
|
||||||
print "<td>";
|
print "<td>";
|
||||||
@ -906,7 +908,8 @@ class Form
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Si fichier joint
|
// Si fichier joint
|
||||||
if ($withfile) {
|
if ($withfile)
|
||||||
|
{
|
||||||
print "<tr>";
|
print "<tr>";
|
||||||
print "<td width=\"180\">".$langs->trans("MailFile")."</td>";
|
print "<td width=\"180\">".$langs->trans("MailFile")."</td>";
|
||||||
print "<td>";
|
print "<td>";
|
||||||
@ -915,9 +918,7 @@ class Form
|
|||||||
}
|
}
|
||||||
|
|
||||||
print "</table>";
|
print "</table>";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user