mirror of
https://github.com/openvk/openvk
synced 2024-11-15 19:49:14 +03:00
2795e1e1a4
* feat(profiles): add ability to crop avatar Closes #1068 and maybe slash 106 * add ability to take avatar photo from camera почему бы и нет --------- Co-authored-by: lalka2018 <99399973+lalka2016@users.noreply.github.com> Co-authored-by: celestora <kitsuruko@gmail.com>
60 lines
1.5 KiB
XML
60 lines
1.5 KiB
XML
{ifset $thisUser}
|
|
{if $thisUser->getNsfwTolerance() < 2}
|
|
{css "css/nsfw-posts.css"}
|
|
{/if}
|
|
|
|
{if $theme !== NULL}
|
|
{if $theme->inheritDefault()}
|
|
{css "css/main.css"}
|
|
{css "css/bsdn.css"}
|
|
{css "css/dialog.css"}
|
|
{css "css/notifications.css"}
|
|
{css "css/avatar-edit.css"}
|
|
{css "css/audios.css"}
|
|
|
|
{if $isXmas}
|
|
{css "css/xmas.css"}
|
|
{/if}
|
|
{/if}
|
|
|
|
<link rel="stylesheet" href="/themepack/{$theme->getId()}/{$theme->getVersion()}/stylesheet/styles.css" />
|
|
|
|
{if $isXmas}
|
|
<link rel="stylesheet" href="/themepack/{$theme->getId()}/{$theme->getVersion()}/resource/xmas.css" />
|
|
{/if}
|
|
{else}
|
|
{css "css/main.css"}
|
|
{css "css/bsdn.css"}
|
|
{css "css/dialog.css"}
|
|
{css "css/notifications.css"}
|
|
{css "css/avatar-edit.css"}
|
|
{css "css/audios.css"}
|
|
|
|
{if $isXmas}
|
|
{css "css/xmas.css"}
|
|
{/if}
|
|
{/if}
|
|
|
|
{if $thisUser->getStyleAvatar() == 1}
|
|
{css "css/avatar.1.css"}
|
|
{/if}
|
|
|
|
{if $thisUser->getStyleAvatar() == 2}
|
|
{css "css/avatar.2.css"}
|
|
{/if}
|
|
|
|
{if $thisUser->hasMicroblogEnabled() == 1}
|
|
{css "css/microblog.css"}
|
|
{/if}
|
|
{else}
|
|
{css "css/main.css"}
|
|
{css "css/bsdn.css"}
|
|
{css "css/dialog.css"}
|
|
{css "css/nsfw-posts.css"}
|
|
{css "css/notifications.css"}
|
|
{css "css/audios.css"}
|
|
|
|
{if $isXmas}
|
|
{css "css/xmas.css"}
|
|
{/if}
|
|
{/ifset}
|