diff options
author | Sarven Capadisli <csarven@status.net> | 2010-03-14 15:01:24 -0400 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2010-03-14 15:01:24 -0400 |
commit | 2f380f6a9a16970e3fb1b469fb2f1384aaf455a2 (patch) | |
tree | 3798f789e68e0a39eb02e3d5b358089b7725d125 | |
parent | 00cac4c8b18f8b36bda548b465bfb5ee9ad9cfff (diff) |
Using rel=external instead of class=external for jOverlay title link
-rw-r--r-- | lib/attachmentlist.php | 6 | ||||
-rw-r--r-- | theme/base/css/display.css | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/lib/attachmentlist.php b/lib/attachmentlist.php index 51ceca857..dc6709d67 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() { diff --git a/theme/base/css/display.css b/theme/base/css/display.css index 782d3dc71..a2e4cdf2a 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -1326,7 +1326,7 @@ margin-bottom:0; padding:11px; min-height:auto; } -#jOverlayContent .external span { +#jOverlayContent .entry-title { display:block; margin-bottom:11px; } |