Skip to:
Content

BuddyPress.org

Ticket #7271: 7271.patch

File 7271.patch, 4.9 KB (added by mercime, 7 years ago)
  • src/bp-blogs/bp-blogs-template.php

     
    11111111        echo '<input name="blog_title" type="text" id="blog_title" value="'.esc_html($blog_title, 1).'" /></p>';
    11121112        ?>
    11131113
    1114         <p>
    1115                 <label for="blog_public_on"><?php _e('Privacy:', 'buddypress') ?></label>
    1116                 <?php _e( 'I would like my site to appear in search engines, and in public listings around this network.', 'buddypress' ); ?>
     1114        <fieldset class="create-site">
     1115                <legend class="label"><?php _e('Privacy: I would like my site to appear in search engines, and in public listings around this network', 'buddypress') ?></legend>
    11171116
    11181117                <label class="checkbox" for="blog_public_on">
    11191118                        <input type="radio" id="blog_public_on" name="blog_public" value="1" <?php if( !isset( $_POST['blog_public'] ) || '1' == $_POST['blog_public'] ) { ?>checked="checked"<?php } ?> />
     
    11231122                        <input type="radio" id="blog_public_off" name="blog_public" value="0" <?php if( isset( $_POST['blog_public'] ) && '0' == $_POST['blog_public'] ) { ?>checked="checked"<?php } ?> />
    11241123                        <strong><?php _e( 'No' , 'buddypress'); ?></strong>
    11251124                </label>
    1126         </p>
     1125        </fieldset>
    11271126
    11281127        <?php
    11291128
  • src/bp-templates/bp-legacy/buddypress/members/register.php

     
    294294                                                do_action( 'bp_signup_blog_title_errors' ); ?>
    295295                                                <input type="text" name="signup_blog_title" id="signup_blog_title" value="<?php bp_signup_blog_title_value(); ?>" />
    296296
    297                                                 <span class="label"><?php _e( 'I would like my site to appear in search engines, and in public listings around this network.', 'buddypress' ); ?></span>
    298                                                 <?php
     297                                                <fieldset class="register-site">
     298                                                        <legend class="label"><?php _e( 'Privacy: I would like my site to appear in search engines, and in public listings around this network.', 'buddypress' ); ?></legend>
     299                                                        <?php
    299300
    300                                                 /**
    301                                                 * Fires and displays any member registration blog privacy errors.
    302                                                 *
    303                                                 * @since 1.1.0
    304                                                 */
    305                                                 do_action( 'bp_signup_blog_privacy_errors' ); ?>
     301                                                        /**
     302                                                        * Fires and displays any member registration blog privacy errors.
     303                                                        *
     304                                                        * @since 1.1.0
     305                                                        */
     306                                                        do_action( 'bp_signup_blog_privacy_errors' ); ?>
    306307
    307                                                 <label for="signup_blog_privacy_public"><input type="radio" name="signup_blog_privacy" id="signup_blog_privacy_public" value="public"<?php if ( 'public' == bp_get_signup_blog_privacy_value() || !bp_get_signup_blog_privacy_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'Yes', 'buddypress' ); ?></label>
    308                                                 <label for="signup_blog_privacy_private"><input type="radio" name="signup_blog_privacy" id="signup_blog_privacy_private" value="private"<?php if ( 'private' == bp_get_signup_blog_privacy_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'No', 'buddypress' ); ?></label>
     308                                                        <label for="signup_blog_privacy_public"><input type="radio" name="signup_blog_privacy" id="signup_blog_privacy_public" value="public"<?php if ( 'public' == bp_get_signup_blog_privacy_value() || !bp_get_signup_blog_privacy_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'Yes', 'buddypress' ); ?></label>
     309                                                        <label for="signup_blog_privacy_private"><input type="radio" name="signup_blog_privacy" id="signup_blog_privacy_private" value="private"<?php if ( 'private' == bp_get_signup_blog_privacy_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'No', 'buddypress' ); ?></label>
     310                                                </fieldset>
    309311
    310312                                                <?php
    311313
  • src/bp-templates/bp-legacy/css/buddypress-rtl.css

     
    863863        opacity: .4;
    864864}
    865865
     866fieldset.register-site {
     867        margin-top: 1em;
     868}
     869
     870fieldset.create-site {
     871        margin-bottom: 2em;
     872}
     873
     874fieldset.create-site legend {
     875        margin-bottom: 1em;
     876}
     877
     878fieldset.create-site label {
     879        margin-left: 3em;
     880}
     881
    866882.bp-screen-reader-text {
    867883        position: absolute;
    868884        margin: -1px;
  • src/bp-templates/bp-legacy/css/buddypress.css

     
    863863        opacity: .4;
    864864}
    865865
     866fieldset.register-site {
     867        margin-top: 1em;
     868}
     869
     870fieldset.create-site {
     871        margin-bottom: 2em;
     872}
     873
     874fieldset.create-site legend {
     875        margin-bottom: 1em;
     876}
     877
     878fieldset.create-site label {
     879        margin-right: 3em;
     880}
     881
    866882.bp-screen-reader-text {
    867883        position: absolute;
    868884        margin: -1px;