Changeset 954
- Timestamp:
- 02/29/04 08:30:56 (5 years ago)
- Files:
-
- trunk/wp-admin/options-discussion.php (added)
- trunk/wp-admin/options-general.php (modified) (1 diff)
- trunk/wp-admin/options-writing.php (modified) (3 diffs)
- trunk/wp-admin/upgrade-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-admin/options-general.php
r944 r954 47 47 <li><a class="current">General</a></li> 48 48 <li><a href="options-writing.php">Writing</a></li> 49 <li><a href="options-discussion.php">Discussion</a></li> 49 50 <?php 50 51 //we need to iterate through the available option groups. trunk/wp-admin/options-writing.php
r949 r954 47 47 <li><a href="options-general.php">General</a></li> 48 48 <li><a class="current">Writing</a></li> 49 <li><a href="options-discussion.php">Discussion</a></li> 49 50 <?php 50 51 //we need to iterate through the available option groups. … … 69 70 <input type="hidden" name="page_options" value="'default_post_edit_rows','blog_charset','use_smilies','use_balanceTags','advanced_edit','ping_sites'" /> 70 71 <table width="100%" cellspacing="2" cellpadding="5" class="editform"> 72 <tr valign="top"> 73 <th scope="row"> When starting a post, show: </th> 74 <td><label> 75 <input name="advanced_edit" type="radio" value="0" <?php checked('0', get_settings('advanced_edit')); ?> /> 76 Simple controls</label> 77 <br /> 78 <label> 79 <input name="advanced_edit" type="radio" value="1" <?php checked('1', get_settings('advanced_edit')); ?> /> 80 Advanced controls</label> 81 <label for="advanced_edit"></label></td> 82 </tr> 71 83 <tr valign="top"> 72 84 <th width="33%" scope="row"> Size of the writing box:</th> … … 74 86 lines </td> 75 87 </tr> 88 <tr valign="top"> 89 <th scope="row">Formatting:</th> 90 <td> <label for="label"> 91 <input name="use_smilies" type="checkbox" id="label" value="1" <?php checked('1', get_settings('use_smilies')); ?> /> 92 Convert emoticons like <code>:-)</code> and <code>:-P</code> to graphics</label> 93 on display <br /> <label for="label2"> 94 <input name="use_balanceTags" type="checkbox" id="label2" value="1" <?php checked('1', get_settings('use_balanceTags')); ?> /> 95 WordPress should correct invalidly nested XHTML automatically</label></td> 96 </tr> 76 97 <tr valign="top"> 77 <th scope="row">Character Setting: </th>98 <th scope="row">Character Encoding: </th> 78 99 <td><input name="blog_charset" type="text" id="blog_charset" value="<?php echo get_settings('blog_charset'); ?>" size="20" class="code" /> 79 100 <br /> 80 The char setyou write your blog in (UTF-8 recommended<a href="http://developer.apple.com/documentation/macos8/TextIntlSvcs/TextEncodingConversionManager/TEC1.5/TEC.b0.html"></a>)</td>101 The character encoding you write your blog in (UTF-8 recommended<a href="http://developer.apple.com/documentation/macos8/TextIntlSvcs/TextEncodingConversionManager/TEC1.5/TEC.b0.html"></a>)</td> 81 102 </tr> 82 103 </table> 83 <p> 84 <label for="use_smilies"> 85 <input name="use_smilies" type="checkbox" id="use_smilies" value="1" <?php checked('1', get_settings('use_smilies')); ?> /> 86 Convert emoticons like <code>:-)</code> and <code>:-P</code> to graphics.</label> 87 </p> 88 <p> 89 <label for="use_balanceTags"> 90 <input name="use_balanceTags" type="checkbox" id="use_balanceTags" value="1" <?php checked('1', get_settings('use_balanceTags')); ?> /> 91 WordPress should correct invalidly nested XHTML automatically.</label> 92 </p> 93 <p> 94 <label for="advanced_edit"> 95 <input name="advanced_edit" type="checkbox" id="advanced_edit" value="1" <?php checked('1', get_settings('advanced_edit')); ?> /> 96 Compose posts using the advanced interface by default.</label> 97 </p> 98 <fieldset> 104 <fieldset> 99 105 <legend>Update Services</legend> 100 106 <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 [LINK TO SOMETHING]. Seperate multiple URIs by line breaks.</p> trunk/wp-admin/upgrade-functions.php
r949 r954 781 781 $wpdb->query("INSERT INTO $tableoptions (option_name, option_type, option_value, option_admin_level) VALUES ('advanced_edit', 3, '0', 8)"); 782 782 } 783 784 // Now an option for moderation words 785 if(!$wpdb->get_var("SELECT option_id FROM $tableoptions WHERE option_name = 'moderation_keys'")) { 786 $wpdb->query("INSERT INTO $tableoptions (option_name, option_type, option_value, option_admin_level) VALUES ('moderation_keys', 3, '', 8)"); 787 } 783 788 } 784 789
