From: Aaron Schulz Date: Sat, 12 Apr 2008 05:17:07 +0000 (+0000) Subject: Add class X-Git-Tag: 1.31.0-rc.0~48426 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/ajouter.php?a=commitdiff_plain;h=2bd9444a30204d035d89dfe9e5a55fc32cf118c1;p=lhc%2Fweb%2Fwiklou.git Add class --- diff --git a/includes/Xml.php b/includes/Xml.php index 6689a4a4d1..2c1e5314bb 100644 --- a/includes/Xml.php +++ b/includes/Xml.php @@ -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' ); }