wp/wp-admin/network/settings.php
changeset 22 8c2e4d02f4ef
parent 21 48c4eec2b7e6
equal deleted inserted replaced
21:48c4eec2b7e6 22:8c2e4d02f4ef
   246 					<label><input name="registrationnotification" type="checkbox" id="registrationnotification" value="yes"<?php checked( get_site_option( 'registrationnotification' ), 'yes' ); ?> /> <?php _e( 'Send the network admin an email notification every time someone registers a site or user account' ); ?></label>
   246 					<label><input name="registrationnotification" type="checkbox" id="registrationnotification" value="yes"<?php checked( get_site_option( 'registrationnotification' ), 'yes' ); ?> /> <?php _e( 'Send the network admin an email notification every time someone registers a site or user account' ); ?></label>
   247 				</td>
   247 				</td>
   248 			</tr>
   248 			</tr>
   249 
   249 
   250 			<tr id="addnewusers">
   250 			<tr id="addnewusers">
   251 				<th scope="row"><?php _e( 'Add New Users' ); ?></th>
   251 				<th scope="row"><?php _e( 'Add Users' ); ?></th>
   252 				<td>
   252 				<td>
   253 					<label><input name="add_new_users" type="checkbox" id="add_new_users" value="1"<?php checked( get_site_option( 'add_new_users' ) ); ?> /> <?php _e( 'Allow site administrators to add new users to their site via the "Users &rarr; Add New" page' ); ?></label>
   253 					<label><input name="add_new_users" type="checkbox" id="add_new_users" value="1"<?php checked( get_site_option( 'add_new_users' ) ); ?> /> <?php _e( 'Allow site administrators to add new users to their site via the "Users &rarr; Add User" page' ); ?></label>
   254 				</td>
   254 				</td>
   255 			</tr>
   255 			</tr>
   256 
   256 
   257 			<tr>
   257 			<tr>
   258 				<th scope="row"><label for="illegal_names"><?php _e( 'Banned Names' ); ?></label></th>
   258 				<th scope="row"><label for="illegal_names"><?php _e( 'Banned Names' ); ?></label></th>
   403 		<h2><?php _e( 'Upload Settings' ); ?></h2>
   403 		<h2><?php _e( 'Upload Settings' ); ?></h2>
   404 		<table class="form-table" role="presentation">
   404 		<table class="form-table" role="presentation">
   405 			<tr>
   405 			<tr>
   406 				<th scope="row"><?php _e( 'Site upload space' ); ?></th>
   406 				<th scope="row"><?php _e( 'Site upload space' ); ?></th>
   407 				<td>
   407 				<td>
   408 					<label><input type="checkbox" id="upload_space_check_disabled" name="upload_space_check_disabled" value="0"<?php checked( (bool) get_site_option( 'upload_space_check_disabled' ), false ); ?>/>
   408 					<label><input type="checkbox" id="upload_space_check_disabled" name="upload_space_check_disabled" value="0"<?php checked( (bool) get_site_option( 'upload_space_check_disabled' ), false ); ?> />
   409 						<?php
   409 						<?php
   410 						printf(
   410 						printf(
   411 							/* translators: %s: Number of megabytes to limit uploads to. */
   411 							/* translators: %s: Number of megabytes to limit uploads to. */
   412 							__( 'Limit total size of files uploaded to %s MB' ),
   412 							__( 'Limit total size of files uploaded to %s MB' ),
   413 							'</label><label><input name="blog_upload_space" type="number" min="0" style="width: 100px" id="blog_upload_space" aria-describedby="blog-upload-space-desc" value="' . esc_attr( get_site_option( 'blog_upload_space', 100 ) ) . '" />'
   413 							'</label><label><input name="blog_upload_space" type="number" min="0" style="width: 100px" id="blog_upload_space" aria-describedby="blog-upload-space-desc" value="' . esc_attr( get_site_option( 'blog_upload_space', 100 ) ) . '" />'