Skip to:
Content

BuddyPress.org

Changeset 2032


Ignore:
Timestamp:
10/05/2009 06:05:05 PM (17 years ago)
Author:
apeatling
Message:

Removed ajax loader from friend and group search boxes.

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/deprecated/bp-core-deprecated.php

    r2025 r2032  
    758758        global $wp_themes;
    759759       
     760        /* If we are using a BuddyPress 1.1+ theme ignore this. */
     761        if ( !file_exists( WP_CONTENT_DIR . '/bp-themes' ) )
     762                return false;
     763       
    760764        /* Remove the cached WP themes first */
    761765        $wp_existing_themes = &$wp_themes;
  • trunk/bp-forums.php

    r1995 r2032  
    168168
    169169        $query = new BB_Query( 'topic', 'topic_id=' . $topic_id );
     170
    170171        return $query->results[0];
    171172}
    … …  
    203204        if ( !$topic_id = bb_insert_topic( array( 'topic_title' => stripslashes( $topic_title ), 'topic_slug' => $topic_slug, 'topic_poster' => $topic_poster, 'topic_poster_name' => $topic_poster_name, 'topic_last_poster' => $topic_last_poster, 'topic_last_poster_name' => $topic_last_poster_name, 'topic_start_time' => $topic_start_time, 'topic_time' => $topic_time, 'topic_open' => $topic_open, 'forum_id' => (int)$forum_id, 'tags' => $topic_tags ) ) )
    204205                return false;
    205        
     206
    206207        /* Now insert the first post. */
    207208        if ( !bp_forums_insert_post( array( 'topic_id' => $topic_id, 'post_text' => $topic_text, 'post_time' => $topic_time, 'poster_id' => $topic_poster ) ) )
  • trunk/bp-friends/bp-friends-templatetags.php

    r1937 r2032  
    304304        <form action="<?php echo $action ?>" id="friend-search-form" method="post">
    305305
    306                 <label for="friend-search-box" id="friend-search-label"><?php echo $label ?> <span class="ajax-loader"></span></label>
     306                <label for="friend-search-box" id="friend-search-label"><?php echo $label ?></label>
    307307                <input type="search" name="friend-search-box" id="friend-search-box" value="<?php echo $value ?>"<?php echo $disabled ?> />
    308308               
  • trunk/bp-groups.php

    r2025 r2032  
    605605                $topic_id = bp_forums_get_topic_id_from_slug( $topic_slug );
    606606                $forum_id = groups_get_groupmeta( $bp->groups->current_group->id, 'forum_id' );
    607                
     607
    608608                if ( $topic_slug && $topic_id ) {
    609609
    … …  
    21382138        if ( empty( $topic_title ) || empty( $topic_text ) )
    21392139                return false;
    2140        
     2140               
    21412141        if ( $topic_id = bp_forums_new_topic( array( 'topic_title' => $topic_title, 'topic_text' => $topic_text, 'topic_tags' => $topic_tags, 'forum_id' => $forum_id ) ) ) {
    21422142                $topic = bp_forums_get_topic_details( $topic_id );
    … …  
    21552155               
    21562156                do_action( 'groups_new_forum_topic', $bp->groups->current_group->id, &$topic );
    2157                
     2157
    21582158                return $topic;
    21592159        }
  • trunk/bp-groups/bp-groups-templatetags.php

    r1968 r2032  
    729729?>
    730730        <form action="<?php echo $action ?>" id="group-search-form" method="post">
    731                 <label for="<?php echo $name ?>" id="<?php echo $name ?>-label"><?php echo $label ?> <span class="ajax-loader"></span></label>
     731                <label for="<?php echo $name ?>" id="<?php echo $name ?>-label"><?php echo $label ?></label>
    732732                <input type="search" name="<?php echo $name ?>" id="<?php echo $name ?>" value="<?php echo $value ?>"<?php echo $disabled ?> />
    733733       
Note: See TracChangeset for help on using the changeset viewer.