/ Published in: PHP
Expand |
Embed | Plain Text
function mytheme_username($object) { if ($object->uid && $object->name) { if (drupal_strlen($object->name) > 20) { $name = drupal_substr($object->name, 0, 15) .'...'; } else { $name = $object->name; } if (user_access('access user profiles')) { } else { $output = check_plain($name); } } else if ($object->name) { } else { $output = check_plain($object->name); } /** * HERE I've commented out the next line, which is the line that was adding * the unwanted text to our author names! */ // $output .= ' ('. t('not verified') .')'; } else { $output = variable_get('anonymous', t('Anonymous')); } return $output; }
You need to login to post a comment.
