Skip to content

Commit

Permalink
add links to "Friends using this app"
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Belo committed Nov 1, 2011
1 parent 7a69536 commit 6591789
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,12 @@ function popup(pageURL, title,w,h) {
$uid = assertNumeric(idx($auf, 'uid'));
$pic = idx($auf, 'pic_square');
$name = idx($auf, 'name');
echo('<li style="background-image: url(' .$pic . ')">' . $name . '</li>');
echo('
<li style="background-image: url(' .$pic . ')">
<a href="#" onclick="window.open(\'http://www.facebook.com/' .$uid . '\')">
' . $name . '
</a>
</li>');
}
?>

Expand Down

0 comments on commit 6591789

Please sign in to comment.