Removed extra <div> around Search, fixes bug 17777
authorNimish Gautam <nimishg@users.mediawiki.org>
Wed, 12 Aug 2009 23:41:04 +0000 (23:41 +0000)
committerNimish Gautam <nimishg@users.mediawiki.org>
Wed, 12 Aug 2009 23:41:04 +0000 (23:41 +0000)
skins/Modern.php
skins/MonoBook.php

index a3c3e93..284751a 100644 (file)
@@ -220,7 +220,7 @@ HTML
        <div id="p-search" class="portlet">
                <h5><label for="searchInput"><?php $this->msg('search') ?></label></h5>
                <div id="searchBody" class="pBody">
-                       <form action="<?php $this->text('wgScript') ?>" id="searchform"><div>
+                       <form action="<?php $this->text('wgScript') ?>" id="searchform">
                                <input type='hidden' name="title" value="<?php $this->text('searchtitle') ?>"/>
                                <input id="searchInput" name="search" type="text"<?php echo $this->skin->tooltipAndAccesskey('search');
                                        if( isset( $this->data['search'] ) ) {
@@ -230,7 +230,7 @@ HTML
 
                                <div><a href="<?php $this->text('searchaction') ?>" rel="search"><?php $this->msg('powersearch-legend') ?></a></div><?php } ?>
 
-                       </div></form>
+                       </form>
                </div><!-- pBody -->
        </div><!-- portlet -->
 <?php
index c12bea6..175bca0 100644 (file)
@@ -245,7 +245,7 @@ HTML
        <div id="p-search" class="portlet">
                <h5 <?php $this->html('userlangattributes') ?>><label for="searchInput"><?php $this->msg('search') ?></label></h5>
                <div id="searchBody" class="pBody">
-                       <form action="<?php $this->text('wgScript') ?>" id="searchform"><div>
+                       <form action="<?php $this->text('wgScript') ?>" id="searchform">
                                <input type='hidden' name="title" value="<?php $this->text('searchtitle') ?>"/>
                                <input id="searchInput" name="search" type="text"<?php echo $this->skin->tooltipAndAccesskey('search');
                                        if( isset( $this->data['search'] ) &&  $this->data['search'] ) {
@@ -255,7 +255,7 @@ HTML
 
                                <div><a href="<?php $this->text('searchaction') ?>" rel="search"><?php $this->msg('powersearch-legend') ?></a></div><?php } ?>
 
-                       </div></form>
+                       </form>
                </div>
        </div>
 <?php