some alignment in the table layout

This commit is contained in:
Evan Prodromou 2010-11-09 07:04:50 -05:00
parent 76aed36f38
commit 17ab5c31ed

View File

@ -143,16 +143,19 @@ class UserEmailSummaryHandler extends QueueHandler
$out->elementStart('tr'); $out->elementStart('tr');
$out->elementStart('td', array('width' => AVATAR_STREAM_SIZE, $out->elementStart('td', array('width' => AVATAR_STREAM_SIZE,
'height' => AVATAR_STREAM_SIZE)); 'height' => AVATAR_STREAM_SIZE,
'align' => 'left',
'valign' => 'top'));
$out->element('img', array('src' => ($avatar) ? $out->element('img', array('src' => ($avatar) ?
$avatar->displayUrl() : $avatar->displayUrl() :
Avatar::defaultImage($avatar_size), Avatar::defaultImage($avatar_size),
'class' => 'avatar photo', 'class' => 'avatar photo',
'width' => $avatar_size, 'width' => AVATAR_STREAM_SIZE,
'height' => $avatar_size, 'height' => AVATAR_STREAM_SIZE,
'alt' => $profile->getBestName())); 'alt' => $profile->getBestName()));
$out->elementEnd('td'); $out->elementEnd('td');
$out->elementStart('td'); $out->elementStart('td', array('align' => 'left',
'valign' => 'top'));
$out->element('a', array('href' => $profile->profileurl), $out->element('a', array('href' => $profile->profileurl),
$profile->nickname); $profile->nickname);
$out->text(' '); $out->text(' ');