Changeset 1110 for trunk/wp-admin/options-writing.php
- Timestamp:
- 04/21/2004 02:28:22 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options-writing.php
r1108 r1110 1 1 <?php 2 $title = 'Writing Options'; 2 require_once('../wp-includes/wp-l10n.php'); 3 4 $title = __('Writing Options'); 3 5 $parent_file = 'options-general.php'; 4 6 … … 50 52 <table width="100%" cellspacing="2" cellpadding="5" class="editform"> 51 53 <tr valign="top"> 52 <th scope="row"> When starting a post, show:</th>54 <th scope="row"> <?php _e('When starting a post, show:') ?> </th> 53 55 <td><?php get_settings('advanced_edit') ?><label> 54 56 <input name="advanced_edit" type="radio" value="0" <?php checked('0', get_settings('advanced_edit')); ?> /> 55 Simple controls</label>57 <?php _e('Simple controls') ?></label> 56 58 <br /> 57 59 <label> 58 60 <input name="advanced_edit" type="radio" value="1" <?php checked('1', get_settings('advanced_edit')); ?> /> 59 Advanced controls</label>61 <?php _e('Advanced controls') ?></label> 60 62 <label for="advanced_edit"></label></td> 61 63 </tr> … … 66 68 </tr> 67 69 <tr valign="top"> 68 <th scope="row"> Formatting:</th>70 <th scope="row"><?php _e('Formatting:') ?></th> 69 71 <td> <label for="label"> 70 72 <input name="use_smilies" type="checkbox" id="label" value="1" <?php checked('1', get_settings('use_smilies')); ?> /> 71 Convert emoticons like <code>:-)</code> and <code>:-P</code> to graphics</label> 72 on display <br /> <label for="label2"> 73 <?php _e('Convert emoticons like <code>:-)</code> and <code>:-P</code> to graphics on display') ?></label> <br /> <label for="label2"> 73 74 <input name="use_balanceTags" type="checkbox" id="label2" value="1" <?php checked('1', get_settings('use_balanceTags')); ?> /> 74 WordPress should correct invalidly nested XHTML automatically</label></td>75 <?php _e('WordPress should correct invalidly nested XHTML automatically') ?></label></td> 75 76 </tr> 76 77 </table> 77 78 <fieldset class="options"> 78 <legend> Update Services</legend>79 <p>Enter the sites that you would like to notify when you publish a new post. For a list of some recommended sites to ping please see <a href="http://wiki.wordpress.org/index.php/UpdateServices">Update Services</a> on the wiki. Seperate multiple URIs by line breaks.</p>79 <legend><?php _e('Update Services') ?></legend> 80 <p><?php printf(__('Enter the sites that you would like to notify when you publish a new post. For a list of some recommended sites to ping please see <a href="%s">Update Services</a> on the wiki. Seperate multiple URIs by line breaks.'), 'http://wiki.wordpress.org/index.php/UpdateServices') ?></p> 80 81 81 82 <textarea name="ping_sites" id="ping_sites" style="width: 98%;"><?php echo get_settings('ping_sites'); ?></textarea> 82 83 </fieldset> 83 84 <fieldset class="options"> 84 <legend> Writing by Email</legend>85 <p> To post to WordPress by email you must set up a secret email account with POP3 access. Any mail received at this address will be posted, so it's a good idea to keep this address very secret. Here are three random strings you could use: <code><?php echo substr(md5(uniqid(microtime())),0,5); ?></code>, <code><?php echo substr(md5(uniqid(microtime())),0,5); ?></code>, <code><?php echo substr(md5(uniqid(microtime())),0,5); ?></code>.</p>85 <legend><?php _e('Writing by Email') ?></legend> 86 <p><?php printf(__('To post to WordPress by email you must set up a secret email account with POP3 access. Any mail received at this address will be posted, so it’s a good idea to keep this address very secret. Here are three random strings you could use: <code>%s</code>, <code>%s</code>, <code>%s</code>.'), substr(md5(uniqid(microtime())),0,5), substr(md5(uniqid(microtime())),0,5), substr(md5(uniqid(microtime())),0,5)) ?></p> 86 87 87 88 <table width="100%" cellspacing="2" cellpadding="5" class="editform"> 88 89 <tr valign="top"> 89 <th scope="row"> Mail server:</th>90 <th scope="row"><?php _e('Mail server:') ?></th> 90 91 <td><input name="mailserver_url" type="text" id="mailserver_url" value="<?php echo get_settings('mailserver_url'); ?>" size="40" /> 91 <label for="port">Port:</label>92 <label for="port"><?php _e('Port:') ?></label> 92 93 <input name="mailserver_port" type="text" id="mailserver_port" value="<?php echo get_settings('mailserver_port'); ?>" size="6" /> 93 94 </td> 94 95 </tr> 95 96 <tr valign="top"> 96 <th width="33%" scope="row"> Login name:</th>97 <th width="33%" scope="row"><?php _e('Login name:') ?></th> 97 98 <td><input name="mailserver_login" type="text" id="mailserver_login" value="<?php echo get_settings('mailserver_login'); ?>" size="40" /></td> 98 99 </tr> 99 100 <tr valign="top"> 100 <th scope="row">Password:</th>101 <th scope="row"><?php _e('Password:') ?></th> 101 102 <td> 102 103 <input name="mailserver_pass" type="text" id="mailserver_pass" value="<?php echo get_settings('mailserver_pass'); ?>" size="40" /> … … 104 105 </tr> 105 106 <tr valign="top"> 106 <th scope="row">Usual category:</th>107 <th scope="row"><?php _e('Usual category:') ?></th> 107 108 <td><select name="default_category" id="default_category"> 108 109 <?php … … 119 120 </fieldset> 120 121 <p style="text-align: right;"> 121 <input type="submit" name="Submit" value=" Update Options" />122 <input type="submit" name="Submit" value="<?php _e('Update Options') ?>" /> 122 123 </p> 123 124 </form>
Note: See TracChangeset
for help on using the changeset viewer.