By default we open a new tab on external url link
This commit is contained in:
parent
abc471575a
commit
35601775e0
@ -580,7 +580,7 @@ else
|
||||
|
||||
$linkback = '<a href="'.DOL_URL_ROOT.'/compta/bank/index.php">'.$langs->trans("BackToList").'</a>';
|
||||
|
||||
|
||||
$morehtmlref='';
|
||||
dol_banner_tab($object, 'ref', $linkback, 1, 'ref', 'ref', $morehtmlref);
|
||||
|
||||
|
||||
@ -649,12 +649,6 @@ else
|
||||
print '<tr><td>'.$langs->trans("BalanceMinimalDesired").'</td>';
|
||||
print '<td>'.$object->min_desired.'</td></tr>';
|
||||
|
||||
print '<tr><td>'.$langs->trans("Web").'</td><td>';
|
||||
if ($object->url) print '<a href="'.$object->url.'" target="_gobank">';
|
||||
print $object->url;
|
||||
if ($object->url) print '</a>';
|
||||
print "</td></tr>\n";
|
||||
|
||||
// Accountancy code
|
||||
print '<tr class="liste_titre_add"><td class="titlefield">'.$langs->trans("AccountancyCode").'</td>';
|
||||
print '<td>';
|
||||
|
||||
@ -522,7 +522,7 @@ abstract class CommonObject
|
||||
}
|
||||
if (! empty($this->url))
|
||||
{
|
||||
$out.=dol_print_url($this->url,'',0,1);
|
||||
$out.=dol_print_url($this->url,'_goout',0,1);
|
||||
$outdone++;
|
||||
}
|
||||
if (! empty($conf->skype->enabled))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user