Changeset 3796 for trunk/bp-themes/bp-default/header.php
- Timestamp:
- 01/21/2011 01:05:56 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/header.php
r3771 r3796 12 12 13 13 <?php 14 if ( is_singular() && bp_is_blog_page() && get_option( 'thread_comments' ) )15 wp_enqueue_script( 'comment-reply' );14 if ( is_singular() && bp_is_blog_page() && get_option( 'thread_comments' ) ) 15 wp_enqueue_script( 'comment-reply' ); 16 16 17 wp_head();17 wp_head(); 18 18 ?> 19 19 </head> … … 34 34 35 35 <?php if ( bp_search_form_enabled() ) : ?> 36 36 37 <form action="<?php echo bp_search_form_action() ?>" method="post" id="search-form"> 37 <input type="text" id="search-terms" name="search-terms" value="" /> 38 <input type="text" id="search-terms" name="search-terms" value="<?php echo isset( $_REQUEST['s'] ) ? esc_attr( $_REQUEST['s'] ) : ''; ?>" /> 39 38 40 <?php echo bp_search_form_type_select() ?> 39 41 40 42 <input type="submit" name="search-submit" id="search-submit" value="<?php _e( 'Search', 'buddypress' ) ?>" /> 43 41 44 <?php wp_nonce_field( 'bp_search_form' ) ?> 45 42 46 </form><!-- #search-form --> 47 43 48 <?php endif; ?> 44 49
Note: See TracChangeset
for help on using the changeset viewer.