diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-06-21 21:47:47 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-06-21 21:47:47 +0000 |
commit | 8a76d53f35eabe1b33f012e91fd745c1e0653203 (patch) | |
tree | e7bf1fc433e499e2fa45f79a623a6a120f6b62f1 /views/default/river | |
parent | 779ff6e97e53a016b9384427d65d98daf6480e24 (diff) | |
download | elgg-8a76d53f35eabe1b33f012e91fd745c1e0653203.tar.gz elgg-8a76d53f35eabe1b33f012e91fd745c1e0653203.tar.bz2 |
added convenience function for front page
Diffstat (limited to 'views/default/river')
-rw-r--r-- | views/default/river/object/album/create.php | 4 | ||||
-rw-r--r-- | views/default/river/object/image/create.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/views/default/river/object/album/create.php b/views/default/river/object/album/create.php index 9c2486fa2..a9b261566 100644 --- a/views/default/river/object/album/create.php +++ b/views/default/river/object/album/create.php @@ -20,7 +20,7 @@ if ($album_river_view == "cover") {
if ($album->cover) {
- $string .= "<div class=\"river_content\"> <img src=\"" . $CONFIG->wwwroot . 'mod/tidypics/thumbnail.php?file_guid=' . $album->cover . '&size=thumb" border="0" class="tidypics_album_cover" alt="thumbnail"/>' . "</div>";
+ $string .= "<div class=\"river_content\"> <img src=\"" . $CONFIG->wwwroot . 'mod/tidypics/thumbnail.php?file_guid=' . $album->cover . '&size=thumb" class="tidypics_album_cover" alt="thumbnail"/>' . "</div>";
}
} else {
@@ -30,7 +30,7 @@ if (count($images)) {
foreach($images as $image){
- $string .= "<a href=\"" . $image->getURL() . "\"> <img src=\"" . $CONFIG->wwwroot . 'mod/tidypics/thumbnail.php?file_guid=' . $image->guid . '&size=thumb" border="0" class="tidypics_album_cover" alt="thumbnail"/> </a>';
+ $string .= "<a href=\"" . $image->getURL() . "\"> <img src=\"" . $CONFIG->wwwroot . 'mod/tidypics/thumbnail.php?file_guid=' . $image->guid . '&size=thumb" class="tidypics_album_cover" alt="thumbnail"/> </a>';
}
}
diff --git a/views/default/river/object/image/create.php b/views/default/river/object/image/create.php index 8f7a856ea..5229e109a 100644 --- a/views/default/river/object/image/create.php +++ b/views/default/river/object/image/create.php @@ -19,9 +19,9 @@ $string .= "<div class=\"river_content\">";
/* // this adds the album cover to the river display
- $string .= "<a href=\"" . $album->getURL() . "\"> <img src=\"" . $CONFIG->wwwroot . 'mod/tidypics/thumbnail.php?file_guid=' . $album->cover . '&size=thumb" border="0" class="tidypics_album_cover" alt="thumbnail"/> </a>';
+ $string .= "<a href=\"" . $album->getURL() . "\"> <img src=\"" . $CONFIG->wwwroot . 'mod/tidypics/thumbnail.php?file_guid=' . $album->cover . '&size=thumb" class="tidypics_album_cover" alt="thumbnail"/> </a>';
*/
- $string .= "<a href=\"" . $image->getURL() . "\"> <img src=\"" . $CONFIG->wwwroot . 'mod/tidypics/thumbnail.php?file_guid=' . $image->guid . '&size=thumb" border="0" class="tidypics_album_cover" alt="thumbnail"/> </a>';
+ $string .= "<a href=\"" . $image->getURL() . "\"> <img src=\"" . $CONFIG->wwwroot . 'mod/tidypics/thumbnail.php?file_guid=' . $image->guid . '&size=thumb" class="tidypics_album_cover" alt="thumbnail"/> </a>';
$string .= "</div>";
echo $string;
|