New .ltr class for forcing elements to be LTR when using an RTL language. see #19598.

git-svn-id: http://svn.automattic.com/wordpress/trunk@19817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2012-02-03 00:03:26 +00:00
parent 10410be1f7
commit f2da91e134
2 changed files with 7 additions and 2 deletions

View File

@ -2408,4 +2408,9 @@ div.sidebar-name h3 {
.press-this #header-logo,
.press-this #wphead h1 {
float: right;
}
/* RTL */
.ltr {
direction: ltr;
}

View File

@ -113,7 +113,7 @@ include('./admin-header.php');
</tr>
<tr valign="top">
<th scope="row"><label for="admin_email"><?php _e('E-mail Address') ?> </label></th>
<td><input name="admin_email" type="text" id="admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text" />
<td><input name="admin_email" type="text" id="admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text ltr" />
<span class="description"><?php _e('This address is used for admin purposes, like new user notification.') ?></span></td>
</tr>
<tr valign="top">
@ -132,7 +132,7 @@ include('./admin-header.php');
<?php } else { ?>
<tr valign="top">
<th scope="row"><label for="new_admin_email"><?php _e('E-mail Address') ?> </label></th>
<td><input name="new_admin_email" type="text" id="new_admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text code" />
<td><input name="new_admin_email" type="text" id="new_admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text ltr" />
<span class="description"><?php _e('This address is used for admin purposes. If you change this we will send you an e-mail at your new address to confirm it. <strong>The new address will not become active until confirmed.</strong>') ?></span>
<?php
$new_admin_email = get_option( 'new_admin_email' );