12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <?php
- if (!defined('GNUSOCIAL')) { exit(1); }
- class InlineAttachmentList extends AttachmentList
- {
- function showListStart()
- {
- $this->out->element('h4', 'attachments-title', _('Attachments'));
- parent::showListStart();
- }
-
- function newListItem(File $attachment)
- {
- return new InlineAttachmentListItem($attachment, $this->out);
- }
- }
|