Changeset 4969
- Timestamp:
- 08/12/2011 06:18:33 PM (14 years ago)
- Location:
- trunk/bp-core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-template.php
r4968 r4969 301 301 return apply_filters( 'bp_get_search_default_text', $default_text, $component ); 302 302 } 303 304 function bp_search_form() {305 $form = '306 <form action="' . bp_search_form_action() . '" method="post" id="search-form">307 <input type="text" id="search-terms" name="search-terms" value="" />308 ' . bp_search_form_type_select() . '309 310 <input type="submit" name="search-submit" id="search-submit" value="' . __( 'Search', 'buddypress' ) . '" />311 ' . wp_nonce_field( 'bp_search_form' ) . '312 </form>313 ';314 315 echo apply_filters( 'bp_search_form', $form );316 }317 303 318 304 function bp_custom_profile_boxes() { -
trunk/bp-core/deprecated/1.5.php
r4966 r4969 368 368 } 369 369 370 /** 371 * Last used by core in BP 1.1. The markup was merged into DTheme's header.php template. 372 */ 373 function bp_search_form() { 374 _deprecated_function( __FUNCTION__, '1.1', 'No longer required.' ); 375 376 $form = ' 377 <form action="' . bp_search_form_action() . '" method="post" id="search-form"> 378 <input type="text" id="search-terms" name="search-terms" value="" /> 379 ' . bp_search_form_type_select() . ' 380 381 <input type="submit" name="search-submit" id="search-submit" value="' . __( 'Search', 'buddypress' ) . '" /> 382 ' . wp_nonce_field( 'bp_search_form' ) . ' 383 </form> 384 '; 385 386 echo apply_filters( 'bp_search_form', $form ); 387 } 388 370 389 /** Theme *********************************************************************/ 371 390
Note: See TracChangeset
for help on using the changeset viewer.