35 lines
2.5 KiB
PHP
35 lines
2.5 KiB
PHP
<?php
|
|
/**
|
|
****************************************************************************
|
|
** RETROGEEK RELOADED SOURCE FILE **
|
|
** Copyright (c) 2021-2022 Tuxlog **
|
|
** Copyright (c) 2024 JeremyStarTM & Contributors **
|
|
** Licensed under the GNU General Public License v3 **
|
|
****************************************************************************
|
|
** This program is free software: you can redistribute it and/or modify **
|
|
** it under the terms of the GNU General Public License as published by **
|
|
** the Free Software Foundation, either version 3 of the License, or **
|
|
** (at your option) any later version. **
|
|
** **
|
|
** This program is distributed in the hope that it will be useful, **
|
|
** but WITHOUT ANY WARRANTY; without even the implied warranty of **
|
|
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the **
|
|
** GNU General Public License for more details. **
|
|
** **
|
|
** You should have received a copy of the GNU General Public License **
|
|
** along with this program. If not, see <https://www.gnu.org/licenses/>. **
|
|
****************************************************************************
|
|
** searchform.php (Search form template) **
|
|
** **
|
|
** This source file is a template for displaying search forms. **
|
|
****************************************************************************
|
|
*/
|
|
?>
|
|
|
|
<form role="search" method="get" class="search-form" action="<?php echo esc_url(home_url('/')); ?>">
|
|
<label>
|
|
<span class="screen-reader-text"><?php echo esc_attr_x('Suchen nach:', 'label', 'retrogeek'); ?></span>
|
|
<input type="search" class="search-field" placeholder="<?php echo esc_attr_x('Gebe deine Suchanfrage hier ein...', 'placeholder', 'retrogeek'); ?>" value="<?php echo get_search_query(); ?>" name="s" />
|
|
</label>
|
|
<button type="submit" class="search-submit"><span class="screen-reader-text"><?php echo esc_attr_x('Suchen', 'submit button', 'retrogeek'); ?></span></button>
|
|
</form>
|