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("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("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 '<tr><td width="25%">'.$langs->trans("Status").'</td><td colspan="3">'.$mil->statuts[$mil->statut].'</td></tr>';
|
||||||
print '</table><br>';
|
print '</table>';
|
||||||
|
|
||||||
print "</div>";
|
print "</div>";
|
||||||
|
|
||||||
|
|||||||
@ -267,18 +267,21 @@ else
|
|||||||
if ($_GET["action"] == 'valide')
|
if ($_GET["action"] == 'valide')
|
||||||
{
|
{
|
||||||
$html->form_confirm("fiche.php?id=".$mil->id,$langs->trans("ValidMailing"),$langs->trans("ConfirmValidMailing"),"confirm_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
|
// Confirmation de l'approbation du mailing
|
||||||
if ($_GET["action"] == 'approve')
|
if ($_GET["action"] == 'approve')
|
||||||
{
|
{
|
||||||
$html->form_confirm("fiche.php?id=".$mil->id,"Approuver le mailing","Confirmez-vous l'approbation du mailing ?","confirm_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
|
// Confirmation de la suppression
|
||||||
if ($_GET["action"] == 'delete')
|
if ($_GET["action"] == 'delete')
|
||||||
{
|
{
|
||||||
$html->form_confirm("fiche.php?id=".$mil->id,$langs->trans("DeleteAMailing"),$langs->trans("ConfirmDeleteMailing"),"confirm_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 '<tr><td valign="top">'.$langs->trans("MailMessage").'</td><td colspan="3">';
|
||||||
print nl2br($mil->body).'</td></tr>';
|
print nl2br($mil->body).'</td></tr>';
|
||||||
|
|
||||||
print '</table><br>';
|
print '</table>';
|
||||||
|
|
||||||
print "</div>";
|
print "</div>";
|
||||||
|
|
||||||
@ -412,7 +415,7 @@ else
|
|||||||
print $mil->body.'</textarea></td></tr>';
|
print $mil->body.'</textarea></td></tr>';
|
||||||
|
|
||||||
print '<tr><td colspan="4" align="center"><input type="submit" value="'.$langs->trans("Save").'"></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 '</form>';
|
||||||
|
|
||||||
print "</div>";
|
print "</div>";
|
||||||
|
|||||||
@ -21,7 +21,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** \file htdocs/projet/commandes.php
|
/**
|
||||||
|
\file htdocs/projet/commandes.php
|
||||||
\ingroup projet commande
|
\ingroup projet commande
|
||||||
\brief Page des commandes par projet
|
\brief Page des commandes par projet
|
||||||
\version $Revision$
|
\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("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("Ref").'</td><td>'.$projet->ref.'</td></tr>';
|
||||||
print '<tr><td>'.$langs->trans("Label").'</td><td>'.$projet->title.'</td></tr>';
|
print '<tr><td>'.$langs->trans("Label").'</td><td>'.$projet->title.'</td></tr>';
|
||||||
print '</table><br>';
|
print '</table>';
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Commandes
|
* Commandes
|
||||||
@ -88,6 +89,8 @@ $commandes = $projet->get_commande_list();
|
|||||||
$total = 0 ;
|
$total = 0 ;
|
||||||
if (sizeof($commandes)>0 && is_array($commandes))
|
if (sizeof($commandes)>0 && is_array($commandes))
|
||||||
{
|
{
|
||||||
|
print '<br>';
|
||||||
|
|
||||||
print_titre('Listes des commandes associées au projet');
|
print_titre('Listes des commandes associées au projet');
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
|
|
||||||
@ -114,6 +117,8 @@ if (sizeof($commandes)>0 && is_array($commandes))
|
|||||||
print "</table>";
|
print "</table>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
print '</div>';
|
||||||
|
|
||||||
$db->close();
|
$db->close();
|
||||||
|
|
||||||
llxFooter('$Date$ - $Revision$');
|
llxFooter('$Date$ - $Revision$');
|
||||||
|
|||||||
@ -21,7 +21,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** \file htdocs/projet/facture.php
|
/**
|
||||||
|
\file htdocs/projet/facture.php
|
||||||
\ingroup projet facture
|
\ingroup projet facture
|
||||||
\brief Page des factures par projet
|
\brief Page des factures par projet
|
||||||
\version $Revision$
|
\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("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("Ref").'</td><td>'.$projet->ref.'</td></tr>';
|
||||||
print '<tr><td>'.$langs->trans("Label").'</td><td>'.$projet->title.'</td></tr>';
|
print '<tr><td>'.$langs->trans("Label").'</td><td>'.$projet->title.'</td></tr>';
|
||||||
print '</table><br>';
|
print '</table>';
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Factures
|
* Factures
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
$factures = $projet->get_facture_list();
|
$factures = $projet->get_facture_list();
|
||||||
$total = 0;
|
$total = 0;
|
||||||
if (sizeof($factures)>0 && is_array($factures))
|
if (sizeof($factures)>0 && is_array($factures))
|
||||||
{
|
{
|
||||||
|
print '<br>';
|
||||||
|
|
||||||
print_titre('Listes des factures associées au projet');
|
print_titre('Listes des factures associées au projet');
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
|
|
||||||
@ -120,6 +122,8 @@ print '</table><br>';
|
|||||||
print "</table>";
|
print "</table>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
print '</div>';
|
||||||
|
|
||||||
$db->close();
|
$db->close();
|
||||||
|
|
||||||
llxFooter('$Date$ - $Revision$');
|
llxFooter('$Date$ - $Revision$');
|
||||||
|
|||||||
@ -21,7 +21,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*!
|
/**
|
||||||
\file htdocs/projet/fiche.php
|
\file htdocs/projet/fiche.php
|
||||||
\ingroup projet
|
\ingroup projet
|
||||||
\brief Fiche 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>'.$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 '<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 '</table>';
|
||||||
print '<br>';
|
|
||||||
print '</form>';
|
print '</form>';
|
||||||
}
|
}
|
||||||
else
|
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("Ref").'</td><td>'.$projet->ref.'</td></tr>';
|
||||||
print '<tr><td>'.$langs->trans("Label").'</td><td>'.$projet->title.'</td></tr>';
|
print '<tr><td>'.$langs->trans("Label").'</td><td>'.$projet->title.'</td></tr>';
|
||||||
print '</table>';
|
print '</table>';
|
||||||
print '<br>';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
print '</div>';
|
print '</div>';
|
||||||
@ -208,5 +206,5 @@ if ($_GET["action"] == 'create' && $user->rights->projet->creer)
|
|||||||
|
|
||||||
$db->close();
|
$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
|
\ingroup projet propale
|
||||||
\brief Page des propositions commerciales par projet
|
\brief Page des propositions commerciales par projet
|
||||||
\version $Revision$
|
\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("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("Ref").'</td><td>'.$projet->ref.'</td></tr>';
|
||||||
print '<tr><td>'.$langs->trans("Label").'</td><td>'.$projet->title.'</td></tr>';
|
print '<tr><td>'.$langs->trans("Label").'</td><td>'.$projet->title.'</td></tr>';
|
||||||
print '</table><br>';
|
print '</table>';
|
||||||
|
|
||||||
$propales = $projet->get_propal_list();
|
$propales = $projet->get_propal_list();
|
||||||
|
|
||||||
if (sizeof($propales)>0 && is_array($propales))
|
if (sizeof($propales)>0 && is_array($propales))
|
||||||
{
|
{
|
||||||
|
print '<br>';
|
||||||
|
|
||||||
print_titre('Listes des propositions commerciales associées au projet');
|
print_titre('Listes des propositions commerciales associées au projet');
|
||||||
print '<table class="noborder" width="100%">';
|
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 '<td align="left">'.$langs->trans("Currency".$conf->monnaie).'</td></tr></table>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
print '</div>';
|
||||||
|
|
||||||
$db->close();
|
$db->close();
|
||||||
|
|
||||||
llxFooter('$Date$ - $Revision$');
|
llxFooter('$Date$ - $Revision$');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user