[themes] fix header

This commit is contained in:
Shish 2024-01-05 17:40:56 +00:00
parent 94e3f1ec1a
commit 132778c9e1
2 changed files with 2 additions and 1 deletions

View file

@ -14,7 +14,7 @@
<a class="vis-mobile" href="//rule34.paheal.net/post/list"><img alt="logo" src="//rule34.paheal.net/themes/rule34v2/rule34_logo_top.png" style="height: 34px;"/></a> <a class="vis-mobile" href="//rule34.paheal.net/post/list"><img alt="logo" src="//rule34.paheal.net/themes/rule34v2/rule34_logo_top.png" style="height: 34px;"/></a>
</td> </td>
<td> <td>
<input name='search' size="45" type='text' placeholder='Search' autocomplete='off' class='autocomplete_tags' value="<?=$query;?>"/> <input name='search' size="45" type='text' placeholder='Search' autocomplete='off' class='autocomplete_tags' value="$QUERY"/>
</td> </td>
<td width="100"> <td width="100">
<input type='submit' value='Find' id="submit" style="border: 1px solid #888; height: 22px; border-radius: 2px; background: #EEE;"/> <input type='submit' value='Find' id="submit" style="border: 1px solid #888; height: 22px; border-radius: 2px; background: #EEE;"/>

View file

@ -116,6 +116,7 @@ EOD;
$footer_html = $this->footer_html(); $footer_html = $this->footer_html();
$header_inc = file_get_contents("themes/rule34v2/header.inc"); $header_inc = file_get_contents("themes/rule34v2/header.inc");
$header_inc = str_replace('$QUERY', $query, $header_inc);
return <<<EOD return <<<EOD
<table id="header" width="100%"> <table id="header" width="100%">
<tr> <tr>