small fixes

This commit is contained in:
teldra 2022-06-16 14:17:19 +02:00
parent d40e5f679c
commit 8e180d8dd9
3 changed files with 5 additions and 3 deletions

View File

@ -84,3 +84,6 @@ other = "Erstellt"
[lastmod]
other = "Zuletzt geändert"
[search]
other = "Suche"

View File

@ -1,6 +1,6 @@
<form id="custom-search" name="custom-search" method="post" action="" onsubmit="customSearchResults(); return false;">
<p>
<input id="custom-search-field" type="text" name="search" value="" title="Search String" placeholder="SearchString">
<input id="custom-search-field" type="text" name="search" value="" title="Search String" placeholder="">
<!-- <input type="submit" value="Suchen"> -->
</p>
<!-- <p><em>durchsuchen:</em><br>
@ -38,7 +38,7 @@ let params = {
res_out_top : '<ul>',
res_out_bottom : '</ul>',
res_item_tpl : '<li><a href="[URL]">[TITLE]</a><br>[DATE]:[SUMMARY]<br><em>[SECTION][TAGS]</em></li>',
add_searchlink : '<p><a href="https://duckduckgo.com/?q=site:yourdomain.com [QUERY]" target="_blank"><i>Nicht zufrieden mit den Suchergebnissen? Externe Suche via DuckDuckGo ...</i></a></p>'
// add_searchlink : '<p><a href="https://duckduckgo.com/?q=site:yourdomain.com [QUERY]" target="_blank"><i>Nicht zufrieden mit den Suchergebnissen? Externe Suche via DuckDuckGo ...</i></a></p>'
};
// Translation of section name (optional)

View File

@ -332,7 +332,6 @@ function customSearchResults() {
var newdate = new Date(date*1000);
var datestr = newdate.toLocaleDateString();
var templ = params['res_item_tpl'];
if (templ) {