summaryrefslogtreecommitdiff
path: root/lib/attachmentlist.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-03-14 15:01:24 -0400
committerSarven Capadisli <csarven@status.net>2010-03-25 21:33:38 +0100
commit3c5586d4bd2b00a2c3a140830fcc7b3e15898242 (patch)
treefea9134a3a0d8c26f98d219c9fb6c79ecf7773fc /lib/attachmentlist.php
parent53bed00f9028523ba003956ed88f9549ec203e3b (diff)
Using rel=external instead of class=external for jOverlay title link
Diffstat (limited to 'lib/attachmentlist.php')
-rw-r--r--lib/attachmentlist.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/attachmentlist.php b/lib/attachmentlist.php
index fe38281af..b503bfb45 100644
--- a/lib/attachmentlist.php
+++ b/lib/attachmentlist.php
@@ -248,9 +248,7 @@ class Attachment extends AttachmentListItem
$this->out->elementStart('div', array('id' => 'attachment_view',
'class' => 'hentry'));
$this->out->elementStart('div', 'entry-title');
- $this->out->elementStart('a', $this->linkAttr());
- $this->out->element('span', null, $this->linkTitle());
- $this->out->elementEnd('a');
+ $this->out->element('a', $this->linkAttr(), $this->linkTitle());
$this->out->elementEnd('div');
$this->out->elementStart('div', 'entry-content');
@@ -296,7 +294,7 @@ class Attachment extends AttachmentListItem
}
function linkAttr() {
- return array('class' => 'external', 'href' => $this->attachment->url);
+ return array('rel' => 'external', 'href' => $this->attachment->url);
}
function linkTitle() {