Trad: Encore des traductions
This commit is contained in:
parent
3211b9cf26
commit
a969da6d81
@ -74,7 +74,7 @@ if ($action == 'create')
|
||||
|
||||
print '<table border="1" width="100%" cellspacing="0" cellpadding="4">';
|
||||
print "<tr>";
|
||||
print '<td>Référence</td><td><input name="ref" size="20" value=""></td></tr>';
|
||||
print '<td>'.$langs->trans("Ref").'</td><td><input name="ref" size="20" value=""></td></tr>';
|
||||
print '<td>Titre</td><td><input name="titre" size="40" value=""></td></tr>';
|
||||
print '<tr><td>'.$langs->trans("Price").'</td><TD><input name="price" size="10" value=""></td></tr>';
|
||||
print "<tr><td valign=\"top\">Description</td><td>";
|
||||
@ -104,7 +104,7 @@ else
|
||||
|
||||
print '<table border="1" width="100%" cellspacing="0" cellpadding="4">';
|
||||
print "<tr>";
|
||||
print '<td width="20%">Référence</td><td width="30%">'.$album->ref.'</td>';
|
||||
print '<td width="20%">'.$langs->trans("Ref").'</td><td width="30%">'.$album->ref.'</td>';
|
||||
print '<td width="50%" valign="top">Description</td></tr>';
|
||||
|
||||
print "<tr><td>Statut</td><td>$album->status</td>\n";
|
||||
@ -132,7 +132,7 @@ else
|
||||
|
||||
print '<table border="1" width="100%" cellspacing="0" cellpadding="4">';
|
||||
print "<tr>";
|
||||
print '<td width="20%">Référence</td><td><input name="ref" size="20" value="'.$album->ref.'"></td>';
|
||||
print '<td width="20%">'.$langs->trans("Ref").'</td><td><input name="ref" size="20" value="'.$album->ref.'"></td>';
|
||||
print "<td valign=\"top\">Description</td></tr>";
|
||||
|
||||
print '<td>Titre</td><td><input name="titre" size="40" value="'.$album->titre.'"></td>';
|
||||
|
||||
@ -67,12 +67,12 @@ if ($id)
|
||||
{
|
||||
$num = $db->num_rows();
|
||||
$i = 0;
|
||||
print "<p><TABLE border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"4\">";
|
||||
print "<TR class=\"liste_titre\"><td>Réf.</td><td>";
|
||||
print "<p><table class=\"noborder\" width=\"100%\" cellspacing=\"0\" cellpadding=\"3\">";
|
||||
print "<tr class=\"liste_titre\"><td>".$langs->trans("Ref")."</td><td>";
|
||||
print_liste_field_titre("Titre","index.php", "l.title");
|
||||
print "</td>";
|
||||
print '<td colspan="3"> </td>';
|
||||
print "</TR>\n";
|
||||
print "</tr>\n";
|
||||
$var=True;
|
||||
while ($i < $num)
|
||||
{
|
||||
|
||||
@ -49,7 +49,7 @@ $sql .= " ORDER BY $sortfield $sortorder ";
|
||||
$sql .= $db->plimit( $limit ,$offset);
|
||||
|
||||
print "<p><TABLE border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"4\">";
|
||||
print "<TR class=\"liste_titre\"><td>Réf";
|
||||
print "<TR class=\"liste_titre\"><td>".$langs->trans("Ref");
|
||||
print '</td><TD align="center">Indice critiques</TD>';
|
||||
print '</td><td align="center">Quantité';
|
||||
print '</td><td align="center">Status</TD>';
|
||||
|
||||
@ -280,7 +280,7 @@ else
|
||||
print '<tr class="liste_titre">';
|
||||
print '<form action="liste.php" method="post"><td>';
|
||||
print '<input type="hidden" name="type" value="'.$product->type.'">';
|
||||
print 'Réf : <input class="flat" type="text" size="10" name="sref"> <input class="flat" type="submit" value="go">';
|
||||
print $langs->trans("Ref").': <input class="flat" type="text" size="10" name="sref"> <input class="flat" type="submit" value="go">';
|
||||
print '</td></form><form action="liste.php" method="post"><td>';
|
||||
print 'Libellé : <input class="flat" type="text" size="20" name="snom"> <input class="flat" type="submit" value="go">';
|
||||
print '</td></form></tr></table>';
|
||||
@ -308,7 +308,7 @@ else
|
||||
print($mesg);
|
||||
print '<table class="border" width="100%" cellspacing="0" cellpadding="4">';
|
||||
print "<tr>";
|
||||
print '<td width="20%">Référence</td><td width="40%">'.$product->ref.'</td>';
|
||||
print '<td width="20%">'.$langs->trans("Ref").'</td><td width="40%">'.$product->ref.'</td>';
|
||||
print '<td width="40%">';
|
||||
if ($product->envente)
|
||||
{
|
||||
@ -455,7 +455,7 @@ else
|
||||
}
|
||||
|
||||
}
|
||||
print '</select></td><td>Référence</td><td><input name="ref_fourn" size="25" value=""></td></tr>';
|
||||
print '</select></td><td>'.$langs->trans("Ref").'</td><td><input name="ref_fourn" size="25" value=""></td></tr>';
|
||||
print '<tr><td colspan="4" align="center"><input type="submit" value="Enregistrer"> ';
|
||||
print '<input type="submit" name="cancel" value="Annuler"></td></tr>';
|
||||
print '</table>';
|
||||
@ -477,7 +477,7 @@ else
|
||||
print '<input type="hidden" name="action" value="update">';
|
||||
print '<input type="hidden" name="id" value="'.$product->id.'">';
|
||||
print '<table class="border" width="100%" cellspacing="0" cellpadding="4">';
|
||||
print "<tr>".'<td width="20%">Référence</td><td colspan="2"><input name="ref" size="20" value="'.$product->ref.'"></td></tr>';
|
||||
print "<tr>".'<td width="20%">'.$langs->trans("Ref").'</td><td colspan="2"><input name="ref" size="20" value="'.$product->ref.'"></td></tr>';
|
||||
print '<td>Libellé</td><td colspan="2"><input name="libelle" size="40" value="'.$product->libelle.'"></td></tr>';
|
||||
|
||||
print "<tr>".'<td>Taux TVA</td><td colspan="2">';
|
||||
|
||||
@ -48,9 +48,9 @@ $sql .= $db->plimit( $limit ,$offset);
|
||||
if ( $db->query($sql) ) {
|
||||
$num = $db->num_rows();
|
||||
$i = 0;
|
||||
print "<p><TABLE border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"4\">";
|
||||
print "<p><TABLE class=\"noborder\" width=\"100%\" cellspacing=\"0\" cellpadding=\"3\">";
|
||||
print "<TR class=\"liste_titre\"><td>";
|
||||
print_liste_field_titre("Réf","index.php", "p.ref");
|
||||
print_liste_field_titre($langs->trans("Ref"),"index.php", "p.ref");
|
||||
print "</td>";
|
||||
print "<td></td>";
|
||||
print "</TR>\n";
|
||||
|
||||
@ -130,13 +130,13 @@ if ($result)
|
||||
print_barre_liste($texte, $page, "liste.php", "&sref=$sref&snom=$snom&fourn_id=$fourn_id&type=$type", $sortfield, $sortorder,'',$num);
|
||||
}
|
||||
|
||||
print '<TABLE border="0" width="100%" cellspacing="0" cellpadding="4">';
|
||||
print '<table class="noborder" width="100%" cellspacing="0" cellpadding="4">';
|
||||
|
||||
print "<TR class=\"liste_titre\"><td>";
|
||||
print_liste_field_titre("Réf","liste.php", "p.ref","&envente=$envente&type=$type&fourn_id=$fourn_id");
|
||||
print "<tr class=\"liste_titre\"><td>";
|
||||
print_liste_field_titre($langs->trans("Ref"),"liste.php", "p.ref","&envente=$envente&type=$type&fourn_id=$fourn_id");
|
||||
print "</td><td>";
|
||||
print_liste_field_titre("Libellé","liste.php", "p.label","&envente=$envente&type=$type&fourn_id=$fourn_id");
|
||||
print "</td><TD align=\"right\">";
|
||||
print "</td><td align=\"right\">";
|
||||
print_liste_field_titre("Prix de vente","liste.php", "p.price","&envente=$envente&type=$type&fourn_id=$fourn_id");
|
||||
print "</td></tr>\n";
|
||||
|
||||
|
||||
@ -48,7 +48,7 @@ $sql .= " ORDER BY $sortfield $sortorder ";
|
||||
$sql .= $db->plimit( $limit ,$offset);
|
||||
|
||||
print "<p><TABLE border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"4\">";
|
||||
print "<TR class=\"liste_titre\"><td>Réf";
|
||||
print "<TR class=\"liste_titre\"><td>".$langs->trans("Ref");
|
||||
print '</td><TD align="center">Indice critiques</TD>';
|
||||
print '</td><td align="center">Quantité';
|
||||
print '</td><td align="center">Status</TD>';
|
||||
|
||||
@ -42,7 +42,7 @@ print_barre_liste("Liste des produits par popularit
|
||||
print '<table class="noborder" width="100%" cellspacing="0" cellpadding="4">';
|
||||
|
||||
print "<TR class=\"liste_titre\"><td>";
|
||||
print_liste_field_titre("Réf","popurop.php", "p.ref");
|
||||
print_liste_field_titre($langs->trans("Ref"),"popurop.php", "p.ref");
|
||||
print "</td><td>";
|
||||
print_liste_field_titre("Libellé","popurop.php", "p.label");
|
||||
print "</td><TD align=\"center\">";
|
||||
|
||||
@ -49,7 +49,7 @@ $result = $product->fetch($_GET["id"]);
|
||||
print '<table border="0" width="100%" cellspacing="0" cellpadding="4">';
|
||||
print '<tr class="liste_titre">';
|
||||
print '<form action="liste.php?type='.$product->type.'" method="post"><td>';
|
||||
print 'Réf : <input class="flat" type="text" size="10" name="sref"> <input class="flat" type="submit" value="go">';
|
||||
print $langs->trans("Ref").' : <input class="flat" type="text" size="10" name="sref"> <input class="flat" type="submit" value="go">';
|
||||
print '</td></form><form action="liste.php" method="post"><td>';
|
||||
print 'Libellé : <input class="flat" type="text" size="20" name="snom"> <input class="flat" type="submit" value="go">';
|
||||
print '</td></form></tr></table>';
|
||||
|
||||
@ -65,7 +65,7 @@ if ( $db->query($sql) )
|
||||
$i = 0;
|
||||
print '<p><TABLE border="0" width="100%" cellspacing="0" cellpadding="4">';
|
||||
print "<TR class=\"liste_titre\"><td>";
|
||||
print_liste_field_titre("Réf","index.php", "p.products_model");
|
||||
print_liste_field_titre($langs->trans("Ref"),"index.php", "p.products_model");
|
||||
print "</td><td>";
|
||||
print_liste_field_titre("Titre","index.php", "pd.products_name");
|
||||
print "</td>";
|
||||
|
||||
@ -47,7 +47,7 @@ if ($_GET["id"])
|
||||
print_fiche_titre('Fiche produit : '.$product->ref, $mesg);
|
||||
|
||||
print '<table class="border" width="100%" cellspacing="0" cellpadding="4"><tr>';
|
||||
print '<td width="20%">Référence</td><td width="40%"><a href="../fiche.php?id='.$product->id.'">'.$product->ref.'</a></td>';
|
||||
print '<td width="20%">'.$langs->trans("Ref").'</td><td width="40%"><a href="../fiche.php?id='.$product->id.'">'.$product->ref.'</a></td>';
|
||||
print '<td><a href="fiche.php?id='.$product->id.'">'.$langs->trans("Statistics").'</a></td></tr>';
|
||||
print "<tr><td>Libellé</td><td>$product->libelle</td>";
|
||||
print '<td valign="top" rowspan="2">';
|
||||
|
||||
@ -87,7 +87,7 @@ if ($_GET["id"])
|
||||
print '<table border="0" width="100%" cellspacing="0" cellpadding="4">';
|
||||
print '<tr class="liste_titre">';
|
||||
print '<form action="liste.php?type='.$product->type.'" method="post"><td>';
|
||||
print 'Réf : <input class="flat" type="text" size="10" name="sref"> <input class="flat" type="submit" value="go">';
|
||||
print $langs->trans("Ref").' : <input class="flat" type="text" size="10" name="sref"> <input class="flat" type="submit" value="go">';
|
||||
print '</td></form><form action="liste.php" method="post"><td>';
|
||||
print 'Libellé : <input class="flat" type="text" size="20" name="snom"> <input class="flat" type="submit" value="go">';
|
||||
print '</td></form></tr></table>';
|
||||
|
||||
@ -119,7 +119,7 @@ if ($result)
|
||||
print '<TABLE border="0" width="100%" cellspacing="0" cellpadding="4">';
|
||||
|
||||
print "<TR class=\"liste_titre\"><td>";
|
||||
print_liste_field_titre("Réf","liste.php", "p.ref","&envente=$envente&type=$type");
|
||||
print_liste_field_titre($langs->trans("Ref"),"liste.php", "p.ref","&envente=$envente&type=$type");
|
||||
print "</td><td>";
|
||||
print_liste_field_titre("Libellé","liste.php", "p.label","&envente=$envente&type=$type");
|
||||
print "</td><TD align=\"right\">Prix de vente</TD>";
|
||||
|
||||
@ -69,7 +69,7 @@ if ($result)
|
||||
|
||||
print '<table border="0" width="100%" cellspacing="0" cellpadding="4">';
|
||||
print "<tr class=\"liste_titre\"><td>";
|
||||
print_liste_field_titre("Réf","mouvement.php", "p.ref","");
|
||||
print_liste_field_titre($langs->trans("Ref"),"mouvement.php", "p.ref","");
|
||||
print "</td><TD align=\"center\">Unités</TD><td>";
|
||||
print_liste_field_titre("Date","mouvement.php", "m.datem","");
|
||||
print "</td><td>";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user