Changeset 12712 for trunk/wp-admin/options-general.php
- Timestamp:
- 01/12/2010 09:11:52 PM (15 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin
-
Property
svn:ignore
set to
.categories.php.swp
-
Property
svn:ignore
set to
-
trunk/wp-admin/options-general.php
r12507 r12712 71 71 <span class="description"><?php _e('In a few words, explain what this blog is about.') ?></span></td> 72 72 </tr> 73 <?php if ( !is_multisite() ) { ?> 73 74 <tr valign="top"> 74 75 <th scope="row"><label for="siteurl"><?php _e('WordPress address (URL)') ?></label></th> … … 98 99 </td> 99 100 </tr> 101 <?php } else { ?> 102 <tr valign="top"> 103 <th scope="row"><label for="new_admin_email"><?php _e('E-mail address') ?> </label></th> 104 <td><input name="new_admin_email" type="text" id="new_admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text code" /> 105 <span class="setting-description"><?php _e('This address is used for admin purposes.') ?> <?php _e('If you change this we will send you an email at your new address to confirm it. <strong>The new address will not become active until confirmed.</strong>') ?></span></td> 106 </tr> 107 <?php } ?> 100 108 <tr> 101 109 <?php … … 282 290 </tr> 283 291 <?php do_settings_fields('general', 'default'); ?> 292 <?php 293 if ( is_multisite() && is_dir( ABSPATH . LANGDIR ) && $dh = opendir( ABSPATH . LANGDIR ) ) 294 while( ( $lang_file = readdir( $dh ) ) !== false ) 295 if( substr( $lang_file, -3 ) == '.mo' ) 296 $lang_files[] = $lang_file; 297 $lang = get_option('WPLANG'); 298 299 if( is_array($lang_files) && !empty($lang_files) ) { 300 ?> 301 <tr valign="top"> 302 <th width="33%" scope="row"><?php _e('Blog language:') ?></th> 303 <td> 304 <select name="WPLANG" id="WPLANG"> 305 <?php mu_dropdown_languages( $lang_files, get_option('WPLANG') ); ?> 306 </select> 307 </td> 308 </tr> 309 <?php 310 } // languages 311 ?> 284 312 </table> 285 313
Note: See TracChangeset
for help on using the changeset viewer.