Commit a82b5143 authored by Steven Wittens's avatar Steven Wittens
Browse files

Removing useless 'read more' title attribute, as discussed.

parent bf3e513b
......@@ -85,7 +85,7 @@ function node_help_page() {
function node_title_list($result, $title = NULL) {
while ($node = db_fetch_object($result)) {
$number = module_invoke('comment', 'num_all', $node->nid);
$items[] = l($node->title, 'node/'. $node->nid, array('title' => $number ? format_plural($number, '1 comment', '%count comments') : t('read more')));
$items[] = l($node->title, 'node/'. $node->nid, $number ? array('title' => format_plural($number, '1 comment', '%count comments')) : '');
}
return theme('node_list', $items, $title);
......
......@@ -85,7 +85,7 @@ function node_help_page() {
function node_title_list($result, $title = NULL) {
while ($node = db_fetch_object($result)) {
$number = module_invoke('comment', 'num_all', $node->nid);
$items[] = l($node->title, 'node/'. $node->nid, array('title' => $number ? format_plural($number, '1 comment', '%count comments') : t('read more')));
$items[] = l($node->title, 'node/'. $node->nid, $number ? array('title' => format_plural($number, '1 comment', '%count comments')) : '');
}
return theme('node_list', $items, $title);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment