https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112710

Revision: 112710
Author:   brion
Date:     2012-02-29 20:02:42 +0000 (Wed, 29 Feb 2012)
Log Message:
-----------
* (bug 34768) Set width and height for search-ltr.png (and search-rtl.png) in 
Vector skin

<img> in <button> didn't have width or height set.

Modified Paths:
--------------
    trunk/phase3/skins/Vector.php

Modified: trunk/phase3/skins/Vector.php
===================================================================
--- trunk/phase3/skins/Vector.php       2012-02-29 20:00:43 UTC (rev 112709)
+++ trunk/phase3/skins/Vector.php       2012-02-29 20:02:42 UTC (rev 112710)
@@ -430,11 +430,11 @@
                <?php if ( $wgVectorUseSimpleSearch && 
$this->getSkin()->getUser()->getOption( 'vector-simplesearch' ) ): ?>
                <div id="simpleSearch">
                        <?php if ( $this->data['rtl'] ): ?>
-                       <?php echo $this->makeSearchButton( 'image', array( 
'id' => 'searchButton', 'src' => $this->getSkin()->getSkinStylePath( 
'images/search-rtl.png' ) ) ); ?>
+                       <?php echo $this->makeSearchButton( 'image', array( 
'id' => 'searchButton', 'src' => $this->getSkin()->getSkinStylePath( 
'images/search-rtl.png' ), 'width' => '12', 'height' => '13' ) ); ?>
                        <?php endif; ?>
                        <?php echo $this->makeSearchInput( array( 'id' => 
'searchInput', 'type' => 'text' ) ); ?>
                        <?php if ( !$this->data['rtl'] ): ?>
-                       <?php echo $this->makeSearchButton( 'image', array( 
'id' => 'searchButton', 'src' => $this->getSkin()->getSkinStylePath( 
'images/search-ltr.png' ) ) ); ?>
+                       <?php echo $this->makeSearchButton( 'image', array( 
'id' => 'searchButton', 'src' => $this->getSkin()->getSkinStylePath( 
'images/search-ltr.png' ), 'width' => '12', 'height' => '13' ) ); ?>
                        <?php endif; ?>
                <?php else: ?>
                <div>


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to