]> git.mjollnir.org Git - moodle.git/commitdiff
Added a missing style for the internal table of the headingblock,
authormoodler <moodler>
Sun, 15 Feb 2004 13:54:47 +0000 (13:54 +0000)
committermoodler <moodler>
Sun, 15 Feb 2004 13:54:47 +0000 (13:54 +0000)
since inheritance doesn't seem to work

   headingblockcontent

course/format/social/format.php
index.php

index 68c53c0469fd05b4732e2228ed5af29a3df8e133..fbb5cffef873cf1f5228842d1a27c3165b896ef7 100644 (file)
@@ -76,7 +76,7 @@
           } else {
               $subtext = get_string("subscribe", "forum");
           }
-          $headertext = "<table border=0 width=100% cellpadding=0 cellspacing=0><tr><td>".
+          $headertext = "<table border=0 width=100% cellpadding=0 cellspacing=0 class=headingblockcontent><tr><td>".
                          get_string("socialheadline").
                          "</td><td align=right><font size=1>".
                          "<a href=\"../mod/forum/subscribe.php?id=$social->id\">$subtext</a></td>".
index ba0d8902d6dd691d18e0433ce24863d9f432b427..542789d683a678ca32c23408f52c1fdae0ae3e61 100644 (file)
--- a/index.php
+++ b/index.php
@@ -36,7 +36,7 @@
 
     print_header(strip_tags($site->fullname), "$site->fullname", "home", "",
                  "<meta name=\"description\" content=\"".s(strip_tags($site->summary))."\">",
-                 true, "", "<div align=right>$loginstring$langmenu</div>");
+                 true, "", "$loginstring$langmenu");
 
     $firstcolumn = false;  // for now
     $lastcolumn = false;   // for now
                  } else {
                      $subtext = get_string("subscribe", "forum");
                  }
-                 $headertext = "<table border=0 width=100% cellpadding=0 cellspacing=0><tr>
+                 $headertext = "<table border=0 width=100% cellpadding=0 cellspacing=0 class=headingblockcontent><tr>
                                 <td>$newsforum->name</td>
                                 <td align=right><font size=1>
                                 <a href=\"mod/forum/subscribe.php?id=$newsforum->id\">$subtext</a>