mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +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}
|
||||
{if $thisUser->hasMicroblogEnabled()}
|
||||
{include "post/microblogpost.xml", post => $post}
|
||||
{else}
|
||||
{include "post/oldpost.xml", post => $post}
|
||||
{/if}
|
||||
{/ifset}
|
||||
{var microblogEnabled = isset($thisUser) ? $thisUser->hasMicroblogEnabled() : false}
|
||||
|
||||
{if $microblogEnabled}
|
||||
{include "post/microblogpost.xml", post => $post}
|
||||
{else}
|
||||
{include "post/oldpost.xml", post => $post}
|
||||
{/if}
|
||||
|
|
Loading…
Reference in a new issue