Index: trunk/extensions/InputBox/InputBox.classes.php |
— | — | @@ -28,6 +28,7 @@ |
29 | 29 | private $mNamespaces = ''; |
30 | 30 | private $mID = ''; |
31 | 31 | private $mInline = false; |
| 32 | + private $mHideGo = false; |
32 | 33 | |
33 | 34 | /* Functions */ |
34 | 35 | |
— | — | @@ -141,7 +142,7 @@ |
142 | 143 | |
143 | 144 | // Line break |
144 | 145 | $htmlOut .= $this->mBR; |
145 | | - } else { |
| 146 | + } else if( !$this->mHideGo ) { |
146 | 147 | // Go button |
147 | 148 | $htmlOut .= Xml::element( 'input', |
148 | 149 | array( |
— | — | @@ -448,6 +449,7 @@ |
449 | 450 | 'hidden' => 'mHidden', |
450 | 451 | 'id' => 'mID', |
451 | 452 | 'inline' => 'mInline', |
| 453 | + 'hidego' => 'mHideGo', |
452 | 454 | ); |
453 | 455 | foreach ( $options as $name => $var ) { |
454 | 456 | if ( isset( $values[$name] ) ) { |