From d56d78df31bea4849162fd0ea5dc8a46e7e1d50c Mon Sep 17 00:00:00 2001 From: donncha Date: Fri, 12 Oct 2007 15:57:18 +0000 Subject: Added backend code for "registration notification" feature Default language is in wp-content/languages/ - fixes #438, thanks mastermind! git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1067 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-admin/wpmu-edit.php | 1 + wp-admin/wpmu-options.php | 14 ++++++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) (limited to 'wp-admin') diff --git a/wp-admin/wpmu-edit.php b/wp-admin/wpmu-edit.php index be25f88..5665924 100644 --- a/wp-admin/wpmu-edit.php +++ b/wp-admin/wpmu-edit.php @@ -25,6 +25,7 @@ switch( $_REQUEST[ 'action' ] ) { } update_site_option( "illegal_names", $names ); update_site_option( "registration", $wpdb->escape( $_POST[ 'registration' ] ) ); + update_site_option( "registrationnotification", $wpdb->escape( $_POST[ 'registrationnotification' ] ) ); if( $_POST[ 'limited_email_domains' ] != '' ) { update_site_option( "limited_email_domains", split( ' ', $_POST[ 'limited_email_domains' ] ) ); } else { diff --git a/wp-admin/wpmu-options.php b/wp-admin/wpmu-options.php index 9025e99..8361389 100644 --- a/wp-admin/wpmu-options.php +++ b/wp-admin/wpmu-options.php @@ -35,7 +35,7 @@ if (isset($_GET['updated'])) { domain ); ?> - + + + + /> Yes
+ /> No
+ + +
@@ -105,7 +115,7 @@ if (isset($_GET['updated'])) { (These settings may be overridden by blog owners)') ?> -- cgit