Changeset 1111 for trunk/wp-admin/options-misc.php
- Timestamp:
- 04/21/2004 03:00:44 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options-misc.php
r1108 r1111 1 1 <?php 2 require_once('../wp-includes/wp-l10n.php'); 3 2 4 $title = 'Miscellaneous Options'; 3 5 $parent_file = 'options-general.php'; … … 43 45 44 46 <div class="wrap"> 45 <h2> Miscellaneous Options</h2>47 <h2><?php _e('Miscellaneous Options') ?></h2> 46 48 <form name="form1" method="post" action="options.php"> 47 49 <input type="hidden" name="action" value="update" /> … … 50 52 <legend> 51 53 <input name="use_fileupload" type="checkbox" id="use_fileupload" value="1" <?php checked('1', get_settings('use_fileupload')); ?> /> 52 <label for="use_fileupload"> Allow File Uploads</label></legend>54 <label for="use_fileupload"><?php _e('Allow File Uploads') ?></label></legend> 53 55 <table width="100%" cellspacing="2" cellpadding="5" class="editform"> 54 56 <tr> 55 <th width="33%" valign="top" scope="row"> Destination directory:</th>57 <th width="33%" valign="top" scope="row"><?php _e('Destination directory:') ?> </th> 56 58 <td> 57 59 <input name="fileupload_realpath" type="text" id="fileupload_realpath" value="<?php echo get_settings('fileupload_realpath'); ?>" size="50" /><br /> 58 Recommended: <code><?php echo ABSPATH . 'wp-content'; ?></code>60 <?php printf(__('Recommended: <code>%s</code>'), ABSPATH . 'wp-content') ?> 59 61 60 62 </td> 61 63 </tr> 62 64 <tr> 63 <th valign="top" scope="row"> URI of this directory:</th>65 <th valign="top" scope="row"><?php _e('URI of this directory:') ?> </th> 64 66 <td> 65 67 <input name="fileupload_url" type="text" id="fileupload_url" value="<?php echo get_settings('fileupload_url'); ?>" size="50" /><br /> 66 Recommended: <code><?php echo get_settings('siteurl') . '/wp-content'; ?></code>68 <?php printf(__('Recommended: <code>%s</code>'), get_settings('siteurl') . '/wp-content') ?> 67 69 </td> 68 70 </tr> 69 71 <tr> 70 <th scope="row">Maximum size:</th>72 <th scope="row"><?php _e('Maximum size:') ?> </th> 71 73 <td><input name="fileupload_maxk" type="text" id="fileupload_maxk" value="<?php echo get_settings('fileupload_maxk'); ?>" size="4"> 72 Kilobytes (KB)</td>74 <?php _e('Kilobytes (KB)') ?></td> 73 75 </tr> 74 76 <tr> 75 <th valign="top" scope="row">Allowed file extensions:</th>77 <th valign="top" scope="row"><?php _e('Allowed file extensions:') ?></th> 76 78 <td><input name="fileupload_allowedtypes" type="text" id="fileupload_allowedtypes" value="<?php echo get_settings('fileupload_allowedtypes'); ?>" size="40"> 77 79 <br> 78 Recommended: <code>jpg jpeg png gif </code></td>80 <?php _e('Recommended: <code>jpg jpeg png gif </code>') ?></td> 79 81 </tr> 80 82 <tr> 81 <th scope="row">Minimum level to upload:</th>83 <th scope="row"><?php _e('Minimum level to upload:') ?></th> 82 84 <td><select name="fileupload_minlevel" id="fileupload_minlevel"> 83 85 <?php … … 95 97 <label> 96 98 <input type="checkbox" name="hack_file" value="1" <?php checked('1', get_settings('hack_file')); ?> /> 97 Use legacy <code>my-hacks.php</code> file support</label>99 <?php _e('Use legacy <code>my-hacks.php</code> file support') ?></label> 98 100 </p> 99 101 <p style="text-align: right;"> 100 <input type="submit" name="Submit" value=" Update Options" />102 <input type="submit" name="Submit" value="<?php _e('Update Options') ?>" /> 101 103 </p> 102 104 </form>
Note: See TracChangeset
for help on using the changeset viewer.