target:blank added for the link to the registration pag

This commit is contained in:
Dorian Vabre 2021-04-21 13:41:30 +02:00
parent 7a65a1768a
commit 780b3f4714
2 changed files with 1 additions and 3 deletions

View File

@ -368,7 +368,7 @@ if ($projectid > 0) {
$linkregister = $dolibarr_main_url_root.'/public/project/index.php?id='.$encodedid;
$encodedsecurekey = dol_encode($conf->global->EVENTORGANIZATION_SECUREKEY.$encodedid, $dolibarr_main_instance_unique_id);
$linkregister .= '&securekey='.urlencode($encodedsecurekey);
print '<a href="'.$linkregister.'">'.$linkregister.'</a>';
print '<a target="_blank" href="'.$linkregister.'">'.$linkregister.'</a>';
print '</td></tr>';
// Other attributes

View File

@ -376,8 +376,6 @@ if (empty($reshook) && $action == 'add') {
$substitutionarray = getCommonSubstitutionArray($outputlangs, 0, null, $thirdparty);
complete_substitutions_array($substitutionarray, $outputlangs, $object);
$substitutionarray['ThisIsContentOfYourOrganizationEventEventSubscriptionWasReceived'] = 'Vous êtes bien enregistré.';
$subjecttosend = make_substitutions($subject, $substitutionarray, $outputlangs);
$texttosend = make_substitutions($msg, $substitutionarray, $outputlangs);