common_notice_form();
}
- $this->show_notices($profile);
-
$this->show_sidebar($profile);
+ $this->show_notices($profile);
+
common_show_footer();
}
function show_sidebar($profile) {
- common_element_start('div', 'sidebar width25 floatRight greenBg');
+ common_element_start('div', 'sidebar width33 floatRight greenBg');
$this->show_profile($profile);
}
function show_subscriptions($profile) {
-
+ global $config;
+
# XXX: add a limit
$subs = $profile->getLink('id', 'subscription', 'subscriber');
'href' => $subs->profileurl,
'class' => 'subscription'));
$avatar = $subs->getAvatar(AVATAR_MINI_SIZE);
- common_element('img', array('src' => (($avatar) ? $avatar->url : DEFAULT_MINI_AVATAR),
+ common_element('img', array('src' => (($avatar) ? $avatar->url : $config['avatar']['default']['mini']),
'width' => AVATAR_MINI_SIZE,
'height' => AVATAR_MINI_SIZE,
'class' => 'avatar mini',
$notice->find();
- common_element_start('div', 'notices width75 floatLeft');
+ common_element_start('div', 'notices width66 floatLeft');
common_element_start('ul', 'bigLinks');
'href' => $noticeurl));
common_element('span', 'title', common_date_string($notice->created));
common_element('span', 'desc', $notice->content);
+ common_element_end('a');
common_element_end('li');
}
}