From b83c34a7010faee0223f6037025c350da12e05e6 Mon Sep 17 00:00:00 2001 From: donncha Date: Fri, 12 Oct 2007 16:03:22 +0000 Subject: Added headers. Add big ugly notice for site admins git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1068 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-signup.php | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'wp-signup.php') diff --git a/wp-signup.php b/wp-signup.php index f243c02..2b6df24 100644 --- a/wp-signup.php +++ b/wp-signup.php @@ -1,6 +1,9 @@ \n"; +} + if( $current_blog->domain . $current_blog->path != $current_site->domain . $current_site->path ) { header( "Location: http://" . $current_site->domain . $current_site->path . "wp-signup.php" ); die(); @@ -373,6 +380,10 @@ if( !$active_signup ) $active_signup = apply_filters( 'wpmu_active_signup', $active_signup ); // return "all", "none", "blog" or "user" +if( is_site_admin() ) { + echo "
Greetings Site Administrator! You are currently allowing '$active_signup' registrations. To change or disable registration go to your Options page.
"; +} + $newblogname = isset($_GET['new']) ? strtolower(preg_replace('/^-|-$|[^-a-zA-Z0-9]/', '', $_GET['new'])) : null; if( $_POST['blog_public'] != 1 ) $_POST['blog_public'] = 0; -- cgit