Ticket #7611: 7611.patch
File 7611.patch, 7.5 KB (added by , 7 years ago) |
---|
-
src/bp-groups/bp-groups-admin.php
580 580 do_action_ref_array( 'bp_groups_admin_edit', array( &$group ) ); ?> 581 581 582 582 <div class="wrap"> 583 <h1 ><?php _e( 'Edit Group', 'buddypress' ); ?>583 <h1 class="wp-heading-inline"><?php _e( 'Edit Group', 'buddypress' ); ?></h1> 584 584 585 586 <a class="add-new-h2" href="<?php echo trailingslashit( bp_get_groups_directory_permalink() . 'create' ); ?>"><?php _e( 'Add New', 'buddypress' ); ?></a>587 585 <?php if ( is_user_logged_in() && bp_user_can_create_groups() ) : ?> 586 <a class="page-title-action" href="<?php echo trailingslashit( bp_get_groups_directory_permalink() . 'create' ); ?>"><?php _e( 'Add New', 'buddypress' ); ?></a> 587 <?php endif; ?> 588 588 589 < /h1>589 <hr class="wp-header-end"> 590 590 591 591 <?php // If the user has just made a change to an group, display the status messages. ?> 592 592 <?php if ( !empty( $messages ) ) : ?> … … 752 752 do_action( 'bp_groups_admin_index', $messages ); ?> 753 753 754 754 <div class="wrap"> 755 <h1> 756 <?php _e( 'Groups', 'buddypress' ); ?> 755 <h1 class="wp-heading-inline"><?php _e( 'Groups', 'buddypress' ); ?></h1> 757 756 758 759 <a class="add-new-h2" href="<?php echo trailingslashit( bp_get_groups_directory_permalink() . 'create' ); ?>"><?php _e( 'Add New', 'buddypress' ); ?></a>760 757 <?php if ( is_user_logged_in() && bp_user_can_create_groups() ) : ?> 758 <a class="page-title-action" href="<?php echo trailingslashit( bp_get_groups_directory_permalink() . 'create' ); ?>"><?php _e( 'Add New', 'buddypress' ); ?></a> 759 <?php endif; ?> 761 760 762 <?php if ( !empty( $_REQUEST['s'] ) ) : ?> 763 <span class="subtitle"><?php printf( __( 'Search results for “%s”', 'buddypress' ), wp_html_excerpt( esc_html( stripslashes( $_REQUEST['s'] ) ), 50 ) ); ?></span> 764 <?php endif; ?> 765 </h1> 761 <?php if ( !empty( $_REQUEST['s'] ) ) : ?> 762 <span class="subtitle"><?php printf( __( 'Search results for “%s”', 'buddypress' ), wp_html_excerpt( esc_html( stripslashes( $_REQUEST['s'] ) ), 50 ) ); ?></span> 763 <?php endif; ?> 766 764 765 <hr class="wp-header-end"> 766 767 767 <?php // If the user has just made a change to an group, display the status messages. ?> 768 768 <?php if ( !empty( $messages ) ) : ?> 769 769 <div id="moderated" class="<?php echo ( ! empty( $_REQUEST['error'] ) ) ? 'error' : 'updated'; ?>"><p><?php echo implode( "<br/>\n", $messages ); ?></p></div> -
src/bp-members/classes/class-bp-members-admin.php
942 942 <?php endif; ?> 943 943 944 944 <div class="wrap" id="community-profile-page"> 945 <h1 ><?php echo esc_html( $title ); ?>945 <h1 class="wp-heading-inline"><?php echo esc_html( $title ); ?></h1> 946 946 947 947 <?php if ( empty( $this->is_self_profile ) ) : ?> 948 948 949 949 <?php if ( current_user_can( 'create_users' ) ) : ?> 950 950 951 <a href="user-new.php" class="add-new-h2"><?php echo esc_html_x( 'Add New', 'user', 'buddypress' ); ?></a>951 <a href="user-new.php" class="page-title-action"><?php echo esc_html_x( 'Add New', 'user', 'buddypress' ); ?></a> 952 952 953 953 <?php elseif ( is_multisite() && current_user_can( 'promote_users' ) ) : ?> 954 954 955 <a href="user-new.php" class="add-new-h2"><?php echo esc_html_x( 'Add Existing', 'user', 'buddypress' ); ?></a>955 <a href="user-new.php" class="page-title-action"><?php echo esc_html_x( 'Add Existing', 'user', 'buddypress' ); ?></a> 956 956 957 <?php endif; ?>958 959 957 <?php endif; ?> 960 </h1>961 958 959 <?php endif; ?> 960 961 <hr class="wp-header-end"> 962 962 963 <?php if ( ! empty( $user ) ) : 963 964 964 965 $this->profile_nav( $user, 'BuddyPress' ); ?> … … 1918 1919 ?> 1919 1920 1920 1921 <div class="wrap"> 1921 <h1 ><?php _e( 'Users', 'buddypress' ); ?>1922 <h1 class="wp-heading-inline"><?php _e( 'Users', 'buddypress' ); ?></h1> 1922 1923 1923 1924 <?php if ( current_user_can( 'create_users' ) ) : ?> 1924 1925 1925 <a href="user-new.php" class="add-new-h2"><?php echo esc_html_x( 'Add New', 'user', 'buddypress' ); ?></a>1926 <a href="user-new.php" class="page-title-action"><?php echo esc_html_x( 'Add New', 'user', 'buddypress' ); ?></a> 1926 1927 1927 1928 <?php elseif ( is_multisite() && current_user_can( 'promote_users' ) ) : ?> 1928 1929 1929 <a href="user-new.php" class="add-new-h2"><?php echo esc_html_x( 'Add Existing', 'user', 'buddypress' ); ?></a>1930 <a href="user-new.php" class="page-title-action"><?php echo esc_html_x( 'Add Existing', 'user', 'buddypress' ); ?></a> 1930 1931 1931 1932 <?php endif; 1932 1933 1933 1934 1935 1934 if ( $usersearch ) { 1935 printf( '<span class="subtitle">' . __( 'Search results for “%s”', 'buddypress' ) . '</span>', esc_html( $usersearch ) ); 1936 } 1936 1937 1937 ?> 1938 </h1> 1938 ?> 1939 1939 1940 <hr class="wp-header-end"> 1941 1940 1942 <?php // Display each signups on its own row. ?> 1941 1943 <?php $bp_members_signup_list_table->views(); ?> 1942 1944 -
src/bp-templates/bp-nouveau/includes/messages/classes.php
171 171 ?> 172 172 <div class="wrap"> 173 173 174 <h1> 175 <?php echo esc_html_x( 'All Member Notices', 'Notices admin page title', 'buddypress' ); ?> 176 <a id="add_notice" class="add-new-h2" href="#"><?php esc_html_e( 'Add New Notice', 'buddypress' ); ?></a> 177 </h1> 174 <h1 class="wp-heading-inline"><?php echo esc_html_x( 'All Member Notices', 'Notices admin page title', 'buddypress' ); ?></h1> 178 175 176 <a id="add_notice" class="page-title-action" href="#"><?php esc_html_e( 'Add New Notice', 'buddypress' ); ?></a> 177 178 <hr class="wp-header-end"> 179 179 180 <form action=<?php echo esc_url( $this->url ); ?> method="post"> 180 181 <table class="widefat"> 181 182 <tr> -
src/bp-xprofile/bp-xprofile-admin.php
134 134 135 135 <div class="wrap"> 136 136 137 <h1> 138 <?php _ex( 'Profile Fields', 'Settings page header', 'buddypress'); ?> 139 <a id="add_group" class="add-new-h2" href="users.php?page=bp-profile-setup&mode=add_group"><?php _e( 'Add New Field Group', 'buddypress' ); ?></a> 140 </h1> 137 <h1 class="wp-heading-inline"><?php _ex( 'Profile Fields', 'Settings page header', 'buddypress'); ?></h1> 141 138 139 <a id="add_group" class="page-title-action" href="users.php?page=bp-profile-setup&mode=add_group"><?php _e( 'Add New Field Group', 'buddypress' ); ?></a> 140 141 <hr class="wp-header-end"> 142 142 143 <form action="" id="profile-field-form" method="post"> 143 144 144 145 <?php