Changeset 3039
- Timestamp:
- 06/11/2010 12:29:49 AM (16 years ago)
- File:
-
- 1 edited
-
branches/1.2/bp-core/bp-core-templatetags.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/bp-core/bp-core-templatetags.php
r3030 r3039 1002 1002 1003 1003 function bp_search_form_type_select() { 1004 global $bp; 1005 1004 1006 // Eventually this won't be needed and a page will be built to integrate all search results. 1005 1007 $selection_box = '<select name="search-which" id="search-which" style="width: auto">'; 1006 1008 1007 if ( function_exists( 'xprofile_install' ) ) {1009 if ( function_exists( 'xprofile_install' ) ) 1008 1010 $selection_box .= '<option value="members">' . __( 'Members', 'buddypress' ) . '</option>'; 1009 } 1010 1011 if ( function_exists( 'groups_install' ) ) { 1011 1012 if ( function_exists( 'groups_install' ) ) 1012 1013 $selection_box .= '<option value="groups">' . __( 'Groups', 'buddypress' ) . '</option>'; 1013 } 1014 1015 if ( function_exists( 'bp_forums_setup' ) && !(int) $bp->site_options['bp-disable-forum-directory'] ) { 1014 1015 if ( function_exists( 'bp_forums_setup' ) && !(int)$bp->site_options['bp-disable-forum-directory'] ) 1016 1016 $selection_box .= '<option value="forums">' . __( 'Forums', 'buddypress' ) . '</option>'; 1017 } 1018 1019 if ( function_exists( 'bp_blogs_install' ) && bp_core_is_multisite() ) { 1017 1018 if ( function_exists( 'bp_blogs_install' ) && bp_core_is_multisite() ) 1020 1019 $selection_box .= '<option value="blogs">' . __( 'Blogs', 'buddypress' ) . '</option>'; 1021 }1022 1020 1023 1021 $selection_box .= '</select>';
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)