diff options
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 |