Ticket #13479: ms-options.diff
| File ms-options.diff, 2.4 KB (added by , 16 years ago) |
|---|
-
ms-options.php
144 144 <?php $limited_email_domains = get_site_option( 'limited_email_domains' ); 145 145 $limited_email_domains = str_replace( ' ', "\n", $limited_email_domains ); ?> 146 146 <textarea name="limited_email_domains" id="limited_email_domains" cols="45" rows="5"> 147 <?php echo wp_htmledit_pre( $limited_email_domains == '' ? '' : implode( "\n", (array) $limited_email_domains ) ); ?></textarea> 147 <?php echo wp_htmledit_pre( $limited_email_domains == '' ? '' : implode( "\n", (array) $limited_email_domains ) ); ?> 148 </textarea> 148 149 <br /> 149 150 <?php _e( 'If you want to limit site registrations to certain domains. One domain per line.' ) ?> 150 151 </td> … … 154 155 <th scope="row"><label for="banned_email_domains"><?php _e('Banned Email Domains') ?></label></th> 155 156 <td> 156 157 <textarea name="banned_email_domains" id="banned_email_domains" cols="45" rows="5"> 157 <?php echo wp_htmledit_pre( get_site_option( 'banned_email_domains' ) == '' ? '' : implode( "\n", (array) get_site_option( 'banned_email_domains' ) ) ); ?></textarea> 158 <?php echo wp_htmledit_pre( get_site_option( 'banned_email_domains' ) == '' ? '' : implode( "\n", (array) get_site_option( 'banned_email_domains' ) ) ); ?> 159 </textarea> 158 160 <br /> 159 161 <?php _e( 'If you want to ban domains from site registrations. One domain per line.' ) ?> 160 162 </td> 161 163 </tr> 162 164 163 165 </table> 164 166 <h3><?php _e('New Site Settings'); ?></h3> 165 167 <table class="form-table"> … … 182 184 <?php _e( 'The welcome email sent to new users.' ) ?> 183 185 </td> 184 186 </tr> 187 185 188 <tr valign="top"> 189 <th scope="row"><label for="file_upload_max_message"><?php _e('File Upload Max Reached Message') ?></label></th> 190 <td> 191 <textarea name="file_upload_max_message" id="file_upload_max_message" cols="45" rows="5"> 192 <?php echo wp_htmledit_pre( get_site_option( 'file_upload_max_message' ) ); ?> 193 </textarea> 194 <br /> 195 <?php _e( 'If you want to customize the message users receive when they reach their maximum file upload limit, enter it here.' ) ?> 196 </td> 197 </tr> 198 199 <tr valign="top"> 186 200 <th scope="row"><label for="first_post"><?php _e( 'First Post' ) ?></label></th> 187 201 <td> 188 202 <textarea name="first_post" id="first_post" rows="5" cols="45" class="large-text">