Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/04/2010 06:07:51 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Fixes #2489 props wpmuguru

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-blogs/bp-blogs-templatetags.php

    r2975 r3117  
    362362
    363363    // Blog name
    364     if( 'no' == constant( "VHOST" ) )
     364    if( !is_subdomain_install() )
    365365        echo '<label for="blogname">' . __('Blog Name:', 'buddypress') . '</label>';
    366366    else
     
    371371    <?php }
    372372
    373     if( 'no' == constant( "VHOST" ) ) {
     373    if ( !is_subdomain_install() )
    374374        echo '<span class="prefix_address">' . $current_site->domain . $current_site->path . '</span> <input name="blogname" type="text" id="blogname" value="'.$blogname.'" maxlength="50" /><br />';
    375     } else {
     375    else
    376376        echo '<input name="blogname" type="text" id="blogname" value="'.$blogname.'" maxlength="50" /> <span class="suffix_address">.' . $current_site->domain . $current_site->path . '</span><br />';
    377     }
     377
    378378    if ( !is_user_logged_in() ) {
    379379        print '(<strong>' . __( 'Your address will be ' , 'buddypress');
    380         if( 'no' == constant( "VHOST" ) ) {
     380
     381        if ( !is_subdomain_install() ) {
    381382            print $current_site->domain . $current_site->path . __( 'blogname' , 'buddypress');
    382383        } else {
    383384            print __( 'domain.' , 'buddypress') . $current_site->domain . $current_site->path;
    384385        }
     386
    385387        echo '.</strong> ' . __( 'Must be at least 4 characters, letters and numbers only. It cannot be changed so choose carefully!)' , 'buddypress') . '</p>';
    386388    }
Note: See TracChangeset for help on using the changeset viewer.