Add new comment to Nastavení komentáře na Dofollow
Moje kniha o CMS Drupal
Poslední komentáře
- 2 hours ago
- 4 months 2 weeks ago
- 4 months 2 weeks ago
- 6 months 3 weeks ago
- 7 months 3 weeks ago
- 7 months 3 weeks ago
- 7 months 3 weeks ago
- 10 months 4 weeks ago
- 11 months 2 weeks ago
- 11 months 2 weeks ago
Nové diskuze
- (6 months 1 week zpět)
- (7 months 3 weeks zpět)
- (1 year 5 months zpět)
- (1 year 5 months zpět)
- (1 year 9 months zpět)
- (1 year 9 months zpět)
- (1 year 10 months zpět)
- (2 years 2 months zpět)

Jednoduše do template.php vložte a
themeid nahradte vaším tématem vzhledu
.......................................
function themeid_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')) {
$output = l($name, 'user/'. $object->uid, array(
'attributes' => array('title' => t('View user profile.'))
));
}
else {
$output = check_plain($name);
}
}
else if ($object->name) {
if (!empty($object->homepage)) {
$output = l($object->name, $object->homepage, array(
'attributes' => array(
'rel' => 'external')
)
);
}
else {
$output = check_plain($object->name);
}
// $output .= ' ('. t('not verified') .')';
}
else {
$output = variable_get('anonymous', t('Anonymous'));
}
return $output;
}