Changeset 26362
- Timestamp:
- 11/24/2013 04:57:07 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/network/settings.php
r26359 r26362 95 95 <td> 96 96 <input name="site_name" type="text" id="site_name" class="regular-text" value="<?php echo esc_attr( $current_site->site_name ) ?>" /> 97 <br /> 98 <?php _e( 'What you would like to call this network.' ) ?> 97 <p class="description"> 98 <?php _e( 'What you would like to call this network.' ) ?> 99 </p> 99 100 </td> 100 101 </tr> … … 104 105 <td> 105 106 <input name="admin_email" type="text" id="admin_email" class="regular-text" value="<?php echo esc_attr( get_site_option('admin_email') ) ?>" /> 106 <br /> 107 <?php _e( 'This email address will send update notifcations, and also receive site creation and new user registration notifications.' ); ?> 107 <p class="description"> 108 <?php _e( 'This email address will send update notifcations, and also receive site creation and new user registration notifications.' ); ?> 109 </p> 108 110 </td> 109 111 </tr> … … 122 124 <label><input name="registration" type="radio" id="registration2" value="user"<?php checked( $reg, 'user') ?> /> <?php _e( 'User accounts may be registered.' ); ?></label><br /> 123 125 <label><input name="registration" type="radio" id="registration3" value="blog"<?php checked( $reg, 'blog') ?> /> <?php _e( 'Logged in users may register new sites.' ); ?></label><br /> 124 <label><input name="registration" type="radio" id="registration4" value="all"<?php checked( $reg, 'all') ?> /> <?php _e( 'Both sites and user accounts can be registered.' ); ?></label><br /> 125 <?php if ( is_subdomain_install() ) 126 <label><input name="registration" type="radio" id="registration4" value="all"<?php checked( $reg, 'all') ?> /> <?php _e( 'Both sites and user accounts can be registered.' ); ?></label> 127 <p class="description"> 128 <?php if ( is_subdomain_install() ) 126 129 _e( 'If registration is disabled, please set <code>NOBLOGREDIRECT</code> in <code>wp-config.php</code> to a URL you will redirect visitors to if they visit a non-existent site.' ); 127 130 ?> 131 </p> 128 132 </td> 129 133 </tr> … … 151 155 <td> 152 156 <input name="illegal_names" type="text" id="illegal_names" class="large-text" value="<?php echo esc_attr( implode( " ", (array) get_site_option( 'illegal_names' ) ) ); ?>" size="45" /> 153 <br /> 154 <?php _e( 'Users are not allowed to register these sites. Separate names by spaces.' ) ?> 157 <p class="description"> 158 <?php _e( 'Users are not allowed to register these sites. Separate names by spaces.' ) ?> 159 </p> 155 160 </td> 156 161 </tr> … … 163 168 <textarea name="limited_email_domains" id="limited_email_domains" cols="45" rows="5"> 164 169 <?php echo esc_textarea( $limited_email_domains == '' ? '' : implode( "\n", (array) $limited_email_domains ) ); ?></textarea> 165 <br /> 166 <?php _e( 'If you want to limit site registrations to certain domains. One domain per line.' ) ?> 170 <p class="description"> 171 <?php _e( 'If you want to limit site registrations to certain domains. One domain per line.' ) ?> 172 </p> 167 173 </td> 168 174 </tr> … … 173 179 <textarea name="banned_email_domains" id="banned_email_domains" cols="45" rows="5"> 174 180 <?php echo esc_textarea( get_site_option( 'banned_email_domains' ) == '' ? '' : implode( "\n", (array) get_site_option( 'banned_email_domains' ) ) ); ?></textarea> 175 <br /> 176 <?php _e( 'If you want to ban domains from site registrations. One domain per line.' ) ?> 181 <p class="description"> 182 <?php _e( 'If you want to ban domains from site registrations. One domain per line.' ) ?> 183 </p> 177 184 </td> 178 185 </tr> … … 187 194 <textarea name="welcome_email" id="welcome_email" rows="5" cols="45" class="large-text"> 188 195 <?php echo esc_textarea( get_site_option( 'welcome_email' ) ) ?></textarea> 189 <br /> 190 <?php _e( 'The welcome email sent to new site owners.' ) ?> 196 <p class="description"> 197 <?php _e( 'The welcome email sent to new site owners.' ) ?> 198 </p> 191 199 </td> 192 200 </tr> … … 196 204 <textarea name="welcome_user_email" id="welcome_user_email" rows="5" cols="45" class="large-text"> 197 205 <?php echo esc_textarea( get_site_option( 'welcome_user_email' ) ) ?></textarea> 198 <br /> 199 <?php _e( 'The welcome email sent to new users.' ) ?> 206 <p class="description"> 207 <?php _e( 'The welcome email sent to new users.' ) ?> 208 </p> 200 209 </td> 201 210 </tr> … … 205 214 <textarea name="first_post" id="first_post" rows="5" cols="45" class="large-text"> 206 215 <?php echo esc_textarea( get_site_option( 'first_post' ) ) ?></textarea> 207 <br /> 208 <?php _e( 'The first post on a new site.' ) ?> 216 <p class="description"> 217 <?php _e( 'The first post on a new site.' ) ?> 218 </p> 209 219 </td> 210 220 </tr> … … 214 224 <textarea name="first_page" id="first_page" rows="5" cols="45" class="large-text"> 215 225 <?php echo esc_textarea( get_site_option( 'first_page' ) ) ?></textarea> 216 <br /> 217 <?php _e( 'The first page on a new site.' ) ?> 226 <p class="description"> 227 <?php _e( 'The first page on a new site.' ) ?> 228 </p> 218 229 </td> 219 230 </tr> … … 223 234 <textarea name="first_comment" id="first_comment" rows="5" cols="45" class="large-text"> 224 235 <?php echo esc_textarea( get_site_option( 'first_comment' ) ) ?></textarea> 225 <br /> 226 <?php _e( 'The first comment on a new site.' ) ?> 236 <p class="description"> 237 <?php _e( 'The first comment on a new site.' ) ?> 238 </p> 227 239 </td> 228 240 </tr> … … 231 243 <td> 232 244 <input type="text" size="40" name="first_comment_author" id="first_comment_author" value="<?php echo get_site_option('first_comment_author') ?>" /> 233 <br /> 234 <?php _e( 'The author of the first comment on a new site.' ) ?> 245 <p class="description"> 246 <?php _e( 'The author of the first comment on a new site.' ) ?> 247 </p> 235 248 </td> 236 249 </tr> … … 239 252 <td> 240 253 <input type="text" size="40" name="first_comment_url" id="first_comment_url" value="<?php echo esc_attr( get_site_option( 'first_comment_url' ) ) ?>" /> 241 <br /> 242 <?php _e( 'The URL for the first comment on a new site.' ) ?> 254 <p class="description"> 255 <?php _e( 'The URL for the first comment on a new site.' ) ?> 256 </p> 243 257 </td> 244 258 </tr>
Note: See TracChangeset
for help on using the changeset viewer.