Ticket #13383: 13383-ms-options.diff
File 13383-ms-options.diff, 4.8 KB (added by , 15 years ago) |
---|
-
wp-admin/ms-options.php
55 55 <tr valign="top"> 56 56 <th scope="row"><?php _e( 'Global Terms' ) ?></th> 57 57 <td> 58 <label><input type="radio" id="global_terms_enabled"name="global_terms_enabled" value="0"<?php checked( get_site_option( 'global_terms_enabled' ), 0 ) ?>/> <?php _e( 'Disabled' ); ?></label><br/>59 <label><input type="radio" id="global_terms_enabled"name="global_terms_enabled" value="1"<?php checked( get_site_option( 'global_terms_enabled' ), 1 ) ?>/> <?php _e( 'Maintain a global list of terms from all sites across the network.' ); ?></label><br />58 <label><input type="radio" name="global_terms_enabled" value="0"<?php checked( get_site_option( 'global_terms_enabled' ), 0 ) ?>/> <?php _e( 'Disabled' ); ?></label><br/> 59 <label><input type="radio" name="global_terms_enabled" value="1"<?php checked( get_site_option( 'global_terms_enabled' ), 1 ) ?>/> <?php _e( 'Maintain a global list of terms from all sites across the network.' ); ?></label><br /> 60 60 <?php if ( ! get_site_option( 'global_terms_enabled') ) { ?> 61 61 <strong><?php _e( 'Warning!' ); ?></strong> <?php _e( 'Enabling global terms will create a new table and synchronize terms across the network.' ); ?> 62 62 <?php } ?></td> … … 175 175 <tr valign="top"> 176 176 <th scope="row"><label for="welcome_email"><?php _e( 'Welcome Email' ) ?></label></th> 177 177 <td> 178 <textarea name="welcome_email" id="welcome_email" rows="5" cols="45" class="large-text"><?php echo stripslashes( get_site_option( 'welcome_email') ) ?></textarea>178 <textarea name="welcome_email" id="welcome_email" rows="5" cols="45" class="large-text"><?php echo wp_htmledit_pre( stripslashes( get_site_option( 'welcome_email' ) ) ) ?></textarea> 179 179 <br /> 180 180 <?php _e( 'The welcome email sent to new site owners.' ) ?> 181 181 </td> … … 183 183 <tr valign="top"> 184 184 <th scope="row"><label for="welcome_user_email"><?php _e( 'Welcome User Email' ) ?></label></th> 185 185 <td> 186 <textarea name="welcome_user_email" id="welcome_user_email" rows="5" cols="45" class="large-text"><?php echo stripslashes( get_site_option( 'welcome_user_email') ) ?></textarea>186 <textarea name="welcome_user_email" id="welcome_user_email" rows="5" cols="45" class="large-text"><?php echo wp_htmledit_pre( stripslashes( get_site_option( 'welcome_user_email' ) ) ) ?></textarea> 187 187 <br /> 188 188 <?php _e( 'The welcome email sent to new users.' ) ?> 189 189 </td> … … 191 191 <tr valign="top"> 192 192 <th scope="row"><label for="first_post"><?php _e( 'First Post' ) ?></label></th> 193 193 <td> 194 <textarea name="first_post" id="first_post" rows="5" cols="45" class="large-text"><?php echo stripslashes( get_site_option( 'first_post') ) ?></textarea>194 <textarea name="first_post" id="first_post" rows="5" cols="45" class="large-text"><?php echo wp_htmledit_pre( stripslashes( get_site_option( 'first_post' ) ) ) ?></textarea> 195 195 <br /> 196 196 <?php _e( 'The first post on a new site.' ) ?> 197 197 </td> … … 199 199 <tr valign="top"> 200 200 <th scope="row"><label for="first_page"><?php _e( 'First Page' ) ?></label></th> 201 201 <td> 202 <textarea name="first_page" id="first_page" rows="5" cols="45" class="large-text"><?php echo stripslashes( get_site_option('first_page') ) ?></textarea>202 <textarea name="first_page" id="first_page" rows="5" cols="45" class="large-text"><?php echo wp_htmledit_pre( stripslashes( get_site_option('first_page') ) ) ?></textarea> 203 203 <br /> 204 204 <?php _e( 'The first page on a new site.' ) ?> 205 205 </td> … … 207 207 <tr valign="top"> 208 208 <th scope="row"><label for="first_comment"><?php _e( 'First Comment' ) ?></label></th> 209 209 <td> 210 <textarea name="first_comment" id="first_comment" rows="5" cols="45" class="large-text"><?php echo stripslashes( get_site_option('first_comment') ) ?></textarea>210 <textarea name="first_comment" id="first_comment" rows="5" cols="45" class="large-text"><?php echo wp_htmledit_pre( stripslashes( get_site_option('first_comment') ) ) ?></textarea> 211 211 <br /> 212 212 <?php _e( 'The first comment on a new site.' ) ?> 213 213 </td> … … 244 244 <th scope="row"><?php _e( 'Site upload space' ) ?></th> 245 245 <td> 246 246 <label><input type="checkbox" id="upload_space_check_disabled" name="upload_space_check_disabled" value="0"<?php checked( get_site_option( 'upload_space_check_disabled' ), 0 ) ?>/> <?php printf( __( 'Limit total size of files uploaded to %s MB' ), '<input name="blog_upload_space" type="text" id="blog_upload_space" value="' . esc_attr( get_site_option('blog_upload_space', 10) ) . '" size="3" />' ); ?></label><br /> 247 </td> 247 248 </tr> 248 249 249 250 <tr valign="top">