Fixing style errors.
This commit is contained in:
parent
95aabd6ae3
commit
e8801bd7fc
@ -3662,7 +3662,7 @@ class Commande extends CommonOrder
|
|||||||
* @param string target attribute target for link
|
* @param string target attribute target for link
|
||||||
* @return string String with URL
|
* @return string String with URL
|
||||||
*/
|
*/
|
||||||
public function getNomUrl($withpicto = 0, $option = '', $max = 0, $short = 0, $notooltip = 0, $save_lastsearch_value = -1, $addlinktonotes = 0, $target='_self')
|
public function getNomUrl($withpicto = 0, $option = '', $max = 0, $short = 0, $notooltip = 0, $save_lastsearch_value = -1, $addlinktonotes = 0, $target = '_self')
|
||||||
{
|
{
|
||||||
global $conf, $langs, $user;
|
global $conf, $langs, $user;
|
||||||
|
|
||||||
@ -3731,10 +3731,10 @@ class Commande extends CommonOrder
|
|||||||
}
|
}
|
||||||
$linkclose .= ' title="'.dol_escape_htmltag($label, 1).'"';
|
$linkclose .= ' title="'.dol_escape_htmltag($label, 1).'"';
|
||||||
$linkclose .= ' class="classfortooltip"';
|
$linkclose .= ' class="classfortooltip"';
|
||||||
|
|
||||||
$target_value=array('_self','_blank','_parent','_top',);
|
$target_value=array('_self','_blank','_parent','_top',);
|
||||||
if(in_array($target,$target_value)){
|
if (in_array($target, $target_value)) {
|
||||||
$linkclose .= ' target="'.$target.'"';
|
$linkclose .= ' target="'.$target.'"';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user