mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
feat: add link back to list of token and to list of users
This commit is contained in:
@@ -153,3 +153,4 @@ DeleteToken=Delete token
|
||||
ConfirmDeleteToken=Are you sure you want to delete this token?
|
||||
ListOfTokens=List of tokens
|
||||
NewToken=New token
|
||||
BackToTokenList=Back to token list
|
||||
|
||||
@@ -420,7 +420,8 @@ if ($action == 'create') {
|
||||
|
||||
$tokenvalue = dolDecrypt($token->token);
|
||||
|
||||
$linkback = '<a href="'.DOL_URL_ROOT.'/user/api_token/list.php?id='.$id.'">'.$langs->trans("BackToList").'</a>';
|
||||
$linkback = '<a href="'.DOL_URL_ROOT.'/user/api_token/list.php?id='.$id.'">'.$langs->trans("BackToTokenList").'</a>';
|
||||
$linkback .= '<a href="'.DOL_URL_ROOT.'/user/list.php">'.$langs->trans("BackToList").'</a>';
|
||||
|
||||
$morehtmlref = '<a href="'.DOL_URL_ROOT.'/user/vcard.php?id='.$object->id.'&output=file&file='.urlencode(dol_sanitizeFileName($object->getFullName($langs).'.vcf')).'" class="refid" rel="noopener">';
|
||||
$morehtmlref .= img_picto($langs->trans("Download").' '.$langs->trans("VCard"), 'vcard.png', 'class="valignmiddle marginleftonly paddingrightonly"');
|
||||
|
||||
Reference in New Issue
Block a user