]> git.mjollnir.org Git - moodle.git/commitdiff
More forum tidying up, less tables
authormoodler <moodler>
Mon, 8 Jan 2007 07:16:48 +0000 (07:16 +0000)
committermoodler <moodler>
Mon, 8 Jan 2007 07:16:48 +0000 (07:16 +0000)
mod/forum/index.php
theme/standard/styles_layout.css

index ba59bc69236b0beef7403f59e9e106671be85952..df7c92f0e49f47dc6c900cc83edd02925edcbcaf 100644 (file)
     }
 
     if (!isguest()) {
-        echo '<table width="100%" border="0" cellpadding="3" cellspacing="0"><tr valign="top"><td align="right" class="subscription">';
+        print_box_start('subscription');
         echo '<span class="helplink">';
         echo '<a href="index.php?id='.$course->id.'&amp;subscribe=1">'.get_string('allsubscribe', 'forum').'</a>';
-        echo '<br />';
+        echo '</span><br /><span class="helplink">';
         echo '<a href="index.php?id='.$course->id.'&amp;subscribe=0">'.get_string('allunsubscribe', 'forum').'</a>';
-        echo '</span></td></tr></table>';
+        echo '</span>';
+        print_box_end();
+        print_box('&nbsp;', 'clearer');
     }
 
     if ($generalforums) {
index 6af2ee699993906df129cf98bc028d390d737c07..91c03fd518b795920b41939cb24f515149b91783 100644 (file)
@@ -2167,7 +2167,7 @@ body#mod-forum-search .introcontent {
   white-space: nowrap;
 }
 
-#mod-forum-view .forumcontrol .subscription {
+.mod-forum .subscription {
   float: right;
   text-align:right;
   white-space: nowrap;