aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/userpicker.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-09 21:24:52 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-09 21:24:52 +0000
commit276a83879de7b642e34f6ddb89c452327cb636e4 (patch)
tree3b7f59962877059835ed71f35242fcb8496cb9a7 /views/default/input/userpicker.php
parentfa390165296762156702d2708ae0fe9b9293ea33 (diff)
downloadelgg-276a83879de7b642e34f6ddb89c452327cb636e4.tar.gz
elgg-276a83879de7b642e34f6ddb89c452327cb636e4.tar.bz2
Fixes #2726 applied zcho's patch to fix more errors from the "_" to "-" CSS conversion
git-svn-id: http://code.elgg.org/elgg/trunk@7586 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/input/userpicker.php')
-rw-r--r--views/default/input/userpicker.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/views/default/input/userpicker.php b/views/default/input/userpicker.php
index 8f32aa4c5..85fbd70f1 100644
--- a/views/default/input/userpicker.php
+++ b/views/default/input/userpicker.php
@@ -18,9 +18,9 @@
*
*/
-global $user-picker_js_sent;
+global $user_picker_js_sent;
-function user-picker_add-user($user_id) {
+function user_picker_add_user($user_id) {
$user = get_entity($user_id);
if (!$user || !($user instanceof ElggUser)) {
return FALSE;
@@ -56,7 +56,7 @@ foreach ($vars['value'] as $value) {
// convert the values to a json-encoded list
$json_values = json_encode($values);
-if (!$user-picker_js_sent) {
+if (!$user_picker_js_sent) {
?>
<!-- User picker JS -->
<script language="javascript" type="text/javascript" src="<?php echo elgg_get_site_url(); ?>vendors/jquery/jquery.autocomplete.min.js"></script>
@@ -170,13 +170,13 @@ $(document).ready(function() {
});
</script>
<?php
- $user-picker_js_sent = true;
+ $user_picker_js_sent = true;
}
// create an HTML list of users
$user_list = '';
foreach ($vars['value'] as $user_id) {
- $user_list .= user-picker_add-user($user_id);
+ $user_list .= user_picker_add_user($user_id);
}
?>