Improve the permalink settings UI for RTL.

props yoavf, SergeyBiryukov, DrewAPicture. fixes #16834.

git-svn-id: https://develop.svn.wordpress.org/trunk@24283 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90) 2013-05-17 17:55:39 +00:00
parent 6f80083f14
commit e8f56bae21
2 changed files with 14 additions and 1 deletions

View File

@ -1574,6 +1574,19 @@ h2 .nav-tab {
font-family: Tahoma, Arial, sans-serif; font-family: Tahoma, Arial, sans-serif;
} }
#permalink-settings {
width: auto;
}
#permalink-settings code,
#permalink_structure {
float: right;
}
.options-permalink-php code {
unicode-bidi: embed;
}
/*------------------------------------------------------------------------------ /*------------------------------------------------------------------------------
21.0 - Admin Footer 21.0 - Admin Footer
------------------------------------------------------------------------------*/ ------------------------------------------------------------------------------*/

View File

@ -234,7 +234,7 @@ if ( ! $is_apache && ! $iis7_permalinks )
/* translators: %s is a placeholder that must come at the start of the URL path. */ /* translators: %s is a placeholder that must come at the start of the URL path. */
printf( __('If you like, you may enter custom structures for your category and tag <abbr title="Universal Resource Locator">URL</abbr>s here. For example, using <code>topics</code> as your category base would make your category links like <code>http://example.org/%stopics/uncategorized/</code>. If you leave these blank the defaults will be used.'), $suffix ); ?></p> printf( __('If you like, you may enter custom structures for your category and tag <abbr title="Universal Resource Locator">URL</abbr>s here. For example, using <code>topics</code> as your category base would make your category links like <code>http://example.org/%stopics/uncategorized/</code>. If you leave these blank the defaults will be used.'), $suffix ); ?></p>
<table class="form-table"> <table class="form-table" id="permalink-settings">
<tr> <tr>
<th><label for="category_base"><?php /* translators: prefix for category permalinks */ _e('Category base'); ?></label></th> <th><label for="category_base"><?php /* translators: prefix for category permalinks */ _e('Category base'); ?></label></th>
<td><?php echo $blog_prefix; ?> <input name="category_base" id="category_base" type="text" value="<?php echo esc_attr( $category_base ); ?>" class="regular-text code" /></td> <td><?php echo $blog_prefix; ?> <input name="category_base" id="category_base" type="text" value="<?php echo esc_attr( $category_base ); ?>" class="regular-text code" /></td>