Changeset 1067
- Timestamp:
- 10/12/07 15:57:18 (1 year ago)
- Files:
-
- trunk/wp-admin/wpmu-edit.php (modified) (1 diff)
- trunk/wp-admin/wpmu-options.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-admin/wpmu-edit.php
r1066 r1067 26 26 update_site_option( "illegal_names", $names ); 27 27 update_site_option( "registration", $wpdb->escape( $_POST[ 'registration' ] ) ); 28 update_site_option( "registrationnotification", $wpdb->escape( $_POST[ 'registrationnotification' ] ) ); 28 29 if( $_POST[ 'limited_email_domains' ] != '' ) { 29 30 update_site_option( "limited_email_domains", split( ' ', $_POST[ 'limited_email_domains' ] ) ); trunk/wp-admin/wpmu-options.php
r1064 r1067 36 36 </tr> 37 37 <tr valign="top"> 38 <th scope="row"><?php _e('Allow new blogregistrations') ?></th>38 <th scope="row"><?php _e('Allow new registrations') ?></th> 39 39 <?php 40 40 if( !get_site_option('registration') ) … … 46 46 <input name="registration" type="radio" id="registration4" value='blog' <?php echo get_site_option('registration') == 'blog' ? 'checked' : ''; ?> /> Enabled for blogs only. Only logged in users can create new blogs.<br /> 47 47 <?php _e('Disable or enable registration and who or what can be registered. (Default=all)') ?></td> 48 </tr> 49 <tr valign="top"> 50 <th scope="row"><?php _e('Registration notification') ?></th> 51 <?php 52 if( !get_site_option('registrationnotification') ) 53 update_site_option( 'registrationnotification', 'yes' ); 54 ?> 55 <td><input name="registrationnotification" type="radio" id="registrationnotification1" value='yes' <?php echo get_site_option('registrationnotification') == 'yes' ? 'checked' : ''; ?> /> Yes<br /> 56 <input name="registrationnotification" type="radio" id="registrationnotification2" value='no' <?php echo get_site_option('registrationnotification') == 'no' ? 'checked' : ''; ?> /> No<br /> 57 <?php _e('Send the site admin an email notification every time someone registers a blog or user account.') ?></td> 48 58 </tr> 49 59 <tr valign="top"> … … 106 116 <table width="100%" cellspacing="2" cellpadding="5" class="editform"> 107 117 <?php 108 $lang_files = glob( ABSPATH . WPINC . "/languages/*.mo" );118 $lang_files = glob( ABSPATH . "wp-content/languages/*.mo" ); 109 119 $lang = get_site_option( "WPLANG" ); 110 120 if( is_array( $lang_files ) ) {
