mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +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}
|
{else}
|
||||||
{tr("search_for_groups")}
|
{tr("search_for_groups")}
|
||||||
{/if}
|
{/if}
|
||||||
|
{if $_GET['query']}
|
||||||
|
- {$_GET['query']}
|
||||||
|
{/if}
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
{block header}
|
{block header}
|
||||||
|
@ -21,12 +24,12 @@
|
||||||
|
|
||||||
{block tabs}
|
{block tabs}
|
||||||
<div {if $type === "users"}id="activetabs"{/if} class="tab">
|
<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}
|
{_users}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div {if $type === "groups"}id="activetabs"{/if} class="tab">
|
<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}
|
{_groups}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue