$reg =
get_site_option( 'registration'
);
?>
<td>
<fieldset>
<legend class="screen-reader-text">
<?php
/* translators: Hidden accessibility text. */
_e( 'New registrations settings'
);
?>
</legend>
<label><input name="registration" type="radio" id="registration1" value="none"<?php
checked( $reg, 'none'
); ?> /> <?php
_e( 'Registration is disabled'
); ?></label><br />
<label><input name="registration" type="radio" id="registration2" value="user"<?php
checked( $reg, 'user'
); ?> /> <?php
_e( 'User accounts may be registered'
); ?></label><br />
<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 />
<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>
<?php
if ( is_subdomain_install() ) { echo '<p class="description">';
printf( /* translators: 1: NOBLOGREDIRECT, 2: wp-config.php */
__( 'If registration is disabled, please set %1$s in %2$s to a URL you will redirect visitors to if they visit a non-existent site.'
),
'<code>NOBLOGREDIRECT</code>',
'<code>wp-config.php</code>'
);