function theme_user_import_username_errors in User Import 5.2
Same name and namespace in other branches
- 8 user_import.module \theme_user_import_username_errors()
- 5 user_import.module \theme_user_import_username_errors()
- 6.4 user_import.module \theme_user_import_username_errors()
- 6.2 user_import.module \theme_user_import_username_errors()
- 7.3 user_import.module \theme_user_import_username_errors()
- 7 user_import.module \theme_user_import_username_errors()
- 7.2 user_import.module \theme_user_import_username_errors()
1 theme call to theme_user_import_username_errors()
File
- ./
user_import.module, line 983 - Import users from a comma separated file (csv).
Code
function theme_user_import_username_errors($errors) {
if (empty($errors)) {
$output = '<p><strong>' . t('All usernames are OK.') . '</strong></p>';
}
else {
$header = array(
t('User ID'),
t('Email'),
t('Username'),
t('Error'),
);
$output = theme('table', $header, $errors);
}
return $output;
}