mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
"fixed bug reported by Frank Becker on the German list: Links in popup notification contains double egroupware path
(caused by calling html::link AND htm::a_href on the link, which caused a double run through egw_session::link ) "
This commit is contained in:
parent
504b096e06
commit
7c69d01277
@ -169,7 +169,7 @@ class notifications_popup implements notifications_iface {
|
||||
$dimensions = explode('x', $link->popup);
|
||||
$rendered_links[] = html::div($image.$link->text,'onclick="'.$this->jspopup($url, '_blank', $dimensions[0], $dimensions[1]).'"','link');
|
||||
} else {
|
||||
$rendered_links[] = html::div(html::a_href($image.$link->text, $url, false, 'target="_blank"'),'','link');
|
||||
$rendered_links[] = html::div('<a href="'.$url.'" target="_blank">'.$image.$link->text.'</a>','','link');
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user