Файловый менеджер - Редактировать - /home/neurocs/www/searchform.php.tar
Назад
home/neurocs/www/wp-content/themes/twentyseventeen/searchform.php 0000644 00000001730 15010417115 0021466 0 ustar 00 <?php /** * Template for displaying search forms in Twenty Seventeen * * @package WordPress * @subpackage Twenty_Seventeen * @since Twenty Seventeen 1.0 * @version 1.0 */ ?> <?php $unique_id = esc_attr( twentyseventeen_unique_id( 'search-form-' ) ); ?> <form role="search" method="get" class="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>"> <label for="<?php echo $unique_id; ?>"> <span class="screen-reader-text"><?php echo _x( 'Search for:', 'label', 'twentyseventeen' ); ?></span> </label> <input type="search" id="<?php echo $unique_id; ?>" class="search-field" placeholder="<?php echo esc_attr_x( 'Search …', 'placeholder', 'twentyseventeen' ); ?>" value="<?php echo get_search_query(); ?>" name="s" /> <button type="submit" class="search-submit"><?php echo twentyseventeen_get_svg( array( 'icon' => 'search' ) ); ?><span class="screen-reader-text"><?php echo _x( 'Search', 'submit button', 'twentyseventeen' ); ?></span></button> </form> home/neurocs/www/wp-content/themes/twentytwenty/searchform.php 0000644 00000003252 15010420025 0021017 0 ustar 00 <?php /** * The searchform.php template. * * Used any time that get_search_form() is called. * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/ * * @package WordPress * @subpackage Twenty_Twenty * @since Twenty Twenty 1.0 */ /* * Generate a unique ID for each form and a string containing an aria-label * if one was passed to get_search_form() in the args array. */ $twentytwenty_unique_id = twentytwenty_unique_id( 'search-form-' ); $twentytwenty_aria_label = ! empty( $args['aria_label'] ) ? 'aria-label="' . esc_attr( $args['aria_label'] ) . '"' : ''; // Backward compatibility, in case a child theme template uses a `label` argument. if ( empty( $twentytwenty_aria_label ) && ! empty( $args['label'] ) ) { $twentytwenty_aria_label = 'aria-label="' . esc_attr( $args['label'] ) . '"'; } ?> <form role="search" <?php echo $twentytwenty_aria_label; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Escaped above. ?> method="get" class="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>"> <label for="<?php echo esc_attr( $twentytwenty_unique_id ); ?>"> <span class="screen-reader-text"><?php _e( 'Search for:', 'twentytwenty' ); // phpcs:ignore: WordPress.Security.EscapeOutput.UnsafePrintingFunction -- core trusts translations ?></span> <input type="search" id="<?php echo esc_attr( $twentytwenty_unique_id ); ?>" class="search-field" placeholder="<?php echo esc_attr_x( 'Search …', 'placeholder', 'twentytwenty' ); ?>" value="<?php echo get_search_query(); ?>" name="s" /> </label> <input type="submit" class="search-submit" value="<?php echo esc_attr_x( 'Search', 'submit button', 'twentytwenty' ); ?>" /> </form> home/neurocs/www/wp-content/themes/mediclinic/searchform.php 0000644 00000001047 15010432672 0020325 0 ustar 00 <form role="search" method="get" class="searchform" id="searchform" action="<?php echo esc_url(home_url('/')); ?>"> <label class="screen-reader-text"><?php esc_html_e('Search for:', 'mediclinic'); ?></label> <div class="input-holder clearfix"> <input type="search" class="search-field" placeholder="<?php esc_attr_e('Search...', 'mediclinic'); ?>" value="" name="s" title="<?php esc_html_e('Search for:', 'mediclinic'); ?>"/> <button type="submit" id="searchsubmit"><span class="icon_search"></span></button> </div> </form>