function theme_user_import_username_errors in User Import 7.3
Same name and namespace in other branches
- 8 user_import.module \theme_user_import_username_errors()
- 5.2 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 user_import.module \theme_user_import_username_errors()
- 7.2 user_import.module \theme_user_import_username_errors()
File
- ./
user_import.module, line 524 - Import or update users with data 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', array(
'header' => $header,
'errors' => $errors,
));
}
return $output;
}