Changeset 31806 for trunk/src/wp-admin/tools.php
- Timestamp:
- 03/18/2015 01:57:18 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/tools.php
r31768 r31806 37 37 38 38 <?php if ( current_user_can('edit_posts') ) : ?> 39 <div class="tool-box"> 40 <h3 class="title"><?php _e('Press This') ?></h3> 41 <div class="postbox press-this-install"> 42 <p><?php _e( 'Press This is a little app that lets you grab bits of the web and create new posts with ease.' );?></p> 43 <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> 44 </div> 39 <div class="card pressthis"> 40 <h3><?php _e('Press This') ?></h3> 41 <p><?php _e( 'Press This is a little app that lets you grab bits of the web and create new posts with ease.' );?></p> 42 <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> 43 45 44 46 45 <form> 47 <div class="postbox press-this-install">48 46 <h3><?php _e( 'Install Press This' ); ?></h3> 49 47 <h4><?php _e( 'Bookmarklet' ); ?></h4> 50 48 <p><?php _e( 'Drag the bookmarklet below to your bookmarks bar. Then, when you’re on a page you want to share, simply “press” it.' ); ?></p> 51 49 52 <p class="pressthis ">53 <a class=" " onclick="return false;" href="<?php echo htmlspecialchars( get_shortcut_link() ); ?>"><span><?php _e( 'Press This' )?></span></a>54 <button type="button" class="button button-secondary js-show-pressthis-code-wrap" aria-expanded="false" aria-controls="pressthis-code-wrap">50 <p class="pressthis-bookmarklet-wrapper"> 51 <a class="pressthis-bookmarklet" onclick="return false;" href="<?php echo htmlspecialchars( get_shortcut_link() ); ?>"><span><?php _e( 'Press This' ); ?></span></a> 52 <button type="button" class="button button-secondary pressthis-js-toggle js-show-pressthis-code-wrap" aria-expanded="false" aria-controls="pressthis-code-wrap"> 55 53 <span class="dashicons dashicons-clipboard"></span> 56 54 <span class="screen-reader-text"><?php _e( 'Copy “Press This” bookmarklet code' ) ?></span> … … 58 56 </p> 59 57 60 <div class="hidden js-pressthis-code-wrap " id="pressthis-code-wrap">58 <div class="hidden js-pressthis-code-wrap clear" id="pressthis-code-wrap"> 61 59 <p id="pressthis-code-desc"> 62 60 <?php _e( 'If you can’t drag the bookmarklet to your bookmarks, copy the following code and create a new bookmark. Paste the code into the new bookmark’s URL field.' ) ?> … … 93 91 }); 94 92 </script> 95 </div>96 93 </form> 97 94 </div> … … 103 100 $tags = get_taxonomy('post_tag'); 104 101 if ( current_user_can($cats->cap->manage_terms) || current_user_can($tags->cap->manage_terms) ) : ?> 105 <div class=" tool-box">102 <div class="card"> 106 103 <h3 class="title"><?php _e( 'Categories and Tags Converter' ) ?></h3> 107 104 <p><?php printf( __('If you want to convert your categories to tags (or vice versa), use the <a href="%s">Categories and Tags Converter</a> available from the Import screen.'), 'import.php' ); ?></p>
Note: See TracChangeset
for help on using the changeset viewer.