Changeset View
Changeset View
Standalone View
Standalone View
src/applications/conpherence/view/ConpherencePeopleWidgetView.php
Show All 19 Lines | foreach ($participants as $user_phid => $participant) { | ||||
$remove_html = javelin_tag( | $remove_html = javelin_tag( | ||||
'a', | 'a', | ||||
array( | array( | ||||
'class' => 'remove', | 'class' => 'remove', | ||||
'sigil' => 'remove-person', | 'sigil' => 'remove-person', | ||||
'meta' => array( | 'meta' => array( | ||||
'remove_person' => $handle->getPHID(), | 'remove_person' => $handle->getPHID(), | ||||
'action' => 'remove_person', | 'action' => 'remove_person', | ||||
) | ), | ||||
), | ), | ||||
hsprintf('<span class="close-icon">×</span>')); | hsprintf('<span class="close-icon">×</span>')); | ||||
} | } | ||||
$body[] = phutil_tag( | $body[] = phutil_tag( | ||||
'div', | 'div', | ||||
array( | array( | ||||
'class' => 'person-entry grouped' | 'class' => 'person-entry grouped', | ||||
), | ), | ||||
array( | array( | ||||
phutil_tag( | phutil_tag( | ||||
'a', | 'a', | ||||
array( | array( | ||||
'class' => 'pic', | 'class' => 'pic', | ||||
), | ), | ||||
phutil_tag( | phutil_tag( | ||||
'img', | 'img', | ||||
array( | array( | ||||
'src' => $handle->getImageURI() | 'src' => $handle->getImageURI(), | ||||
), | ), | ||||
'')), | '')), | ||||
$handle->renderLink(), | $handle->renderLink(), | ||||
$remove_html)); | $remove_html, | ||||
)); | |||||
} | } | ||||
return $body; | return $body; | ||||
} | } | ||||
} | } |