aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-09-22 13:06:15 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-09-22 13:06:15 +0000
commitf9e4047fabe515aa32e8997de66ae8bd7f15990d (patch)
tree7283094aba5d5654492c8f6357e79a95c21dad56 /views/default
parentd27c76a42e2b194a4b084fb020464d87a075166a (diff)
downloadelgg-f9e4047fabe515aa32e8997de66ae8bd7f15990d.tar.gz
elgg-f9e4047fabe515aa32e8997de66ae8bd7f15990d.tar.bz2
collections picker - delete link given classname and brackets removed from string
git-svn-id: http://code.elgg.org/elgg/trunk@3493 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-rw-r--r--views/default/input/userpicker.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/default/input/userpicker.php b/views/default/input/userpicker.php
index 9855c5678..2f97262e0 100644
--- a/views/default/input/userpicker.php
+++ b/views/default/input/userpicker.php
@@ -1,6 +1,6 @@
<?php
/**
- * User Picker. Sends an array of user guids.
+ * User Picker. Sends an array of user guids.
*
* @package Elgg
* @subpackage Core
@@ -105,7 +105,7 @@ function userPickerAddUser(event, data, formatted) {
var formatted = userPickerFormatItem(data);
// add guid as hidden input and to list.
- var li = formatted + ' (' + '<a onclick="userPickerRemoveUser(this, ' + info.guid + ')">X</a>)'
+ var li = formatted + ' <a class="delete_collection" onclick="userPickerRemoveUser(this, ' + info.guid + ')"><strong>X</strong></a>'
+ '<input type="hidden" name="' + internalName + '[]" value="' + info.guid + '" />';
$('<li class="user_picker_entry">').html(li).appendTo(users);
@@ -135,7 +135,7 @@ $(document).ready(function() {
?>
<div class="user_picker">
<input class="internalname" type="hidden" name="internalname" value="<?php echo $vars['internalname']; ?>" />
- <input class="search" type="text" name="user_search" size="30" />
+ <input class="search" type="text" name="user_search" size="30"/>
<span class="controls">
<label><input class="all_users" type="checkbox" name="match_on" value="true" /><?php echo elgg_echo('userpicker:only_friends'); ?></label>
</span>