Look: Modif esthétique mineure

This commit is contained in:
Laurent Destailleur 2005-04-15 20:31:55 +00:00
parent c85780c47f
commit 7ec9c7d451

View File

@ -22,10 +22,10 @@
*/ */
/** /**
\file htdocs/compta/index.php \file htdocs/compta/index.php
\ingroup compta \ingroup compta
\brief Page accueil zone comptabilité \brief Page accueil zone comptabilité
\version $Revision$ \version $Revision$
*/ */
require("./pre.inc.php"); require("./pre.inc.php");
@ -89,7 +89,7 @@ print '<table class="noborder" width="100%">';
print "<tr class=\"liste_titre\">"; print "<tr class=\"liste_titre\">";
print '<td colspan="2">'.$langs->trans("SearchABill").'</td></tr>'; print '<td colspan="2">'.$langs->trans("SearchABill").'</td></tr>';
print "<tr $bc[0]><td>"; print "<tr $bc[0]><td>";
print $langs->trans("Ref").' : <input type="text" name="sf_ref">&nbsp;<input type="submit" value="'.$langs->trans("Search").'" class="button"></td></tr>'; print $langs->trans("Ref").': <input type="text" name="sf_ref" class="flat" size="18">&nbsp;<input type="submit" value="'.$langs->trans("Search").'" class="button"></td></tr>';
print "</table></form><br>"; print "</table></form><br>";
@ -366,23 +366,23 @@ if ($conf->facture->enabled && $user->rights->facture->lire)
// \todo Mettre ici recup des actions en rapport avec la compta // \todo Mettre ici recup des actions en rapport avec la compta
$result = 0; $resql = 0;
if ( $result ) if ($resql)
{ {
print '<table class="noborder" width="100%">'; print '<table class="noborder" width="100%">';
print '<tr class="liste_titre"><td colspan="2">'.$langs->trans("TasksToDo").'</td>'; print '<tr class="liste_titre"><td colspan="2">'.$langs->trans("TasksToDo").'</td>';
print "</tr>\n"; print "</tr>\n";
$var = True; $var = True;
$i = 0; $i = 0;
while ($i < $db->num_rows() ) while ($i < $db->num_rows($resql) )
{ {
$obj = $db->fetch_object(); $obj = $db->fetch_object($resql);
$var=!$var; $var=!$var;
print "<tr $bc[$var]><td>".strftime("%d %b %Y",$obj->da)."</td><td><a href=\"action/fiche.php\">$obj->libelle $obj->label</a></td></tr>"; print "<tr $bc[$var]><td>".strftime("%d %b %Y",$obj->da)."</td><td><a href=\"action/fiche.php\">$obj->libelle $obj->label</a></td></tr>";
$i++; $i++;
} }
$db->free(); $db->free($resql);
print "</table><br>"; print "</table><br>";
} }