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