Update type_translation.php

This commit is contained in:
ptibogxiv 2019-10-07 13:37:35 +02:00 committed by GitHub
parent decbdaa5af
commit ff992d996c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@
*/ */
/** /**
* \file htdocs/product/traduction.php * \file htdocs/adherents/type_translation.php
* \ingroup product * \ingroup product
* \brief Page de traduction des produits * \brief Page de traduction des produits
*/ */
@ -205,8 +205,8 @@ if ($action == '')
{ {
if ($user->rights->produit->creer || $user->rights->service->creer) if ($user->rights->produit->creer || $user->rights->service->creer)
{ {
print '<a class="butAction" href="'.DOL_URL_ROOT.'/adherents/traduction.php?action=add&rowid='.$object->id.'">'.$langs->trans("Add").'</a>'; print '<a class="butAction" href="'.DOL_URL_ROOT.'/adherents/type_translation.php?action=add&rowid='.$object->id.'">'.$langs->trans("Add").'</a>';
if ($cnt_trans > 0) print '<a class="butAction" href="'.DOL_URL_ROOT.'/adherents/traduction.php?action=edit&rowid='.$object->id.'">'.$langs->trans("Update").'</a>'; if ($cnt_trans > 0) print '<a class="butAction" href="'.DOL_URL_ROOT.'/adherents/type_translation.php?action=edit&rowid='.$object->id.'">'.$langs->trans("Update").'</a>';
} }
} }