Changeset 2436 for trunk/bb-includes/functions.bb-template.php
- Timestamp:
- 06/03/2010 01:11:58 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/bb-includes/functions.bb-template.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bb-includes/functions.bb-template.php
r2435 r2436 498 498 499 499 switch ( bb_get_location() ) { 500 case 'search-page': 501 if ( !$q = trim( @$_GET['search'] ) ) 502 if ( !$q = trim( @$_GET['q'] ) ) 503 break; 504 $title[] = sprintf( __( 'Search for %s' ), esc_html( $q ) ); 505 break; 500 506 case 'front-page': 501 507 if ( !empty( $args['front'] ) ) … … 516 522 $title[] = esc_html( bb_get_tag_name() ); 517 523 518 $title[] = __( 'Tags');524 $title[] = __( 'Tags' ); 519 525 break; 520 526 … … 1635 1641 1636 1642 $query_obj->form( $args ); 1643 } 1644 1645 function bb_search_pages() { 1646 global $page, $search_count; 1647 echo apply_filters( 'bb_search_pages', get_page_number_links( array( 'page' => $page, 'total' => $search_count, 'per_page' => 5, 'mod_rewrite' => false ) ) ); 1637 1648 } 1638 1649
Note: See TracChangeset
for help on using the changeset viewer.