diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-23 21:38:14 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-23 21:38:14 +0000 |
commit | 9d2a1831b574d517592c0345fdf5aa173fcd42d7 (patch) | |
tree | ed21825a7efd41e89a00792861fc84ee098db995 /mod/blog/start.php | |
parent | df750ff4e9e069aff6cf9e5ada55ae0696c1e77b (diff) | |
download | elgg-9d2a1831b574d517592c0345fdf5aa173fcd42d7.tar.gz elgg-9d2a1831b574d517592c0345fdf5aa173fcd42d7.tar.bz2 |
Added filtering by archive date.
git-svn-id: http://code.elgg.org/elgg/trunk@5490 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/blog/start.php')
-rw-r--r-- | mod/blog/start.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/blog/start.php b/mod/blog/start.php index d0c4c5157..3c497088a 100644 --- a/mod/blog/start.php +++ b/mod/blog/start.php @@ -128,12 +128,12 @@ function blog_page_handler($page) { $content_info = blog_get_page_content_edit($page2, $page3); break; - case 'archives': - $content = elgg_view('page_elements/content_header', array('context' => $content, 'type' => 'blog')); - $content .= blog_get_page_content_archive($user->getGUID(), $page2, $page3); + case 'archive': + $content_info = blog_get_page_content_archive($user->getGUID(), $page2, $page3); break; case 'friends': + //@todo make it go $content = elgg_view('page_elements/content_header', array('context' => $content, 'type' => 'blog')); $content .= blog_get_page_content_archive($user->getGUID()); break; |