summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Douglass2006-02-12 22:21:56 (GMT)
committer Robert Douglass2006-02-12 22:21:56 (GMT)
commit2ac7a8ecb33d52d4ba596e889b98c52a27bec69b (patch)
tree4eca6c8475bb01a489e8c2998443716c7bc8aa05
parent9145bdd7730207c98b5666422ea10f45ea8ec7d6 (diff)
#23378: Use user_list instead of item_list. It is more semantically correct and gives themers more choices for how to theme lists of buddies
-rw-r--r--buddylist.module6
1 files changed, 3 insertions, 3 deletions
diff --git a/buddylist.module b/buddylist.module
index 064c8a1..fc3c7e2 100644
--- a/buddylist.module
+++ b/buddylist.module
@@ -121,7 +121,7 @@ function buddylist_user($type, &$edit, &$thisuser, $category = NULL) {
break;
}
}
- $output .= form_item(t('Buddies'), theme('item_list', $listbuddies));
+ $output .= form_item(t('Buddies'), theme('user_list', $listbuddies));
}
// This portion of code is used to see if this $thisuser is a buddy of others and, if s/he is, returns a list
@@ -133,7 +133,7 @@ function buddylist_user($type, &$edit, &$thisuser, $category = NULL) {
$listbuddiesof[] = format_name($row);
}
if ($listbuddiesof) {
- $output .= form_item(t('Buddy of'), theme('item_list', $listbuddiesof));
+ $output .= form_item(t('Buddy of'), theme('user_list', $listbuddiesof));
}
// Check to see whether or not $thisuser is in global $user's buddy list
@@ -150,7 +150,7 @@ function buddylist_user($type, &$edit, &$thisuser, $category = NULL) {
}
}
if ($actions) {
- $output .= form_item(t('Buddy actions'), theme('item_list', $actions));
+ $output .= form_item(t('Buddy actions'), theme('user_list', $actions));
}
return array(t('Buddy List') => $output);
}