]> git.mjollnir.org Git - moodle.git/commitdiff
SMall Strict fix
authormoodler <moodler>
Sat, 6 Jan 2007 05:06:35 +0000 (05:06 +0000)
committermoodler <moodler>
Sat, 6 Jan 2007 05:06:35 +0000 (05:06 +0000)
blocks/news_items/block_news_items.php

index f23d30d0bc8aa919f68205ff21a66fa616241581..03a81946cd2559c4a07307128e0c04dab63befea 100644 (file)
@@ -38,7 +38,7 @@ class block_news_items extends block_base {
             if (has_capability('moodle/site:accessallgroups', get_context_instance(CONTEXT_COURSE, $COURSE->id))) {     /// Teachers can always post
                 $visiblegroups = -1; 
 
-                $text .= '<div align="center" class="newlink"><a href="'.$CFG->wwwroot.'/mod/forum/post.php?forum='.$forum->id.'">'.
+                $text .= '<div class="newlink"><a href="'.$CFG->wwwroot.'/mod/forum/post.php?forum='.$forum->id.'">'.
                           get_string('addanewtopic', 'forum').'</a>...</div>';
 
             } else {                              /// Check the group situation