-
+ D57BA1F6CFD9B7A19ABEDED4876EAE53FFD8CE08EC461696470445EBC8B5089ACDA0E74BB13D870F135D22F85A862E6AE63FE847D955A675DEAD28BC397EC054
mp-wp/wp-admin/options-media.php
(0 . 0)(1 . 75)
53737 <?php
53738 /**
53739 * Media settings administration panel.
53740 *
53741 * @package WordPress
53742 * @subpackage Administration
53743 */
53744
53745 /** WordPress Administration Bootstrap */
53746 require_once('admin.php');
53747
53748 $title = __('Media Settings');
53749 $parent_file = 'options-general.php';
53750
53751 include('admin-header.php');
53752
53753 ?>
53754
53755 <div class="wrap">
53756 <?php screen_icon(); ?>
53757 <h2><?php echo wp_specialchars( $title ); ?></h2>
53758
53759 <form action="options.php" method="post">
53760 <?php settings_fields('media'); ?>
53761
53762 <h3><?php _e('Image sizes') ?></h3>
53763 <p><?php _e('The sizes listed below determine the maximum dimensions in pixels to use when inserting an image into the body of a post.'); ?></p>
53764
53765 <table class="form-table">
53766 <tr valign="top">
53767 <th scope="row"><?php _e('Thumbnail size') ?></th>
53768 <td>
53769 <label for="thumbnail_size_w"><?php _e('Width'); ?></label>
53770 <input name="thumbnail_size_w" type="text" id="thumbnail_size_w" value="<?php form_option('thumbnail_size_w'); ?>" class="small-text" />
53771 <label for="thumbnail_size_h"><?php _e('Height'); ?></label>
53772 <input name="thumbnail_size_h" type="text" id="thumbnail_size_h" value="<?php form_option('thumbnail_size_h'); ?>" class="small-text" /><br />
53773 <input name="thumbnail_crop" type="checkbox" id="thumbnail_crop" value="1" <?php checked('1', get_option('thumbnail_crop')); ?>/>
53774 <label for="thumbnail_crop"><?php _e('Crop thumbnail to exact dimensions (normally thumbnails are proportional)'); ?></label>
53775 </td>
53776 </tr>
53777
53778 <tr valign="top">
53779 <th scope="row"><?php _e('Medium size') ?></th>
53780 <td><fieldset><legend class="hidden"><?php _e('Medium size') ?></legend>
53781 <label for="medium_size_w"><?php _e('Max Width'); ?></label>
53782 <input name="medium_size_w" type="text" id="medium_size_w" value="<?php form_option('medium_size_w'); ?>" class="small-text" />
53783 <label for="medium_size_h"><?php _e('Max Height'); ?></label>
53784 <input name="medium_size_h" type="text" id="medium_size_h" value="<?php form_option('medium_size_h'); ?>" class="small-text" />
53785 </fieldset></td>
53786 </tr>
53787
53788 <tr valign="top">
53789 <th scope="row"><?php _e('Large size') ?></th>
53790 <td><fieldset><legend class="hidden"><?php _e('Large size') ?></legend>
53791 <label for="large_size_w"><?php _e('Max Width'); ?></label>
53792 <input name="large_size_w" type="text" id="large_size_w" value="<?php form_option('large_size_w'); ?>" class="small-text" />
53793 <label for="large_size_h"><?php _e('Max Height'); ?></label>
53794 <input name="large_size_h" type="text" id="large_size_h" value="<?php form_option('large_size_h'); ?>" class="small-text" />
53795 </fieldset></td>
53796 </tr>
53797
53798 <?php do_settings_fields('media', 'default'); ?>
53799 </table>
53800
53801 <?php do_settings_sections('media'); ?>
53802
53803 <p class="submit">
53804 <input type="submit" name="Submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
53805 </p>
53806
53807 </form>
53808
53809 </div>
53810
53811 <?php include('./admin-footer.php'); ?>