first commit

This commit is contained in:
Sven Wappler
2021-04-17 00:26:33 +02:00
commit 866c63cc63
813 changed files with 100696 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers">
<f:section name="Form">
<div class="tx-solr-search-form">
<s:searchForm id="tx-solr-search-form-pi-results" additionalFilters="{additionalFilters}" suggestHeader="{s:translate(key:'suggest_header',default:'Top Results')}">
<div class="input-group">
<f:for each="{existingParameters}" key="name" as="value">
<f:form.hidden name="{pluginNamespace}{name}" value="{value}" />
</f:for>
<f:if condition="{addPageAndLanguageId}">
<input type="hidden" name="L" value="{languageUid}" />
<input type="hidden" name="id" value="{pageUid}" />
</f:if>
<input type="text" class="tx-solr-q js-solr-q tx-solr-suggest tx-solr-suggest-focus form-control" name="{pluginNamespace}[q]" value="{q}" />
<span class="input-group-btn">
<button class="btn btn-default tx-solr-submit" type="submit">
<span class=" glyphicon glyphicon-search"></span>
<span>
<s:translate key="submit">Search</s:translate>
</span>
</button>
</span>
</div>
</s:searchForm>
</div>
</f:section>

View File

@@ -0,0 +1,34 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers">
<f:section name="FrequentlySearched">
<s:widget.frequentlySearched>
<f:if condition="{frequentSearches}">
<div id="tx-solr-frequent-searches" class="secondaryContentSection panel">
<div class="panel-heading">
<h3 class="panel-title">
<span class="glyphicon glyphicon-fire"></span>
<a data-toggle="collapse" data-parent="#accordion" href="#frequendSearches"><s:translate key="frequentSearches">Frequently searched</s:translate></a>
</h3>
</div>
<div class="list-group panel-collapse collapse" id="frequendSearches">
<div class="panel-body">
<ul>
<f:for each="{frequentSearches}" as="searchedForInfo">
<li class="{searchedForInfo.class}">
<a href="{s:uri.search.startNewSearch(queryString: searchedForInfo.q)}" class="solr-ajaxified">{searchedForInfo.q}</a>
</li>
</f:for>
</ul>
</div>
</div>
</div>
</f:if>
</s:widget.frequentlySearched>
</f:section>
</html>

View File

@@ -0,0 +1,35 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers">
<f:section name="LastSearches">
<s:widget.lastSearches>
<f:if condition="{lastSearches}">
<div id="tx-solr-lastsearches" class="secondaryContentSection panel">
<div class="panel-heading">
<h3 class="panel-title">
<span class="glyphicon glyphicon-time"></span>
<a data-toggle="collapse" data-parent="#accordion" href="#lastSearches">
<s:translate key="lastSearches">Last searches</s:translate>
</a>
</h3>
</div>
<div class="list-group panel-collapse collapse" id="lastSearches">
<div class="panel-body">
<f:for each="{lastSearches}" as="searchedFor">
<li class="list-group-item">
<a href="{s:uri.search.startNewSearch(queryString: searchedFor)}" class="solr-ajaxified">{searchedFor}</a>
</li>
</f:for>
</div>
</div>
</div>
</f:if>
</s:widget.lastSearches>
</f:section>
</html>