[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-templates/bp-legacy/buddypress/common/search/ -> dir-search-form.php (source)

   1  <?php
   2  /**
   3   * Output the search form markup.
   4   *
   5   * @since 2.7.0
   6   * @version 3.0.0
   7   */
   8  ?>
   9  
  10  <div id="<?php echo esc_attr( bp_current_component() ); ?>-dir-search" class="dir-search" role="search">
  11      <form action="" method="get" id="search-<?php echo esc_attr( bp_current_component() ); ?>-form">
  12          <label for="<?php bp_search_input_name(); ?>" class="bp-screen-reader-text"><?php bp_search_placeholder(); ?></label>
  13          <input type="text" name="<?php echo esc_attr( bp_core_get_component_search_query_arg() ); ?>" id="<?php bp_search_input_name(); ?>" placeholder="<?php bp_search_placeholder(); ?>" />
  14  
  15          <input type="submit" id="<?php echo esc_attr( bp_get_search_input_name() ); ?>_submit" name="<?php bp_search_input_name(); ?>_submit" value="<?php esc_attr_e( 'Search', 'buddypress' ); ?>" />
  16      </form>
  17  </div><!-- #<?php echo esc_attr( bp_current_component() ); ?>-dir-search -->


Generated: Sat May 30 01:01:31 2020 Cross-referenced by PHPXref 0.7.1