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: https://develop.svn.wordpress.org/trunk@13971 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9ca65d19a3
commit
5136414342
File diff suppressed because one or more lines are too long
@ -2020,6 +2020,8 @@ input#link_url {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#front-page-warning,
|
||||||
|
#front-static-pages ul,
|
||||||
.inline-editor ul.cat-checklist ul,
|
.inline-editor ul.cat-checklist ul,
|
||||||
.categorydiv ul.categorychecklist ul,
|
.categorydiv ul.categorychecklist ul,
|
||||||
#linkcategorydiv ul.categorychecklist ul {
|
#linkcategorydiv ul.categorychecklist ul {
|
||||||
|
@ -29,7 +29,7 @@ include( 'admin-header.php' );
|
|||||||
<?php if ( get_pages() ): ?>
|
<?php if ( get_pages() ): ?>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<th scope="row"><?php _e( 'Front page displays' ); ?></th>
|
<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>
|
<p><label>
|
||||||
<input name="show_on_front" type="radio" value="posts" class="tog" <?php checked( 'posts', get_option( 'show_on_front' ) ); ?> />
|
<input name="show_on_front" type="radio" value="posts" class="tog" <?php checked( 'posts', get_option( 'show_on_front' ) ); ?> />
|
||||||
<?php _e( 'Your latest posts' ); ?>
|
<?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>
|
<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>
|
</ul>
|
||||||
<?php if ( 'page' == get_option( 'show_on_front' ) && get_option( 'page_for_posts' ) == get_option( 'page_on_front' ) ) : ?>
|
<?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">
|
<div id="front-page-warning" class="error inline"><p><?php _e( '<strong>Warning:</strong> these pages should not be the same!' ); ?></p></div>
|
||||||
<p>
|
|
||||||
<?php _e( '<strong>Warning:</strong> these pages should not be the same!' ); ?>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</fieldset></td>
|
</fieldset></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
Loading…
Reference in New Issue
Block a user