From 04a1bcfd1f9e98b7fe5e5a8230385385d0c41631 Mon Sep 17 00:00:00 2001 From: pete Date: Wed, 30 Jul 2008 23:28:21 +0000 Subject: small change to collection members display - as a table git-svn-id: https://code.elgg.org/elgg/trunk@1620 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/friends/picker.php | 98 ++++++++++++++++++------------------- views/default/friends/tablelist.php | 12 +++-- 2 files changed, 56 insertions(+), 54 deletions(-) diff --git a/views/default/friends/picker.php b/views/default/friends/picker.php index 9702caf14..ed9d71c3e 100644 --- a/views/default/friends/picker.php +++ b/views/default/friends/picker.php @@ -30,13 +30,13 @@ $vars['value'] = array($vars['value']); } } - - // Initialise whether we're calling back or not - if (isset($vars['callback'])) { - $callback = $vars['callback']; - } else { - $callback = false; - } + + // Initialise whether we're calling back or not + if (isset($vars['callback'])) { + $callback = $vars['callback']; + } else { + $callback = false; + } // We need to count the number of friends pickers on the page. global $friendspicker; @@ -60,28 +60,28 @@ $users[$letter][$user->name] = $user; } - - if (!$callback) { + + if (!$callback) { ?>
- - -
- - + +
+ + @@ -139,7 +139,7 @@ ?>
- + name; @@ -169,25 +169,25 @@ ?>
- - - - - - - - + + + + + + - - + + \ No newline at end of file diff --git a/views/default/friends/tablelist.php b/views/default/friends/tablelist.php index 38f577a2d..a5f791f46 100644 --- a/views/default/friends/tablelist.php +++ b/views/default/friends/tablelist.php @@ -18,7 +18,7 @@ ?> - +
$entity, 'size' => 'tiny')); ?> - "; $column = 0; } } - if ($column > 0) echo ""; + ?> -
+ name; @@ -42,20 +42,22 @@ 1) { + if ($column == 3) { echo "
+ "; + echo ""; } ?> \ No newline at end of file -- cgit v1.2.3