Changes from trunk/wp-admin/options-general.php at r4480 to branches/2.2/wp-admin/options-general.php at r5395
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/wp-admin/options-general.php
r4480 r5395 26 26 <tr valign="top"> 27 27 <th scope="row"><?php _e('WordPress address (URL):') ?></th> 28 <td><input name="siteurl" type="text" id="siteurl" value="<?php form_option('siteurl'); ?>" size="40" class="code "/></td>28 <td><input name="siteurl" type="text" id="siteurl" value="<?php form_option('siteurl'); ?>" size="40" class="code<?php if ( defined( 'WP_SITEURL' ) ) : ?> disabled" disabled="disabled"<?php else: ?>"<?php endif; ?> /></td> 29 29 </tr> 30 30 <tr valign="top"> 31 31 <th scope="row"><?php _e('Blog address (URL):') ?></th> 32 <td><input name="home" type="text" id="home" value="<?php form_option('home'); ?>" size="40" class="code " /><br /><?php _e('If you want your blog homepage <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">to be different than the directory</a> you installed WordPress in, enter that address here.'); ?></td>32 <td><input name="home" type="text" id="home" value="<?php form_option('home'); ?>" size="40" class="code<?php if ( defined( 'WP_HOME' ) ) : ?> disabled" disabled="disabled"<?php else: ?>"<?php endif; ?> /><br /><?php _e('Enter the address here if you want your blog homepage <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">to be different from the directory</a> you installed WordPress.'); ?></td> 33 33 </tr> 34 34 <tr valign="top"> … … 61 61 <tr> 62 62 <th scope="row"><?php _e('<abbr title="Coordinated Universal Time">UTC</abbr> time is:') ?> </th> 63 <td><code><?php echo gmdate( 'Y-m-d g:i:s a'); ?></code></td>63 <td><code><?php echo gmdate(__('Y-m-d g:i:s a')); ?></code></td> 64 64 </tr> 65 65 <tr> … … 98 98 <p class="submit"><input type="submit" name="Submit" value="<?php _e('Update Options »') ?>" /> 99 99 <input type="hidden" name="action" value="update" /> 100 <input type="hidden" name="page_options" value=" blogname,blogdescription,siteurl,admin_email,users_can_register,gmt_offset,date_format,time_format,home,start_of_week,comment_registration,default_role" />100 <input type="hidden" name="page_options" value="<?php if ( ! defined( 'WP_SITEURL' ) ) echo 'siteurl,'; if ( ! defined( 'WP_HOME' ) ) echo 'home,'; ?>blogname,blogdescription,admin_email,users_can_register,gmt_offset,date_format,time_format,start_of_week,comment_registration,default_role" /> 101 101 </p> 102 102 </form>
Note: See TracChangeset
for help on using the changeset viewer.