aboutsummaryrefslogtreecommitdiff
path: root/views/default/widgets
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-03-28 17:46:24 +0000
committerCash Costello <cash.costello@gmail.com>2009-03-28 17:46:24 +0000
commite45a654715c5db44e60527513d7d8255f8d20221 (patch)
tree952306e5ae26ec498fb0f6508247fc4853add708 /views/default/widgets
parent5ef1dd4c79fd5413a1983a4faf96cf3a44c024ba (diff)
downloadelgg-e45a654715c5db44e60527513d7d8255f8d20221.tar.gz
elgg-e45a654715c5db44e60527513d7d8255f8d20221.tar.bz2
cleaned up and standardized the css markup
Diffstat (limited to 'views/default/widgets')
-rw-r--r--views/default/widgets/album_view/view.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/views/default/widgets/album_view/view.php b/views/default/widgets/album_view/view.php
index d56e0c3fc..b8b206b22 100644
--- a/views/default/widgets/album_view/view.php
+++ b/views/default/widgets/album_view/view.php
@@ -10,19 +10,19 @@
$owner_albums = get_entities("object", "album", page_owner(), "", $number, 0, false);
if ($owner_albums) {
- echo '<div id="album_widget_container">';
-
+ echo '<div id="tidypics_album_widget_container">';
+
foreach($owner_albums as $album){
//get album cover if one was set
if($album->cover)
- $album_cover = '<img src="'.$vars['url'].'mod/tidypics/thumbnail.php?file_guid='.$album->cover.'&size=small" border="0" class="album_cover" alt="' . $album->title . '"/>';
+ $album_cover = '<img src="'.$vars['url'].'mod/tidypics/thumbnail.php?file_guid='.$album->cover.'&size=small" border="0" class="tidypics_album_cover" alt="' . $album->title . '"/>';
else
- $album_cover = '<img src="'.$vars['url'].'mod/tidypics/graphics/img_error.jpg" border="0" class="album_cover" alt="' . $album->title . '">';
+ $album_cover = '<img src="'.$vars['url'].'mod/tidypics/graphics/img_error.jpg" border="0" class="tidypics_album_cover" alt="' . $album->title . '">';
?>
- <div class="album_widget_single_item">
- <div class="album_widget_title"><a href="<?php echo $album->getURL();?>"><?php echo $album->title;?></a></div>
- <div class="album_widget_timestamp"> <?php echo elgg_echo("album:created:on") . ' '. friendly_time($album->time_created);?></div>
+ <div class="tidypics_album_widget_single_item">
+ <div class="tidypics_album_widget_title"><a href="<?php echo $album->getURL();?>"><?php echo $album->title;?></a></div>
+ <div class="tidypics_album_widget_timestamp"> <?php echo elgg_echo("album:created:on") . ' '. friendly_time($album->time_created);?></div>
<?php
//get the number of comments
$numcomments = elgg_count_comments($album);