From 4562cfbb1a630b14fd194271f99f1f8c098dc38d Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 19 Nov 2011 12:10:46 -0500 Subject: basic pages for viewing all/mine/friends and viewing an album --- pages/friends.php | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 pages/friends.php (limited to 'pages/friends.php') diff --git a/pages/friends.php b/pages/friends.php deleted file mode 100644 index d5dfdba5c..000000000 --- a/pages/friends.php +++ /dev/null @@ -1,41 +0,0 @@ -guid == get_loggedin_userid()) { - $title = elgg_echo('album:yours:friends'); -} else { - $title = sprintf(elgg_echo('album:friends'), $user->name); -} - -$area2 = elgg_view_title($title); - -$albums = get_user_friends_objects($user->guid, 'album', 12); - -// get html for viewing list of photo albums -set_context('search'); -set_input('search_viewtype', 'gallery'); // need to force gallery view -$content = tp_view_entity_list($albums, count($albums), 0, 12, false, false, true); - -$area2 = elgg_view('tidypics/content_wrapper', array('title' => $title, 'content' => $content,)); - -$body = elgg_view_layout('two_column_left_sidebar', '', $area2); - -page_draw($title, $body); -- cgit v1.2.3