Index: lib/outputrenderers.php
===================================================================
RCS file: /cvsroot/moodle/moodle/lib/outputrenderers.php,v
retrieving revision 1.267
diff -u -r1.267 outputrenderers.php
--- lib/outputrenderers.php	5 Nov 2010 08:44:51 -0000	1.267
+++ lib/outputrenderers.php	12 Nov 2010 14:29:42 -0000
@@ -1293,11 +1293,14 @@
         $output .= html_writer::empty_tag('input', array('type'=>'hidden', 'name'=>'sesskey', 'value'=>sesskey()));
         $output .= html_writer::select($urls, 'jump', $selected, $select->nothing, $select->attributes);
 
-        $go = html_writer::empty_tag('input', array('type'=>'submit', 'value'=>get_string('go')));
-        $output .= html_writer::tag('noscript', html_writer::tag('div', $go), array('style'=>'inline'));
-
-        $nothing = empty($select->nothing) ? false : key($select->nothing);
-        $output .= $this->page->requires->js_init_call('M.util.init_url_select', array($select->formid, $select->attributes['id'], $nothing));
+        if (!$select->showbutton) {
+            $go = html_writer::empty_tag('input', array('type'=>'submit', 'value'=>get_string('go')));
+            $output .= html_writer::tag('noscript', html_writer::tag('div', $go), array('style'=>'inline'));
+            $nothing = empty($select->nothing) ? false : key($select->nothing);
+            $output .= $this->page->requires->js_init_call('M.util.init_url_select', array($select->formid, $select->attributes['id'], $nothing));
+        } else {
+            $output .= html_writer::empty_tag('input', array('type'=>'submit', 'value'=>$select->showbutton));
+        }
 
         // then div wrapper for xhtml strictness
         $output = html_writer::tag('div', $output);
Index: lib/outputcomponents.php
===================================================================
RCS file: /cvsroot/moodle/moodle/lib/outputcomponents.php,v
retrieving revision 1.154
diff -u -r1.154 outputcomponents.php
--- lib/outputcomponents.php	27 Oct 2010 18:12:27 -0000	1.154
+++ lib/outputcomponents.php	12 Nov 2010 14:29:42 -0000
@@ -651,17 +651,25 @@
      */
     var $helpicon = null;
     /**
+     * @var string If set, makes button visible with given name for button
+     */
+    var $showbutton = null;
+    /**
      * Constructor
      * @param array $urls list of options
      * @param string $selected selected element
      * @param array $nothing
      * @param string $formid
+     * @param string $showbutton Set to text of button if it should be visible
+     *   or null if it should be hidden (hidden version always has text 'go')
      */
-    public function __construct(array $urls, $selected='', $nothing=array(''=>'choosedots'), $formid=null) {
-        $this->urls     = $urls;
-        $this->selected = $selected;
-        $this->nothing  = $nothing;
-        $this->formid   = $formid;
+    public function __construct(array $urls, $selected='', $nothing=array(''=>'choosedots'),
+            $formid=null, $showbutton=null) {
+        $this->urls       = $urls;
+        $this->selected   = $selected;
+        $this->nothing    = $nothing;
+        $this->formid     = $formid;
+        $this->showbutton = $showbutton;
     }
 
     /**
Index: mod/forum/discuss.php
===================================================================
RCS file: /cvsroot/moodle/moodle/mod/forum/discuss.php,v
retrieving revision 1.165
diff -u -r1.165 discuss.php
--- mod/forum/discuss.php	10 Nov 2010 02:43:56 -0000	1.165
+++ mod/forum/discuss.php	12 Nov 2010 14:29:42 -0000
@@ -231,7 +231,9 @@
             }
             if (!empty($forummenu)) {
                 echo '<div class="movediscussionoption">';
-                $select = new url_select($forummenu, '', array(''=>get_string("movethisdiscussionto", "forum")), 'forummenu');
+                $select = new url_select($forummenu, '',
+                        array(''=>get_string("movethisdiscussionto", "forum")),
+                        'forummenu', get_string('move'));
                 echo $OUTPUT->render($select);
                 echo "</div>";
             }
Index: mod/forum/styles.css
===================================================================
RCS file: /cvsroot/moodle/moodle/mod/forum/styles.css,v
retrieving revision 1.4
diff -u -r1.4 styles.css
--- mod/forum/styles.css	5 Nov 2010 02:53:52 -0000	1.4
+++ mod/forum/styles.css	12 Nov 2010 14:29:42 -0000
@@ -71,7 +71,7 @@
 #page-mod-forum-discuss .discussioncontrols {width:100%;margin:5px;}
 #page-mod-forum-discuss .displaymode {float:left;width:55%;}
 #page-mod-forum-discuss .exporttoportfolio {float:left;width:15%;text-align:right;}
-#page-mod-forum-discuss .movediscussion .movediscussionoption {float:right;width:25%;text-align:right;padding-right:10px;}
+#page-mod-forum-discuss .movediscussion .movediscussionoption {float:right;text-align:right;padding-right:10px;}
 #page-mod-forum-discuss .discussioncontrols .displaymode .singleselect {text-align:right;margin: 0;}
 
 /** Styles for view.php **/
