Trad: Traduction de toutes les chaines "Ajouter" dans toutes les pages.
This commit is contained in:
parent
200f8c065d
commit
13274f7251
@ -130,7 +130,7 @@ if ($result)
|
||||
print '<td width="50" align="center">';
|
||||
if (! $boxes[$position][$obj->rowid])
|
||||
{
|
||||
print '<a href="boxes.php?rowid='.$obj->rowid.'&action=add&pos='.$position.'">Ajouter</a>';
|
||||
print '<a href="boxes.php?rowid='.$obj->rowid.'&action=add&pos='.$position.'">'.$langs->trans("Add").'</a>';
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@ -152,7 +152,7 @@ if ($_GET["id"])
|
||||
print '<td><input type="text" value="" name="'.$fieldlist[$field].'"></td>';
|
||||
}
|
||||
}
|
||||
print '<td colspan=2><input type="submit" name="Ajouter" value="Ajouter"></td>';
|
||||
print '<td colspan=2><input type="submit" name="Ajouter" value="'.$langs->trans("Add").'"></td>';
|
||||
print "</tr>";
|
||||
print '<tr><td colspan="'.(count($fieldlist)+2).'"></td></tr>';
|
||||
}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
<?PHP
|
||||
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -64,7 +65,7 @@ if ($result)
|
||||
print '<tr class="liste_titre">';
|
||||
print '<td>'.$langs->trans("Permission").'</td>';
|
||||
print '<td>'.$langs->trans("Module").'</td>';
|
||||
print '<td align="center">'.$langs->trans("Défaut").'</td>';
|
||||
print '<td align="center">'.$langs->trans("Default").'</td>';
|
||||
print '<td align="center"> </td>';
|
||||
print "</tr>\n";
|
||||
$old = $obj->module;
|
||||
@ -77,15 +78,13 @@ if ($result)
|
||||
|
||||
print '<img src="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/tick.png" border="0">';
|
||||
print '</td><td>';
|
||||
print '<a href="perms.php?pid='.$obj->id.'&action=remove">';
|
||||
print '<img src="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/edit_remove.png" alt="Enlever" title="Enlever" border="0"></a>';
|
||||
print '<a href="perms.php?pid='.$obj->id.'&action=remove">'.img_edit_removed().'</a>';
|
||||
}
|
||||
else
|
||||
{
|
||||
print ' ';
|
||||
print '</td><td>';
|
||||
print '<a href="perms.php?pid='.$obj->id.'&action=add">';
|
||||
print '<img src="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/edit_add.png" alt="Ajouter" title="Ajouter" border="0"></a>';
|
||||
print '<a href="perms.php?pid='.$obj->id.'&action=add">'.img_edit_add().'</a>';
|
||||
}
|
||||
|
||||
print '</td></tr>';
|
||||
|
||||
@ -315,7 +315,7 @@ else
|
||||
|
||||
print '<tr><td>Auteur(s)</td><td colspan="2">';
|
||||
$htmls->select_array("coauteurid", $auteur->liste_array());
|
||||
print ' <input type="submit" value="Ajouter"></td></tr>';
|
||||
print ' <input type="submit" value="'.$langs->trans("Add").'"></td></tr>';
|
||||
print "</form>";
|
||||
|
||||
print "<form action=\"fiche.php?id=$id\" method=\"post\">\n";
|
||||
@ -324,7 +324,7 @@ else
|
||||
$listecat = new Categorie($db);
|
||||
print '<td valign="top">Catégories</td><td colspan="2">';
|
||||
$htmls->select_array("catid", $listecat->liste_array());
|
||||
print ' <input type="submit" value="Ajouter"></td></tr>';
|
||||
print ' <input type="submit" value="'.$langs->trans("Add").'"></td></tr>';
|
||||
print "</form>";
|
||||
print "</td></tr>\n";
|
||||
|
||||
|
||||
@ -236,7 +236,7 @@ if ($_GET["action"] == 'create')
|
||||
print '<table class="border" width="100%" border="1" cellspacing="0" cellpadding="3">';
|
||||
if($afaire <> 1)
|
||||
{
|
||||
print '<tr><td width="10%">Ajouter</td><td><input type="checkbox" name="todo"></td></tr>';
|
||||
print '<tr><td width="10%">'.$langs->trans("Add").'</td><td><input type="checkbox" name="todo"></td></tr>';
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@ -96,13 +96,15 @@ if ($_GET["action"] == 'create')
|
||||
|
||||
if ( $db->query($sql) )
|
||||
{
|
||||
$langs->load("companies");
|
||||
|
||||
$i = 0 ;
|
||||
$numdest = $db->num_rows();
|
||||
|
||||
if ($numdest==0)
|
||||
{
|
||||
print 'Cette societe n\'a pas de contact, veuillez en créer un avant de faire votre proposition commerciale<br>';
|
||||
print '<a href="'.DOL_URL_ROOT.'/contact/fiche.php?socid='.$soc->id.'&action=create">Ajouter un contact</a>';
|
||||
print '<a href="'.DOL_URL_ROOT.'/contact/fiche.php?socid='.$soc->id.'&action=create">'.$langs->trans("AddContact").'</a>';
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@ -406,7 +406,7 @@ if ($_socid > 0)
|
||||
print '<tr class="liste_titre"><td>Prénom Nom</td>';
|
||||
print '<td>Poste</td><td>Tél</td>';
|
||||
print "<td>Fax</td><td>Email</td>";
|
||||
print "<td align=\"center\"><a href=\"../contact/fiche.php?socid=$objsoc->id&action=create\">Ajouter</a></td></tr>";
|
||||
print "<td align=\"center\"><a href=\"../contact/fiche.php?socid=$objsoc->id&action=create\">".$langs->trans("Add")."</a></td></tr>";
|
||||
|
||||
$sql = "SELECT p.idp, p.name, p.firstname, p.poste, p.phone, p.fax, p.email, p.note FROM ".MAIN_DB_PREFIX."socpeople as p WHERE p.fk_soc = $objsoc->id ORDER by p.datec";
|
||||
$result = $db->query($sql);
|
||||
|
||||
@ -507,7 +507,7 @@ if ($_GET["propalid"])
|
||||
print '<td align="center"><input type="text" size="3" value="1" name="np_qty"></td>';
|
||||
print '<td align="center"><input type="text" size="3" value="0" name="np_remise"> %</td>';
|
||||
print '<td align="right"><input type="text" size="6" name="np_price"></td>';
|
||||
print '<td align="center"><input type="submit" value="Ajouter" name="addproduct"></td>';
|
||||
print '<td align="center"><input type="submit" value="'.$langs->trans("Add").'" name="addproduct"></td>';
|
||||
print '</tr>';
|
||||
|
||||
/*
|
||||
@ -519,7 +519,7 @@ if ($_GET["propalid"])
|
||||
print '<td align="center"><input type="text" size="3" name="qty" value="1"></td>';
|
||||
print '<td align="center"><input type="text" size="3" name="remise" value="0"> %</td>';
|
||||
print '<td> </td>';
|
||||
print '<td align="center"><input type="submit" value="Ajouter" name="addligne"></td>';
|
||||
print '<td align="center"><input type="submit" value="'.$langs->trans("Add").'" name="addligne"></td>';
|
||||
print "</tr>\n";
|
||||
}
|
||||
print "</table>";
|
||||
|
||||
@ -30,6 +30,9 @@ $user->getrights('fichinter');
|
||||
$user->getrights('commande');
|
||||
$user->getrights('projet');
|
||||
|
||||
$langs->load('companies');
|
||||
|
||||
|
||||
if ($_GET["action"] == 'cstc')
|
||||
{
|
||||
$sql = "UPDATE ".MAIN_DB_PREFIX."societe SET fk_stcomm = ".$_GET["stcomm"];
|
||||
@ -232,10 +235,10 @@ if ($socid > 0)
|
||||
*/
|
||||
print '<table width="100%" cellspacing="1" border="0" cellpadding="2">';
|
||||
|
||||
print '<tr class="liste_titre"><td>Prénom Nom</td>';
|
||||
print '<td>Poste</td><td colspan="2">Tél</td>';
|
||||
print "<td>Fax</td><td>Email</td>";
|
||||
print "<td align=\"center\"><a href=\"../../contact/fiche.php?socid=$societe->id&action=create\">Ajouter</a></td></tr>";
|
||||
print '<tr class="liste_titre"><td>'.$langs->trans("Firstname").' '.$langs->trans("Name").'</td>';
|
||||
print '<td>Poste</td><td colspan="2">'.$langs->trans("Tel").'</td>';
|
||||
print '<td>'.$langs->trans("Fax").'</td><td>'.$langs->trans("EMail").'</td>';
|
||||
print "<td align=\"center\"><a href=\"../../contact/fiche.php?socid=$societe->id&action=create\">".$langs->trans("Add")."</a></td></tr>";
|
||||
|
||||
$sql = "SELECT p.idp, p.name, p.firstname, p.poste, p.phone, p.fax, p.email, p.note FROM ".MAIN_DB_PREFIX."socpeople as p WHERE p.fk_soc = $societe->id ORDER by p.datec";
|
||||
$result = $db->query($sql);
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
<?PHP
|
||||
/* Copyright (C) 2003-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -653,14 +654,14 @@ else
|
||||
print '<td align="right"><input type="text" name="remise_percent" size="4" value="0"> %</td>';
|
||||
print '<td align="right"><input type="text" name="pu" size="8"></td>';
|
||||
|
||||
print '<td align="center" colspan="3"><input type="submit" value="Ajouter"></td></tr>';
|
||||
print '<td align="center" colspan="3"><input type="submit" value="'.$langs->trans("Add").'"></td></tr>';
|
||||
|
||||
$var=!$var;
|
||||
print "<tr $bc[$var]><td colspan=\"2\"><select name=\"p_idprod\">$opt</select></td>";
|
||||
print '<td align="center"><input type="text" size="2" name="pqty" value="1"></td>';
|
||||
print '<td align="right"><input type="text" size="4" name="premise" value="0"> %</td>';
|
||||
print '<td> </td>';
|
||||
print '<td align="center" colspan="3"><input type="submit" value="Ajouter"></td></tr>';
|
||||
print '<td align="center" colspan="3"><input type="submit" value="'.$langs->trans("Add").'"></td></tr>';
|
||||
print "</tr>\n";
|
||||
|
||||
print "</form>";
|
||||
|
||||
@ -293,7 +293,7 @@ if ($account > 0)
|
||||
print '</td></tr>';
|
||||
print '<tr>';
|
||||
print '<td><small>YYYY MMDD</small></td><td colspan="2"> </td><td>Description</td><td align=right>0000.00</td><td align=right>0000.00</td>';
|
||||
print '<td colspan="2" align="center"><input type="submit" value="Ajouter"></td>';
|
||||
print '<td colspan="2" align="center"><input type="submit" value="'.$langs->trans("Add").'"></td>';
|
||||
print '</tr>';
|
||||
}
|
||||
|
||||
|
||||
@ -81,7 +81,7 @@ if ($result)
|
||||
}
|
||||
print "<tr>";
|
||||
print "<td> </td><td><input name=\"label\" type=\"text\" size=45></td>";
|
||||
print "<td align=\"center\"><input type=\"submit\" value=\"ajouter\"</td></tr>";
|
||||
print "<td align=\"center\"><input type=\"submit\" value=\"".$langs->trans("Add")."\"</td></tr>";
|
||||
print "</table></form>";
|
||||
|
||||
|
||||
|
||||
@ -204,7 +204,7 @@ if ($result)
|
||||
print "<select name=\"cat1\">$options";
|
||||
|
||||
print "</select> ";
|
||||
print '<input type="submit" value="Ajouter"></td>';
|
||||
print '<input type="submit" value="'.$langs->trans("Add").'"></td>';
|
||||
print "</tr>";
|
||||
|
||||
print "</form>";
|
||||
|
||||
@ -127,7 +127,8 @@ print "</td>\n";
|
||||
print '<td><input name="label" type="text" size="40"></td>';
|
||||
print '<td><input name="amount" type="text" size="8"></td>';
|
||||
|
||||
print "<tr $bc[1]>".'<td colspan="5" align="center"><input type="submit" value="ajouter"</td></tr>';
|
||||
print "<tr $bc[1]>";
|
||||
print '<td colspan="5" align="center"><input type="submit" value="'.$langs->trans("Add").'"</td></tr>';
|
||||
|
||||
print "</table></form>";
|
||||
|
||||
|
||||
@ -1041,7 +1041,7 @@ else
|
||||
print '<td align="right"><input type="text" name="pu" size="8"></td>';
|
||||
print '<td align="right"><input type="text" name="qty" value="1" size="2"></td>';
|
||||
print '<td align="right"><input type="text" name="remise_percent" size="4" value="0"> %</td>';
|
||||
print '<td align="center" colspan="3"><input type="submit" value="Ajouter"></td></tr>';
|
||||
print '<td align="center" colspan="3"><input type="submit" value="'.$langs->trans("Add").'"></td></tr>';
|
||||
if ($conf->service->enabled) {
|
||||
print '<tr>';
|
||||
print '<td colspan="8">Si produit de type service à durée limitée: Du ';
|
||||
|
||||
@ -371,7 +371,7 @@ if ($socid > 0)
|
||||
print '<tr class="liste_titre"><td><b>Prénom Nom</b></td>';
|
||||
print '<td><b>Poste</b></td><td><b>Tél</b></td>';
|
||||
print "<td><b>Fax</b></td><td><b>Email</b></td>";
|
||||
print "<td align=\"center\"><a href=\"".DOL_URL_ROOT.'/contact/fiche.php?socid='.$societe->id."&action=create\">Ajouter</a></td></tr>";
|
||||
print "<td align=\"center\"><a href=\"".DOL_URL_ROOT.'/contact/fiche.php?socid='.$societe->id."&action=create\">".$langs->trans("Add")."</a></td></tr>";
|
||||
|
||||
$sql = "SELECT p.idp, p.name, p.firstname, p.poste, p.phone, p.fax, p.email, p.note FROM ".MAIN_DB_PREFIX."socpeople as p WHERE p.fk_soc = $societe->id ORDER by p.datec";
|
||||
$result = $db->query($sql);
|
||||
|
||||
@ -220,7 +220,7 @@ if ($user->rights->compta->charges->creer) {
|
||||
print '<td align="right"><input type="text" size="6" name="amount"></td>';
|
||||
print '<td> </td>';
|
||||
|
||||
print '<td><input type="submit" value="Ajouter"></form></td>';
|
||||
print '<td><input type="submit" value="'.$langs->trans("Add").'"></form></td>';
|
||||
print '</tr>';
|
||||
}
|
||||
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
<?PHP
|
||||
/* Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -122,7 +123,7 @@ if ($result) {
|
||||
|
||||
print "<td><input name=\"amount\" type=\"text\" size=8></td>";
|
||||
|
||||
print "<td colspan=\"2\" align=\"center\"><input type=\"submit\" value=\"ajouter\"</td>";
|
||||
print "<td colspan=\"2\" align=\"center\"><input type=\"submit\" value=\"".$langs->trans("Add")."\"</td>";
|
||||
print "</tr><tr><td colspan=\"1\">Réduction</td>";
|
||||
|
||||
print "<td><select name=\"reducid\">$options";
|
||||
|
||||
@ -205,7 +205,7 @@ if ($_GET["action"] == 'create')
|
||||
// print '</td></tr>';
|
||||
|
||||
print '<tr><td>Note</td><td colspan="5"><textarea name="note" cols="60" rows="3"></textarea></td></tr>';
|
||||
print '<tr><td align="center" colspan="6"><input type="submit" value="Ajouter"></td></tr>';
|
||||
print '<tr><td align="center" colspan="6"><input type="submit" value="'.$langs->trans("Add").'"></td></tr>';
|
||||
print "</table>";
|
||||
print "</form>";
|
||||
}
|
||||
|
||||
@ -368,7 +368,7 @@ else
|
||||
$html->select_tva("tauxtva");
|
||||
print '</td><td align="center" colspan="2">';
|
||||
print ' ';
|
||||
print '</td><td align="center"><input type="submit" value="Ajouter"></td></tr>';
|
||||
print '</td><td align="center"><input type="submit" value="'.$langs->trans("Add").'"></td></tr>';
|
||||
print "</table>";
|
||||
print "</form>";
|
||||
}
|
||||
|
||||
@ -151,10 +151,11 @@ if ( $societe->fetch($socid) )
|
||||
* Boutons Actions
|
||||
*/
|
||||
$langs->load("bills");
|
||||
$langs->load("companies");
|
||||
|
||||
print '<div class="tabsAction">';
|
||||
print '<a class="tabAction" href="facture/fiche.php?action=create&socid='.$societe->id.'">'.$langs->trans("CreateBill").'</a>';
|
||||
print '<a class="tabAction" href="'.DOL_URL_ROOT.'/contact/fiche.php?socid='.$socid.'&action=create">Ajouter un contact</a>';
|
||||
print '<a class="tabAction" href="'.DOL_URL_ROOT.'/contact/fiche.php?socid='.$socid.'&action=create">'.$langs->trans("AddContact").'</a>';
|
||||
print '</div>';
|
||||
|
||||
|
||||
@ -167,7 +168,7 @@ if ( $societe->fetch($socid) )
|
||||
|
||||
print '<br><table class="noborder" cellspacing="0" cellpadding="2" width="100%">';
|
||||
|
||||
print "<tr class=\"liste_titre\"><td><b>Prénom Nom</b></td>";
|
||||
print '<tr class="liste_titre"><td><b>'.$langs->trans("FirstName").' '.$langs->trans("LastName").'</b></td>';
|
||||
print '<td><b>Poste</b></td><td><b>'.$langs->trans("Tel").'</b></td>';
|
||||
print "<td><b>".$langs->trans("Fax")."</b></td><td><b>".$langs->trans("EMail")."</b></td>";
|
||||
print "<td align=\"center\"><a href=\"".DOL_URL_ROOT.'/contact/fiche.php?socid='.$socid."&action=create\">Ajouter</a></td></tr>";
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
<?PHP
|
||||
/* Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2003 Éric Seigne <erics@rycks.com>
|
||||
* Copyright (C) 2003 Éric Seigne <erics@rycks.com>
|
||||
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -164,10 +165,12 @@ if ($socid > 0) {
|
||||
|
||||
|
||||
if ($action == 'addcontact') {
|
||||
$langs->load("companies");
|
||||
|
||||
print "<br><form method=\"post\" action=\"people.php?socid=$socid\">";
|
||||
print "<input type=\"hidden\" name=\"action\" value=\"add\">";
|
||||
print "<table border=0>";
|
||||
print "<tr><td colspan=\"2\"><div class=\"titre\">Ajouter le contact</div></td>";
|
||||
print "<tr><td colspan=\"2\"><div class=\"titre\">".$langs->trans("AddContact")."</div></td>";
|
||||
print "<tr><td>Nom</td><td><input name=\"name\" type=\"text\" size=\"20\" maxlength=\"80\"></td>";
|
||||
print "<td>Prenom</td><td><input name=\"firstname\" type=\"text\" size=\"15\" maxlength=\"80\"></td></tr>";
|
||||
print "<tr><td>Poste</td><td colspan=\"3\"><input name=\"poste\" type=\"text\" size=\"50\" maxlength=\"80\"></td></tr>";
|
||||
@ -175,7 +178,7 @@ if ($socid > 0) {
|
||||
print "<td>Fax</td><td><input name=\"fax\" type=\"text\" size=\"18\" maxlength=\"80\"></td></tr>";
|
||||
print "<tr><td>Email</td><td colspan=\"3\"><input name=\"email\" type=\"text\" size=\"50\" maxlength=\"80\"></td></tr>";
|
||||
print "</table>";
|
||||
print "<input type=\"submit\" value=\"Ajouter\">";
|
||||
print "<input type=\"submit\" value=\"".$langs->trans("Add")."\">";
|
||||
print "</form>";
|
||||
}
|
||||
/*
|
||||
|
||||
@ -1,9 +1,11 @@
|
||||
# Dolibarr language file - fr_US - soc
|
||||
# Dolibarr language file - en_US - soc
|
||||
NewCompany=New company (prospect, customer, supplier)
|
||||
Company=Company
|
||||
Companies=Companies
|
||||
Name=Name
|
||||
Surname=Surname
|
||||
LastName=Lastname
|
||||
Firstname=Firstname
|
||||
Surname=Surname/Pseudo
|
||||
Address=Addrese
|
||||
State=State
|
||||
Country=Country
|
||||
@ -20,4 +22,5 @@ ProspectCustomer=Prospect / Customer
|
||||
Prospect=Prospect
|
||||
Customer=Customer
|
||||
Supplier=Supplier
|
||||
CompanyList=Companies' list
|
||||
CompanyList=Companies' list
|
||||
AddContact=Add new contact
|
||||
@ -8,6 +8,7 @@ Activate=Activate
|
||||
Activated=Activated
|
||||
Add=Add
|
||||
Delete=Delete
|
||||
Remove=Remove
|
||||
Resiliate=Resiliate
|
||||
Cancel=Cancel
|
||||
Modify=Modify
|
||||
@ -52,3 +53,4 @@ Second=Second
|
||||
Cut=Cut
|
||||
Copy=Copy
|
||||
Paste=Paste
|
||||
Default=Default
|
||||
|
||||
@ -3,7 +3,9 @@ NewCompany=Nouvelle soci
|
||||
Company=Société
|
||||
Companies=Sociétés
|
||||
Name=Nom
|
||||
Surname=Prénom
|
||||
LastName=Nom
|
||||
Firstname=Prénom
|
||||
Surname=Surnom/Pseudo
|
||||
Address=Adresse
|
||||
State=Département/Province/Canton
|
||||
Country=Pays
|
||||
@ -20,4 +22,5 @@ ProspectCustomer=Prospect / Client
|
||||
Prospect=Prospect
|
||||
Customer=Client
|
||||
Supplier=Fournisseur
|
||||
CompanyList=Liste des sociétés
|
||||
CompanyList=Liste des sociétés
|
||||
AddContact=Ajouter un contact
|
||||
@ -8,6 +8,7 @@ Activate=Activer
|
||||
Activated=Activé
|
||||
Add=Ajouter
|
||||
Delete=Supprimer
|
||||
Remove=Enlever
|
||||
Resiliate=Résilier
|
||||
Cancel=Annuler
|
||||
Modify=Modifier
|
||||
@ -52,3 +53,4 @@ Second=Seconde
|
||||
Cut=Couper
|
||||
Copy=Copier
|
||||
Paste=Coller
|
||||
Default=Defaut
|
||||
@ -247,6 +247,9 @@ function dolibarr_print_phone($phone)
|
||||
}
|
||||
}
|
||||
|
||||
/*!
|
||||
\brief Affiche logo fichier
|
||||
*/
|
||||
function img_file($alt = "default")
|
||||
{
|
||||
if ($alt="default") {
|
||||
@ -256,6 +259,9 @@ function img_file($alt = "default")
|
||||
return '<img src="'.DOL_URL_ROOT.'/theme/'.MAIN_THEME.'/img/file.png" border="0" alt="'.$alt.'" title="'.$alt.'">';
|
||||
}
|
||||
|
||||
/*!
|
||||
\brief Affiche logo nouveau fichier
|
||||
*/
|
||||
function img_file_new($alt = "default")
|
||||
{
|
||||
if ($alt="default") {
|
||||
@ -265,7 +271,9 @@ function img_file_new($alt = "default")
|
||||
return '<img src="'.DOL_URL_ROOT.'/theme/'.MAIN_THEME.'/img/filenew.png" border="0" alt="'.$alt.'" title="'.$alt.'">';
|
||||
}
|
||||
|
||||
|
||||
/*!
|
||||
\brief Affiche logo pdf
|
||||
*/
|
||||
function img_pdf($alt = "default")
|
||||
{
|
||||
if ($alt="default") {
|
||||
@ -275,7 +283,32 @@ function img_pdf($alt = "default")
|
||||
return '<img src="'.DOL_URL_ROOT.'/theme/'.MAIN_THEME.'/img/pdf.png" border="0" alt="'.$alt.'" title="'.$alt.'">';
|
||||
}
|
||||
|
||||
/*!
|
||||
\brief Affiche logo +
|
||||
*/
|
||||
function img_edit_add($alt = "default")
|
||||
{
|
||||
if ($alt="default") {
|
||||
global $langs;
|
||||
$alt=$langs->trans("Add");
|
||||
}
|
||||
return '<img src="'.DOL_URL_ROOT.'/theme/'.MAIN_THEME.'/img/edit_add.png" border="0" alt="'.$alt.'" title="'.$alt.'">';
|
||||
}
|
||||
/*!
|
||||
\brief Affiche logo -
|
||||
*/
|
||||
function img_edit_removed($alt = "default")
|
||||
{
|
||||
if ($alt="default") {
|
||||
global $langs;
|
||||
$alt=$langs->trans("Remove");
|
||||
}
|
||||
return '<img src="'.DOL_URL_ROOT.'/theme/'.MAIN_THEME.'/img/edit_remove.png" border="0" alt="'.$alt.'" title="'.$alt.'">';
|
||||
}
|
||||
|
||||
/*!
|
||||
\brief Affiche logo editer/modifier fiche
|
||||
*/
|
||||
function img_edit($alt = "default")
|
||||
{
|
||||
if ($alt="default") {
|
||||
@ -285,6 +318,9 @@ function img_edit($alt = "default")
|
||||
return '<img src="'.DOL_URL_ROOT.'/theme/'.MAIN_THEME.'/img/edit.png" border="0" alt="'.$alt.'" title="'.$alt.'">';
|
||||
}
|
||||
|
||||
/*!
|
||||
\brief Affiche logo effacer
|
||||
*/
|
||||
function img_delete($alt = "default")
|
||||
{
|
||||
if ($alt="default") {
|
||||
@ -294,6 +330,9 @@ function img_delete($alt = "default")
|
||||
return '<img src="'.DOL_URL_ROOT.'/theme/'.MAIN_THEME.'/img/delete.png" border="0" alt="'.$alt.'" title="'.$alt.'">';
|
||||
}
|
||||
|
||||
/*!
|
||||
\brief Affiche logo désactiver
|
||||
*/
|
||||
function img_disable($alt = "default")
|
||||
{
|
||||
if ($alt="default") {
|
||||
@ -304,6 +343,17 @@ function img_disable($alt = "default")
|
||||
}
|
||||
|
||||
|
||||
/*!
|
||||
\brief Affiche logo info
|
||||
*/
|
||||
function img_info($alt = "Informations")
|
||||
{
|
||||
return '<img src="'.DOL_URL_ROOT.'/theme/'.MAIN_THEME.'/img/info.png" border="0" alt="'.$alt.'" title="'.$alt.'">';
|
||||
}
|
||||
|
||||
/*!
|
||||
\brief Affiche logo warning
|
||||
*/
|
||||
function img_warning($alt = "default")
|
||||
{
|
||||
if ($alt="default") {
|
||||
@ -313,11 +363,9 @@ function img_warning($alt = "default")
|
||||
return '<img src="'.DOL_URL_ROOT.'/theme/'.MAIN_THEME.'/img/warning.png" border="0" alt="'.$alt.'" title="'.$alt.'">';
|
||||
}
|
||||
|
||||
function img_info($alt = "Informations")
|
||||
{
|
||||
return '<img src="'.DOL_URL_ROOT.'/theme/'.MAIN_THEME.'/img/info.png" border="0" alt="'.$alt.'" title="'.$alt.'">';
|
||||
}
|
||||
|
||||
/*!
|
||||
\brief Affiche logo alerte
|
||||
*/
|
||||
function img_alerte($alt = "default")
|
||||
{
|
||||
if ($alt="default") {
|
||||
@ -327,7 +375,9 @@ function img_alerte($alt = "default")
|
||||
return '<img src="'.DOL_URL_ROOT.'/theme/'.MAIN_THEME.'/img/alerte.png" border="0" alt="'.$alt.'" title="'.$alt.'">';
|
||||
}
|
||||
|
||||
|
||||
/*!
|
||||
\brief Affiche logo téléphone in
|
||||
*/
|
||||
function img_phone_in($alt = "default")
|
||||
{
|
||||
if ($alt="default") {
|
||||
@ -337,6 +387,9 @@ function img_phone_in($alt = "default")
|
||||
return '<img src="'.DOL_URL_ROOT.'/theme/'.MAIN_THEME.'/img/call.png" border="0" alt="'.$alt.'" title="'.$alt.'">';
|
||||
}
|
||||
|
||||
/*!
|
||||
\brief Affiche logo téléphone out
|
||||
*/
|
||||
function img_phone_out($alt = "default")
|
||||
{
|
||||
if ($alt="default") {
|
||||
@ -346,7 +399,9 @@ function img_phone_out($alt = "default")
|
||||
return '<img src="'.DOL_URL_ROOT.'/theme/'.MAIN_THEME.'/img/call_out.png" border="0" alt="'.$alt.'" title="'.$alt.'">';
|
||||
}
|
||||
|
||||
|
||||
/*!
|
||||
\brief Affiche logo suivant
|
||||
*/
|
||||
function img_next($alt = "default")
|
||||
{
|
||||
if ($alt="default") {
|
||||
@ -356,6 +411,9 @@ function img_next($alt = "default")
|
||||
return '<img src="'.DOL_URL_ROOT.'/theme/'.MAIN_THEME.'/img/next.png" border="0" alt="'.$alt.'" title="'.$alt.'">';
|
||||
}
|
||||
|
||||
/*!
|
||||
\brief Affiche logo précédent
|
||||
*/
|
||||
function img_previous($alt = "default")
|
||||
{
|
||||
if ($alt="default") {
|
||||
|
||||
@ -162,7 +162,7 @@ else
|
||||
print "<tr><td>Artiste/Groupe</td><td>";
|
||||
$htmls->select_array("ga", $ga->liste_array());
|
||||
print "</td></tr>";
|
||||
print '<tr><td> </td><td><input type="submit" value="Ajouter"></td></tr>';
|
||||
print '<tr><td> </td><td><input type="submit" value="'.$langs->trans("Add").'"></td></tr>';
|
||||
print "</form>";
|
||||
print '</table>';
|
||||
|
||||
|
||||
@ -148,7 +148,7 @@ else
|
||||
print "<tr><td>Artiste/Groupe</td><td>";
|
||||
$htmls->select_array("ga", $ga->liste_array());
|
||||
print "</td></tr>";
|
||||
print '<tr><td> </td><td><input type="submit" value="Ajouter"></td></tr>';
|
||||
print '<tr><td> </td><td><input type="submit" value="'.$langs->trans("Add").'"></td></tr>';
|
||||
print "</form>";
|
||||
print '</table>';
|
||||
|
||||
|
||||
@ -639,7 +639,7 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->envente)
|
||||
print '<input type="text" name="remise_percent" size="3" value="0"> %';
|
||||
print " ".$product->stock_proposition;
|
||||
print '</td><td>';
|
||||
print '<input type="submit" value="Ajouter">';
|
||||
print '<input type="submit" value="'.$langs->trans("Add").'">';
|
||||
print "</td>";
|
||||
print '</form></tr>';
|
||||
$i++;
|
||||
@ -666,7 +666,7 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->envente)
|
||||
print '<input type="text" name="qty" size="3" value="1"> Rem.';
|
||||
print '<input type="text" name="remise_percent" size="3" value="0"> %';
|
||||
print '</td><td>';
|
||||
print '<input type="submit" value="Ajouter">';
|
||||
print '<input type="submit" value="'.$langs->trans("Add").'">';
|
||||
print '</td></tr>';
|
||||
print '</table></form>';
|
||||
}
|
||||
@ -709,7 +709,7 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->envente)
|
||||
print '<input type="text" name="qty" size="3" value="1"> Rem.';
|
||||
print '<input type="text" name="remise_percent" size="3" value="0"> %';
|
||||
print '</td><td>';
|
||||
print '<input type="submit" value="Ajouter">';
|
||||
print '<input type="submit" value="'.$langs->trans("Add").'">';
|
||||
print "</td>";
|
||||
print '</form></tr>';
|
||||
$i++;
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
<?PHP
|
||||
/* Copyright (C) 2001-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -101,7 +102,7 @@ if ($_GET["id"])
|
||||
print '<td><a href="'.DOL_URL_ROOT.'/product/stats/fiche.php?id='.$product->id.'">Statistiques</a></td></tr>';
|
||||
print '<tr><td>Prix de vente</td><td>'.price($product->price).'</td>';
|
||||
print '<td valign="top" rowspan="2">';
|
||||
print 'Fournisseurs [<a href="../fiche.php?id='.$product->id.'&action=ajout_fourn">Ajouter</a>]';
|
||||
print 'Fournisseurs [<a href="../fiche.php?id='.$product->id.'&action=ajout_fourn">'.$langs->trans("Add").'</a>]';
|
||||
|
||||
$sql = "SELECT s.nom, s.idp";
|
||||
$sql .= " FROM ".MAIN_DB_PREFIX."societe as s, ".MAIN_DB_PREFIX."product_fournisseur as pf";
|
||||
@ -187,12 +188,12 @@ if ($_GET["id"])
|
||||
}
|
||||
print '</select></td>';
|
||||
print '<td width="20%"><select name="mouvement">';
|
||||
print '<option value="0">Ajouter</option>';
|
||||
print '<option value="1">Supprimer</option>';
|
||||
print '<option value="0">'.$langs->trans("Add").'</option>';
|
||||
print '<option value="1">'.$langs->trans("Delete").'</option>';
|
||||
print '</select></td>';
|
||||
print '<td width="20%">Nb de pièce</td><td width="20%"><input name="nbpiece" size="10" value=""></td></tr>';
|
||||
print '<tr><td colspan="5" align="center"><input type="submit" value="Enregistrer"> ';
|
||||
print '<input type="submit" name="cancel" value="Annuler"></td></tr>';
|
||||
print '<input type="submit" name="cancel" value="'.$langs->trans("Cancel").'"></td></tr>';
|
||||
print '</table>';
|
||||
print '</form>';
|
||||
|
||||
|
||||
@ -334,7 +334,7 @@ else
|
||||
|
||||
print '<a class="tabAction" href="'.DOL_URL_ROOT.'/soc.php?socid='.$soc->id.'&action=edit">'.$langs->trans("Edit").'</a>';
|
||||
|
||||
print '<a class="tabAction" href="'.DOL_URL_ROOT.'/contact/fiche.php?socid='.$soc->id.'&action=create">Ajouter un contact</a>';
|
||||
print '<a class="tabAction" href="'.DOL_URL_ROOT.'/contact/fiche.php?socid='.$soc->id.'&action=create">'.$langs->trans("AddContact").'</a>';
|
||||
|
||||
print '</div>';
|
||||
/*
|
||||
|
||||
@ -211,7 +211,7 @@ if ( $soc->fetch($soc->id) )
|
||||
print '<td>';
|
||||
$html->select_array("actionid",$actions);
|
||||
print '</td>';
|
||||
print '<td align="center"><input type="submit" value="Ajouter"></td>';
|
||||
print '<td align="center"><input type="submit" value="'.$langs->trans("Add").'"></td>';
|
||||
print '</tr></form></table>';
|
||||
|
||||
}
|
||||
|
||||
BIN
htdocs/theme/eldy/img/edit_add.png
Executable file
BIN
htdocs/theme/eldy/img/edit_add.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 423 B |
BIN
htdocs/theme/eldy/img/edit_remove.png
Executable file
BIN
htdocs/theme/eldy/img/edit_remove.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 239 B |
@ -219,7 +219,7 @@ else
|
||||
$oldmod = $obj->module;
|
||||
$var = !$var;
|
||||
}
|
||||
print '<tr '. $bc[$var].'><td><a href="fiche.php?id='.$fuser->id.'&action=perms&subaction=addrights&rights='.$obj->id.'">Ajouter</a></td>';
|
||||
print '<tr '. $bc[$var].'><td><a href="fiche.php?id='.$fuser->id.'&action=perms&subaction=addrights&rights='.$obj->id.'">'.$langs->trans("Add").'</a></td>';
|
||||
print '<td>'.$obj->libelle . '</td><td>'.$obj->module . '</td></tr>';
|
||||
|
||||
$i++;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user