mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +03:00
Search: No need to repeat query when changing tab
This commit is contained in:
parent
cca9151661
commit
c10b8274a6
1 changed files with 5 additions and 2 deletions
|
@ -6,6 +6,9 @@
|
|||
{else}
|
||||
{tr("search_for_groups")}
|
||||
{/if}
|
||||
{if $_GET['query']}
|
||||
- {$_GET['query']}
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{block header}
|
||||
|
@ -21,12 +24,12 @@
|
|||
|
||||
{block tabs}
|
||||
<div {if $type === "users"}id="activetabs"{/if} class="tab">
|
||||
<a {if $type === "users"}id="act_tab_a"{/if} href="/search?type=users">
|
||||
<a {if $type === "users"}id="act_tab_a"{/if} href="/search?type=users{if $_GET['query']}&query={urlencode($_GET['query'])}{/if}">
|
||||
{_users}
|
||||
</a>
|
||||
</div>
|
||||
<div {if $type === "groups"}id="activetabs"{/if} class="tab">
|
||||
<a {if $type === "groups"}id="act_tab_a"{/if} href="/search?type=groups">
|
||||
<a {if $type === "groups"}id="act_tab_a"{/if} href="/search?type=groups{if $_GET['query']}&query={urlencode($_GET['query'])}{/if}">
|
||||
{_groups}
|
||||
</a>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue