diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-09-14 09:37:29 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-09-14 09:37:29 +0000 |
commit | c3ef96b8b03f9a00a872ebe2bdc6af872848f1a4 (patch) | |
tree | 47da7939dede97fe87b968c818e803713fde1023 | |
parent | 43cb4abd9e8ac55245fc1375ca7eb718ef1b04e0 (diff) | |
download | brdo-c3ef96b8b03f9a00a872ebe2bdc6af872848f1a4.tar.gz brdo-c3ef96b8b03f9a00a872ebe2bdc6af872848f1a4.tar.bz2 |
#174993 by peterx, webchick and Freso@freso.dk: WAI AA comformant title for read more links, ie. we are not repeating the same text but include meaningful information
-rw-r--r-- | modules/node/node.module | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/node/node.module b/modules/node/node.module index bcd5b3e40..6bf314e06 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1246,7 +1246,9 @@ function node_link($type, $node = NULL, $teaser = FALSE) { $links['node_read_more'] = array( 'title' => t('Read more'), 'href' => "node/$node->nid", - 'attributes' => array('title' => t('Read the rest of this posting.')) + // The title attribute gets escaped when the links are processed, so + // there is no need to escape here. + 'attributes' => array('title' => t('Read the rest of !title.', array('!title' => $node->title))) ); } } |