aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-27 01:31:44 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-27 01:31:44 +0000
commit53062715e71e7ce4bf6310731dc1ec102fb87f1c (patch)
treea96ddce25b832b59927567290ba490794848cc6f /views
parent41616b6f4bbbc8f495a321c89cf62b0d39938ec5 (diff)
downloadelgg-53062715e71e7ce4bf6310731dc1ec102fb87f1c.tar.gz
elgg-53062715e71e7ce4bf6310731dc1ec102fb87f1c.tar.bz2
Fixes #3086 using full_view instead of full
git-svn-id: http://code.elgg.org/elgg/trunk@8866 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r--views/default/annotation/generic_comment.php4
-rw-r--r--views/default/object/plugin.php2
-rw-r--r--views/default/page/components/gallery.php5
-rw-r--r--views/default/page/components/list.php5
-rw-r--r--views/json/entities/entity_list.php4
5 files changed, 5 insertions, 15 deletions
diff --git a/views/default/annotation/generic_comment.php b/views/default/annotation/generic_comment.php
index 2dcf7fefd..4a3407e1a 100644
--- a/views/default/annotation/generic_comment.php
+++ b/views/default/annotation/generic_comment.php
@@ -3,14 +3,14 @@
* Elgg generic comment view
*
* @uses $vars['annotation'] ElggAnnotation object
- * @uses $vars['full'] Display fill view or brief view
+ * @uses $vars['full_view'] Display fill view or brief view
*/
if (!isset($vars['annotation'])) {
return true;
}
-$full_view = elgg_extract('full', $vars, true);
+$full_view = elgg_extract('full_view', $vars, true);
$comment = $vars['annotation'];
diff --git a/views/default/object/plugin.php b/views/default/object/plugin.php
index af1ccd677..2facca97a 100644
--- a/views/default/object/plugin.php
+++ b/views/default/object/plugin.php
@@ -11,7 +11,7 @@ $plugin = $vars['entity'];
if (!$plugin->isValid()) {
echo elgg_view('object/plugin/invalid', $vars);
-} elseif ($vars['full']) {
+} elseif ($vars['full_view']) {
echo elgg_view('object/plugin/advanced', $vars);
} else {
echo elgg_view('object/plugin/simple', $vars);
diff --git a/views/default/page/components/gallery.php b/views/default/page/components/gallery.php
index 8d3052ed9..1ba896836 100644
--- a/views/default/page/components/gallery.php
+++ b/views/default/page/components/gallery.php
@@ -23,11 +23,6 @@ $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(
'offset' => $offset,
diff --git a/views/default/page/components/list.php b/views/default/page/components/list.php
index 3a4fc21c8..ae951c89f 100644
--- a/views/default/page/components/list.php
+++ b/views/default/page/components/list.php
@@ -25,11 +25,6 @@ $pagination = elgg_extract('pagination', $vars, true);
$offset_key = elgg_extract('offset_key', $vars, 'offset');
$position = elgg_extract('position', $vars, 'after');
-// @todo standardize on full_view - will require backward compatible code
-if (isset($vars['full_view'])) {
- $vars['full'] = $vars['full_view'];
-}
-
$list_class = 'elgg-list';
if (isset($vars['list_class'])) {
$list_class = "{$vars['list_class']} $list_class";
diff --git a/views/json/entities/entity_list.php b/views/json/entities/entity_list.php
index f3d388f21..b583588c3 100644
--- a/views/json/entities/entity_list.php
+++ b/views/json/entities/entity_list.php
@@ -1,10 +1,10 @@
<?php
$entities = $vars['entities'];
-$fullview = $vars['fullview'];
+$full_view = $vars['full_view'];
if (is_array($entities) && sizeof($entities) > 0) {
foreach($entities as $entity) {
- echo elgg_view_entity($entity, $fullview);
+ echo elgg_view_entity($entity, $full_view);
}
}