From d1aca21a0f385a89df411668ba1bd3fb96a88d10 Mon Sep 17 00:00:00 2001 From: pete Date: Tue, 27 Jan 2009 14:52:59 +0000 Subject: friendspicker / collections updated to work with more than 12+ friends per pane git-svn-id: https://code.elgg.org/elgg/trunk@2623 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/css.php | 6 +++++- views/default/friends/picker.php | 16 +++++++++------- 2 files changed, 14 insertions(+), 8 deletions(-) (limited to 'views') diff --git a/views/default/css.php b/views/default/css.php index 0f256e926..2f95b8882 100644 --- a/views/default/css.php +++ b/views/default/css.php @@ -1567,7 +1567,11 @@ div.expandall p { margin: 0; padding:0; width: 685px; - height: 300px; + + height: auto; + background: #efefef; +} +.friendspicker_savebuttons { background: white; } .friendsPicker .friendsPicker_container { /* long container used to house end-to-end panels. Width is calculated in JS */ diff --git a/views/default/friends/picker.php b/views/default/friends/picker.php index 10e1737eb..853b9030d 100644 --- a/views/default/friends/picker.php +++ b/views/default/friends/picker.php @@ -13,10 +13,10 @@ * * @uses $vars['entities'] The array of ElggUser objects */ - - // Let the system know that the friends picker is in use - global $pickerinuse; - $pickerinuse = true; + + // Let the system know that the friends picker is in use + global $pickerinuse; + $pickerinuse = true; // Initialise internalname if (!isset($vars['internalname'])) { @@ -228,9 +228,11 @@ echo $vars['formcontents']; ?> - - - +
+
+ + +