Mise en conformité

This commit is contained in:
Rodolphe Quiedeville 2003-10-14 15:13:36 +00:00
parent 1277209de1
commit bfa307749f
5 changed files with 22 additions and 22 deletions

View File

@ -75,12 +75,12 @@ print '<TABLE border="0" width="100%" cellspacing="0" cellpadding="4">';
print '<tr><td valign="top" width="30%">'; print '<tr><td valign="top" width="30%">';
print '<TABLE border="0" cellspacing="0" cellpadding="3" width="100%">';
print '<tr class="liste_titre"><td colspan="2">Rechercher une proposition</td></tr>';
print '<form method="post" action="propal.php">'; print '<form method="post" action="propal.php">';
print '<table border="0" cellspacing="0" cellpadding="3" width="100%">';
print '<tr class="liste_titre"><td colspan="2">Rechercher une proposition</td></tr>';
print "<tr $bc[1]><td>"; print "<tr $bc[1]><td>";
print 'Num. : <input type="text" name="sf_ref"><input type="submit" value="Rechercher" class="flat"></td></tr>'; print 'Num. : <input type="text" name="sf_ref"><input type="submit" value="Rechercher" class="flat"></td></tr>';
print "</form></table><br>\n"; print "</table></form><br>\n";
$sql = "SELECT p.rowid, p.ref"; $sql = "SELECT p.rowid, p.ref";
$sql .= " FROM llx_propal as p"; $sql .= " FROM llx_propal as p";

View File

@ -106,7 +106,7 @@ if ($socid > 0)
if ($objsoc->note) if ($objsoc->note)
{ {
print '<table border=0 width="100%" cellspacing="0">'; print '<table border="0" width="100%" cellspacing="0">';
print "<tr><td>".nl2br($objsoc->note)."</td></tr>"; print "<tr><td>".nl2br($objsoc->note)."</td></tr>";
print "</table>"; print "</table>";
} }
@ -117,7 +117,7 @@ if ($socid > 0)
print $db->error(); print $db->error();
} }
print "<P><table class=\"tablefuser\" width=\"100%\" cellspacing=0 border=1 cellpadding=2>"; print '<p><table class="border" width="100%" cellspacing="0" border="1" cellpadding="2">';
print "<tr><td><b>Prénom Nom</b></td>"; print "<tr><td><b>Prénom Nom</b></td>";
print "<td><b>Poste</b></td><td><b>Tel</b></td>"; print "<td><b>Poste</b></td><td><b>Tel</b></td>";

View File

