aggregate = model
friends = aggregate:getFriends()
friendCount = ((friends) and table.getn(friends)) or 0
?>
= LOC.kFriends ?>
local numFriends = 0
for i,friend in friends do
if numFriends < 10 then
local url = friend:getURL()
local name = friend:getName()
if (isAllowableURL(url)) then ?>
for i=11,friendCount do
local additionalFriend = friends[i]
local url = additionalFriend:getURL()
local name = additionalFriend:getName()
if (isAllowableURL(url)) then ?>