aboutsummaryrefslogtreecommitdiff
path: root/mod/blog/start.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-23 21:38:14 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-23 21:38:14 +0000
commit9d2a1831b574d517592c0345fdf5aa173fcd42d7 (patch)
treeed21825a7efd41e89a00792861fc84ee098db995 /mod/blog/start.php
parentdf750ff4e9e069aff6cf9e5ada55ae0696c1e77b (diff)
downloadelgg-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.php6
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;