function theme_uif_preview_users in User Import Framework 6
Same name and namespace in other branches
- 7 uif.admin.inc \theme_uif_preview_users()
Theme preview of all users.
1 theme call to theme_uif_preview_users()
- uif_import_form_submit in ./
uif.admin.inc - Form submission handler.
File
- ./
uif.admin.inc, line 323 - Simple, extensible user import from a CSV file.
Code
function theme_uif_preview_users($data, $limit) {
$current = 0;
foreach ($data['user'] as $user_data) {
$current++;
if ($current > $limit) {
break;
}
$output .= theme('uif_preview_one_user', $user_data);
}
if (!$output) {
$output = t('There are no users to import.');
}
return $output;
}