Final string tweaks to admin bar preferences. props jane, fixes #15829.
git-svn-id: https://develop.svn.wordpress.org/trunk@17095 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a316d3ec29
commit
c7397ea1ec
@ -213,14 +213,14 @@ if ( !( IS_PROFILE_PAGE && !$user_can_edit ) ) : ?>
|
|||||||
</tr>
|
</tr>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><?php _e('Admin Bar')?></th>
|
<th scope="row"><?php _e('Show Admin Bar')?></th>
|
||||||
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Admin Bar') ?></span></legend>
|
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Show Admin Bar') ?></span></legend>
|
||||||
<label for="admin_bar_front">
|
<label for="admin_bar_front">
|
||||||
<input name="admin_bar_front" type="checkbox" id="admin_bar_front" value="1" <?php checked( _get_admin_bar_pref( 'front', $profileuser->ID ) ); ?> />
|
<input name="admin_bar_front" type="checkbox" id="admin_bar_front" value="1" <?php checked( _get_admin_bar_pref( 'front', $profileuser->ID ) ); ?> />
|
||||||
<?php _e( 'Display the admin bar when viewing your site' ); ?></label><br />
|
<?php /* translators: Show admin bar when viewing site */ _e( 'when viewing site' ); ?></label><br />
|
||||||
<label for="admin_bar_admin">
|
<label for="admin_bar_admin">
|
||||||
<input name="admin_bar_admin" type="checkbox" id="admin_bar_admin" value="1" <?php checked( _get_admin_bar_pref( 'admin', $profileuser->ID ) ); ?> />
|
<input name="admin_bar_admin" type="checkbox" id="admin_bar_admin" value="1" <?php checked( _get_admin_bar_pref( 'admin', $profileuser->ID ) ); ?> />
|
||||||
<?php _e( 'Display the admin bar when accessing the dashboard' ); ?></label>
|
<?php /* translators: Show admin bar in dashboard */ _e( 'in dashboard' ); ?></label>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php do_action('personal_options', $profileuser); ?>
|
<?php do_action('personal_options', $profileuser); ?>
|
||||||
|
Loading…
Reference in New Issue
Block a user