Ticket #17863: options-writing.diff
File options-writing.diff, 1.3 KB (added by , 13 years ago) |
---|
-
options-writing.php
71 71 <table class="form-table"> 72 72 <tr valign="top"> 73 73 <th scope="row"><label for="default_post_edit_rows"> <?php _e('Size of the post box') ?></label></th> 74 <td><input name="default_post_edit_rows" type=" text" id="default_post_edit_rows" value="<?php form_option('default_post_edit_rows'); ?>" class="small-text" />74 <td><input name="default_post_edit_rows" type="number" step="1" min="5" id="default_post_edit_rows" value="<?php form_option('default_post_edit_rows'); ?>" class="small-text" /> 75 75 <?php _e('lines') ?></td> 76 76 </tr> 77 77 <tr valign="top"> … … 138 138 <th scope="row"><label for="mailserver_url"><?php _e('Mail Server') ?></label></th> 139 139 <td><input name="mailserver_url" type="text" id="mailserver_url" value="<?php form_option('mailserver_url'); ?>" class="regular-text code" /> 140 140 <label for="mailserver_port"><?php _e('Port') ?></label> 141 <input name="mailserver_port" type=" text" id="mailserver_port" value="<?php form_option('mailserver_port'); ?>" class="small-text" />141 <input name="mailserver_port" type="number" step="1" min="1" id="mailserver_port" value="<?php form_option('mailserver_port'); ?>" class="small-text" /> 142 142 </td> 143 143 </tr> 144 144 <tr valign="top">