~canonical-sysadmins/wordpress/3.9.x

« back to all changes in this revision

Viewing changes to wp-admin/options-media.php

  • Committer: Chris Jones
  • Date: 2010-01-19 13:17:33 UTC
  • Revision ID: cmsj@tenshu.net-20100119131733-rf31jv9k1v0xzo2h
[CJ] Import wordpress 2.9.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
 
45
45
<tr valign="top">
46
46
<th scope="row"><?php _e('Medium size') ?></th>
47
 
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Medium size') ?></span></legend>
 
47
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Medium size'); ?></span></legend>
48
48
<label for="medium_size_w"><?php _e('Max Width'); ?></label>
49
49
<input name="medium_size_w" type="text" id="medium_size_w" value="<?php form_option('medium_size_w'); ?>" class="small-text" />
50
50
<label for="medium_size_h"><?php _e('Max Height'); ?></label>
54
54
 
55
55
<tr valign="top">
56
56
<th scope="row"><?php _e('Large size') ?></th>
57
 
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Large size') ?></span></legend>
 
57
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Large size'); ?></span></legend>
58
58
<label for="large_size_w"><?php _e('Max Width'); ?></label>
59
59
<input name="large_size_w" type="text" id="large_size_w" value="<?php form_option('large_size_w'); ?>" class="small-text" />
60
60
<label for="large_size_h"><?php _e('Max Height'); ?></label>
65
65
<?php do_settings_fields('media', 'default'); ?>
66
66
</table>
67
67
 
 
68
<h3><?php _e('Embeds') ?></h3>
 
69
 
 
70
<table class="form-table">
 
71
 
 
72
<tr valign="top">
 
73
<th scope="row"><?php _e('Auto-embeds'); ?></th>
 
74
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Attempt to automatically embed all plain text URLs'); ?></span></legend>
 
75
<label for="embed_autourls"><input name="embed_autourls" type="checkbox" id="embed_autourls" value="1" <?php checked( '1', get_option('embed_autourls') ); ?>/> <?php _e('Attempt to automatically embed all plain text URLs'); ?></label>
 
76
</fieldset></td>
 
77
</tr>
 
78
 
 
79
<tr valign="top">
 
80
<th scope="row"><?php _e('Maximum embed size') ?></th>
 
81
<td>
 
82
<label for="embed_size_w"><?php _e('Width'); ?></label>
 
83
<input name="embed_size_w" type="text" id="embed_size_w" value="<?php form_option('embed_size_w'); ?>" class="small-text" />
 
84
<label for="embed_size_h"><?php _e('Height'); ?></label>
 
85
<input name="embed_size_h" type="text" id="embed_size_h" value="<?php form_option('embed_size_h'); ?>" class="small-text" />
 
86
<?php if ( !empty($content_width) ) echo '<br />' . __("If the width value is left blank, embeds will default to the max width of your theme."); ?>
 
87
</td>
 
88
</tr>
 
89
 
 
90
<?php do_settings_fields('media', 'embeds'); ?>
 
91
</table>
 
92
 
68
93
<?php do_settings_sections('media'); ?>
69
94
 
70
95
<p class="submit">