Make WordPress Core


Ignore:
Timestamp:
03/24/2008 08:28:15 AM (18 years ago)
Author:
matt
Message:

Some options juggling to put things where they fit a little better, and more exposition around the more obtuse options.

File:
1 edited

Legend:

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

    r7372 r7498  
    3939</table>
    4040
     41<h3><?php _e('Image sizes') ?></h3>
     42<p><?php _e('The sizes listed below determine the maximum dimensions to use when inserting an image into the body of a post.'); ?></p>
    4143
    4244<table class="form-table">
     45<tr valign="top">
     46<th scope="row"><?php _e('Thumbnail size') ?></th>
     47<td>
     48<label for="thumbnail_size_w"><?php _e('Width'); ?></label>
     49<input name="thumbnail_size_w" type="text" id="thumbnail_size_w" value="<?php form_option('thumbnail_size_w'); ?>" size="6" />
     50<label for="thumbnail_size_h"><?php _e('Height'); ?></label>
     51<input name="thumbnail_size_h" type="text" id="thumbnail_size_h" value="<?php form_option('thumbnail_size_h'); ?>" size="6" /><br />
     52<input name="thumbnail_crop" type="checkbox" id="thumbnail_crop" value="1" <?php checked('1', get_option('thumbnail_crop')); ?>/>
     53<label for="thumbnail_crop"><?php _e('Crop thumbnail to exact dimensions (normally thumbnails are proportional)'); ?></label>
     54</td>
     55</tr>
     56<tr valign="top">
     57<th scope="row"><?php _e('Medium size') ?></th>
     58<td>
     59<label for="medium_size_w"><?php _e('Max Width'); ?></label>
     60<input name="medium_size_w" type="text" id="medium_size_w" value="<?php form_option('medium_size_w'); ?>" size="6" />
     61<label for="medium_size_h"><?php _e('Max Height'); ?></label>
     62<input name="medium_size_h" type="text" id="medium_size_h" value="<?php form_option('medium_size_h'); ?>" size="6" />
     63</td>
     64</tr>
     65</table>
     66
     67
     68
     69<table class="form-table">
     70
    4371<tr>
    4472<th scope="row" class="th-full">
     
    5886</th>
    5987</tr>
     88
    6089</table>
    6190
    6291<p class="submit">
    6392<input type="hidden" name="action" value="update" />
    64 <input type="hidden" name="page_options" value="hack_file,use_linksupdate,uploads_use_yearmonth_folders,upload_path,upload_url_path" />
     93<input type="hidden" name="page_options" value="hack_file,use_linksupdate,uploads_use_yearmonth_folders,upload_path,upload_url_path,thumbnail_size_w,thumbnail_size_h,thumbnail_crop,medium_size_w,medium_size_h" />
    6594<input type="submit" name="Submit" value="<?php _e('Save Changes') ?>" class="button" />
    6695</p>
Note: See TracChangeset for help on using the changeset viewer.