Changeset 2032
- Timestamp:
- 10/05/2009 06:05:05 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/deprecated/bp-core-deprecated.php
r2025 r2032 758 758 global $wp_themes; 759 759 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 760 764 /* Remove the cached WP themes first */ 761 765 $wp_existing_themes = &$wp_themes; -
trunk/bp-forums.php
r1995 r2032 168 168 169 169 $query = new BB_Query( 'topic', 'topic_id=' . $topic_id ); 170 170 171 return $query->results[0]; 171 172 } … … 203 204 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 ) ) ) 204 205 return false; 205 206 206 207 /* Now insert the first post. */ 207 208 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 304 304 <form action="<?php echo $action ?>" id="friend-search-form" method="post"> 305 305 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> 307 307 <input type="search" name="friend-search-box" id="friend-search-box" value="<?php echo $value ?>"<?php echo $disabled ?> /> 308 308 -
trunk/bp-groups.php
r2025 r2032 605 605 $topic_id = bp_forums_get_topic_id_from_slug( $topic_slug ); 606 606 $forum_id = groups_get_groupmeta( $bp->groups->current_group->id, 'forum_id' ); 607 607 608 608 if ( $topic_slug && $topic_id ) { 609 609 … … 2138 2138 if ( empty( $topic_title ) || empty( $topic_text ) ) 2139 2139 return false; 2140 2140 2141 2141 if ( $topic_id = bp_forums_new_topic( array( 'topic_title' => $topic_title, 'topic_text' => $topic_text, 'topic_tags' => $topic_tags, 'forum_id' => $forum_id ) ) ) { 2142 2142 $topic = bp_forums_get_topic_details( $topic_id ); … … 2155 2155 2156 2156 do_action( 'groups_new_forum_topic', $bp->groups->current_group->id, &$topic ); 2157 2157 2158 2158 return $topic; 2159 2159 } -
trunk/bp-groups/bp-groups-templatetags.php
r1968 r2032 729 729 ?> 730 730 <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> 732 732 <input type="search" name="<?php echo $name ?>" id="<?php echo $name ?>" value="<?php echo $value ?>"<?php echo $disabled ?> /> 733 733
Note: See TracChangeset
for help on using the changeset viewer.