Ajout bouton de retour au produit après création de la catégorie
This commit is contained in:
parent
8f5c40c281
commit
0a80d74153
@ -41,9 +41,9 @@ else
|
|||||||
$nbcats = 1;
|
$nbcats = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($_GET['origin'])
|
if ($_REQUEST['origin'])
|
||||||
{
|
{
|
||||||
$idprodorigin = $_GET['origin'];
|
$idprodorigin = $_REQUEST['origin'];
|
||||||
}
|
}
|
||||||
|
|
||||||
llxHeader("","",$langs->trans("Categories"));
|
llxHeader("","",$langs->trans("Categories"));
|
||||||
@ -88,9 +88,9 @@ if ($_POST["action"] == 'add' && $user->rights->categorie->creer)
|
|||||||
print '<tr><td valign="top" width="30%">';
|
print '<tr><td valign="top" width="30%">';
|
||||||
print '<p>'.$langs->trans("TheCategorie").' '.$categorie->label.' '.$langs->trans("WasAddedSuccessfully").'</p>';
|
print '<p>'.$langs->trans("TheCategorie").' '.$categorie->label.' '.$langs->trans("WasAddedSuccessfully").'</p>';
|
||||||
|
|
||||||
if ($_GET['idprodorigin'])
|
if ($_REQUEST['idprodorigin'])
|
||||||
{
|
{
|
||||||
$idprodorigin = $_GET['idprodorigin'];
|
$idprodorigin = $_REQUEST['idprodorigin'];
|
||||||
print '<p><a class="butAction" href="'.DOL_URL_ROOT.'/product/categorie.php?id='.$idprodorigin.'">'.$langs->trans("ReturnInProduct").'</a></p>';
|
print '<p><a class="butAction" href="'.DOL_URL_ROOT.'/product/categorie.php?id='.$idprodorigin.'">'.$langs->trans("ReturnInProduct").'</a></p>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -34,3 +34,4 @@ ImpossibleAssociateCategory=Impossible to associate the category to
|
|||||||
WasAddedSuccessfully=was added successfully.
|
WasAddedSuccessfully=was added successfully.
|
||||||
ProductIsInCategories=Product/Service is in following categories
|
ProductIsInCategories=Product/Service is in following categories
|
||||||
ClassifyInCategory=Classify in category
|
ClassifyInCategory=Classify in category
|
||||||
|
ReturnInProduct=Return in product/service
|
||||||
@ -36,3 +36,4 @@ ProductIsInCategories=Ce produit/service est dans les cat
|
|||||||
ClassifyInCategory=Classer dans la catégorie
|
ClassifyInCategory=Classer dans la catégorie
|
||||||
NoneCategory=Aucune
|
NoneCategory=Aucune
|
||||||
CategoryExistsAtSameLevel=Cette catégorie existe déjŕ au męme endroit
|
CategoryExistsAtSameLevel=Cette catégorie existe déjŕ au męme endroit
|
||||||
|
ReturnInProduct=Retour fiche produit/service
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user