summaryrefslogtreecommitdiffstats
path: root/wp-signup.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-11-15 15:43:26 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-11-15 15:43:26 +0000
commit6980da3826c6fc4aa3420a497fc69e708b7e321d (patch)
tree5fee713cdaad59c3ee2878475bb0d8736840fa95 /wp-signup.php
parent3c97d4f82432ee83162985bf235dc9415162e676 (diff)
downloadwordpress-mu-6980da3826c6fc4aa3420a497fc69e708b7e321d.zip
wordpress-mu-6980da3826c6fc4aa3420a497fc69e708b7e321d.tar.gz
wordpress-mu-6980da3826c6fc4aa3420a497fc69e708b7e321d.tar.xz
Gettext changes, fixes #495
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1145 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-signup.php')
-rw-r--r--wp-signup.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-signup.php b/wp-signup.php
index c0ed66c..8b7b49f 100644
--- a/wp-signup.php
+++ b/wp-signup.php
@@ -93,7 +93,7 @@ function show_blog_form($blog_id = '', $blog_title = '', $errors = '') {
<tr>
<th scope="row" valign="top"><?php _e('Privacy:') ?></th>
<td><?php _e('I would like my blog to appear in search engines like Google and Technorati, and in public listings around this site.'); ?>
-<label><input type="radio" name="blog_public" value="1" <?php if( !isset( $_POST[ 'blog_public' ] ) || $_POST[ 'blog_public' ] == '1' ) { ?>checked="checked"<?php } ?> /> <strong>Yes</strong> </label> <label><input type="radio" name="blog_public" value="0" <?php if( isset( $_POST[ 'blog_public' ] ) && $_POST[ 'blog_public' ] == '0' ) { ?>checked="checked"<?php } ?> /><strong>No</strong> </label> <br />
+<label><input type="radio" name="blog_public" value="1" <?php if( !isset( $_POST[ 'blog_public' ] ) || $_POST[ 'blog_public' ] == '1' ) { ?>checked="checked"<?php } ?> /> <strong><?php _e( 'Yes' ); ?></strong> </label> <label><input type="radio" name="blog_public" value="0" <?php if( isset( $_POST[ 'blog_public' ] ) && $_POST[ 'blog_public' ] == '0' ) { ?>checked="checked"<?php } ?> /><strong><?php _e( 'No' ); ?></strong> </label> <br />
</tr>
<?php
do_action('signup_blogform', $errors);
@@ -386,7 +386,7 @@ if( !$active_signup )
$active_signup = apply_filters( 'wpmu_active_signup', $active_signup ); // return "all", "none", "blog" or "user"
if( is_site_admin() ) {
- echo "<div style='background: #faf; font-weight: bold; border: 1px solid #333; margin: 2px; padding: 2px'>Greetings Site Administrator! You are currently allowing '$active_signup' registrations. To change or disable registration go to your <a href='wp-admin/wpmu-options.php'>Options page</a>.</div>";
+ echo "<div style='background: #faf; font-weight: bold; border: 1px solid #333; margin: 2px; padding: 2px'>" . sprintf( __( "Greetings Site Administrator! You are currently allowing '%s' registrations. To change or disable registration go to your <a href='wp-admin/wpmu-options.php'>Options page</a>." ), $active_signup ) . "</div>";
}
$newblogname = isset($_GET['new']) ? strtolower(preg_replace('/^-|-$|[^-a-zA-Z0-9]/', '', $_GET['new'])) : null;