mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
Fix microblog
This commit is contained in:
parent
16f1b22ecb
commit
1e5f3f395b
3 changed files with 206 additions and 206 deletions
|
@ -1,7 +1,7 @@
|
||||||
{ifset $thisUser}
|
{var microblogEnabled = isset($thisUser) ? $thisUser->hasMicroblogEnabled() : false}
|
||||||
{if $thisUser->hasMicroblogEnabled()}
|
|
||||||
{include "post/microblogpost.xml", post => $post}
|
{if $microblogEnabled}
|
||||||
{else}
|
{include "post/microblogpost.xml", post => $post}
|
||||||
{include "post/oldpost.xml", post => $post}
|
{else}
|
||||||
{/if}
|
{include "post/oldpost.xml", post => $post}
|
||||||
{/ifset}
|
{/if}
|
||||||
|
|
Loading…
Reference in a new issue