Make WordPress Core


Ignore:
Timestamp:
05/26/2010 09:20:05 PM (14 years ago)
Author:
nacin
Message:

Add Press This to options-writing.php. Re-order sections a little. Plugin authors: tools.php will likely go away in 3.1, as it will be empty when Press This is removed. fixes #13563

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options-writing.php

    r14139 r14963  
    6060</table>
    6161
    62 <h3><?php _e('Remote Publishing') ?></h3>
    63 <p><?php printf(__('To post to WordPress from a desktop blogging client or remote website that uses the Atom Publishing Protocol or one of the XML-RPC publishing interfaces you must enable them below.')) ?></p>
    64 <table class="form-table">
    65 <tr valign="top">
    66 <th scope="row"><?php _e('Atom Publishing Protocol') ?></th>
    67 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Atom Publishing Protocol') ?></span></legend>
    68 <label for="enable_app">
    69 <input name="enable_app" type="checkbox" id="enable_app" value="1" <?php checked('1', get_option('enable_app')); ?> />
    70 <?php _e('Enable the Atom Publishing Protocol.') ?></label><br />
    71 </fieldset></td>
    72 </tr>
    73 <tr valign="top">
    74 <th scope="row"><?php _e('XML-RPC') ?></th>
    75 <td><fieldset><legend class="screen-reader-text"><span><?php _e('XML-RPC') ?></span></legend>
    76 <label for="enable_xmlrpc">
    77 <input name="enable_xmlrpc" type="checkbox" id="enable_xmlrpc" value="1" <?php checked('1', get_option('enable_xmlrpc')); ?> />
    78 <?php _e('Enable the WordPress, Movable Type, MetaWeblog and Blogger XML-RPC publishing protocols.') ?></label><br />
    79 </fieldset></td>
    80 </tr>
    81 <?php do_settings_fields('writing', 'remote_publishing'); ?>
    82 </table>
     62
     63<h3 class="title"><?php _e('Press This') ?></h3>
     64<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>
     65<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>
     66<p><?php _e('Drag-and-drop the following link to your bookmarks bar or right click it and add it to your favorites for a posting shortcut.') ?></p>
     67<p class="pressthis"><a href="<?php echo htmlspecialchars( get_shortcut_link() ); ?>" title="<?php echo esc_attr(__('Press This')) ?>"><?php _e('Press This') ?></a></p>
    8368
    8469<?php if ( apply_filters( 'enable_post_by_email_configuration', true ) ) { ?>
     
    115100</table>
    116101<?php } ?>
     102
     103<h3><?php _e('Remote Publishing') ?></h3>
     104<p><?php printf(__('To post to WordPress from a desktop blogging client or remote website that uses the Atom Publishing Protocol or one of the XML-RPC publishing interfaces you must enable them below.')) ?></p>
     105<table class="form-table">
     106<tr valign="top">
     107<th scope="row"><?php _e('Atom Publishing Protocol') ?></th>
     108<td><fieldset><legend class="screen-reader-text"><span><?php _e('Atom Publishing Protocol') ?></span></legend>
     109<label for="enable_app">
     110<input name="enable_app" type="checkbox" id="enable_app" value="1" <?php checked('1', get_option('enable_app')); ?> />
     111<?php _e('Enable the Atom Publishing Protocol.') ?></label><br />
     112</fieldset></td>
     113</tr>
     114<tr valign="top">
     115<th scope="row"><?php _e('XML-RPC') ?></th>
     116<td><fieldset><legend class="screen-reader-text"><span><?php _e('XML-RPC') ?></span></legend>
     117<label for="enable_xmlrpc">
     118<input name="enable_xmlrpc" type="checkbox" id="enable_xmlrpc" value="1" <?php checked('1', get_option('enable_xmlrpc')); ?> />
     119<?php _e('Enable the WordPress, Movable Type, MetaWeblog and Blogger XML-RPC publishing protocols.') ?></label><br />
     120</fieldset></td>
     121</tr>
     122<?php do_settings_fields('writing', 'remote_publishing'); ?>
     123</table>
     124
    117125<?php if ( apply_filters( 'enable_update_services_configuration', true ) ) { ?>
    118126<h3><?php _e('Update Services') ?></h3>
Note: See TracChangeset for help on using the changeset viewer.