aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-06-24 11:22:34 +0000
committerCash Costello <cash.costello@gmail.com>2009-06-24 11:22:34 +0000
commit3caf7a0417b44d295b8b794226bd443ccabd6955 (patch)
tree68c03ea4a79a9062c0c809a594a333972a351112
parentd723ef3f6e5ba2567cb494943ba6aaeaac6c7e22 (diff)
downloadelgg-3caf7a0417b44d295b8b794226bd443ccabd6955.tar.gz
elgg-3caf7a0417b44d295b8b794226bd443ccabd6955.tar.bz2
tweak in preparation for better RSS feeds
-rw-r--r--viewalbum.php8
-rw-r--r--views/default/object/album.php2
2 files changed, 5 insertions, 5 deletions
diff --git a/viewalbum.php b/viewalbum.php
index 4bdd1a2c7..602963816 100644
--- a/viewalbum.php
+++ b/viewalbum.php
@@ -45,11 +45,9 @@
true);
}
- // set title and body
- $title = $album->title;
- $area2 = elgg_view_title($title);
- $area2 .= elgg_view_entity($album, true);
+ // create body
+ $area2 = elgg_view_entity($album, true);
$body = elgg_view_layout('two_column_left_sidebar', '', $area2);
- page_draw($title, $body);
+ page_draw($album->title, $body);
?> \ No newline at end of file
diff --git a/views/default/object/album.php b/views/default/object/album.php
index 9e3e05356..988ad0f7c 100644
--- a/views/default/object/album.php
+++ b/views/default/object/album.php
@@ -91,6 +91,8 @@
add_submenu_item( elgg_echo("tidypics:highestrated"),
$CONFIG->wwwroot . "pg/photos/highestrated/group:" . $album_id,
'photos');
+
+ echo elgg_view_title($title);
?>
<div class="contentWrapper">
<div id="tidypics_breadcrumbs">