Skip to:
Content

bbPress.org

Ticket #1793: feedback_template_filters.patch

File feedback_template_filters.patch, 2.2 KB (added by mordauk, 10 years ago)

Patch for feedback filters.

  • bbp-twentyten/bbpress/feedback-logged-in.php

     
    1010?>
    1111
    1212<div class="bbp-template-notice info">
    13         <p><?php _e( 'You are already logged in.', 'bbpress' ); ?></p>
     13        <p><?php echo apply_filters('bbp_not_logged_in_feedback', __( 'You are already logged in.', 'bbpress' ) ); ?></p>
    1414</div>
  • bbp-twentyten/bbpress/feedback-no-access.php

     
    1313        <h1 class="entry-title"><?php _e( 'Private', 'bbpress' ); ?></h1>
    1414        <div class="entry-content">
    1515                <div class="bbp-template-notice info">
    16                         <p><?php _e( 'You do not have permission to view this forum.', 'bbpress' ); ?></p>
     16                        <p><?php echo apply_filters('bbp_no_access_feedback', __( 'You do not have permission to view this forum.', 'bbpress' ) ); ?></p>
    1717                </div>
    1818        </div>
    1919</div><!-- #forum-private -->
  • bbp-twentyten/bbpress/feedback-no-forums.php

     
    1010?>
    1111
    1212<div class="bbp-template-notice">
    13         <p><?php _e( 'Oh bother! No forums were found here!', 'bbpress' ); ?></p>
     13        <p><?php echo apply_filters('bbp_no_forums_feedback', __( 'Oh bother! No forums were found here!', 'bbpress' ) ); ?></p>
    1414</div>
  • bbp-twentyten/bbpress/feedback-no-topics.php

     
    1010?>
    1111
    1212<div class="bbp-template-notice">
    13         <p><?php _e( 'Oh bother! No topics were found here!', 'bbpress' ); ?></p>
     13        <p><?php echo apply_filters('bbp_no_topics_feedback', __( 'Oh bother! No topics were found here!', 'bbpress' )); ?></p>
    1414</div>