Changeset 1719 for trunk/bp-blogs/bp-blogs-templatetags.php
- Timestamp:
- 08/27/2009 10:50:35 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-blogs/bp-blogs-templatetags.php
r1715 r1719 1314 1314 function bp_directory_blogs_search_form() { 1315 1315 global $bp; ?> 1316 <form action=" <?php echo $bp->root_domain . '/' . BP_BLOGS_SLUG . '/search/' ?>" method="post" id="search-blogs-form">1317 <label><input type="text" name=" blogs_search" id="blogs_search" value="<?php if ( isset( $_GET['s'] ) ) { echo $_GET['s']; } else { _e( 'Search anything...', 'buddypress' ); } ?>" onfocus="if (this.value == '<?php _e( 'Search anything...', 'buddypress' ) ?>') {this.value = '';}" onblur="if (this.value == '') {this.value = '<?php _e( 'Search anything...', 'buddypress' ) ?>';}" /></label>1316 <form action="" method="get" id="search-blogs-form"> 1317 <label><input type="text" name="s" id="blogs_search" value="<?php if ( isset( $_GET['s'] ) ) { echo $_GET['s']; } else { _e( 'Search anything...', 'buddypress' ); } ?>" onfocus="if (this.value == '<?php _e( 'Search anything...', 'buddypress' ) ?>') {this.value = '';}" onblur="if (this.value == '') {this.value = '<?php _e( 'Search anything...', 'buddypress' ) ?>';}" /></label> 1318 1318 <input type="submit" id="blogs_search_submit" name="blogs_search_submit" value="<?php _e( 'Search', 'buddypress' ) ?>" /> 1319 1319 </form>
Note: See TracChangeset
for help on using the changeset viewer.