From 3caf7a0417b44d295b8b794226bd443ccabd6955 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Wed, 24 Jun 2009 11:22:34 +0000 Subject: tweak in preparation for better RSS feeds --- viewalbum.php | 8 +++----- views/default/object/album.php | 2 ++ 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); ?>
-- cgit v1.2.3