Fix: Respect W3C.
This commit is contained in:
parent
506a5de072
commit
1ef07971da
@ -157,7 +157,7 @@ if ($mil->fetch($_GET["id"]) == 0)
|
||||
print '<tr><td width="25%">'.$langs->trans("MailFrom").'</td><td colspan="3">'.htmlentities($mil->email_from).'</td></tr>';
|
||||
print '<tr><td width="25%">'.$langs->trans("TotalNbOfDistinctRecipients").'</td><td colspan="3">'.($mil->nbemail?$mil->nbemail:'<font class="error">'.$langs->trans("NoTargetYet").'</font>').'</td></tr>';
|
||||
print '<tr><td width="25%">'.$langs->trans("Status").'</td><td colspan="3">'.$mil->statuts[$mil->statut].'</td></tr>';
|
||||
print '</table><br>';
|
||||
print '</table>';
|
||||
|
||||
print "</div>";
|
||||
|
||||
|
||||
@ -267,18 +267,21 @@ else
|
||||
if ($_GET["action"] == 'valide')
|
||||
{
|
||||
$html->form_confirm("fiche.php?id=".$mil->id,$langs->trans("ValidMailing"),$langs->trans("ConfirmValidMailing"),"confirm_valide");
|
||||
print '<br>';
|
||||
}
|
||||
|
||||
// Confirmation de l'approbation du mailing
|
||||
if ($_GET["action"] == 'approve')
|
||||
{
|
||||
$html->form_confirm("fiche.php?id=".$mil->id,"Approuver le mailing","Confirmez-vous l'approbation du mailing ?","confirm_approve");
|
||||
print '<br>';
|
||||
}
|
||||
|
||||
// Confirmation de la suppression
|
||||
if ($_GET["action"] == 'delete')
|
||||
{
|
||||
$html->form_confirm("fiche.php?id=".$mil->id,$langs->trans("DeleteAMailing"),$langs->trans("ConfirmDeleteMailing"),"confirm_delete");
|
||||
print '<br>';
|
||||
}
|
||||
|
||||
|
||||
@ -325,7 +328,7 @@ else
|
||||
print '<tr><td valign="top">'.$langs->trans("MailMessage").'</td><td colspan="3">';
|
||||
print nl2br($mil->body).'</td></tr>';
|
||||
|
||||
print '</table><br>';
|
||||
print '</table>';
|
||||
|
||||
print "</div>";
|
||||
|
||||
@ -412,7 +415,7 @@ else
|
||||
print $mil->body.'</textarea></td></tr>';
|
||||
|
||||
print '<tr><td colspan="4" align="center"><input type="submit" value="'.$langs->trans("Save").'"></td></tr>';
|
||||
print '</table><br>';
|
||||
print '</table>';
|
||||
print '</form>';
|
||||
|
||||
print "</div>";
|
||||
|
||||
@ -21,7 +21,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
/** \file htdocs/projet/commandes.php
|
||||
/**
|
||||
\file htdocs/projet/commandes.php
|
||||
\ingroup projet commande
|
||||
\brief Page des commandes par projet
|
||||
\version $Revision$
|
||||
@ -78,7 +79,7 @@ print '<table class="border" width="100%">';
|
||||
print '<tr><td>'.$langs->trans("Company").'</td><td><a href="'.DOL_URL_ROOT.'/comm/fiche.php?socid='.$projet->societe->id.'">'.$projet->societe->nom.'</a></td></tr>';
|
||||
print '<tr><td>'.$langs->trans("Ref").'</td><td>'.$projet->ref.'</td></tr>';
|
||||
print '<tr><td>'.$langs->trans("Label").'</td><td>'.$projet->title.'</td></tr>';
|
||||
print '</table><br>';
|
||||
print '</table>';
|
||||
|
||||
/*
|
||||
* Commandes
|
||||
@ -88,6 +89,8 @@ $commandes = $projet->get_commande_list();
|
||||
$total = 0 ;
|
||||
if (sizeof($commandes)>0 && is_array($commandes))
|
||||
{
|
||||
print '<br>';
|
||||
|
||||
print_titre('Listes des commandes associées au projet');
|
||||
print '<table class="noborder" width="100%">';
|
||||
|
||||
@ -114,6 +117,8 @@ if (sizeof($commandes)>0 && is_array($commandes))
|
||||
print "</table>";
|
||||
}
|
||||
|
||||
print '</div>';
|
||||
|
||||
$db->close();
|
||||
|
||||
llxFooter('$Date$ - $Revision$');
|
||||
|
||||
@ -21,7 +21,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
/** \file htdocs/projet/facture.php
|
||||
/**
|
||||
\file htdocs/projet/facture.php
|
||||
\ingroup projet facture
|
||||
\brief Page des factures par projet
|
||||
\version $Revision$
|
||||
@ -83,17 +84,18 @@ print '<table class="border" width="100%">';
|
||||
print '<tr><td>'.$langs->trans("Company").'</td><td><a href="'.DOL_URL_ROOT.'/compta/fiche.php?socid='.$projet->societe->id.'">'.$projet->societe->nom.'</a></td></tr>';
|
||||
print '<tr><td>'.$langs->trans("Ref").'</td><td>'.$projet->ref.'</td></tr>';
|
||||
print '<tr><td>'.$langs->trans("Label").'</td><td>'.$projet->title.'</td></tr>';
|
||||
print '</table><br>';
|
||||
print '</table>';
|
||||
|
||||
|
||||
/*
|
||||
* Factures
|
||||
*
|
||||
*/
|
||||
$factures = $projet->get_facture_list();
|
||||
$total = 0;
|
||||
if (sizeof($factures)>0 && is_array($factures))
|
||||
{
|
||||
print '<br>';
|
||||
|
||||
print_titre('Listes des factures associées au projet');
|
||||
print '<table class="noborder" width="100%">';
|
||||
|
||||
@ -120,6 +122,8 @@ print '</table><br>';
|
||||
print "</table>";
|
||||
}
|
||||
|
||||
print '</div>';
|
||||
|
||||
$db->close();
|
||||
|
||||
llxFooter('$Date$ - $Revision$');
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
/*!
|
||||
/**
|
||||
\file htdocs/projet/fiche.php
|
||||
\ingroup projet
|
||||
\brief Fiche projet
|
||||
@ -171,7 +171,6 @@ if ($_GET["action"] == 'create' && $user->rights->projet->creer)
|
||||
print '<tr><td>'.$langs->trans("Label").'</td><td><input name="title" value="'.$projet->title.'"></td></tr>';
|
||||
print '<tr><td align="center" colspan="2"><input name="update" type="submit" Value="'.$langs->trans("Modify").'"> <input type="submit" name="cancel" Value="'.$langs->trans("Cancel").'"></td></tr>';
|
||||
print '</table>';
|
||||
print '<br>';
|
||||
print '</form>';
|
||||
}
|
||||
else
|
||||
@ -183,7 +182,6 @@ if ($_GET["action"] == 'create' && $user->rights->projet->creer)
|
||||
print '<tr><td>'.$langs->trans("Ref").'</td><td>'.$projet->ref.'</td></tr>';
|
||||
print '<tr><td>'.$langs->trans("Label").'</td><td>'.$projet->title.'</td></tr>';
|
||||
print '</table>';
|
||||
print '<br>';
|
||||
}
|
||||
|
||||
print '</div>';
|
||||
@ -208,5 +206,5 @@ if ($_GET["action"] == 'create' && $user->rights->projet->creer)
|
||||
|
||||
$db->close();
|
||||
|
||||
llxFooter("<em>Dernière modification $Date$ révision $Revision$</em>");
|
||||
llxFooter('$Date$ - $Revision$');
|
||||
?>
|
||||
|
||||
@ -21,7 +21,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
/** \file htdocs/projet/propal.php
|
||||
/**
|
||||
\file htdocs/projet/propal.php
|
||||
\ingroup projet propale
|
||||
\brief Page des propositions commerciales par projet
|
||||
\version $Revision$
|
||||
@ -80,12 +81,14 @@ print '<table class="border" width="100%">';
|
||||
print '<tr><td>'.$langs->trans("Company").'</td><td><a href="'.DOL_URL_ROOT.'/comm/fiche.php?socid='.$projet->societe->id.'">'.$projet->societe->nom.'</a></td></tr>';
|
||||
print '<tr><td>'.$langs->trans("Ref").'</td><td>'.$projet->ref.'</td></tr>';
|
||||
print '<tr><td>'.$langs->trans("Label").'</td><td>'.$projet->title.'</td></tr>';
|
||||
print '</table><br>';
|
||||
print '</table>';
|
||||
|
||||
$propales = $projet->get_propal_list();
|
||||
|
||||
if (sizeof($propales)>0 && is_array($propales))
|
||||
{
|
||||
print '<br>';
|
||||
|
||||
print_titre('Listes des propositions commerciales associées au projet');
|
||||
print '<table class="noborder" width="100%">';
|
||||
|
||||
@ -112,6 +115,8 @@ if (sizeof($propales)>0 && is_array($propales))
|
||||
print '<td align="left">'.$langs->trans("Currency".$conf->monnaie).'</td></tr></table>';
|
||||
}
|
||||
|
||||
print '</div>';
|
||||
|
||||
$db->close();
|
||||
|
||||
llxFooter('$Date$ - $Revision$');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user