Merge pull request #16701 from dolibit-ut/patch-82

Update card.php
This commit is contained in:
Laurent Destailleur 2021-03-16 10:43:08 +01:00 committed by GitHub
commit efaeeb2d06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,7 +97,7 @@ $error = 0;
// Add action
if ($action == 'add' && $user->rights->categorie->creer) {
// Action ajout d'une categorie
// Action add a category
if ($cancel) {
if ($urlfrom) {
header("Location: ".$urlfrom);
@ -167,7 +167,7 @@ if ($action == 'add' && $user->rights->categorie->creer) {
// Confirm action
if (($action == 'add' || $action == 'confirmed') && $user->rights->categorie->creer) {
// Action confirmation de creation categorie
// Action confirmation of creation category
if ($action == 'confirmed') {
if ($urlfrom) {
header("Location: ".$urlfrom);
@ -208,7 +208,7 @@ if (($action == 'add' || $action == 'confirmed') && $user->rights->categorie->cr
$form = new Form($db);
$formother = new FormOther($db);
$helpurl = '';
$helpurl = 'EN:Module_Categories|FR:Module_Catégories';
llxHeader("", $langs->trans("Categories"), $helpurl);
if ($user->rights->categorie->creer) {