Skip to:
Content

BuddyPress.org

Ticket #7995: 7995.patch

File 7995.patch, 5.3 KB (added by imath, 8 years ago)
  • src/bp-templates/bp-nouveau/buddypress/activity/index.php

    diff --git src/bp-templates/bp-nouveau/buddypress/activity/index.php src/bp-templates/bp-nouveau/buddypress/activity/index.php
    index d9c0f6a46..4f15ce05b 100644
     
    33 * BuddyPress Activity templates
    44 *
    55 * @since 2.3.0
    6  * @version 3.0.0
     6 * @version 4.0.0
    77 */
    88?>
    99
     
    3939
    4040        </div><!-- // .screen-content -->
    4141
     42        <?php bp_nouveau_after_directory_page(); ?>
  • src/bp-templates/bp-nouveau/buddypress/blogs/index.php

    diff --git src/bp-templates/bp-nouveau/buddypress/blogs/index.php src/bp-templates/bp-nouveau/buddypress/blogs/index.php
    index cf9ec795b..776d28333 100644
     
    33 * BuddyPress - Blogs Directory
    44 *
    55 * @since 3.0.0
    6  * @version 3.0.0
     6 * @version 4.0.0
    77 */
    88?>
    99
     
    2626                <?php bp_nouveau_after_blogs_directory_content(); ?>
    2727        </div><!-- // .screen-content -->
    2828
     29        <?php bp_nouveau_after_directory_page(); ?>
  • src/bp-templates/bp-nouveau/buddypress/groups/index.php

    diff --git src/bp-templates/bp-nouveau/buddypress/groups/index.php src/bp-templates/bp-nouveau/buddypress/groups/index.php
    index 1558985e1..15844bc16 100644
     
    33 * BP Nouveau - Groups Directory
    44 *
    55 * @since 3.0.0
    6  * @version 3.0.0
     6 * @version 4.0.0
    77 */
    88?>
    99
     
    2828        <?php bp_nouveau_after_groups_directory_content(); ?>
    2929        </div><!-- // .screen-content -->
    3030
     31        <?php bp_nouveau_after_directory_page(); ?>
  • src/bp-templates/bp-nouveau/buddypress/members/index.php

    diff --git src/bp-templates/bp-nouveau/buddypress/members/index.php src/bp-templates/bp-nouveau/buddypress/members/index.php
    index b2e6e5db0..ca3e82c58 100644
     
    22/**
    33 * BuddyPress Members Directory
    44 *
    5  * @version 3.0.0
     5 * @since 3.0.0
     6 * @version 4.0.0
    67 */
    78
    89?>
     
    2526
    2627                <?php bp_nouveau_after_members_directory_content(); ?>
    2728        </div><!-- // .screen-content -->
     29
     30        <?php bp_nouveau_after_directory_page(); ?>
  • src/bp-templates/bp-nouveau/includes/blogs/template-tags.php

    diff --git src/bp-templates/bp-nouveau/includes/blogs/template-tags.php src/bp-templates/bp-nouveau/includes/blogs/template-tags.php
    index 8f21a8f86..643a9ed6f 100644
     
    33 * Blogs Template tags
    44 *
    55 * @since 3.0.0
    6  * @version 3.0.0
     6 * @version 4.0.0
    77 */
    88
    99// Exit if accessed directly.
    function bp_nouveau_after_blogs_directory_content() { 
    7171         * @since 1.5.0
    7272         */
    7373        do_action( 'bp_after_directory_blogs' );
    74 
    75         /**
    76          * Fires at the bottom of the blogs directory template file.
    77          *
    78          * @since 2.3.0
    79          */
    80         do_action( 'bp_after_directory_blogs_page' );
    8174}
    8275
    8376/**
  • src/bp-templates/bp-nouveau/includes/groups/template-tags.php

    diff --git src/bp-templates/bp-nouveau/includes/groups/template-tags.php src/bp-templates/bp-nouveau/includes/groups/template-tags.php
    index 24f4f392d..144cc49fc 100644
     
    33 * Groups Template tags
    44 *
    55 * @since 3.0.0
    6  * @version 3.2.0
     6 * @version 4.0.0
    77 */
    88
    99// Exit if accessed directly.
    function bp_nouveau_after_groups_directory_content() { 
    6565         * @since 1.1.0
    6666         */
    6767        do_action( 'bp_after_directory_groups' );
    68 
    69         /**
    70          * Fires at the bottom of the groups directory template file.
    71          *
    72          * @since 1.5.0
    73          */
    74         do_action( 'bp_after_directory_groups_page' );
    7568}
    7669
    7770/**
  • src/bp-templates/bp-nouveau/includes/members/template-tags.php

    diff --git src/bp-templates/bp-nouveau/includes/members/template-tags.php src/bp-templates/bp-nouveau/includes/members/template-tags.php
    index 82058a60c..ffc0efc2f 100644
     
    33 * Members template tags
    44 *
    55 * @since 3.0.0
    6  * @version 3.1.0
     6 * @version 4.0.0
    77 */
    88
    99// Exit if accessed directly.
    function bp_nouveau_after_members_directory_content() { 
    7272         * @since 1.1.0
    7373         */
    7474        do_action( 'bp_after_directory_members' );
    75 
    76         /**
    77          * Fires at the bottom of the members directory template file.
    78          *
    79          * @since 1.5.0
    80          */
    81         do_action( 'bp_after_directory_members_page' );
    8275}
    8376
    8477/**
  • src/bp-templates/bp-nouveau/includes/template-tags.php

    diff --git src/bp-templates/bp-nouveau/includes/template-tags.php src/bp-templates/bp-nouveau/includes/template-tags.php
    index a0341a0bd..3e7404ba9 100644
    function bp_dir_is_vert_layout() { 
    656656        return (bool) $bp_nouveau->{$component}->directory_vertical_layout;
    657657}
    658658
     659/**
     660 * Template tag to wrap the Legacy actions that was used
     661 * after the components directory page.
     662 *
     663 * @since 4.0.0
     664 */
     665function bp_nouveau_after_directory_page() {
     666        $component = bp_current_component();
     667
     668        /**
     669         * Fires at the bottom of the activity, members, groups and blogs directory template file.
     670         *
     671         * @since 1.5.0 Added to the members, groups directory template file.
     672         * @since 2.3.0 Added to the blogs directory template file.
     673         * @since 4.0.0 Added to the activity directory template file.
     674         */
     675        do_action( "bp_after_directory_{$component}_page" );
     676}
     677
    659678/**
    660679 * Get the full size avatar args.
    661680 *