diff options
author | Robin Millette <millette@controlyourself.ca> | 2009-05-31 17:12:04 -0400 |
---|---|---|
committer | Robin Millette <millette@controlyourself.ca> | 2009-05-31 17:12:04 -0400 |
commit | ebeb5f744cbfd5bfea0da1b350a3757865ec4b3b (patch) | |
tree | e94ceadeeba967759cb332211a5adb5d6dceab0b /lib/attachmentlist.php | |
parent | 3e0c291810d23bb54c337c0fe95c1ba441459c4c (diff) | |
parent | 36fe5a85b2de9f71a5c963abd0074dd5b7ae1e61 (diff) |
Merge branch '0.8.x' of git@gitorious.org:+laconica-developers/laconica/dev into upload
Conflicts:
js/util.js
lib/attachmentlist.php
Diffstat (limited to 'lib/attachmentlist.php')
-rw-r--r-- | lib/attachmentlist.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/attachmentlist.php b/lib/attachmentlist.php index a58a50f6f..61749dca5 100644 --- a/lib/attachmentlist.php +++ b/lib/attachmentlist.php @@ -83,11 +83,10 @@ class AttachmentList extends Widget $atts = new File; $att = $atts->getAttachments($this->notice->id); if (empty($att)) return 0; - - $this->out->elementStart('dl', array('id' =>'attachment')); + $this->out->elementStart('dl', array('id' =>'attachments')); $this->out->element('dt', null, _('Attachments')); $this->out->elementStart('dd'); - $this->out->elementStart('ul', array('class' => 'attachments')); + $this->out->elementStart('ol', array('class' => 'attachments')); foreach ($att as $n=>$attachment) { $item = $this->newListItem($attachment); @@ -95,7 +94,7 @@ class AttachmentList extends Widget } $this->out->elementEnd('dd'); - $this->out->elementEnd('ul'); + $this->out->elementEnd('ol'); $this->out->elementEnd('dl'); return count($att); |