Add indent to front page drop-downs in options-reading, to better indicate they are dependent on the radio button above them. fixes #12266
git-svn-id: http://svn.automattic.com/wordpress/trunk@13971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ba7e1e93b2
commit
e8ac3d117d
File diff suppressed because one or more lines are too long
|
@ -2020,6 +2020,8 @@ input#link_url {
|
|||
margin: 0;
|
||||
}
|
||||
|
||||
#front-page-warning,
|
||||
#front-static-pages ul,
|
||||
.inline-editor ul.cat-checklist ul,
|
||||
.categorydiv ul.categorychecklist ul,
|
||||
#linkcategorydiv ul.categorychecklist ul {
|
||||
|
|
|
@ -29,7 +29,7 @@ include( 'admin-header.php' );
|
|||
<?php if ( get_pages() ): ?>
|
||||
<tr valign="top">
|
||||
<th scope="row"><?php _e( 'Front page displays' ); ?></th>
|
||||
<td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Front page displays' ); ?></span></legend>
|
||||
<td id="front-static-pages"><fieldset><legend class="screen-reader-text"><span><?php _e( 'Front page displays' ); ?></span></legend>
|
||||
<p><label>
|
||||
<input name="show_on_front" type="radio" value="posts" class="tog" <?php checked( 'posts', get_option( 'show_on_front' ) ); ?> />
|
||||
<?php _e( 'Your latest posts' ); ?>
|
||||
|
@ -45,11 +45,7 @@ include( 'admin-header.php' );
|
|||
<li><label for="page_for_posts"><?php printf( __( 'Posts page: %s' ), wp_dropdown_pages( array( 'name' => 'page_for_posts', 'echo' => 0, 'show_option_none' => __( '— Select —' ), 'selected' => get_option( 'page_for_posts' ) ) ) ); ?></label></li>
|
||||
</ul>
|
||||
<?php if ( 'page' == get_option( 'show_on_front' ) && get_option( 'page_for_posts' ) == get_option( 'page_on_front' ) ) : ?>
|
||||
<div id="front-page-warning" class="updated">
|
||||
<p>
|
||||
<?php _e( '<strong>Warning:</strong> these pages should not be the same!' ); ?>
|
||||
</p>
|
||||
</div>
|
||||
<div id="front-page-warning" class="error inline"><p><?php _e( '<strong>Warning:</strong> these pages should not be the same!' ); ?></p></div>
|
||||
<?php endif; ?>
|
||||
</fieldset></td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in New Issue