Traduction page configuration module stocks
This commit is contained in:
parent
98f73194c6
commit
bc32a64817
@ -28,10 +28,15 @@
|
|||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
|
|
||||||
$langs->load("admin");
|
$langs->load("admin");
|
||||||
|
$langs->load("stocks");
|
||||||
|
|
||||||
if (!$user->admin)
|
if (!$user->admin)
|
||||||
accessforbidden();
|
accessforbidden();
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Actions
|
||||||
|
*/
|
||||||
if ($_POST["action"] == 'stock_userstock')
|
if ($_POST["action"] == 'stock_userstock')
|
||||||
{
|
{
|
||||||
dolibarr_set_const($db, "STOCK_USERSTOCK", $_POST["stock_userstock"]);
|
dolibarr_set_const($db, "STOCK_USERSTOCK", $_POST["stock_userstock"]);
|
||||||
@ -44,6 +49,7 @@ elseif ($_POST["action"] == 'stock_userstock_autocreate')
|
|||||||
Header("Location: stock.php");
|
Header("Location: stock.php");
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Affiche page
|
* Affiche page
|
||||||
*/
|
*/
|
||||||
@ -102,5 +108,5 @@ if ($conf->global->STOCK_USERSTOCK == 1)
|
|||||||
print '</table>';
|
print '</table>';
|
||||||
$db->close();
|
$db->close();
|
||||||
|
|
||||||
llxFooter();
|
llxFooter('$Date$ - $Revision$');
|
||||||
?>
|
?>
|
||||||
|
|||||||
@ -669,3 +669,6 @@ MantisTestOk=Connection to server '%s' on database '%s' with user '%s' successfu
|
|||||||
MantisTestKo1=Connection to server '%s' succeed but database '%s' could not be reached.
|
MantisTestKo1=Connection to server '%s' succeed but database '%s' could not be reached.
|
||||||
MantisTestKo2=Connection to server '%s' with user '%s' failed.
|
MantisTestKo2=Connection to server '%s' with user '%s' failed.
|
||||||
MantisErrorConnectOkButWrongDatabase=Connection succeeded but database doesn't look to be a Mantis database.
|
MantisErrorConnectOkButWrongDatabase=Connection succeeded but database doesn't look to be a Mantis database.
|
||||||
|
##### Stock #####
|
||||||
|
StockSetup=Configuration module stock
|
||||||
|
UserWarehouse=Use user personal stocks
|
||||||
@ -669,3 +669,6 @@ MantisTestOk=La connexion au serveur '%s' sur la base '%s' par l'utilisateur '%s
|
|||||||
MantisTestKo1=La connexion au serveur '%s' a réussi mais la base '%s' n'a pu être atteinte.
|
MantisTestKo1=La connexion au serveur '%s' a réussi mais la base '%s' n'a pu être atteinte.
|
||||||
MantisTestKo2=La connexion au serveur '%s' par l'utilisateur '%s' à échoué.
|
MantisTestKo2=La connexion au serveur '%s' par l'utilisateur '%s' à échoué.
|
||||||
MantisErrorConnectOkButWrongDatabase=La connexion a réussie mais la base ne semble pas etre une base Mantis.
|
MantisErrorConnectOkButWrongDatabase=La connexion a réussie mais la base ne semble pas etre une base Mantis.
|
||||||
|
##### Stock #####
|
||||||
|
StockSetup=Configuration module stock
|
||||||
|
UserWarehouse=Utiliser des stocks personnels aux utilisateurs
|
||||||
Loading…
Reference in New Issue
Block a user