r19700 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r19699‎ | r19700 | r19701 >
Date:15:26, 31 January 2007
Author:leon
Status:old
Tags:
Comment:
* (bug 7318) Made the inputbox extension work as the fulltext search
Modified paths:
  • /trunk/extensions/inputbox/inputbox.php (modified) (history)

Diff [purge]

Index: trunk/extensions/inputbox/inputbox.php
@@ -68,7 +68,7 @@
6969 if($boxhtml) {
7070 return $boxhtml;
7171 } else {
72 - return "<br /> <font color='red'>Input box '{$inputbox->type}' not defined.</font>";
 72+ return "<br /> <font color='red'>Input box: type not defined.</font>";
7373 }
7474 }
7575
@@ -164,7 +164,7 @@
165165 }
166166 $searchform3=<<<ENDFORM2
167167 {$gobutton}
168 - <input type='submit' name="searchx" class="searchboxSearchButton" value="{$this->searchbuttonlabel}" />
 168+ <input type='submit' name="fulltext" class="searchboxSearchButton" value="{$this->searchbuttonlabel}" />
169169 </form>
170170 </td>
171171 </tr>