Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/21/2018 01:00:36 AM (17 months ago)
Author:
djpaul
Message:

Templates, Nouveau: string improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/buddypress/groups/single/admin/manage-members.php

    r12082 r12104  
    99
    1010<h2 class="bp-screen-title <?php if ( bp_is_group_create() ) { echo esc_attr( 'creation-step-name' ); } ?>">
    11     <?php _e( 'Manage Group Members', 'buddypress' ); ?>
     11    <?php esc_html_e( 'Manage Group Members', 'buddypress' ); ?>
    1212</h2>
    1313
    14     <p class="bp-help-text"><?php _e( 'Manage your group members; promote to moderators, admins or demote or ban.', 'buddypress' ); ?></p>
     14    <p class="bp-help-text"><?php esc_html_e( 'Manage your group members; promote to moderators, admins or demote or ban.', 'buddypress' ); ?></p>
    1515
    1616    <dl class="groups-manage-members-list">
    1717
    18     <dt class="admin-section section-title"><?php _e( 'Administrators', 'buddypress' ); ?></dt>
     18    <dt class="admin-section section-title"><?php esc_html_e( 'Administrators', 'buddypress' ); ?></dt>
    1919
    2020    <?php if ( bp_has_members( '&include=' . bp_group_admin_ids() ) ) : ?>
     
    3333
    3434                        <p class="action text-links-list">
    35                             <a class="button confirm admin-demote-to-member" href="<?php bp_group_member_demote_link( bp_get_member_user_id() ); ?>"><?php _e( 'Demote to Member', 'buddypress' ); ?></a>
     35                            <a class="button confirm admin-demote-to-member" href="<?php bp_group_member_demote_link( bp_get_member_user_id() ); ?>"><?php esc_html_e( 'Demote to Member', 'buddypress' ); ?></a>
    3636                        </p>
    3737
     
    4747    <?php if ( bp_group_has_moderators() ) : ?>
    4848
    49         <dt class="moderator-section section-title"><?php _e( 'Moderators', 'buddypress' ); ?></dt>
     49        <dt class="moderator-section section-title"><?php esc_html_e( 'Moderators', 'buddypress' ); ?></dt>
    5050
    5151        <dd class="moderator-listing">
     
    6262
    6363                    <div class="members-manage-buttons action text-links-list">
    64                         <a href="<?php bp_group_member_promote_admin_link( array( 'user_id' => bp_get_member_user_id() ) ); ?>" class="button confirm mod-promote-to-admin"><?php _e( 'Promote to Admin', 'buddypress' ); ?></a>
    65                         <a class="button confirm mod-demote-to-member" href="<?php bp_group_member_demote_link( bp_get_member_user_id() ); ?>"><?php _e( 'Demote to Member', 'buddypress' ); ?></a>
     64                        <a href="<?php bp_group_member_promote_admin_link( array( 'user_id' => bp_get_member_user_id() ) ); ?>" class="button confirm mod-promote-to-admin"><?php esc_html_e( 'Promote to Admin', 'buddypress' ); ?></a>
     65                        <a class="button confirm mod-demote-to-member" href="<?php bp_group_member_demote_link( bp_get_member_user_id() ); ?>"><?php esc_html_e( 'Demote to Member', 'buddypress' ); ?></a>
    6666                    </div>
    6767
     
    9696                        <p class="list-title member-name">
    9797                            <?php bp_group_member_link(); ?>
    98                             <span class="banned warn"><?php if ( bp_get_group_member_is_banned() ) _e( '(banned)', 'buddypress' ); ?></span>
     98                            <span class="banned warn">
     99                                <?php if ( bp_get_group_member_is_banned() ) : ?>
     100                                    <?php
     101                                    /* translators: indicates a user is banned from a group, e.g. "Mike (banned)". */
     102                                    esc_html_e( '(banned)', 'buddypress' );
     103                                    ?>
     104                                <?php endif; ?>
     105                            </span>
    99106                        </p>
    100107
Note: See TracChangeset for help on using the changeset viewer.