PluginProbe
Forumax – AI Powered Advanced Community Forum Plugin / 2.5.0
Forumax – AI Powered Advanced Community Forum Plugin v2.5.0
2.5.0 2.4.4 2.4.3 2.4.2 2.4.1 2.4.0 trunk 1.0.8 1.1.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.4.0 1.4.1 2.0.0 All 30 releases
← All changes | templates/form-search.php +25 -25 2.0.0 → 2.5.0 View file →
@@ -1,26 +1,26 @@
1 -<?php
2 -
3 -/**
4 - * Search
5 - *
6 - * @package bbPress
7 - * @subpackage Theme
8 - */
9 -
10 -// Exit if accessed directly
11 -defined( 'ABSPATH' ) || exit;
12 -
13 -if ( bbp_allow_search() ) : ?>
14 -
15 - <div class="bbp-search-form">
16 - <form role="search" method="get" id="bbp-search-form">
17 - <div>
18 - <label class="screen-reader-text hidden" for="bbp_search"><?php esc_html_e( 'Search for:', 'forumax' ); ?></label>
19 - <input type="hidden" name="action" value="bbp-search-request" />
20 - <input type="text" value="<?php bbp_search_terms(); ?>" name="bbp_search" id="bbp_search" />
21 - <input class="button" type="submit" id="bbp_search_submit" value="<?php esc_attr_e( 'Search', 'forumax' ); ?>" />
22 - </div>
23 - </form>
24 - </div>
25 -
1 +<?php
2 +
3 +/**
4 + * Search
5 + *
6 + * @package bbPress
7 + * @subpackage Theme
8 + */
9 +
10 +// Exit if accessed directly
11 +defined( 'ABSPATH' ) || exit;
12 +
13 +if ( bbp_allow_search() ) : ?>
14 +
15 + <div class="bbp-search-form">
16 + <form role="search" method="get" id="bbp-search-form">
17 + <div>
18 + <label class="screen-reader-text hidden" for="bbp_search"><?php esc_html_e( 'Search for:', 'forumax' ); ?></label>
19 + <input type="hidden" name="action" value="bbp-search-request" />
20 + <input type="text" value="<?php bbp_search_terms(); ?>" name="bbp_search" id="bbp_search" placeholder="<?php esc_attr_e( 'Search forums...', 'forumax' ); ?>" />
21 + <input class="button" type="submit" id="bbp_search_submit" value="<?php esc_attr_e( 'Search', 'forumax' ); ?>" />
22 + </div>
23 + </form>
24 + </div>
25 +
26 26 <?php endif;