For MediaWiki (recent comments | status changes | tags | authors | states | release notes)
Index: trunk/extensions/InputBox/InputBox.classes.php =================================================================== --- trunk/extensions/InputBox/InputBox.classes.php (revision 45268) +++ trunk/extensions/InputBox/InputBox.classes.php (revision 45269) @@ -48,7 +48,9 @@ case 'commenttitle': return $this->getCommentForm(); case 'search': - return $this->getSearchForm(); + return $this->getSearchForm('search'); + case 'fulltext': + return $this->getSearchForm('fulltext'); case 'search2': return $this->getSearchForm2(); default: @@ -67,8 +69,9 @@ /** * Generate search form + * @param $type */ - public function getSearchForm() { + public function getSearchForm( $type ) { global $wgContLang; // Use button label fallbacks @@ -153,7 +156,7 @@ // Line break $htmlOut .= $this->mBR; - } else { + } else if( $type == 'search') { // Go button $htmlOut .= Xml::element( 'input', array(