From aa5bb3f0bc17d858831412da82eef805ecafac89 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Sun, 14 Nov 2010 08:04:28 +0000 Subject: Fixes #2334: Converted viewtype => listtype and viewtypetoggle => listtypetoggle. Did my best to maintain backwards compatibility but might have missed something... git-svn-id: http://code.elgg.org/elgg/trunk@7311 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/pages/views/default/object/page.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/pages/views/default/object/page.php') diff --git a/mod/pages/views/default/object/page.php b/mod/pages/views/default/object/page.php index 5b4af5198..dbca0755b 100644 --- a/mod/pages/views/default/object/page.php +++ b/mod/pages/views/default/object/page.php @@ -8,7 +8,7 @@ if ($vars['full']) { echo elgg_view("pages/pageprofile", $vars); } else { - if (get_input('search_viewtype') == "gallery") { + if (get_input('listtype') == "gallery") { echo elgg_view('pages/pagegallery', $vars); } else { echo elgg_view("pages/pagelisting", $vars); -- cgit v1.2.3