Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/26/2009 01:33:07 AM (15 years ago)
Author:
apeatling
Message:

Fixes #892

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-blogs/bp-blogs-templatetags.php

    r1661 r1703  
    13141314function bp_directory_blogs_search_form() {
    13151315    global $bp; ?>
    1316     <form action="<?php echo $bp->root_domain . '/' . blogs_SLUG  . '/search/' ?>" method="post" id="search-blogs-form">
     1316    <form action="<?php echo $bp->root_domain . '/' . BP_BLOGS_SLUG  . '/search/' ?>" method="post" id="search-blogs-form">
    13171317        <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>
    13181318        <input type="submit" id="blogs_search_submit" name="blogs_search_submit" value="<?php _e( 'Search', 'buddypress' ) ?>" />
Note: See TracChangeset for help on using the changeset viewer.