Fixed broken link on that itty bitty "edit item" icon.

This commit is contained in:
sgbeal 2000-08-18 23:13:45 +00:00
parent 6bb19d2fea
commit 581d1bcd47

View File

@ -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>";
} }