]> git.mjollnir.org Git - moodle.git/commitdiff
Tidy up discussion controls using CSS MDL-7861
authormoodler <moodler>
Thu, 4 Jan 2007 15:58:55 +0000 (15:58 +0000)
committermoodler <moodler>
Thu, 4 Jan 2007 15:58:55 +0000 (15:58 +0000)
mod/forum/discuss.php
theme/standard/styles_layout.css

index 7fd934de998ab0d7ad3bed2133713abfe44473bc..e844fd172f7270a67244898f67d2a91724cd0339 100644 (file)
 
 /// Print the controls across the top
 
-    echo '<table width="100%"><tr><td>';
+    echo '<table width="100%" class="discussioncontrols"><tr><td>';
 
     if ($groupmode == VISIBLEGROUPS or ($groupmode and has_capability('moodle/site:accessallgroups', $modcontext))) {
         if ($groups = groups_get_groups_names($course->id)) { //TODO:
index 6114fc3fdc6dfdb27b69e48b66293a9c01e07cfe..c0c2d73343b7c28430a7ec512fdd5665b7191821 100644 (file)
@@ -2012,6 +2012,11 @@ body#mod-forum-search .introcontent {
   margin-left: 5px;
 }
 
+#mod-forum-discuss .discussioncontrols td {
+  width: 33%;
+  text-align:center;
+}
+
 #email .unsubscribelink {
   margin-top:20px;
   border-width: 0px 1px 0px 0px;