r77997 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77996‎ | r77997 | r77998 >
Date:18:18, 7 December 2010
Author:dantman
Status:ok
Tags:
Comment:
Followup r77980, for simplesearch I guess we'll have to stick with type=text instead of type=search.
Modified paths:
  • /trunk/phase3/skins/Vector.php (modified) (history)

Diff [purge]

Index: trunk/phase3/skins/Vector.php
@@ -734,7 +734,7 @@
735735 <input type='hidden' name="title" value="<?php $this->text( 'searchtitle' ) ?>"/>
736736 <?php if ( $wgVectorUseSimpleSearch && $wgUser->getOption( 'vector-simplesearch' ) ): ?>
737737 <div id="simpleSearch">
738 - <?php echo $this->makeSearchInput(array( "id" => "searchInput" )); ?>
 738+ <?php echo $this->makeSearchInput(array( "id" => "searchInput", "type" => "text" )); ?>
739739 <?php echo $this->makeSearchButton("image", array( "id" => "searchButton",
740740 "src" => $this->skin->getSkinStylePath('images/search-' . ( $this->data['rtl'] ? 'rtl' : 'ltr' ) . '.png') )); ?>
741741 </div>

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r77980Add makeSearchInput and makeSearchButton to BaseTemplate and make use of it i...dantman14:45, 7 December 2010

Status & tagging log