uiredesign

This commit is contained in:
Robin Millette 2009-01-23 04:07:52 +00:00 committed by Robin Millette
parent 11b99b8144
commit 3f328256bd

View File

@ -28,8 +28,9 @@ class RepliesrssAction extends Rss10Action
var $user = null; var $user = null;
function init() function prepare($args)
{ {
parent::prepare($args);
$nickname = $this->trimmed('nickname'); $nickname = $this->trimmed('nickname');
$this->user = User::staticGet('nickname', $nickname); $this->user = User::staticGet('nickname', $nickname);
@ -41,7 +42,7 @@ class RepliesrssAction extends Rss10Action
} }
} }
function get_notices($limit=0) function getNotices($limit=0)
{ {
$user = $this->user; $user = $this->user;
@ -57,7 +58,7 @@ class RepliesrssAction extends Rss10Action
return $notices; return $notices;
} }
function get_channel() function getChannel()
{ {
$user = $this->user; $user = $this->user;
$c = array('url' => common_local_url('repliesrss', $c = array('url' => common_local_url('repliesrss',
@ -71,7 +72,7 @@ class RepliesrssAction extends Rss10Action
return $c; return $c;
} }
function get_image() function getImage()
{ {
$user = $this->user; $user = $this->user;
$profile = $user->getProfile(); $profile = $user->getProfile();
@ -81,4 +82,4 @@ class RepliesrssAction extends Rss10Action
$avatar = $profile->getAvatar(AVATAR_PROFILE_SIZE); $avatar = $profile->getAvatar(AVATAR_PROFILE_SIZE);
return ($avatar) ? $avatar->url : null; return ($avatar) ? $avatar->url : null;
} }
} }