Changeset 13435
- Timestamp:
- 02/26/2010 07:08:01 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/ms.php
r13329 r13435 177 177 $user = new WP_User( $val ); 178 178 if ( in_array( $user->user_login, get_site_option( 'site_admins', array( 'admin' ) ) ) ) 179 wp_die( sprintf( __( 'Warning! User cannot be deleted. The user %s is a siteadmnistrator.' ), $user->user_login ) );179 wp_die( sprintf( __( 'Warning! User cannot be deleted. The user %s is a network admnistrator.' ), $user->user_login ) ); 180 180 echo "<input type='hidden' name='user[]' value='{$val}'/>\n"; 181 181 $blogs = get_blogs_of_user( $val, true ); … … 249 249 250 250 You recently requested to have the administration email address on 251 your blogchanged.251 your site changed. 252 252 If this is correct, please click on the following link to change it: 253 253 ###ADMIN_URL### … … 462 462 ?> 463 463 <tr> 464 <th><?php _e(' BlogUpload Space Quota'); ?></th>465 <td><input type="text" size="3" name="option[blog_upload_space]" value="<?php echo $quota; ?>" /><?php _e('MB (Leave blank for sitedefault)'); ?></td>464 <th><?php _e('Site Upload Space Quota'); ?></th> 465 <td><input type="text" size="3" name="option[blog_upload_space]" value="<?php echo $quota; ?>" /><?php _e('MB (Leave blank for network default)'); ?></td> 466 466 </tr> 467 467 <?php … … 524 524 525 525 if ( $c >= 5 ) { 526 wp_die( __( "You don’t have permission to view this blog. Please contact the system administrator." ) );526 wp_die( __( "You don’t have permission to view this site. Please contact the system administrator." ) ); 527 527 } 528 528 $c ++; … … 651 651 if ( !is_super_admin() ) 652 652 return false; 653 printf("<div id='update-nag'>" . __("Hi %s! You're logged in as a siteadministrator.") . "</div>", $current_user->user_login);653 printf("<div id='update-nag'>" . __("Hi %s! You're logged in as a network administrator.") . "</div>", $current_user->user_login); 654 654 if ( get_site_option( 'wpmu_upgrade_site' ) != $wp_db_version ) { 655 echo "<div id='update-nag'>" . __( 'Thank you for Upgrading! Please visit the <a href="ms-upgrade-network.php">Upgrade Network</a> page to update all your blogs.' ) . "</div>";655 echo "<div id='update-nag'>" . __( 'Thank you for Upgrading! Please visit the <a href="ms-upgrade-network.php">Upgrade Network</a> page to update all your sites.' ) . "</div>"; 656 656 } 657 657 }
Note: See TracChangeset
for help on using the changeset viewer.