/bp-forums/bbpress/bb-admin/admin-base.php

  1. <?php 
  2. require_once('admin.php'); 
  3.  
  4. do_action( $bb_admin_page . '_pre_head' ); 
  5.  
  6. bb_get_admin_header();  
  7. ?> 
  8.  
  9. <div class="wrap"> 
  10.  
  11. <?php if ( is_callable($bb_admin_page) ) : call_user_func( $bb_admin_page ); else : ?> 
  12.  
  13. <h2><?php _e( 'Page not found' ); ?></h2> 
  14. <?php 
  15. bb_admin_notice( __( 'There is no administration page at the requested address. Please check the address you entered and try again.' ), 'error' ); 
  16. do_action( 'bb_admin_notices' ); 
  17. ?> 
  18.  
  19. <?php endif; ?> 
  20.  
  21. </div> 
  22.  
  23. <?php bb_get_admin_footer(); ?> 
.