diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-12 23:02:11 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-12 23:02:11 +0000 |
commit | 99175d2417bc5d3657cc3e548affe21eda76f648 (patch) | |
tree | 3bcacce06877a1d7a2bd6634fe614a9618968f8c /views/default/page/components | |
parent | bfb0a3e9b289e4036bfeb3e694586387fc4f904e (diff) | |
download | elgg-99175d2417bc5d3657cc3e548affe21eda76f648.tar.gz elgg-99175d2417bc5d3657cc3e548affe21eda76f648.tar.bz2 |
Refs #3045 adds a gallery context based view for users
git-svn-id: http://code.elgg.org/elgg/trunk@8676 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/page/components')
-rw-r--r-- | views/default/page/components/gallery.php | 4 | ||||
-rw-r--r-- | views/default/page/components/list.php | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/views/default/page/components/gallery.php b/views/default/page/components/gallery.php index c6764d92f..8d3052ed9 100644 --- a/views/default/page/components/gallery.php +++ b/views/default/page/components/gallery.php @@ -23,6 +23,10 @@ $position = elgg_extract('position', $vars, 'after'); $num_columns = 4; +// @todo standardize on full_view - will require backward compatible code +if (isset($vars['full_view'])) { + $vars['full'] = $vars['full_view']; +} if ($pagination && $count) { $nav .= elgg_view('navigation/pagination', array( diff --git a/views/default/page/components/list.php b/views/default/page/components/list.php index 5e8c8432d..3a4fc21c8 100644 --- a/views/default/page/components/list.php +++ b/views/default/page/components/list.php @@ -25,7 +25,7 @@ $pagination = elgg_extract('pagination', $vars, true); $offset_key = elgg_extract('offset_key', $vars, 'offset'); $position = elgg_extract('position', $vars, 'after'); -// @todo standardize on full - will require backward compatible code +// @todo standardize on full_view - will require backward compatible code if (isset($vars['full_view'])) { $vars['full'] = $vars['full_view']; } |