Merge pull request #17118 from ptibogxiv/patch-424
FIX uniformization of external link
This commit is contained in:
commit
b7cd3270cb
@ -173,7 +173,8 @@ function showOnlinePaymentUrl($type, $ref)
|
||||
|
||||
$out = img_picto('', 'globe').' <span class="opacitymedium">'.$langs->trans("ToOfferALinkForOnlinePayment", $servicename).'</span><br>';
|
||||
$url = getOnlinePaymentUrl(0, $type, $ref);
|
||||
$out .= '<div class="urllink"><input type="text" id="onlinepaymenturl" class="quatrevingtpercent" value="'.$url.'"></div>';
|
||||
$out .= '<div class="urllink"><input type="text" id="onlinepaymenturl" class="quatrevingtpercent" value="'.$url.'">';
|
||||
$out .= '<a href="'.$url.'" target="_blank">'.img_picto('', 'globe').'</a></div>';
|
||||
$out .= ajax_autoselect("onlinepaymenturl", 0);
|
||||
return $out;
|
||||
}
|
||||
|
||||
@ -552,11 +552,11 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
|
||||
// Load translation files required by the page
|
||||
$langs->loadLangs(array('recruitment'));
|
||||
|
||||
$out = img_picto('', 'globe').' '.$langs->trans("PublicUrl").'<br>';
|
||||
$out = img_picto('', 'globe').' <span class="opacitymedium">'.$langs->trans("PublicUrl").'</span><br>';
|
||||
|
||||
$url = getPublicJobPositionUrl(0, $object->ref);
|
||||
$out .= '<input type="text" id="recruitmentjobpositionurl" class="quatrevingtpercent" value="'.$url.'">';
|
||||
$out .= '<a href="'.$url.'" target="_blank">'.img_picto('', 'globe').'</a>';
|
||||
$out .= '<div class="urllink"><input type="text" id="recruitmentjobpositionurl" class="quatrevingtpercent" value="'.$url.'">';
|
||||
$out .= '<a href="'.$url.'" target="_blank">'.img_picto('', 'globe').'</a></div>';
|
||||
$out .= ajax_autoselect("recruitmentjobpositionurl", 0);
|
||||
|
||||
print $out;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user