+
+ $this->avatar = $this->profile->getAvatar(AVATAR_STREAM_SIZE);
+
+ return true;
+ }
+
+ function last_modified() {
+ return max(strtotime($this->notice->created),
+ strtotime($this->profile->modified),
+ ($this->avatar) ? strtotime($this->avatar->modified) : 0);
+ }
+
+ function etag() {
+ return 'W/"' . implode(':', array($this->arg('action'),
+ common_language(),
+ $this->notice->id,
+ strtotime($this->notice->created),
+ strtotime($this->profile->modified),
+ ($this->avatar) ? strtotime($this->avatar->modified) : 0)) . '"';
+ }
+
+ function handle($args) {
+
+ parent::handle($args);
+
+ common_show_header(sprintf(_('%1$s\'s status on %2$s'),
+ $this->profile->nickname,
+ common_exact_date($this->notice->created)),
+ array($this, 'show_header'), NULL,
+ array($this, 'show_top'));
+
+ common_element_start('ul', array('id' => 'notices'));
+ $this->show_notice($this->notice);
+ common_element_end('ul');
+