We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit b86a51ec authored by Evan Prodromou's avatar Evan Prodromou

better formatting in profile

darcs-hash:20080521134849-84dde-7201729e692bccfc9649fb30a1d21a47a5eb4259.gz
parent 139c7a79
......@@ -92,8 +92,6 @@ class ShowstreamAction extends StreamAction {
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,
......@@ -108,11 +106,11 @@ class ShowstreamAction extends StreamAction {
'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);
......
......@@ -129,3 +129,4 @@
- form token in login to prevent XSS
- release 1.0
- Atom Publishing Protocol
- "Universal" public feed
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment