* Copyright (C) 2011, StatusNet, Inc.
*
* Title of module
- *
+ *
* PHP version 5
*
* This program is free software: you can redistribute it and/or modify
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
* @link http://status.net/
*/
-
class RSVPListItem extends NoticeListItemAdapter
{
- function showRSVPNotice($notice, $out)
+ function showNotice()
+ {
+ $this->nli->out->elementStart('div', 'entry-title');
+ $this->nli->showAuthor();
+ $this->showContent();
+ $this->nli->out->elementEnd('div');
+ }
+
+ function showContent()
{
+ $notice = $this->nli->notice;
+ $out = $this->nli->out;
+
$rsvp = RSVP::fromNotice($notice);
if (empty($rsvp)) {
- $out->element('p', null, _('Deleted.'));
+ // TRANS: Content for a deleted RSVP list item (RSVP stands for "please respond").
+ $out->element('p', null, _m('Deleted.'));
return;
}