';
}
diff --git a/htdocs/langs/en_US/main.lang b/htdocs/langs/en_US/main.lang
index e747f004c87..daa01cfcfa4 100644
--- a/htdocs/langs/en_US/main.lang
+++ b/htdocs/langs/en_US/main.lang
@@ -226,6 +226,7 @@ NoUserGroupDefined=No user group defined
Password=Password
PasswordRetype=Repeat your password
NoteSomeFeaturesAreDisabled=Note that a lot of features/modules are disabled in this demonstration.
+YourUserFile=Your user file
Name=Name
NameSlashCompany=Name / Company
Person=Person
@@ -1213,4 +1214,4 @@ InternalUser=Internal user
ExternalUser=External user
NoSpecificContactAddress=No specific contact or address
NoSpecificContactAddressBis=This tab is dedicated to force specific contacts or addresses for the current object. Use it only if you want to define one or several specific contacts or addresses for the object when the information on the thirdparty is not enough or not accurate.
-
+AddToContacts=Add address to my contacts
diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php
index 17912f81101..a21082a8bc6 100644
--- a/htdocs/main.inc.php
+++ b/htdocs/main.inc.php
@@ -2280,12 +2280,14 @@ function top_menu_user($hideloginname = 0, $urllogout = '')
if (empty($urllogout)) {
$urllogout = DOL_URL_ROOT.'/user/logout.php?token='.newToken();
}
- $logoutLink = ' '.$langs->trans("Logout").'';
- $profilLink = ' '.$langs->trans("Card").'';
+ // Defined the links for bottom of card
+ $profilLink = ' '.$langs->trans("Card").'';
+ $urltovirtualcard = '/user/virtualcard.php?id='.((int) $user->id);
+ $virtuelcardLink = dolButtonToOpenUrlInDialogPopup('publicvirtualcardmenu', $langs->trans("PublicVirtualCardUrl"), img_picto($langs->trans("PublicVirtualCardUrl"), 'card', ''), $urltovirtualcard, '', 'button-top-menu-dropdown marginleftonly nohover', "closeTopMenuLoginDropdown()", '', 'v');
+ $logoutLink = ' '.$langs->trans("Logout").'';
$profilName = $user->getFullName($langs).' ('.$user->login.')';
-
if (!empty($user->admin)) {
$profilName = ' '.$profilName;
}
@@ -2341,6 +2343,9 @@ function top_menu_user($hideloginname = 0, $urllogout = '')