]> git.mjollnir.org Git - moodle.git/commitdiff
FIxed style and made this block XHTML Strict
authormoodler <moodler>
Tue, 9 Jan 2007 08:14:05 +0000 (08:14 +0000)
committermoodler <moodler>
Tue, 9 Jan 2007 08:14:05 +0000 (08:14 +0000)
blocks/course_summary/block_course_summary.php
blocks/course_summary/styles.php

index c5a29678cdb5f303eeab27e55749ce1b5c9de1f3..f71806a656fef702937044441dd4d0f150e39708 100644 (file)
@@ -33,7 +33,7 @@ class block_course_summary extends block_base {
             } else {
                 $editpage = $CFG->wwwroot.'/course/edit.php?id='.$COURSE->id;
             }
-            $this->content->text .= "<div align=\"right\"><a href=\"$editpage\"><img src=\"$CFG->pixpath/t/edit.gif\" alt=\"".get_string('edit')."\" /></a></div>";
+            $this->content->text .= "<div class=\"editbutton\"><a href=\"$editpage\"><img src=\"$CFG->pixpath/t/edit.gif\" alt=\"".get_string('edit')."\" /></a></div>";
         }
         $this->content->footer = '';
 
index 46bac34324137996fd1cdcead6db04c28e42b565..0c71c3d38f893dbfd9e4091346ed0193c9fc2f74 100644 (file)
@@ -1,3 +1,7 @@
 .block_course_summary .content {
     padding:10px;
 }
+
+.block_course_summary .editbutton {
+    text-align:right;
+}