From e9cc4a95ca5a6e7192a26a4dc69f62c542158085 Mon Sep 17 00:00:00 2001 From: pete Date: Sat, 26 Jul 2008 00:06:16 +0000 Subject: friends picker fixed for new page layout, and hopefully I've fixed the load issue too git-svn-id: https://code.elgg.org/elgg/trunk@1552 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/friends/picker.php | 334 ++++++++++++++++++++------------------- 1 file changed, 168 insertions(+), 166 deletions(-) (limited to 'views/default/friends') diff --git a/views/default/friends/picker.php b/views/default/friends/picker.php index 4be60b12e..7a0c57c12 100644 --- a/views/default/friends/picker.php +++ b/views/default/friends/picker.php @@ -1,167 +1,169 @@ -name,0,1)); - if ($letter >= "0" && $letter <= "9") { - $letter = "0"; - } - if (!isset($users[$letter])) { - $users[$letter] = array(); - } - $users[$letter][$user->name] = $user; - - } - -?> - -
-
-
-
- -
-
-

- -"; - $col = 0; - - foreach($users[$letter] as $friend) { - if ($col == 0) echo ""; - - //echo "

" . $user->name . "

"; - $label = elgg_view("profile/icon",array('entity' => $friend, 'size' => 'tiny')); - $options[$label] = $friend->getGUID(); - if (in_array($friend->getGUID(),$vars['value'])) { - $checked = "checked = \"checked\""; - if (!in_array($letter,$activeletters)) - $activeletters[] = $letter; - } else { - $checked = ""; - } - -?> - - - - name="[]" value="" /> - - - - - -
- -
- - -name; - -?> - -"; - } - if ($col < 3) echo ""; - - echo ""; - - } - -?> - -
-
- -
-
-
-
- - - + \ No newline at end of file -- cgit v1.2.3