- Timestamp:
- 12/16/2024 07:53:28 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/functions.php
r12246 r14281 55 55 56 56 // Version of CSS 57 $version = '20221108';57 $version = time(); //'20241125'; 58 58 59 59 // Base theme styling … … 78 78 <form role="search" method="get" id="searchform" action=""> 79 79 <div> 80 <h 3><?php _e( 'Forum Search', 'bborg'); ?></h3>80 <h2><?php _e( 'Forum Search', 'bborg'); ?></h2> 81 81 <label class="screen-reader-text hidden" for="ts"><?php _e( 'Search for:', 'bborg' ); ?></label> 82 <input type="text" value="<?php echo bb_base_topic_search_query(); ?>" name="ts" id="ts" /> 83 <input class="button" type="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', 'bborg' ); ?>" /> 82 <input type="text" value="<?php echo bb_base_topic_search_query(); ?>" name="ts" id="ts" placeholder="<?php esc_attr_e( 'Search', 'bborg' ); ?>" /> 84 83 </div> 85 84 </form> … … 93 92 <form role="search" method="get" id="searchform" action=""> 94 93 <div> 95 <h 3><?php _e( 'Reply Search', 'bborg'); ?></h3>94 <h2><?php _e( 'Reply Search', 'bborg'); ?></h2> 96 95 <label class="screen-reader-text hidden" for="rs"><?php _e( 'Search for:', 'bborg' ); ?></label> 97 <input type="text" value="<?php echo bb_base_reply_search_query(); ?>" name="rs" id="rs" /> 98 <input class="button" type="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', 'bborg' ); ?>" /> 96 <input type="text" value="<?php echo bb_base_reply_search_query(); ?>" name="rs" id="rs" placeholder="<?php esc_attr_e( 'Search', 'bborg' ); ?>" /> 99 97 </div> 100 98 </form> … … 108 106 <form role="search" method="get" id="searchform" action=""> 109 107 <div> 110 <h 3><?php _e( 'Plugin Search', 'bborg'); ?></h3>108 <h2><?php _e( 'Plugin Search', 'bborg'); ?></h2> 111 109 <label class="screen-reader-text hidden" for="ps"><?php _e( 'Search for:', 'bborg' ); ?></label> 112 <input type="text" value="<?php echo bb_base_plugin_search_query(); ?>" name="ps" id="ts" /> 113 <input class="button" type="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', 'bborg' ); ?>" /> 110 <input type="text" value="<?php echo bb_base_plugin_search_query(); ?>" name="ps" id="ts" placeholder="<?php esc_attr_e( 'Search', 'bborg' ); ?>" /> 114 111 </div> 115 112 </form> … … 197 194 <li class="topic-freshness-author"><?php 198 195 /* translators: %s: reply author link */ 199 printf( __( 'Last reply from: %s', 'bborg' ),196 printf( __( 'Last voice: %s', 'bborg' ), 200 197 bbp_get_author_link( array( 'type' => 'name', 'post_id' => $last_reply, 'size' => '15' ) ) 201 198 ); … … 205 202 <li class="topic-freshness-time"><?php 206 203 /* translators: %s: date/time link to the latest post */ 207 printf( __( ' Last activity:%s', 'bborg' ), $time_since );204 printf( __( 'About %s', 'bborg' ), $time_since ); 208 205 ?></li> 209 206 <?php endif; ?> … … 264 261 <li class="forum-freshness-author"><?php 265 262 /* translators: %s: post author link */ 266 printf( __( 'Last post by: %s', 'bborg' ),263 printf( __( 'Last voice: %s', 'bborg' ), 267 264 bbp_get_author_link( array( 'type' => 'name', 'post_id' => $last_active ) ) 268 265 ); … … 272 269 <li class="forum-freshness-time"><?php 273 270 /* translators: %s: date/time link to the latest post */ 274 printf( __( ' Last activity:%s', 'bborg' ), $time_since );271 printf( __( 'About %s', 'bborg' ), $time_since ); 275 272 ?></li> 276 273 <?php endif; ?> … … 616 613 } 617 614 add_action( 'bbp_template_redirect', 'bb_base_login_redirect', 11 ); 615 616 /** 617 * Enlarge the single-user-details avatar size. 618 * 619 * @author johnjamesjacoby 620 */ 621 function bb_base_override_single_user_details_avatar_size( $size = 150 ) { 622 return 200; 623 } 624 add_filter( 'bbp_single_user_details_avatar_size', 'bb_base_override_single_user_details_avatar_size' );
Note: See TracChangeset
for help on using the changeset viewer.