mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 19:38:53 +00:00
[ticket/13022] Condition Return to advanced search link
PHPBB3-13022
This commit is contained in:
parent
6387bf8d13
commit
1094de49c2
2 changed files with 2 additions and 1 deletions
|
@ -602,6 +602,7 @@ if ($keywords || $author || $author_id || $search_id || $submit)
|
|||
|
||||
'PHRASE_SEARCH_DISABLED' => $phrase_search_disabled,
|
||||
|
||||
'REFERER_IS_SEARCH' => (strpos($user->referer, "search.$phpEx") !== false) ? true : false,
|
||||
'TOTAL_MATCHES' => $total_match_count,
|
||||
'SEARCH_IN_RESULTS' => ($search_id) ? false : true,
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
<!-- IF SEARCH_TOPIC -->
|
||||
<p><a class="arrow-{S_CONTENT_FLOW_BEGIN}" href="{U_SEARCH_TOPIC}">{L_RETURN_TO_TOPIC}</a></p>
|
||||
<!-- ELSE -->
|
||||
<!-- ELSE IF REFERER_IS_SEARCH -->
|
||||
<p><a class="arrow-{S_CONTENT_FLOW_BEGIN}" href="{U_SEARCH}" title="{L_SEARCH_ADV}">{L_RETURN_TO_SEARCH_ADV}</a></p>
|
||||
<!-- ENDIF -->
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue