Ticket #18900: 18900.patch
File 18900.patch, 3.0 KB (added by , 13 years ago) |
---|
-
wp-admin/options-writing.php
84 84 <?php do_settings_fields('writing', 'default'); ?> 85 85 </table> 86 86 87 87 <div class="hide-if-no-js"> 88 88 <h3 class="title"><?php _e('Press This') ?></h3> 89 89 <p><?php _e('Press This is a bookmarklet: a little app that runs in your browser and lets you grab bits of the web.');?></p> 90 90 <p><?php _e('Use Press This to clip text, images and videos from any web page. Then edit and add more straight from Press This before you save or publish it in a post on your site.'); ?></p> … … 94 94 <p class="description"><?php _e('If your bookmarks toolbar is hidden: copy the code below, open your Bookmarks manager, create new bookmark, type Press This into the name field and paste the code into the URL field.') ?></p> 95 95 <p><textarea rows="5" cols="120" readonly="readonly"><?php echo htmlspecialchars( get_shortcut_link() ); ?></textarea></p> 96 96 </div> 97 </div> 97 98 98 99 <?php if ( apply_filters( 'enable_post_by_email_configuration', true ) ) { ?> 99 100 <h3><?php _e('Post via e-mail') ?></h3> -
wp-admin/tools.php
28 28 <h2><?php echo esc_html( $title ); ?></h2> 29 29 30 30 <?php if ( current_user_can('edit_posts') ) : ?> 31 <div class="tool-box ">31 <div class="tool-box hide-if-no-js""> 32 32 <h3 class="title"><?php _e('Press This') ?></h3> 33 33 <p><?php _e('Press This is a bookmarklet: a little app that runs in your browser and lets you grab bits of the web.');?></p> 34 34 -
wp-admin/user-edit.php
194 194 195 195 <table class="form-table"> 196 196 <?php if ( rich_edit_exists() && !( IS_PROFILE_PAGE && !$user_can_edit ) ) : // don't bother showing the option if the editor has been removed ?> 197 <tr >197 <tr class="hide-if-no-js"> 198 198 <th scope="row"><?php _e('Visual Editor')?></th> 199 199 <td><label for="rich_editing"><input name="rich_editing" type="checkbox" id="rich_editing" value="false" <?php checked('false', $profileuser->rich_editing); ?> /> <?php _e('Disable the visual editor when writing'); ?></label></td> 200 200 </tr> … … 207 207 <?php 208 208 endif; // $_wp_admin_css_colors 209 209 if ( !( IS_PROFILE_PAGE && !$user_can_edit ) ) : ?> 210 <tr >210 <tr class="hide-if-no-js"> 211 211 <th scope="row"><?php _e( 'Keyboard Shortcuts' ); ?></th> 212 212 <td><label for="comment_shortcuts"><input type="checkbox" name="comment_shortcuts" id="comment_shortcuts" value="true" <?php if ( !empty($profileuser->comment_shortcuts) ) checked('true', $profileuser->comment_shortcuts); ?> /> <?php _e('Enable keyboard shortcuts for comment moderation.'); ?></label> <?php _e('<a href="http://codex.wordpress.org/Keyboard_Shortcuts" target="_blank">More information</a>'); ?></td> 213 213 </tr>