summaryrefslogtreecommitdiff
path: root/lib/attachmentlist.php
diff options
context:
space:
mode:
authorRobin Millette <millette@controlyourself.ca>2009-05-25 11:13:13 -0400
committerRobin Millette <millette@controlyourself.ca>2009-05-25 11:13:13 -0400
commit84edf12791dc3d44625b156cda6296f1f74f8a9d (patch)
tree5de74fe285407a93c1ab6ff9270994b4512df8aa /lib/attachmentlist.php
parent5f3acc252738e408ea2447b7541eae66c1e9e09a (diff)
Display thumbnail on hover over links in notices when appropriate.
Diffstat (limited to 'lib/attachmentlist.php')
-rw-r--r--lib/attachmentlist.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/attachmentlist.php b/lib/attachmentlist.php
index 1be7b2fee..52aa5d9ee 100644
--- a/lib/attachmentlist.php
+++ b/lib/attachmentlist.php
@@ -171,7 +171,7 @@ class AttachmentListItem extends Widget
}
function linkTitle() {
- return 'Our page for ' . $this->title();
+ return $this->title();
}
/**
@@ -256,7 +256,7 @@ class Attachment extends AttachmentListItem
}
function linkTitle() {
- return 'Direct link to ' . $this->title();
+ return $this->attachment->url;
}
function showRepresentation() {