mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
Fixed broken link on that itty bitty "edit item" icon.
This commit is contained in:
parent
6bb19d2fea
commit
581d1bcd47
@ -103,9 +103,10 @@
|
|||||||
// LC: links back to an entry view for $id using $pic
|
// LC: links back to an entry view for $id using $pic
|
||||||
function link_to_entry($id, $pic, $description)
|
function link_to_entry($id, $pic, $description)
|
||||||
{
|
{
|
||||||
global $phpgw, $phpgw_info, $friendly;
|
global $phpgw, $phpgw_info, $phpgw_flags, $friendly, $appname;
|
||||||
if (! $friendly)
|
if (! $friendly)
|
||||||
echo "<A HREF=\"".$phpgw->link("view.php","id=$id")."\"><img src=\""
|
echo "<A HREF=\"".$phpgw->link($phpgw_info["server"]["webserver_url"]
|
||||||
|
."/".$phpgw_flags["currentapp"]."/view.php","id=$id")."\"><img src=\""
|
||||||
. $phpgw_info["server"]["app_images"]."/$pic\" "
|
. $phpgw_info["server"]["app_images"]."/$pic\" "
|
||||||
. "border=\"0\" alt=\"".htmlentities($description)."\"></a>";
|
. "border=\"0\" alt=\"".htmlentities($description)."\"></a>";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user