mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-23 01:51:31 +02:00
Merge pull request #2983 from Senky/ticket/13094
[ticket/13094] Remove the search box if there are no new posts to search for
This commit is contained in:
@@ -11,10 +11,10 @@
|
|||||||
<p><a class="arrow-{S_CONTENT_FLOW_BEGIN}" href="{U_SEARCH}" title="{L_SEARCH_ADV}">{L_GO_TO_SEARCH_ADV}</a></p>
|
<p><a class="arrow-{S_CONTENT_FLOW_BEGIN}" href="{U_SEARCH}" title="{L_SEARCH_ADV}">{L_GO_TO_SEARCH_ADV}</a></p>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
|
||||||
<!-- IF .pagination or SEARCH_MATCHES or PAGE_NUMBER -->
|
<!-- IF .pagination or SEARCH_MATCHES or TOTAL_MATCHES or PAGE_NUMBER -->
|
||||||
<div class="action-bar top">
|
<div class="action-bar top">
|
||||||
|
|
||||||
<!-- IF SEARCH_MATCHES -->
|
<!-- IF TOTAL_MATCHES > 0 -->
|
||||||
<div class="search-box">
|
<div class="search-box">
|
||||||
<form method="post" action="{S_SEARCH_ACTION}">
|
<form method="post" action="{S_SEARCH_ACTION}">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
@@ -178,9 +178,9 @@
|
|||||||
<div class="action-bar bottom">
|
<div class="action-bar bottom">
|
||||||
<div class="pagination">
|
<div class="pagination">
|
||||||
{SEARCH_MATCHES}
|
{SEARCH_MATCHES}
|
||||||
<!-- IF .pagination -->
|
<!-- IF .pagination -->
|
||||||
<!-- INCLUDE pagination.html -->
|
<!-- INCLUDE pagination.html -->
|
||||||
<!-- ELSE -->
|
<!-- ELSE -->
|
||||||
• {PAGE_NUMBER}
|
• {PAGE_NUMBER}
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user