mirror of
https://github.com/openvk/openvk
synced 2024-12-23 09:01:15 +03:00
parent
607312dc1c
commit
585616c88f
1 changed files with 15 additions and 6 deletions
|
@ -89,6 +89,14 @@
|
||||||
{_add_to_left_menu}
|
{_add_to_left_menu}
|
||||||
{/if}
|
{/if}
|
||||||
</a>
|
</a>
|
||||||
|
{if $x->getSubscriptionStatus($thisUser) == false}
|
||||||
|
<form class="profile_link_form" action="/setSub/club" method="post">
|
||||||
|
<input type="hidden" name="act" value="add" />
|
||||||
|
<input type="hidden" name="id" value="{$x->getId()}" />
|
||||||
|
<input type="hidden" name="hash" value="{$csrfToken}" />
|
||||||
|
<input type="submit" class="profile_link" value="{_join_community}" />
|
||||||
|
</form>
|
||||||
|
{else}
|
||||||
<form class="profile_link_form" action="/setSub/club" method="post">
|
<form class="profile_link_form" action="/setSub/club" method="post">
|
||||||
<input type="hidden" name="act" value="rem" />
|
<input type="hidden" name="act" value="rem" />
|
||||||
<input type="hidden" name="id" value="{$x->getId()}" />
|
<input type="hidden" name="id" value="{$x->getId()}" />
|
||||||
|
@ -96,6 +104,7 @@
|
||||||
<input type="submit" class="profile_link" value="{_leave_community}" />
|
<input type="submit" class="profile_link" value="{_leave_community}" />
|
||||||
</form>
|
</form>
|
||||||
{/if}
|
{/if}
|
||||||
|
{/if}
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
{block bottom}
|
{block bottom}
|
||||||
|
|
Loading…
Reference in a new issue