* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
* @link http://status.net/
*/
-
class AttachmentAction extends Action
{
/**
}
if (empty($this->attachment)) {
+ // TRANS: Client error displayed trying to get a non-existing attachment.
$this->clientError(_('No such attachment.'), 404);
return false;
}
*
* @return boolean true
*/
-
function isReadOnly($args)
{
return true;
*
* @return void
*/
-
function handle($args)
{
parent::handle($args);
}
}
- /**
- * Do not show local navigation
- *
- * @return void
- */
-
- function showLocalNavBlock()
- {
- }
-
/**
* Fill the content area of the page
*
*
* @return void
*/
-
function showContent()
{
$ali = new Attachment($this->attachment, $this);
}
/**
- * Do not show page notice
+ * Don't show page notice
*
* @return void
*/
-
function showPageNoticeBlock()
{
}
$atcs->show();
}
}
-