Trad: Traduction de toutes les chaines "Enregistrer" et "Annuler".
This commit is contained in:
parent
c3606ec369
commit
42180e5056
@ -43,7 +43,7 @@ $rowid=isset($_GET["rowid"])?$_GET["rowid"]:$_POST["rowid"];
|
|||||||
if ($action == 'update')
|
if ($action == 'update')
|
||||||
{
|
{
|
||||||
|
|
||||||
if ($_POST["bouton"] == "Enregistrer")
|
if ($_POST["bouton"] == $langs->trans("Save"))
|
||||||
{
|
{
|
||||||
|
|
||||||
$adh = new Adherent($db);
|
$adh = new Adherent($db);
|
||||||
@ -174,8 +174,8 @@ if ($rowid)
|
|||||||
print "<tr><td>$value</td><td><input type=\"text\" name=\"options_$key\" size=\"40\" value=\"".$adh->array_options["options_$key"]."\"></td></tr>\n";
|
print "<tr><td>$value</td><td><input type=\"text\" name=\"options_$key\" size=\"40\" value=\"".$adh->array_options["options_$key"]."\"></td></tr>\n";
|
||||||
}
|
}
|
||||||
print '<tr><td colspan="2" align="center">';
|
print '<tr><td colspan="2" align="center">';
|
||||||
print '<input type="submit" name="bouton" value="Enregistrer"> ';
|
print '<input type="submit" name="bouton" value="'.$langs->trans("Save").'"> ';
|
||||||
print '<input type="submit" value="Annuler">';
|
print '<input type="submit" value="'.$langs->trans("Cancel").'>';
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
print '</form>';
|
print '</form>';
|
||||||
print '</table>';
|
print '</table>';
|
||||||
|
|||||||
@ -719,7 +719,7 @@ if ($user->admin)
|
|||||||
defined("ADHERENT_BANK_USE_AUTO") && ADHERENT_BANK_USE_AUTO !=0){
|
defined("ADHERENT_BANK_USE_AUTO") && ADHERENT_BANK_USE_AUTO !=0){
|
||||||
print '<tr><td>Libelle</td><td colspan="2"><input name="label" type="text" size=20 value="Cotisation '.stripslashes($adh->prenom).' '.stripslashes($adh->nom).' '.strftime("%Y",$adh->datefin).'" ></td></tr>';
|
print '<tr><td>Libelle</td><td colspan="2"><input name="label" type="text" size=20 value="Cotisation '.stripslashes($adh->prenom).' '.stripslashes($adh->nom).' '.strftime("%Y",$adh->datefin).'" ></td></tr>';
|
||||||
}
|
}
|
||||||
print '<tr><td colspan="2" align="center"><input type="submit" value="Enregistrer"</td></tr>';
|
print '<tr><td colspan="2" align="center"><input type="submit" value="'.$langs->trans("Save").'"</td></tr>';
|
||||||
print "</form>\n";
|
print "</form>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -36,7 +36,7 @@ $form = new Form($db);
|
|||||||
|
|
||||||
if ($_POST["action"] == 'add' && $user->admin)
|
if ($_POST["action"] == 'add' && $user->admin)
|
||||||
{
|
{
|
||||||
if ($_POST["button"] != "Annuler") {
|
if ($_POST["button"] != $langs->trans("Cancel")) {
|
||||||
// Type et taille non encore pris en compte => varchar(255)
|
// Type et taille non encore pris en compte => varchar(255)
|
||||||
if (isset($_POST["attrname"]) && preg_match("/^\w[a-zA-Z0-9-]*$/",$_POST['attrname'])){
|
if (isset($_POST["attrname"]) && preg_match("/^\w[a-zA-Z0-9-]*$/",$_POST['attrname'])){
|
||||||
$adho->create($_POST['attrname'],$_POST['type'],$_POST['size']);
|
$adho->create($_POST['attrname'],$_POST['type'],$_POST['size']);
|
||||||
@ -50,7 +50,7 @@ if ($_POST["action"] == 'add' && $user->admin)
|
|||||||
|
|
||||||
if ($_POST["action"] == 'update' && $user->admin)
|
if ($_POST["action"] == 'update' && $user->admin)
|
||||||
{
|
{
|
||||||
if ($_POST["button"] != "Annuler") {
|
if ($_POST["button"] != $langs->trans("Cancel")) {
|
||||||
if (isset($_POST["attrname"]) && preg_match("/^\w[a-zA-Z0-9-]*$/",$_POST['attrname'])){
|
if (isset($_POST["attrname"]) && preg_match("/^\w[a-zA-Z0-9-]*$/",$_POST['attrname'])){
|
||||||
$adho->update($_POST['attrname'],$_POST['type'],$_POST['size']);
|
$adho->update($_POST['attrname'],$_POST['type'],$_POST['size']);
|
||||||
}
|
}
|
||||||
@ -150,8 +150,8 @@ if ($_GET["action"] == 'create') {
|
|||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
print '<tr><td>Taille</td><td><input type="text" name="size" size="5" value="255"></td></tr>';
|
print '<tr><td>Taille</td><td><input type="text" name="size" size="5" value="255"></td></tr>';
|
||||||
|
|
||||||
print '<tr><td colspan="2" align="center"><input type="submit" name="button" value="Enregistrer"> ';
|
print '<tr><td colspan="2" align="center"><input type="submit" name="button" value="'.$langs->trans("Save").'"> ';
|
||||||
print '<input type="submit" name="button" value="Annuler"></td></tr>';
|
print '<input type="submit" name="button" value="'.$langs->trans("Cancel").'"></td></tr>';
|
||||||
print "</form>\n";
|
print "</form>\n";
|
||||||
print "</table>\n";
|
print "</table>\n";
|
||||||
|
|
||||||
@ -188,8 +188,8 @@ if ($_GET["attrname"] && $_GET["action"] == 'edit')
|
|||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
// print '<tr><td>Type (non pris en compte)</td><td class="valeur"><input type="text" name="type" size="40" value="'.$adho->attribute_name[$attrname].'"></td></tr>';
|
// print '<tr><td>Type (non pris en compte)</td><td class="valeur"><input type="text" name="type" size="40" value="'.$adho->attribute_name[$attrname].'"></td></tr>';
|
||||||
print '<tr><td>Taille</td><td class="valeur"><input type="text" name="size" size="5" value="'.$size.'"></td></tr>';
|
print '<tr><td>Taille</td><td class="valeur"><input type="text" name="size" size="5" value="'.$size.'"></td></tr>';
|
||||||
print '<tr><td colspan="2" align="center"><input type="submit" value="Enregistrer"> ';
|
print '<tr><td colspan="2" align="center"><input type="submit" value="'.$langs->trans("Save").'"> ';
|
||||||
print '<input type="submit" name="button" value="Annuler"></td></tr>';
|
print '<input type="submit" name="button" value="'.$langs->trans("Cancel").'"></td></tr>';
|
||||||
print '</table>';
|
print '</table>';
|
||||||
print "</form>";
|
print "</form>";
|
||||||
|
|
||||||
|
|||||||
@ -34,7 +34,7 @@ require(DOL_DOCUMENT_ROOT."/adherents/adherent_type.class.php");
|
|||||||
|
|
||||||
if ($_POST["action"] == 'add' && $user->admin)
|
if ($_POST["action"] == 'add' && $user->admin)
|
||||||
{
|
{
|
||||||
if ($_POST["button"] != "Annuler") {
|
if ($_POST["button"] != $langs->trans("Cancel")) {
|
||||||
$adht = new AdherentType($db);
|
$adht = new AdherentType($db);
|
||||||
|
|
||||||
$adht->libelle = $_POST["libelle"];
|
$adht->libelle = $_POST["libelle"];
|
||||||
@ -50,7 +50,7 @@ if ($_POST["action"] == 'add' && $user->admin)
|
|||||||
|
|
||||||
if ($_POST["action"] == 'update' && $user->admin)
|
if ($_POST["action"] == 'update' && $user->admin)
|
||||||
{
|
{
|
||||||
if ($_POST["button"] != "Annuler") {
|
if ($_POST["button"] != $langs->trans("Cancel")) {
|
||||||
$adht = new AdherentType($db);
|
$adht = new AdherentType($db);
|
||||||
$adht->id = $_POST["rowid"];;
|
$adht->id = $_POST["rowid"];;
|
||||||
$adht->libelle = $_POST["libelle"];
|
$adht->libelle = $_POST["libelle"];
|
||||||
@ -175,8 +175,8 @@ if ($_GET["action"] == 'create') {
|
|||||||
print '<tr><td valign="top">Mail d\'accueil :</td><td>';
|
print '<tr><td valign="top">Mail d\'accueil :</td><td>';
|
||||||
print "<textarea name=\"mail_valid\" wrap=\"soft\" cols=\"60\" rows=\"15\"></textarea></td></tr>";
|
print "<textarea name=\"mail_valid\" wrap=\"soft\" cols=\"60\" rows=\"15\"></textarea></td></tr>";
|
||||||
|
|
||||||
print '<tr><td colspan="2" align="center"><input type="submit" name="button" value="Enregistrer"> ';
|
print '<tr><td colspan="2" align="center"><input type="submit" name="button" value="'.$langs->trans("Save").'"> ';
|
||||||
print '<input type="submit" name="button" value="Annuler"></td></tr>';
|
print '<input type="submit" name="button" value="'.$langs->trans("Cancel").'"></td></tr>';
|
||||||
|
|
||||||
print "</form>\n";
|
print "</form>\n";
|
||||||
print "</table>\n";
|
print "</table>\n";
|
||||||
@ -226,8 +226,8 @@ if ($_GET["rowid"] > 0 && $_GET["action"] == 'edit')
|
|||||||
print '<tr><td valign="top">Mail d\'accueil :</td><td>';
|
print '<tr><td valign="top">Mail d\'accueil :</td><td>';
|
||||||
print "<textarea name=\"mail_valid\" wrap=\"soft\" cols=\"60\" rows=\"15\">".$adht->mail_valid."</textarea></td></tr>";
|
print "<textarea name=\"mail_valid\" wrap=\"soft\" cols=\"60\" rows=\"15\">".$adht->mail_valid."</textarea></td></tr>";
|
||||||
|
|
||||||
print '<tr><td colspan="2" align="center"><input type="submit" value="Enregistrer"> ';
|
print '<tr><td colspan="2" align="center"><input type="submit" value="'.$langs->trans("Save").'"> ';
|
||||||
print '<input type="submit" name="button" value="Annuler"></td></tr>';
|
print '<input type="submit" name="button" value="'.$langs->trans("Cancel").'"></td></tr>';
|
||||||
|
|
||||||
print '</table>';
|
print '</table>';
|
||||||
print "</form>";
|
print "</form>";
|
||||||
|
|||||||
@ -83,7 +83,7 @@ if ($_GET["action"] == 'edit')
|
|||||||
print '<input name="ape" size="20" value="' . MAIN_INFO_APE . '"></td></tr>';
|
print '<input name="ape" size="20" value="' . MAIN_INFO_APE . '"></td></tr>';
|
||||||
|
|
||||||
print '<tr><td colspan="2" align="center">';
|
print '<tr><td colspan="2" align="center">';
|
||||||
print '<input type="submit" value="Enregistrer"></td></tr>';
|
print '<input type="submit" value="'.$langs->trans("Save").'"></td></tr>';
|
||||||
print '</table></form>';
|
print '</table></form>';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
@ -135,7 +135,7 @@ else
|
|||||||
print '<td width="20%">Nom</td><td><input name="nom" size="40" value="'.$auteur->nom.'"></td>';
|
print '<td width="20%">Nom</td><td><input name="nom" size="40" value="'.$auteur->nom.'"></td>';
|
||||||
|
|
||||||
|
|
||||||
print '<tr><td colspan="2" align="center"><input type="submit" value="Enregistrer"> <input type="submit" value="Annuler" name="cancel"></td></tr>';
|
print '<tr><td colspan="2" align="center"><input type="submit" value="'.$langs->trans("Save").'"> <input type="submit" value="'.$langs->trans("Cancel").'" name="cancel"></td></tr>';
|
||||||
|
|
||||||
print '</form>';
|
print '</form>';
|
||||||
|
|
||||||
|
|||||||
@ -132,7 +132,7 @@ else
|
|||||||
print '<td width="20%">Nom</td><td width="80%"><input name="nom" size="40" value="'.$editeur->nom.'"></td>';
|
print '<td width="20%">Nom</td><td width="80%"><input name="nom" size="40" value="'.$editeur->nom.'"></td>';
|
||||||
|
|
||||||
|
|
||||||
print '<tr><td colspan="2" align="center"><input type="submit" value="Enregistrer"> <input type="submit" value="Annuler" name="cancel"></td></tr>';
|
print '<tr><td colspan="2" align="center"><input type="submit" value="'.$langs->trans("Save").'"> <input type="submit" value="'.$langs->trans("Cancel").'" name="cancel"></td></tr>';
|
||||||
|
|
||||||
print '</form>';
|
print '</form>';
|
||||||
|
|
||||||
|
|||||||
@ -303,7 +303,7 @@ else
|
|||||||
print "</td></tr>";
|
print "</td></tr>";
|
||||||
|
|
||||||
|
|
||||||
print '<tr><td align="center" colspan="3"><input type="submit" value="Enregistrer"> <input type="submit" value="Annuler" name="cancel"></td></tr>';
|
print '<tr><td align="center" colspan="3"><input type="submit" value="'.$langs->trans("Save").'"> <input type="submit" value="'.$langs->trans("Cancel").'" name="cancel"></td></tr>';
|
||||||
print "</form>";
|
print "</form>";
|
||||||
|
|
||||||
print '</form>';
|
print '</form>';
|
||||||
@ -333,7 +333,7 @@ else
|
|||||||
print '<input type="hidden" name="max_file_size" value="2000000">';
|
print '<input type="hidden" name="max_file_size" value="2000000">';
|
||||||
print '<input type="file" name="userfile" size="40" maxlength="80"><br>';
|
print '<input type="file" name="userfile" size="40" maxlength="80"><br>';
|
||||||
print '<input type="submit" value="Upload File!" name="sendit">';
|
print '<input type="submit" value="Upload File!" name="sendit">';
|
||||||
print '<input type="submit" value="Annuler" name="cancelit"><BR>';
|
print '<input type="submit" value="'.$langs->trans("Cancel").'" name="cancelit"><BR>';
|
||||||
print '</form>';
|
print '</form>';
|
||||||
print "</td></tr>\n";
|
print "</td></tr>\n";
|
||||||
|
|
||||||
|
|||||||
@ -199,7 +199,7 @@ else
|
|||||||
|
|
||||||
print '<tr><td width="20%" valign="top">Texte</td><td width="80%"><textarea name="email_body" rows="10" cols="60">'.$newsletter->email_body.'</textarea></td></tr>';
|
print '<tr><td width="20%" valign="top">Texte</td><td width="80%"><textarea name="email_body" rows="10" cols="60">'.$newsletter->email_body.'</textarea></td></tr>';
|
||||||
|
|
||||||
print '<tr><td colspan="2" align="center"><input type="submit" value="Enregistrer"> <input type="submit" value="Annuler" name="cancel"></td></tr>';
|
print '<tr><td colspan="2" align="center"><input type="submit" value="'.$langs->trans("Save").'"> <input type="submit" value="'.$langs->trans("Cancel").'" name="cancel"></td></tr>';
|
||||||
|
|
||||||
print '</form>';
|
print '</form>';
|
||||||
|
|
||||||
|
|||||||
@ -91,7 +91,7 @@ else
|
|||||||
print '<td width="20%">Nom</td><td><input name="nom" size="40" value="'.$editeur->nom.'"></td>';
|
print '<td width="20%">Nom</td><td><input name="nom" size="40" value="'.$editeur->nom.'"></td>';
|
||||||
|
|
||||||
|
|
||||||
print '<tr><td colspan="2" align="center"><input type="submit" value="Enregistrer"> <input type="submit" value="Annuler" name="cancel"></td></tr>';
|
print '<tr><td colspan="2" align="center"><input type="submit" value="'.$langs->trans("Save").'"> <input type="submit" value="'.$langs->trans("Cancel").'" name="cancel"></td></tr>';
|
||||||
|
|
||||||
print '</form>';
|
print '</form>';
|
||||||
|
|
||||||
|
|||||||
@ -226,7 +226,7 @@ if ($_GET["action"] == 'create')
|
|||||||
*/
|
*/
|
||||||
if ($numdest > 0)
|
if ($numdest > 0)
|
||||||
{
|
{
|
||||||
print '<input type="submit" value="Enregistrer">';
|
print '<input type="submit" value="'.$langs->trans("Save").'">';
|
||||||
}
|
}
|
||||||
print "</form>";
|
print "</form>";
|
||||||
}
|
}
|
||||||
|
|||||||
@ -94,7 +94,7 @@ if ($id > 0)
|
|||||||
print '<input type="hidden" name="max_file_size" value="2000000">';
|
print '<input type="hidden" name="max_file_size" value="2000000">';
|
||||||
print '<input type="file" name="userfile" size="40" maxlength="80"><br>';
|
print '<input type="file" name="userfile" size="40" maxlength="80"><br>';
|
||||||
print '<input type="submit" value="Upload File!" name="sendit">';
|
print '<input type="submit" value="Upload File!" name="sendit">';
|
||||||
print '<input type="submit" value="Annuler" name="cancelit"><BR>';
|
print '<input type="submit" value="'.$langs->trans("Cancel").'" name="cancelit"><BR>';
|
||||||
print '</FORM>';
|
print '</FORM>';
|
||||||
|
|
||||||
clearstatcache();
|
clearstatcache();
|
||||||
|
|||||||
@ -117,7 +117,7 @@ if ($_GET["propalid"])
|
|||||||
print '<form method="post" action="note.php?propalid='.$propal->id.'">';
|
print '<form method="post" action="note.php?propalid='.$propal->id.'">';
|
||||||
print '<input type="hidden" name="action" value="update">';
|
print '<input type="hidden" name="action" value="update">';
|
||||||
print '<tr><td valign="top" colspan="4"><textarea name="note" cols="80" rows="8">'.$propal->note."</textarea></td></tr>";
|
print '<tr><td valign="top" colspan="4"><textarea name="note" cols="80" rows="8">'.$propal->note."</textarea></td></tr>";
|
||||||
print '<tr><td align="center" colspan="4"><input type="submit" value="Enregistrer"></td></tr>';
|
print '<tr><td align="center" colspan="4"><input type="submit" value="'.$langs->trans("Save").'"></td></tr>';
|
||||||
print '</form>';
|
print '</form>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -445,7 +445,7 @@ else
|
|||||||
*/
|
*/
|
||||||
if ($_GET["action"] == 'annuler')
|
if ($_GET["action"] == 'annuler')
|
||||||
{
|
{
|
||||||
$html->form_confirm("fiche.php?id=$id","Annuler la commande","Etes-vous sûr de vouloir annuler cette commande ?","confirm_cancel");
|
$html->form_confirm("fiche.php?id=$id",$langs->trans("Cancel"),"Etes-vous sûr de vouloir annuler cette commande ?","confirm_cancel");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -605,7 +605,7 @@ else
|
|||||||
print '<td align="center"><input size="4" type="text" name="elqty" value="'.$objp->qty.'"></TD>';
|
print '<td align="center"><input size="4" type="text" name="elqty" value="'.$objp->qty.'"></TD>';
|
||||||
print '<td align="right"><input size="3" type="text" name="elremise_percent" value="'.$objp->remise_percent.'"> %</td>';
|
print '<td align="right"><input size="3" type="text" name="elremise_percent" value="'.$objp->remise_percent.'"> %</td>';
|
||||||
print '<td align="right"><input size="8" type="text" name="elprice" value="'.price($objp->subprice).'"></td>';
|
print '<td align="right"><input size="8" type="text" name="elprice" value="'.price($objp->subprice).'"></td>';
|
||||||
print '<td align="right" colspan="2"><input type="submit" value="Enregistrer"></td>';
|
print '<td align="right" colspan="2"><input type="submit" value="'.$langs->trans("Save").'"></td>';
|
||||||
print '</tr>' . "\n";
|
print '</tr>' . "\n";
|
||||||
print "</form>\n";
|
print "</form>\n";
|
||||||
}
|
}
|
||||||
|
|||||||
@ -32,7 +32,7 @@ if ($_POST["action"] == 'confirm_delete' && $_POST["confirm"] == "yes")
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if ($_POST["action"] == 'add' && $_POST["cancel"] <> 'Annuler')
|
if ($_POST["action"] == 'add' && $_POST["cancel"] <> $langs->trans("Cancel"))
|
||||||
{
|
{
|
||||||
$deplacement = new Deplacement($db);
|
$deplacement = new Deplacement($db);
|
||||||
|
|
||||||
@ -56,7 +56,7 @@ if ($_POST["action"] == 'add' && $_POST["cancel"] <> 'Annuler')
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($_POST["action"] == 'update' && $_POST["cancel"] <> 'Annuler')
|
if ($_POST["action"] == 'update' && $_POST["cancel"] <> $langs->trans("Cancel"))
|
||||||
{
|
{
|
||||||
$deplacement = new Deplacement($db);
|
$deplacement = new Deplacement($db);
|
||||||
$result = $deplacement->fetch($_POST["id"]);
|
$result = $deplacement->fetch($_POST["id"]);
|
||||||
@ -109,8 +109,8 @@ if ($_GET["action"] == 'create')
|
|||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
print '<tr><td>Kilomètres</td><td><input name="km" size="10" value=""></td></tr>';
|
print '<tr><td>Kilomètres</td><td><input name="km" size="10" value=""></td></tr>';
|
||||||
print '<tr><td> </td><td><input type="submit" value="Enregistrer"> ';
|
print '<tr><td> </td><td><input type="submit" value="'.$langs->trans("Save").'"> ';
|
||||||
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 '</table>';
|
||||||
print '</form>';
|
print '</form>';
|
||||||
}
|
}
|
||||||
@ -165,8 +165,8 @@ else
|
|||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
print '<tr><td>Kilomètres</td><td><input name="km" size="10" value="'.$deplacement->km.'"></td></tr>';
|
print '<tr><td>Kilomètres</td><td><input name="km" size="10" value="'.$deplacement->km.'"></td></tr>';
|
||||||
|
|
||||||
print '<tr><td> </td><td><input type="submit" value="Enregistrer"> ';
|
print '<tr><td> </td><td><input type="submit" value="'.$langs->trans("Save").'"> ';
|
||||||
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 '</table>';
|
||||||
print '</form>';
|
print '</form>';
|
||||||
}
|
}
|
||||||
|
|||||||
@ -155,7 +155,7 @@ if ($rowid)
|
|||||||
print '<tr><td>Pays</td><td><input type="text" name="pays" size="40" value="'.$don->pays.'"></td></tr>';
|
print '<tr><td>Pays</td><td><input type="text" name="pays" size="40" value="'.$don->pays.'"></td></tr>';
|
||||||
print '<tr><td>Email</td><td><input type="text" name="email" size="40" value="'.$don->email.'"></td></tr>';
|
print '<tr><td>Email</td><td><input type="text" name="email" size="40" value="'.$don->email.'"></td></tr>';
|
||||||
print '<tr><td>Montant</td><td><input type="text" name="amount" size="10" value="'.$don->amount.'"> euros</td></tr>';
|
print '<tr><td>Montant</td><td><input type="text" name="amount" size="10" value="'.$don->amount.'"> euros</td></tr>';
|
||||||
print '<tr><td colspan="2" align="center"><input type="submit" value="Enregistrer"></td></tr>';
|
print '<tr><td colspan="2" align="center"><input type="submit" value="'.$langs->trans("Save").'"></td></tr>';
|
||||||
print "</form>\n";
|
print "</form>\n";
|
||||||
print "</table>\n";
|
print "</table>\n";
|
||||||
|
|
||||||
|
|||||||
@ -182,7 +182,7 @@ if ($action == 'create') {
|
|||||||
print "<tr $bc[1]>".'<td>Pays</td><td><input type="text" name="pays" size="40"></td></tr>';
|
print "<tr $bc[1]>".'<td>Pays</td><td><input type="text" name="pays" size="40"></td></tr>';
|
||||||
print "<tr $bc[1]>".'<td>Email</td><td><input type="text" name="email" size="40"></td></tr>';
|
print "<tr $bc[1]>".'<td>Email</td><td><input type="text" name="email" size="40"></td></tr>';
|
||||||
print "<tr $bc[1]>".'<td>Montant</td><td><input type="text" name="amount" size="10"> euros</td></tr>';
|
print "<tr $bc[1]>".'<td>Montant</td><td><input type="text" name="amount" size="10"> euros</td></tr>';
|
||||||
print "<tr $bc[1]>".'<td colspan="2" align="center"><input type="submit" value="Enregistrer"></td></tr>';
|
print "<tr $bc[1]>".'<td colspan="2" align="center"><input type="submit" value="'.$langs->trans("Save").'"></td></tr>';
|
||||||
print "</form>\n";
|
print "</form>\n";
|
||||||
print "</table>\n";
|
print "</table>\n";
|
||||||
|
|
||||||
@ -321,7 +321,7 @@ if ($rowid > 0 && $action == 'edit')
|
|||||||
print '<table cellspacing="0" border="1" width="100%" cellpadding="3">';
|
print '<table cellspacing="0" border="1" width="100%" cellpadding="3">';
|
||||||
print "<tr $bc[1]>".'<td align="center">Commentaires</td></tr>';
|
print "<tr $bc[1]>".'<td align="center">Commentaires</td></tr>';
|
||||||
print "<tr $bc[1]>".'<td><textarea cols="60" rows="20" name="commentaire">'.$don->commentaire.'</textarea></td></tr>';
|
print "<tr $bc[1]>".'<td><textarea cols="60" rows="20" name="commentaire">'.$don->commentaire.'</textarea></td></tr>';
|
||||||
print "<tr $bc[1]>".'<td align="center"><input type="submit" value="Enregistrer"></td></tr>';
|
print "<tr $bc[1]>".'<td align="center"><input type="submit" value="'.$langs->trans("Save").'"></td></tr>';
|
||||||
print '</table></form>';
|
print '</table></form>';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -996,7 +996,7 @@ else
|
|||||||
print '<td align="right"><input size="8" type="text" name="price" value="'.price($objp->subprice).'"></td>';
|
print '<td align="right"><input size="8" type="text" name="price" value="'.price($objp->subprice).'"></td>';
|
||||||
print '<td align="right"><input size="4" type="text" name="qty" value="'.$objp->qty.'"></td>';
|
print '<td align="right"><input size="4" type="text" name="qty" value="'.$objp->qty.'"></td>';
|
||||||
print '<td align="right"><input size="3" type="text" name="remise_percent" value="'.$objp->remise_percent.'"> %</td>';
|
print '<td align="right"><input size="3" type="text" name="remise_percent" value="'.$objp->remise_percent.'"> %</td>';
|
||||||
print '<td align="center" colspan="3"><input type="submit" value="Enregistrer"></td>';
|
print '<td align="center" colspan="3"><input type="submit" value="'.$langs->trans("Save").'"></td>';
|
||||||
print '</tr>' . "\n";
|
print '</tr>' . "\n";
|
||||||
if ($conf->service->enabled) {
|
if ($conf->service->enabled) {
|
||||||
print "<tr $bc[$var]>";
|
print "<tr $bc[$var]>";
|
||||||
|
|||||||
@ -121,7 +121,7 @@ if ($_GET["facid"])
|
|||||||
print '<form method="post" action="note.php?facid='.$facture->id.'">';
|
print '<form method="post" action="note.php?facid='.$facture->id.'">';
|
||||||
print '<input type="hidden" name="action" value="update">';
|
print '<input type="hidden" name="action" value="update">';
|
||||||
print '<tr><td valign="top" colspan="4"><textarea name="note" cols="80" rows="8">'.$facture->note."</textarea></td></tr>";
|
print '<tr><td valign="top" colspan="4"><textarea name="note" cols="80" rows="8">'.$facture->note."</textarea></td></tr>";
|
||||||
print '<tr><td align="center" colspan="4"><input type="submit" value="Enregistrer"></td></tr>';
|
print '<tr><td align="center" colspan="4"><input type="submit" value="'.$langs->trans("Save").'"></td></tr>';
|
||||||
print '</form>';
|
print '</form>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -319,7 +319,7 @@ if ($_GET["action"] == 'create')
|
|||||||
print '<tr><td colspan="3" align="center">'.$fiche_erreur_message.'</td></tr>';
|
print '<tr><td colspan="3" align="center">'.$fiche_erreur_message.'</td></tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
print '<tr><td colspan="3" align="center"><input type="submit" value="Enregistrer"></td></tr>';
|
print '<tr><td colspan="3" align="center"><input type="submit" value="'.$langs->trans("Save").'"></td></tr>';
|
||||||
print "</table>";
|
print "</table>";
|
||||||
print "</form>\n";
|
print "</form>\n";
|
||||||
}
|
}
|
||||||
|
|||||||
@ -334,7 +334,7 @@ if ($_GET["action"] == 'create')
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
print '<tr><td colspan="3" align="center"><input type="submit" value="Enregistrer"></td></tr>';
|
print '<tr><td colspan="3" align="center"><input type="submit" value="'.$langs->trans("Save").'"></td></tr>';
|
||||||
print "</table>";
|
print "</table>";
|
||||||
print "</form>\n";
|
print "</form>\n";
|
||||||
// }
|
// }
|
||||||
|
|||||||
@ -26,7 +26,7 @@ require("../../tva.class.php");
|
|||||||
|
|
||||||
$mesg = '';
|
$mesg = '';
|
||||||
|
|
||||||
if ($_POST["action"] == 'add' && $_POST["cancel"] <> 'Annuler')
|
if ($_POST["action"] == 'add' && $_POST["cancel"] <> $langs->trans("Cancel"))
|
||||||
{
|
{
|
||||||
$tva = new Tva($db);
|
$tva = new Tva($db);
|
||||||
|
|
||||||
@ -68,8 +68,8 @@ if ($action == 'create')
|
|||||||
print $html->select_date("","datep");
|
print $html->select_date("","datep");
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
print '<tr><td>Montant</td><td><input name="amount" size="10" value=""></td></tr>';
|
print '<tr><td>Montant</td><td><input name="amount" size="10" value=""></td></tr>';
|
||||||
print '<tr><td> </td><td><input type="submit" value="Enregistrer"> ';
|
print '<tr><td> </td><td><input type="submit" value="'.$langs->trans("Save").'"> ';
|
||||||
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 '</table>';
|
||||||
print '</form>';
|
print '</form>';
|
||||||
}
|
}
|
||||||
|
|||||||
@ -267,7 +267,7 @@ elseif ($_GET["action"] == 'edit')
|
|||||||
print '<textarea name="note" cols="60" rows="3">';
|
print '<textarea name="note" cols="60" rows="3">';
|
||||||
print nl2br($contact->note);
|
print nl2br($contact->note);
|
||||||
print '</textarea></td></tr>';
|
print '</textarea></td></tr>';
|
||||||
print '<tr><td colspan="6" align="center"><input type="submit" value="Enregistrer"></td></tr>';
|
print '<tr><td colspan="6" align="center"><input type="submit" value="'.$langs->trans("Save").'"></td></tr>';
|
||||||
print "</table>";
|
print "</table>";
|
||||||
|
|
||||||
print "</form>";
|
print "</form>";
|
||||||
|
|||||||
@ -105,7 +105,7 @@ if ($_GET["action"] == 'edit')
|
|||||||
|
|
||||||
print "</table>";
|
print "</table>";
|
||||||
|
|
||||||
print '<div class="FicheSubmit"><input type="submit" value="Enregistrer">';
|
print '<div class="FicheSubmit"><input type="submit" value="'.$langs->trans("Save").'">';
|
||||||
|
|
||||||
print "</form>";
|
print "</form>";
|
||||||
}
|
}
|
||||||
|
|||||||
@ -213,7 +213,7 @@ if ($id)
|
|||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
print '<tr><td colspan="4" align="center">';
|
print '<tr><td colspan="4" align="center">';
|
||||||
print '<input type="submit" value="Enregistrer">';
|
print '<input type="submit" value="'.$langs->trans("Save").'">';
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
print '</form>';
|
print '</form>';
|
||||||
}
|
}
|
||||||
|
|||||||
@ -316,7 +316,7 @@ else
|
|||||||
*/
|
*/
|
||||||
if ($_GET["action"] == 'annuler')
|
if ($_GET["action"] == 'annuler')
|
||||||
{
|
{
|
||||||
$html->form_confirm("fiche.php?id=$expedition->id","Annuler la commande","Etes-vous sûr de vouloir annuler cette commande ?","confirm_cancel");
|
$html->form_confirm("fiche.php?id=$expedition->id",$langs->trans("Cancel"),"Etes-vous sûr de vouloir annuler cette commande ?","confirm_cancel");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@ -238,7 +238,7 @@ if ($_GET["action"] == 'create')
|
|||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
print '<tr><td colspan="2" align="center">';
|
print '<tr><td colspan="2" align="center">';
|
||||||
print "<input type=\"submit\" value=\"Enregistrer\">";
|
print "<input type=\"submit\" value=\"'.$langs->trans("Save").'\">";
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
print '</table>';
|
print '</table>';
|
||||||
print '</form>';
|
print '</form>';
|
||||||
|
|||||||
@ -1,8 +1,9 @@
|
|||||||
# Dolibarr language file - en_US - main
|
# Dolibarr language file - en_US - main
|
||||||
charset="iso-8859-1"
|
charset="iso-8859-1"
|
||||||
Error=Fout
|
Error=Fout
|
||||||
ErrorForbidden=De toegang is verboden
|
ErrorForbidden=Access forbidden
|
||||||
ErrorFileDoesNotExists=Dien %s niet bestaat in
|
ErrorFileDoesNotExists=File %s does not exists
|
||||||
|
ErrorCanNotCreateDir=Can not create dir %s
|
||||||
yes=yes
|
yes=yes
|
||||||
Yes=Yes
|
Yes=Yes
|
||||||
no=no
|
no=no
|
||||||
@ -60,6 +61,7 @@ Alert=Alert
|
|||||||
Previous=Previous
|
Previous=Previous
|
||||||
Next=Next
|
Next=Next
|
||||||
Cards=Cards
|
Cards=Cards
|
||||||
|
Card=Card
|
||||||
Date=Date
|
Date=Date
|
||||||
Year=Year
|
Year=Year
|
||||||
Month=Month
|
Month=Month
|
||||||
@ -90,3 +92,5 @@ ActionsDone=Actions Done
|
|||||||
ActionsToDo=Actions To Do
|
ActionsToDo=Actions To Do
|
||||||
Filter=Filter
|
Filter=Filter
|
||||||
RemoveFilter=Remove filter
|
RemoveFilter=Remove filter
|
||||||
|
ChartGenerated=Chart generated
|
||||||
|
ChartNotGenerated=Chart not generated
|
||||||
|
|||||||
@ -11,3 +11,5 @@ ProductsNotOnSell=Products out of sell
|
|||||||
ServicesOnSell=Services on sell
|
ServicesOnSell=Services on sell
|
||||||
ServicesNotOnSell=Services out of sell
|
ServicesNotOnSell=Services out of sell
|
||||||
LastRecorded=Last products/services on sell recorded
|
LastRecorded=Last products/services on sell recorded
|
||||||
|
CardProduct0=Product card
|
||||||
|
CardProduct1=Service card
|
||||||
@ -3,6 +3,7 @@ charset="iso-8859-1"
|
|||||||
Error=Erreur
|
Error=Erreur
|
||||||
ErrorForbidden=Accès non autorisé
|
ErrorForbidden=Accès non autorisé
|
||||||
ErrorFileDoesNotExists=Le fichier %s n'existe pas
|
ErrorFileDoesNotExists=Le fichier %s n'existe pas
|
||||||
|
ErrorCanNotCreateDir=Impossible de créer le répertoire %s
|
||||||
yes=oui
|
yes=oui
|
||||||
Yes=Oui
|
Yes=Oui
|
||||||
no=non
|
no=non
|
||||||
@ -60,6 +61,7 @@ Alert=Alerte
|
|||||||
Previous=Précédent
|
Previous=Précédent
|
||||||
Next=Suivant
|
Next=Suivant
|
||||||
Cards=Fiches
|
Cards=Fiches
|
||||||
|
Card=Fiche
|
||||||
Date=Date
|
Date=Date
|
||||||
Year=Année
|
Year=Année
|
||||||
Month=Mois
|
Month=Mois
|
||||||
@ -90,3 +92,5 @@ ActionsDone=Actions effectu
|
|||||||
ActionsToDo=Actions à faire
|
ActionsToDo=Actions à faire
|
||||||
Filter=Filtre
|
Filter=Filtre
|
||||||
RemoveFilter=Supprimer filtre
|
RemoveFilter=Supprimer filtre
|
||||||
|
ChartGenerated=Graphiques générés
|
||||||
|
ChartNotGenerated=Graphique non généré
|
||||||
@ -11,3 +11,5 @@ ProductsNotOnSell=Produits hors vente
|
|||||||
ServicesOnSell=Services en vente
|
ServicesOnSell=Services en vente
|
||||||
ServicesNotOnSell=Services hors vente
|
ServicesNotOnSell=Services hors vente
|
||||||
LastRecorded=Derniers produits/services en vente enregistrés
|
LastRecorded=Derniers produits/services en vente enregistrés
|
||||||
|
CardProduct0=Fiche produit
|
||||||
|
CardProduct1=Fiche service
|
||||||
|
|||||||
@ -79,7 +79,7 @@ if ($id)
|
|||||||
print str_replace("<br />","",$article->body);
|
print str_replace("<br />","",$article->body);
|
||||||
print "</textarea></td></tr>";
|
print "</textarea></td></tr>";
|
||||||
|
|
||||||
print '<tr><td align="center" colspan="2"><input type="submit" value="Enregistrer"> <input type="submit" value="Annuler" name="cancel"></td></tr>';
|
print '<tr><td align="center" colspan="2"><input type="submit" value="'.$langs->trans("Save").'"> <input type="submit" value="'.$langs->trans("Cancel").'" name="cancel"></td></tr>';
|
||||||
print "</form>";
|
print "</form>";
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -143,7 +143,7 @@ else
|
|||||||
print '<tr><td>Année</td><TD><input name="annee" size="6" maxlenght="4" value="'.$album->annee.'"></td></tr>';
|
print '<tr><td>Année</td><TD><input name="annee" size="6" maxlenght="4" value="'.$album->annee.'"></td></tr>';
|
||||||
print '<tr><td>'.$langs->trans("Price").'</td><TD><input name="price" size="10" value="'.$album->price.'"></td></tr>';
|
print '<tr><td>'.$langs->trans("Price").'</td><TD><input name="price" size="10" value="'.$album->price.'"></td></tr>';
|
||||||
|
|
||||||
print '<tr><td> </td><td><input type="submit" value="Enregistrer"></td></tr>';
|
print '<tr><td> </td><td><input type="submit" value="'.$langs->trans("Save").'"></td></tr>';
|
||||||
|
|
||||||
print '</form>';
|
print '</form>';
|
||||||
|
|
||||||
|
|||||||
@ -129,7 +129,7 @@ else
|
|||||||
print '<textarea name="desc" rows="8" cols="50">';
|
print '<textarea name="desc" rows="8" cols="50">';
|
||||||
print $album->description;
|
print $album->description;
|
||||||
print "</textarea></td></tr>";
|
print "</textarea></td></tr>";
|
||||||
print '<tr><td> </td><td><input type="submit" value="Enregistrer"></td></tr>';
|
print '<tr><td> </td><td><input type="submit" value="'.$langs->trans("Save").'"></td></tr>';
|
||||||
|
|
||||||
print '</form>';
|
print '</form>';
|
||||||
|
|
||||||
|
|||||||
@ -112,7 +112,7 @@ else
|
|||||||
print '<textarea name="desc" rows="8" cols="50">';
|
print '<textarea name="desc" rows="8" cols="50">';
|
||||||
print $lieuconcert->description;
|
print $lieuconcert->description;
|
||||||
print "</textarea></td></tr>";
|
print "</textarea></td></tr>";
|
||||||
print '<tr><td> </td><td><input type="submit" value="Enregistrer"></td></tr>';
|
print '<tr><td> </td><td><input type="submit" value="'.$langs->trans("Save").'"></td></tr>';
|
||||||
print '</form>';
|
print '</form>';
|
||||||
print '</table>';
|
print '</table>';
|
||||||
|
|
||||||
|
|||||||
@ -84,7 +84,7 @@ if ($_POST["action"] == 'add' && $user->rights->produit->creer)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($_POST["action"] == 'update' &&
|
if ($_POST["action"] == 'update' &&
|
||||||
$_POST["cancel"] <> 'Annuler' &&
|
$_POST["cancel"] <> $langs->trans("Cancel") &&
|
||||||
( $user->rights->produit->modifier || $user->rights->produit->creer))
|
( $user->rights->produit->modifier || $user->rights->produit->creer))
|
||||||
{
|
{
|
||||||
$product = new Product($db);
|
$product = new Product($db);
|
||||||
@ -157,7 +157,7 @@ if ($_POST["action"] == 'addinfacture' &&
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($_POST["action"] == 'add_fourn' && $_POST["cancel"] <> 'Annuler')
|
if ($_POST["action"] == 'add_fourn' && $_POST["cancel"] <> $langs->trans("Cancel"))
|
||||||
{
|
{
|
||||||
|
|
||||||
$product = new Product($db);
|
$product = new Product($db);
|
||||||
@ -193,7 +193,7 @@ if ($_GET["action"] == 'remove_fourn')
|
|||||||
|
|
||||||
|
|
||||||
if ($_POST["action"] == 'update_price' &&
|
if ($_POST["action"] == 'update_price' &&
|
||||||
$_POST["cancel"] <> 'Annuler' &&
|
$_POST["cancel"] <> $langs->trans("Cancel") &&
|
||||||
( $user->rights->produit->modifier || $user->rights->produit->creer))
|
( $user->rights->produit->modifier || $user->rights->produit->creer))
|
||||||
{
|
{
|
||||||
$product = new Product($db);
|
$product = new Product($db);
|
||||||
@ -216,7 +216,7 @@ if ($_POST["action"] == 'update_price' &&
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if ($_POST["cancel"] == 'Annuler')
|
if ($_POST["cancel"] == $langs->trans("Cancel"))
|
||||||
{
|
{
|
||||||
$action = '';
|
$action = '';
|
||||||
Header("Location: fiche.php?id=".$_POST["id"]);
|
Header("Location: fiche.php?id=".$_POST["id"]);
|
||||||
@ -467,8 +467,8 @@ else
|
|||||||
print '<input type="hidden" name="id" value="'.$product->id.'">';
|
print '<input type="hidden" name="id" value="'.$product->id.'">';
|
||||||
print '<table class="border" width="100%" cellspacing="0" cellpadding="4">';
|
print '<table class="border" width="100%" cellspacing="0" cellpadding="4">';
|
||||||
print '<tr><td width="20%">Prix de vente</td><td><input name="price" size="10" value="'.price($product->price).'"></td></tr>';
|
print '<tr><td width="20%">Prix de vente</td><td><input name="price" size="10" value="'.price($product->price).'"></td></tr>';
|
||||||
print '<tr><td colspan="3" align="center"><input type="submit" value="Enregistrer"> ';
|
print '<tr><td colspan="3" align="center"><input type="submit" value="'.$langs->trans("Save").'"> ';
|
||||||
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 '</table>';
|
||||||
print '</form>';
|
print '</form>';
|
||||||
}
|
}
|
||||||
@ -502,8 +502,8 @@ else
|
|||||||
|
|
||||||
}
|
}
|
||||||
print '</select></td><td>'.$langs->trans("Ref").'</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 '<tr><td colspan="4" align="center"><input type="submit" value="'.$langs->trans("Save").'"> ';
|
||||||
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 '</table>';
|
||||||
print '</form>';
|
print '</form>';
|
||||||
}
|
}
|
||||||
@ -598,8 +598,8 @@ else
|
|||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
print "<tr>".'<td colspan="3" align="center"><input type="submit" value="Enregistrer"> ';
|
print "<tr>".'<td colspan="3" align="center"><input type="submit" value="'.$langs->trans("Save").'"> ';
|
||||||
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 '</table>';
|
||||||
print '</form>';
|
print '</form>';
|
||||||
}
|
}
|
||||||
|
|||||||
@ -125,7 +125,7 @@ else
|
|||||||
print '<textarea name="desc" rows="8" cols="50">';
|
print '<textarea name="desc" rows="8" cols="50">';
|
||||||
print $groupart->desc;
|
print $groupart->desc;
|
||||||
print "</textarea></td></tr>";
|
print "</textarea></td></tr>";
|
||||||
print '<tr><td> </td><td><input type="submit" value="Enregistrer"></td></tr>';
|
print '<tr><td> </td><td><input type="submit" value="'.$langs->trans("Save").'"></td></tr>';
|
||||||
print '</table>';
|
print '</table>';
|
||||||
print '</form>';
|
print '</form>';
|
||||||
}
|
}
|
||||||
|
|||||||
@ -41,7 +41,7 @@ if ($_POST["action"] == 'add')
|
|||||||
Header("Location: fiche.php?id=$id");
|
Header("Location: fiche.php?id=$id");
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($_POST["action"] == 'update' && $_POST["cancel"] <> 'Annuler')
|
if ($_POST["action"] == 'update' && $_POST["cancel"] <> $langs->trans("Cancel"))
|
||||||
{
|
{
|
||||||
$entrepot = new Entrepot($db);
|
$entrepot = new Entrepot($db);
|
||||||
if ($entrepot->fetch($_GET["id"]))
|
if ($entrepot->fetch($_GET["id"]))
|
||||||
@ -71,7 +71,7 @@ if ($_POST["action"] == 'update' && $_POST["cancel"] <> 'Annuler')
|
|||||||
|
|
||||||
llxHeader("","","Fiche entrepôt");
|
llxHeader("","","Fiche entrepôt");
|
||||||
|
|
||||||
if ($cancel == 'Annuler')
|
if ($cancel == $langs->trans("Cancel"))
|
||||||
{
|
{
|
||||||
$action = '';
|
$action = '';
|
||||||
}
|
}
|
||||||
@ -157,8 +157,8 @@ else
|
|||||||
}
|
}
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
print "<tr>".'<td colspan="3" align="center"><input type="submit" value="Enregistrer"> ';
|
print "<tr>".'<td colspan="3" align="center"><input type="submit" value="'.$langs->trans("Save").'"> ';
|
||||||
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 '</table>';
|
||||||
print '</form>';
|
print '</form>';
|
||||||
}
|
}
|
||||||
|
|||||||
@ -54,7 +54,7 @@ if ($_POST["action"] == "create_stock")
|
|||||||
$product->create_stock($_POST["id_entrepot"], $_POST["nbpiece"]);
|
$product->create_stock($_POST["id_entrepot"], $_POST["nbpiece"]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($_POST["action"] == "correct_stock" && $_POST["cancel"] <> "Annuler")
|
if ($_POST["action"] == "correct_stock" && $_POST["cancel"] <> $langs->trans("Cancel"))
|
||||||
{
|
{
|
||||||
if (is_numeric($_POST["nbpiece"]))
|
if (is_numeric($_POST["nbpiece"]))
|
||||||
{
|
{
|
||||||
|
|||||||
@ -117,7 +117,7 @@ if ($_GET["action"] == 'create' && $user->rights->projet->creer)
|
|||||||
?>
|
?>
|
||||||
<tr><td><?php echo $langs->trans("Ref") ?></td><td><input size="10" type="text" name="ref"></td></tr>
|
<tr><td><?php echo $langs->trans("Ref") ?></td><td><input size="10" type="text" name="ref"></td></tr>
|
||||||
<tr><td>Titre</td><td><input size="30" type="text" name="title"></td></tr>
|
<tr><td>Titre</td><td><input size="30" type="text" name="title"></td></tr>
|
||||||
<tr><td colspan="2"><input type="submit" value="Enregistrer"></td></tr>
|
<tr><td colspan="2"><input type="submit" value="<?php echo $langs->trans("Save") ?>"></td></tr>
|
||||||
</table>
|
</table>
|
||||||
</form>
|
</form>
|
||||||
<?PHP
|
<?PHP
|
||||||
|
|||||||
@ -187,7 +187,7 @@ print '<tr><td>Profil public ?</td><td><input type="checkbox" name="public" chec
|
|||||||
foreach($adho->attribute_label as $key=>$value){
|
foreach($adho->attribute_label as $key=>$value){
|
||||||
print "<tr><td>$value</td><td><input type=\"text\" name=\"options_$key\" size=\"40\"></td></tr>\n";
|
print "<tr><td>$value</td><td><input type=\"text\" name=\"options_$key\" size=\"40\"></td></tr>\n";
|
||||||
}
|
}
|
||||||
print '<tr><td colspan="2" align="center"><input type="submit" value="Enregistrer"></td></tr>';
|
print '<tr><td colspan="2" align="center"><input type="submit" value="'.$langs->trans("Save").'"></td></tr>';
|
||||||
print "</form>\n";
|
print "</form>\n";
|
||||||
print "</table>\n";
|
print "</table>\n";
|
||||||
|
|
||||||
|
|||||||
@ -36,7 +36,7 @@ $error=0;
|
|||||||
if ($action == 'update')
|
if ($action == 'update')
|
||||||
{
|
{
|
||||||
|
|
||||||
if ($_POST["bouton"] == "Enregistrer")
|
if ($_POST["bouton"] == $langs->trans("Save"))
|
||||||
{
|
{
|
||||||
if (isset($user->login)){
|
if (isset($user->login)){
|
||||||
$adh = new Adherent($db);
|
$adh = new Adherent($db);
|
||||||
@ -254,8 +254,8 @@ if (isset($user->login)){
|
|||||||
print "<tr><td>$value</td><td><input type=\"text\" name=\"options_$key\" size=\"40\" value=\"".$adh->array_options["options_$key"]."\"></td></tr>\n";
|
print "<tr><td>$value</td><td><input type=\"text\" name=\"options_$key\" size=\"40\" value=\"".$adh->array_options["options_$key"]."\"></td></tr>\n";
|
||||||
}
|
}
|
||||||
print '<tr><td colspan="2" align="center">';
|
print '<tr><td colspan="2" align="center">';
|
||||||
print '<input type="submit" name="bouton" value="Enregistrer"> ';
|
print '<input type="submit" name="bouton" value="'.$langs->trans("Save").'"> ';
|
||||||
print '<input type="submit" value="Annuler">';
|
print '<input type="submit" value="'.$langs->trans("Cancel").'">';
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
print '</form>';
|
print '</form>';
|
||||||
print '</table>';
|
print '</table>';
|
||||||
|
|||||||
@ -459,7 +459,7 @@ else
|
|||||||
print "<tr>".'<td valign="top">'.$langs->trans("LoginWebcal").'</td>';
|
print "<tr>".'<td valign="top">'.$langs->trans("LoginWebcal").'</td>';
|
||||||
print '<td class="valeur"><input size="30" type="text" name="webcal_login" value="'.$fuser->webcal_login.'"></td></tr>';
|
print '<td class="valeur"><input size="30" type="text" name="webcal_login" value="'.$fuser->webcal_login.'"></td></tr>';
|
||||||
|
|
||||||
print "<tr>".'<td align="center" colspan="2"><input value="Enregistrer" type="submit"></td></tr>';
|
print "<tr>".'<td align="center" colspan="2"><input value="'.$langs->trans("Save").'" type="submit"></td></tr>';
|
||||||
|
|
||||||
print '</table>';
|
print '</table>';
|
||||||
print '</form>';
|
print '</form>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user