MDL-24298 news block Remove "more" link for improved accessibility
authorMichael Aherne <michael.aherne@strath.ac.uk>
Thu, 12 Jul 2012 12:16:47 +0000 (13:16 +0100)
committerMichael Aherne <michael.aherne@strath.ac.uk>
Tue, 17 Jul 2012 08:53:46 +0000 (09:53 +0100)
blocks/news_items/block_news_items.php

index 6fcd152..3561c4f 100644 (file)
@@ -84,9 +84,7 @@ class block_news_items extends block_base {
                          '<div class="head clearfix">'.
                          '<div class="date">'.userdate($discussion->modified, $strftimerecent).'</div>'.
                          '<div class="name">'.fullname($discussion).'</div></div>'.
-                         '<div class="info">'.$discussion->subject.' '.
-                         '<a href="'.$CFG->wwwroot.'/mod/forum/discuss.php?d='.$discussion->discussion.'">'.
-                         $strmore.'...</a></div>'.
+                         '<div class="info"><a href="'.$CFG->wwwroot.'/mod/forum/discuss.php?d='.$discussion->discussion.'">'.$discussion->subject.'</a></div>'.
                          "</li>\n";
             }
             $text .= "</ul>\n";