34 lines
953 B
PHP
34 lines
953 B
PHP
<?php
|
|
/**
|
|
* جستجوی پاسخها در پروفایل کاربر
|
|
*
|
|
* @package Hesabix2
|
|
* @subpackage bbPress
|
|
*/
|
|
|
|
defined( 'ABSPATH' ) || exit;
|
|
|
|
if ( ! bbp_allow_search() ) {
|
|
return;
|
|
}
|
|
|
|
?>
|
|
|
|
<div class="bbp-search-form hesabix2-bbp-inline-search">
|
|
<form role="search" method="get" id="bbp-reply-search-form" class="hesabix2-bbp-search-form">
|
|
<div class="hesabix2-bbp-search-form__row">
|
|
<label class="screen-reader-text hidden" for="rs"><?php esc_html_e( 'جستجوی پاسخها:', 'hesabix2' ); ?></label>
|
|
<input
|
|
type="search"
|
|
class="hesabix2-bbp-search-form__input"
|
|
value="<?php bbp_search_terms(); ?>"
|
|
name="rs"
|
|
id="rs"
|
|
placeholder="<?php esc_attr_e( 'جستجو در پاسخها…', 'hesabix2' ); ?>"
|
|
/>
|
|
<button class="button hesabix2-bbp-search-form__submit" type="submit" id="bbp_search_submit">
|
|
<?php esc_html_e( 'جستجو', 'hesabix2' ); ?>
|
|
</button>
|
|
</div>
|
|
</form>
|
|
</div>
|