@ -635,7 +635,7 @@ else
print '<td align="right">'.price($objp->amount)."</TD><td>$_MONNAIE</td>\n"; print '<td align="right">'.price($objp->amount)."</TD><td>$_MONNAIE</td>\n";
if (! $fac->paye && $user->rights->facture->paiement) if (! $fac->paye && $user->rights->facture->paiement)
{ {
print '<td><a href="facture.php?facid='.$facid.'&action=del_paiement&paiementid='.$objp->rowid.'">Del</a>'; print '<td><a href="facture.php?facid='.$facid.'&amp;action=del_paiement&paiementid='.$objp->rowid.'">Del</a>';
} }
print "</tr>"; print "</tr>";
$total = $total + $objp->amount; $total = $total + $objp->amount;
@ -745,8 +745,8 @@ else
print '<TD align="right">'.price($objp->subprice)."</td>\n"; print '<TD align="right">'.price($objp->subprice)."</td>\n";
if ($fac->statut == 0 && $user->rights->facture->creer) if ($fac->statut == 0 && $user->rights->facture->creer)
{ {
print '<td align="right"><a href="'.$PHPSELF.'?facid='.$facid.'&action=deleteline&rowid='.$objp->rowid.'">del</a></td>'; print '<td align="right"><a href="'.$PHPSELF.'?facid='.$facid.'&amp;action=deleteline&rowid='.$objp->rowid.'">del</a></td>';
print '<td align="right"><a href="'.$PHPSELF.'?facid='.$facid.'&action=editline&rowid='.$objp->rowid.'">edit</a></td>'; print '<td align="right"><a href="'.$PHPSELF.'?facid='.$facid.'&amp;action=editline&rowid='.$objp->rowid.'">edit</a></td>';
} }
else else
{ {
@ -822,11 +822,11 @@ else
if ($fac->statut == 0 && $user->rights->facture->supprimer) if ($fac->statut == 0 && $user->rights->facture->supprimer)
{ {
print "<td align=\"center\" width=\"20%\">[<a href=\"$PHP_SELF?facid=$facid&action=delete\">Supprimer</a>]</td>"; print "<td align=\"center\" width=\"20%\">[<a href=\"$PHP_SELF?facid=$facid&amp;action=delete\">Supprimer</a>]</td>";
} }
elseif ($fac->statut == 1 && abs($resteapayer) > 0 && $user->rights->facture->envoyer) elseif ($fac->statut == 1 && abs($resteapayer) > 0 && $user->rights->facture->envoyer)
{ {
print "<td align=\"center\" width=\"20%\">[<a href=\"$PHP_SELF?facid=$facid&action=presend\">Envoyer</a>]</td>"; print "<td align=\"center\" width=\"20%\">[<a href=\"$PHP_SELF?facid=$facid&amp;action=presend\">Envoyer</a>]</td>";
} }
else else
{ {
@ -835,7 +835,7 @@ else
if ($fac->statut == 1 && $resteapayer > 0 && $user->rights->facture->paiement) if ($fac->statut == 1 && $resteapayer > 0 && $user->rights->facture->paiement)
{ {
print "<td align=\"center\" width=\"20%\">[<a href=\"paiement.php?facid=$facid&action=create\">Emettre un paiement</a>]</td>"; print "<td align=\"center\" width=\"20%\">[<a href=\"paiement.php?facid=$facid&amp;action=create\">Emettre un paiement</a>]</td>";
} }
else else
{ {
@ -846,7 +846,7 @@ else
{ {
if ($user->rights->facture->paiement) if ($user->rights->facture->paiement)
{ {
print "<td align=\"center\" width=\"20%\">[<a href=\"$PHP_SELF?facid=$facid&action=payed\">Classer 'Payée'</a>]</td>"; print "<td align=\"center\" width=\"20%\">[<a href=\"$PHP_SELF?facid=$facid&amp;action=payed\">Classer 'Payée'</a>]</td>";
} }
else else
{ {
@ -855,7 +855,7 @@ else
} }
elseif ($fac->statut == 1 && $resteapayer > 0 && $user->rights->facture->envoyer) elseif ($fac->statut == 1 && $resteapayer > 0 && $user->rights->facture->envoyer)
{ {
print "<td align=\"center\" width=\"20%\">[<a href=\"$PHP_SELF?facid=$facid&action=prerelance\">Envoyer une relance</a>]</td>"; print "<td align=\"center\" width=\"20%\">[<a href=\"$PHP_SELF?facid=$facid&amp;action=prerelance\">Envoyer une relance</a>]</td>";
} }
else else
{ {
@ -866,7 +866,7 @@ else
{ {
if ($user->rights->facture->valider) if ($user->rights->facture->valider)
{ {
print "<td align=\"center\" bgcolor=\"#e0e0e0\" width=\"20%\">[<a href=\"$PHP_SELF?facid=$facid&action=valid\">Valider</a>]</td>"; print "<td align=\"center\" bgcolor=\"#e0e0e0\" width=\"20%\">[<a href=\"$PHP_SELF?facid=$facid&amp;action=valid\">Valider</a>]</td>";
} }
else else
{ {
@ -877,7 +877,7 @@ else
{ {
if ($user->rights->facture->creer) if ($user->rights->facture->creer)
{ {
print "<td align=\"center\" width=\"20%\"><a href=\"facture.php?facid=$facid&action=pdf\">Générer la facture</a></td>"; print "<td align=\"center\" width=\"20%\"><a href=\"facture.php?facid=$facid&amp;action=pdf\">Générer la facture</a></td>";
} }
else else
{ {
@ -893,7 +893,7 @@ else
{ {
//print '<td align="center" width="20%">-</td>'; //print '<td align="center" width="20%">-</td>';
print '<td align="center" width="20%"><a href="facture/fiche-rec.php?facid='.$facid.'&action=create">Récurrente</a></td>'; print '<td align="center" width="20%"><a href="facture/fiche-rec.php?facid='.$facid.'&amp;action=create">Récurrente</a></td>';
} }
else else
{ {
@ -979,7 +979,7 @@ else
$replytomail = $user->email; $replytomail = $user->email;
$from_mail = $replytomail; $from_mail = $replytomail;
print "<form method=\"post\" action=\"$PHP_SELF?facid=$facid&action=send\">\n"; print "<form method=\"post\" action=\"$PHP_SELF?facid=$facid&amp;action=send\">\n";
print '<input type="hidden" name="replytoname" value="'.$replytoname.'">'; print '<input type="hidden" name="replytoname" value="'.$replytoname.'">';
print '<input type="hidden" name="replytomail" value="'.$replytomail.'">'; print '<input type="hidden" name="replytomail" value="'.$replytomail.'">';

View File

@ -111,7 +111,7 @@ if ( $db->query($sql) )
{ {
$obj = $db->fetch_object( $i); $obj = $db->fetch_object( $i);
$var=!$var; $var=!$var;
print '<tr '.$bc[$var].'><td><a href="facture.php?facid='.$obj->rowid.'">'.$obj->facnumber.'</td>'; print '<tr '.$bc[$var].'><td><a href="facture.php?facid='.$obj->rowid.'">'.$obj->facnumber.'</a></td>';
print '<td><a href="fiche.php?socid='.$obj->idp.'">'.$obj->nom.'</a></td></tr>'; print '<td><a href="fiche.php?socid='.$obj->idp.'">'.$obj->nom.'</a></td></tr>';
$i++; $i++;
} }

View File

@ -431,7 +431,7 @@ Function left_menu($menu, $help_url='')
* Colonne de gauche * Colonne de gauche
* *
*/ */
print '<table class="leftmenu" border="0" width="100%" cellspacing="1" cellpadding="4">'; print "\n".'<table class="leftmenu" border="0" width="100%" cellspacing="1" cellpadding="4">'."\n";
for ($i = 0 ; $i < sizeof($menu) ; $i++) for ($i = 0 ; $i < sizeof($menu) ; $i++)
@ -499,8 +499,8 @@ Function left_menu($menu, $help_url='')
* *
* *
*/ */
print '</table>'; print '</table>'."\n";
print '</td><td valign="top" width="85%" colspan="6">'; print '</td><td valign="top" width="85%" colspan="6">'."\n";
} }
@ -513,7 +513,7 @@ Function left_menu($menu, $help_url='')
function llxFooter($foot='') function llxFooter($foot='')
{ {
global $dolibarr_auto_user; global $dolibarr_auto_user;
print "</td></tr>"; print "\n</td></tr>\n";
/* /*
* *
*/ */