Changeset 15130
- Timestamp:
- 06/03/2010 06:58:41 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/file.php
r15099 r15130 966 966 <h2><?php _e('Connection Information') ?></h2> 967 967 <p><?php 968 $label_user = __('Username'); 969 $label_pass = __('Password'); 968 970 _e('To perform the requested action, WordPress needs to access to your web server.'); 969 971 echo ' '; 970 972 if ( ( isset( $types['ftp'] ) || isset( $types['ftps'] ) ) ) { 971 if ( isset( $types['ssh'] ) ) 973 if ( isset( $types['ssh'] ) ) { 972 974 _e('Please enter your FTP or SSH credentials to proceed.'); 973 else 975 $label_user = __('FTP/SSH Username'); 976 $label_pass = __('FTP/SSH Password'); 977 } else { 974 978 _e('Please enter your FTP credentials to proceed.'); 979 $label_user = __('FTP Username'); 980 $label_pass = __('FTP Password'); 981 } 975 982 echo ' '; 976 983 } … … 984 991 985 992 <tr valign="top"> 986 <th scope="row"><label for="username"><?php _e('Username')?></label></th>993 <th scope="row"><label for="username"><?php echo $label_user; ?></label></th> 987 994 <td><input name="username" type="text" id="username" value="<?php echo esc_attr($username) ?>"<?php disabled( defined('FTP_USER') ); ?> size="40" /></td> 988 995 </tr> 989 996 990 997 <tr valign="top"> 991 <th scope="row"><label for="password"><?php _e('Password')?></label></th>998 <th scope="row"><label for="password"><?php echo $label_pass; ?></label></th> 992 999 <td><input name="password" type="password" id="password" value="<?php if ( defined('FTP_PASS') ) echo '*****'; ?>"<?php disabled( defined('FTP_PASS') ); ?> size="40" /></td> 993 1000 </tr>
Note: See TracChangeset
for help on using the changeset viewer.