Skip to:
Content

BuddyPress.org

Ticket #7728: 7728-groups-create-n-counterpart.patch

File 7728-groups-create-n-counterpart.patch, 5.2 KB (added by mercime, 7 years ago)
  • src/bp-templates/bp-nouveau/buddypress/common/js-templates/invites/index.php

     
    99 */
    1010?>
    1111
    12 <h2 class="bp-screen-title <?php if ( bp_is_group_create() ) { echo esc_attr( 'creation-step-name' ); } ?>">
    13         <?php _e( 'Invite Members', 'buddypress' ); ?>
    14 </h2>
     12<?php if ( bp_is_group_create() ) : ?>
    1513
     14        <h3 class="bp-screen-title creation-step-name">
     15                <?php esc_html_e( 'Invite Members', 'buddypress' ); ?>
     16        </h3>
     17
     18<?php else : ?>
     19
     20        <h2 class="bp-screen-title">
     21                <?php esc_html_e( 'Invite Members', 'buddypress' ); ?>
     22        </h2>
     23
     24<?php endif; ?>
     25
    1626<div id="group-invites-container">
    1727
    1828        <nav class="<?php bp_nouveau_single_item_subnav_classes(); ?>" id="subnav" role="navigation" aria-label="<?php esc_attr_e( 'Group invitations menu', 'buddypress' ); ?>"></nav>
  • src/bp-templates/bp-nouveau/buddypress/groups/single/admin/edit-details.php

     
    55 * @since 3.0.0
    66 */
    77?>
    8 <h2 class="bp-screen-title <?php if ( bp_is_group_create() ) { echo esc_attr( 'creation-step-name' ); } ?>">
    9         <?php esc_html_e( 'Edit your group\'s name &amp; description', 'buddypress' ); ?>
    10 </h2>
    118
     9<?php if ( bp_is_group_create() ) : ?>
     10
     11        <h3 class="bp-screen-title creation-step-name">
     12                <?php _e( 'Enter Group Name &amp; Description', 'buddypress' ); ?>
     13        </h3>
     14
     15<?php else : ?>
     16
     17        <h2 class="bp-screen-title">
     18                <?php _e( 'Edit Group Name &amp; Description', 'buddypress' ); ?>
     19        </h2>
     20
     21<?php endif; ?>
     22
    1223<label for="group-name"><?php _e( 'Group Name (required)', 'buddypress' ); ?></label>
    1324<input type="text" name="group-name" id="group-name" value="<?php bp_is_group_create() ? bp_new_group_name() : bp_group_name(); ?>" aria-required="true" />
    1425
  • src/bp-templates/bp-nouveau/buddypress/groups/single/admin/group-avatar.php

     
    55 * @since 3.0.0
    66 */
    77?>
    8 <h2 class="bp-screen-title <?php if ( bp_is_group_create() ) { echo esc_attr( 'creation-step-name' ); } ?>">
    9         <?php _e( 'Group Avatar', 'buddypress' ); ?>
    10 </h2>
    118
     9<?php if ( bp_is_group_create() ) : ?>
     10
     11        <h3 class="bp-screen-title creation-step-name">
     12                <?php esc_html_e( 'Upload Group Avatar', 'buddypress' ); ?>
     13        </h3>
     14
     15<?php else : ?>
     16
     17        <h2 class="bp-screen-title">
     18                <?php esc_html_e( 'Change Group Avatar', 'buddypress' ); ?>
     19        </h2>
     20
     21<?php endif; ?>
     22
    1223<?php if ( ! bp_is_group_create() ) : ?>
    1324        <?php if ( ! bp_get_group_has_avatar() ) : ?>
    1425                <p class="bp-help-text"><?php _e( 'Add an image to use as a profile photo for this group. The image will be shown on the main group page, and in search results.', 'buddypress' ); ?></p>
  • src/bp-templates/bp-nouveau/buddypress/groups/single/admin/group-cover-image.php

     
    88
    99<?php if ( bp_is_group_create() ) : ?>
    1010
    11         <h2 class="bp-screen-title <?php if ( bp_is_group_create() ) { echo esc_attr( 'creation-step-name' ); } ?>">
    12                 <?php _e( 'Upload a Cover Image', 'buddypress' ); ?>
     11        <h2 class="bp-screen-title creation-step-name">
     12                <?php esc_html_e( 'Upload Cover Image', 'buddypress' ); ?>
    1313        </h2>
    1414
    1515        <div id="header-cover-image"></div>
     
    1616
    1717<?php else : ?>
    1818
    19         <h2 class="bp-screen-title"><?php _e( 'Change Cover Image', 'buddypress' ); ?></h2>
     19        <h2 class="bp-screen-title">
     20                <?php esc_html_e( 'Change Cover Image', 'buddypress' ); ?>
     21        </h2>
    2022
    2123<?php endif; ?>
    2224
  • src/bp-templates/bp-nouveau/buddypress/groups/single/admin/group-settings.php

     
    66 */
    77?>
    88
    9 <h2 class="bp-screen-title <?php if ( bp_is_group_create() ) : ?>creation-step-name<?php endif; ?>">
    10         <?php _e( 'Group Settings', 'buddypress' ); ?>
    11 </h2>
     9<?php if ( bp_is_group_create() ) : ?>
    1210
     11        <h3 class="bp-screen-title creation-step-name">
     12                <?php esc_html_e( 'Select Group Settings', 'buddypress' ); ?>
     13        </h3>
     14
     15<?php else : ?>
     16
     17        <h2 class="bp-screen-title">
     18                <?php esc_html_e( 'Change Group Settings', 'buddypress' ); ?>
     19        </h2>
     20
     21<?php endif; ?>
     22
    1323<div class="group-settings-selections">
    1424
    1525        <fieldset class="radio group-status-type">