Project

General

Profile

Bug #1989 » bp-subdomain-maxlength-REV1.diff

Dominic Giglio, 2012-09-24 11:19 PM

View differences:

bp-blogs/bp-blogs-template.php (working copy)
461 461
	<?php }
462 462

  
463 463
	if ( !is_subdomain_install() )
464
		echo '<span class="prefix_address">' . $current_site->domain . $current_site->path . '</span> <input name="blogname" type="text" id="blogname" value="'.$blogname.'" maxlength="50" /><br />';
464
		echo '<span class="prefix_address">' . $current_site->domain . $current_site->path . '</span> <input name="blogname" type="text" id="blogname" value="'.$blogname.'" maxlength="63" /><br />';
465 465
	else
466
		echo '<input name="blogname" type="text" id="blogname" value="'.$blogname.'" maxlength="50" /> <span class="suffix_address">.' . bp_blogs_get_subdomain_base() . '</span><br />';
466
		echo '<input name="blogname" type="text" id="blogname" value="'.$blogname.'" maxlength="63" /> <span class="suffix_address">.' . bp_blogs_get_subdomain_base() . '</span><br />';
467 467

  
468 468
	if ( !is_user_logged_in() ) {
469 469
		print '(<strong>' . __( 'Your address will be ' , 'buddypress');
(1-1/4)