diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-01-27 14:52:59 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-01-27 14:52:59 +0000 |
commit | d1aca21a0f385a89df411668ba1bd3fb96a88d10 (patch) | |
tree | df64c4283914f0d26a12406c9d9d7eb8a927ccb1 /views/default | |
parent | 7d7d484a3777d1d9e212151b8bbc56b0c6a6e426 (diff) | |
download | elgg-d1aca21a0f385a89df411668ba1bd3fb96a88d10.tar.gz elgg-d1aca21a0f385a89df411668ba1bd3fb96a88d10.tar.bz2 |
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
Diffstat (limited to 'views/default')
-rw-r--r-- | views/default/css.php | 6 | ||||
-rw-r--r-- | views/default/friends/picker.php | 16 |
2 files changed, 14 insertions, 8 deletions
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']; ?> - <input type="submit" class="submit_button" value="<?php echo elgg_echo('save'); ?>" /> - <!-- onclick="$('a.collectionmembers<?php echo $friendspicker; ?>').click();" --> - <input type="button" class="cancel_button" value="<?php echo elgg_echo('cancel'); ?>" onclick="$('a.collectionmembers<?php echo $friendspicker; ?>').click();" /> + <div class="clearfloat"></div> + <div class="friendspicker_savebuttons"> + <input type="submit" class="submit_button" value="<?php echo elgg_echo('save'); ?>" /> + <input type="button" class="cancel_button" value="<?php echo elgg_echo('cancel'); ?>" onclick="$('a.collectionmembers<?php echo $friendspicker; ?>').click();" /> + <br /></div> </form> <?php |