function show_profile($profile) {
common_element_start('div', 'profile');
- common_element('h2', 'nickname', $profile->nickname);
-
$avatar = $profile->getAvatar(AVATAR_PROFILE_SIZE);
if ($avatar) {
common_element('img', array('src' => $avatar->url,
'class' => 'fullname'),
$profile->fullname);
} else {
- common_element('span', 'fullname', $profile->fullname);
+ common_element('div', 'fullname', $profile->fullname);
}
}
if ($profile->location) {
- common_element('span', 'location', $profile->location);
+ common_element('div', 'location', $profile->location);
}
if ($profile->bio) {
common_element('div', 'bio', $profile->bio);
- form token in login to prevent XSS
- release 1.0
- Atom Publishing Protocol
+- "Universal" public feed
\ No newline at end of file