WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/04/2005 08:37:46 AM (16 years ago)
Author:
matt
Message:

Adding WYSIWYG. Todo: remove all uneccesary stuff.

File:
1 edited

Legend:

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

    r2728 r2748  
    1212  <form name="form1" method="post" action="options.php">
    1313    <input type="hidden" name="action" value="update" />
    14     <input type="hidden" name="page_options" value="'default_post_edit_rows','use_smilies','use_balanceTags','ping_sites','mailserver_url', 'mailserver_port','mailserver_login','mailserver_pass','default_category','default_email_category'" />
     14    <input type="hidden" name="page_options" value="'default_post_edit_rows','use_smilies','rich_editing','ping_sites','mailserver_url', 'mailserver_port','mailserver_login','mailserver_pass','default_category','default_email_category'" />
    1515    <table width="100%" cellspacing="2" cellpadding="5" class="editform">
    1616      <tr valign="top">
     
    1919         <?php _e('lines') ?></td>
    2020      </tr>
    21       <tr valign="top">
    22         <th scope="row"><?php _e('Formatting:') ?></th>
    23         <td>          <label for="label">
    24           <input name="use_smilies" type="checkbox" id="label" value="1" <?php checked('1', get_settings('use_smilies')); ?> />
    25           <?php _e('Convert emoticons like <code>:-)</code> and <code>:-P</code> to graphics on display') ?></label> <br />          <label for="label2">
    26   <input name="use_balanceTags" type="checkbox" id="label2" value="1" <?php checked('1', get_settings('use_balanceTags')); ?> />
    27           <?php _e('WordPress should correct invalidly nested XHTML automatically') ?></label></td>
    28       </tr>
     21<tr valign="top">
     22<th scope="row"><?php _e('Formatting:') ?></th>
     23<td>
     24<label for="rich_editing">
     25<input name="rich_editing" type="checkbox" id="rich_editing" value="true" <?php checked('true', get_settings('rich_editing')); ?> />
     26<?php _e('Use the visual rich editor when writing') ?></label><br />
     27<label for="use_smilies">
     28<input name="use_smilies" type="checkbox" id="use_smilies" value="1" <?php checked('1', get_settings('use_smilies')); ?> />
     29<?php _e('Convert emoticons like <code>:-)</code> and <code>:-P</code> to graphics on display') ?></label>
     30</td>
     31</tr>
    2932            <tr valign="top">
    3033                <th scope="row"><?php _e('Default post category:') ?></th>
Note: See TracChangeset for help on using the changeset viewer.