diff options
| author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-12-01 15:56:51 +0000 |
|---|---|---|
| committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-12-01 15:56:51 +0000 |
| commit | ee79e9d18a8d0b84fd09379c832dbde70ba5d79f (patch) | |
| tree | 3191c550bd00a6a9d0ec550039ed2ed56637b237 | |
| parent | 3d3939f2d6bab278d78f94f8659434b614862aeb (diff) | |
Domains .. have it your own way (Thanks Niall)
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@457 7be80a69-a1ef-0310-a953-fb0f7c49ff36
| -rw-r--r-- | wp-inst/wp-newblog.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wp-inst/wp-newblog.php b/wp-inst/wp-newblog.php index 2582b8b..d7b41fe 100644 --- a/wp-inst/wp-newblog.php +++ b/wp-inst/wp-newblog.php @@ -20,6 +20,7 @@ td input { <?php function displayInitialForm( $weblog_id = '', $weblog_title = '', $admin_email = '', $admin_login = '', $form = '', $errormsg = '' ) { + global $current_site; print "<h2>Get your own blog</h2>"; if( is_array( $errormsg ) ) { print "<p>There was a problem, please correct the form below and try again.</p>"; @@ -37,7 +38,7 @@ function displayInitialForm( $weblog_id = '', $weblog_title = '', $admin_email = if( strlen( $errormsg[ 'weblog_id' ] ) > 3 ) { ?><p><strong>Warning! <?php echo $errormsg[ 'weblog_id' ] ?></strong></p><?php } - print '<input name="weblog_id" type="text" id="weblog_id" value="'.$weblog_id.'" maxlength="50" style="width:40%; text-align: right; font-size: 30px;" /><span style="font-size: 30px">.wordpress.com</span><br />(<strong>Your address will be username.wordpress.com.</strong> Must be at least 4 characters, letters and numbers only. It cannot be changed so choose carefully!)</td> </tr>'; + print '<input name="weblog_id" type="text" id="weblog_id" value="'.$weblog_id.'" maxlength="50" style="width:40%; text-align: right; font-size: 30px;" /><span style="font-size: 30px">.' . $current_site->domain . '</span><br />(<strong>Your address will be username.' . $current_site->domain . '.</strong> Must be at least 4 characters, letters and numbers only. It cannot be changed so choose carefully!)</td> </tr>'; if( $errormsg[ 'weblog_title' ] != '' ) { print '<tr class="error">'; } else { |
