* Move text-align into CSS too.
* to ensure that client-side caches don't keep obsolete copies of global
* styles.
*/
* to ensure that client-side caches don't keep obsolete copies of global
* styles.
*/
-$wgStyleVersion = '156';
+$wgStyleVersion = '157';
* @return xhtml block
*/
function tableRow( $td1, $td2 = null, $td3 = null ) {
* @return xhtml block
*/
function tableRow( $td1, $td2 = null, $td3 = null ) {
- global $wgContLang;
-
- $align['align'] = $wgContLang->isRtl() ? 'right' : 'left';
- $align['style'] = 'vertical-align:top;';
if ( is_null( $td3 ) ) {
$td3 = '';
} else {
$td3 = Xml::tags( 'tr', null,
if ( is_null( $td3 ) ) {
$td3 = '';
} else {
$td3 = Xml::tags( 'tr', null,
- Xml::tags( 'td', array( 'colspan' => '2' ), $td3 )
+ Xml::tags( 'td', array( 'class' => 'pref-label', 'colspan' => '2' ), $td3 )
);
}
if ( is_null( $td2 ) ) {
);
}
if ( is_null( $td2 ) ) {
- $td1 = Xml::tags( 'td', $align + array( 'colspan' => '2' ), $td1 );
+ $td1 = Xml::tags( 'td', array( 'class' => 'pref-label', 'colspan' => '2' ), $td1 );
- $td1 = Xml::tags( 'td', $align, $td1 );
- $td2 = Xml::tags( 'td', $align, $td2 );
+ $td1 = Xml::tags( 'td', array( 'class' => 'pref-label' ), $td1 );
+ $td2 = Xml::tags( 'td', array( 'class' => 'pref-input' ), $td2 );
}
return Xml::tags( 'tr', null, $td1 . $td2 ). $td3 . "\n";
}
return Xml::tags( 'tr', null, $td1 . $td2 ). $td3 . "\n";
+.pref-label, .pref-input {
+ text-align: left;
+ vertical-align: top;
+}
+
#preftoc li.selected {
background-color: #bbbbbb;
}
#preftoc li.selected {
background-color: #bbbbbb;
}
+.pref-label, .pref-input {
+ text-align: right;
+}
+
/* workaround for moz bug, displayed bullets on left side */
#toc ul {
/* workaround for moz bug, displayed bullets on left side */
#toc ul {
.prefsection table, .prefsection legend {
background-color: #F9F9F9;
}
.prefsection table, .prefsection legend {
background-color: #F9F9F9;
}
+.pref-label, .pref-input {
+ text-align: left;
+ vertical-align: top;
+}
.mainLegend {
display: none;
}
.mainLegend {
display: none;
}
+.pref-label, .pref-input {
+ text-align: right;
+}
+
/* workaround for moz bug, displayed bullets on left side */
#toc ul {
/* workaround for moz bug, displayed bullets on left side */
#toc ul {
+.pref-label, .pref-input {
+ text-align: left;
+ vertical-align: top;
+}
+
#mw_trackbacks {
border-style: groove;
padding: 0.2em;
#mw_trackbacks {
border-style: groove;
padding: 0.2em;
+.pref-label, .pref-input {
+ text-align: right;
+}
+
/* workaround for moz bug, displayed bullets on left side */
#toc ul {
/* workaround for moz bug, displayed bullets on left side */
#toc ul {