summaryrefslogtreecommitdiff
path: root/actions/attachment_thumbnail.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-05-25 17:30:57 -0400
committerSarven Capadisli <csarven@controlyourself.ca>2009-05-25 17:30:57 -0400
commit3877324fd8ddad36531fb80a5a2ae261015b9780 (patch)
tree28ad710ea6bde44e61dcf91cb029d37e9bf33db8 /actions/attachment_thumbnail.php
parent959dce823f105fa5bfbba42b6912b041085be325 (diff)
Updated JS to show/hide attachment thumbnails with timers. Minor
markup changes.
Diffstat (limited to 'actions/attachment_thumbnail.php')
-rw-r--r--actions/attachment_thumbnail.php11
1 files changed, 1 insertions, 10 deletions
diff --git a/actions/attachment_thumbnail.php b/actions/attachment_thumbnail.php
index 32fab1324..b4070e747 100644
--- a/actions/attachment_thumbnail.php
+++ b/actions/attachment_thumbnail.php
@@ -71,16 +71,7 @@ class Attachment_thumbnailAction extends AttachmentAction
if (empty($file_thumbnail->url)) {
return;
}
- $url = $file_thumbnail->url;
-
- $attr = array(
- 'id' => 'thumbnail'
- , 'src' => $url
- , 'alt' => 'Thumbnail'
- );
-
- $this->element('img', $attr);
-
+ $this->element('img', array('src' => $file_thumbnail->url, 'alt' => 'Thumbnail'));
}
/**