Add new comment to Nastavení komentáře na Dofollow
Moje kniha o CMS Drupal
Poslední komentáře
- 2 days 14 hours ago
- 4 days 23 hours ago
- 5 days 21 hour ago
- 5 days 21 hour ago
- 1 week 3 days ago
- 1 week 5 days ago
- 6 months 1 week ago
- 6 months 1 week ago
- 8 months 2 weeks ago
- 9 months 1 week ago
Nové diskuze
- (1 month zpět)
- (1 month 1 week zpět)
- (8 months zpět)
- (9 months 2 weeks zpět)
- (1 year 7 months zpět)
- (1 year 7 months zpět)
- (1 year 11 months zpět)
- (1 year 11 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;
}