Add class
authorAaron Schulz <aaron@users.mediawiki.org>
Sat, 12 Apr 2008 05:17:07 +0000 (05:17 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sat, 12 Apr 2008 05:17:07 +0000 (05:17 +0000)
includes/Xml.php

index 6689a4a..2c1e531 100644 (file)
@@ -147,7 +147,7 @@ class Xml {
                        $options[] = self::option( wfMsg( 'monthsall' ), $allmonths, $selected === $allmonths );         
                for( $i = 1; $i < 13; $i++ )     
                                $options[] = self::option( $wgLang->getMonthName( $i ), $i, $selected === $i );          
-               return self::openElement( 'select', array( 'id' => $id, 'name' => 'month' ) )    
+               return self::openElement( 'select', array( 'id' => $id, 'name' => 'month', 'class' => 'monthselector' ) )        
                        . implode( "\n", $options )      
                        . self::closeElement( 'select' );        
        }