Changeset 12674 for trunk/wp-admin/ms-sites.php
- Timestamp:
- 01/08/2010 09:25:01 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/ms-sites.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/ms-sites.php
r12646 r12674 402 402 <?php 403 403 // define the columns to display, the syntax is 'internal name' => 'display name' 404 $blogname_columns = ( constant( "VHOST" ) == 'yes') ? __('Domain') : __('Path');404 $blogname_columns = ( is_subdomain_install() ) ? __('Domain') : __('Path'); 405 405 $posts_columns = array( 406 406 'id' => __('ID'), … … 458 458 echo "<tr $bgcolour class='$class'>"; 459 459 460 $blogname = ( constant( "VHOST" ) == 'yes') ? str_replace('.'.$current_site->domain, '', $blog['domain']) : $blog['path'];460 $blogname = ( is_subdomain_install() ) ? str_replace('.'.$current_site->domain, '', $blog['domain']) : $blog['path']; 461 461 foreach( $posts_columns as $column_name=>$column_display_name ) { 462 462 switch($column_name) { … … 587 587 <th style="text-align:center;" scope='row'><?php _e('Blog Address') ?></th> 588 588 <td> 589 <?php if ( constant( "VHOST" ) == 'yes') { ?>589 <?php if ( is_subdomain_install() ) { ?> 590 590 <input name="blog[domain]" type="text" title="<?php _e('Domain') ?>"/>.<?php echo $current_site->domain;?> 591 591 <?php } else {
Note: See TracChangeset
for help on using the changeset viewer.