2022-10-11 19:04:43 +03:00
|
|
|
{ifset $thisUser}
|
|
|
|
{if $thisUser->getNsfwTolerance() < 2}
|
|
|
|
{css "css/nsfw-posts.css"}
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
{if $theme !== NULL}
|
|
|
|
{if $theme->inheritDefault()}
|
2023-05-08 05:09:00 +03:00
|
|
|
{css "css/main.css"}
|
2023-01-28 23:25:00 +03:00
|
|
|
{css "css/bsdn.css"}
|
2022-10-11 19:04:43 +03:00
|
|
|
{css "css/dialog.css"}
|
|
|
|
{css "css/notifications.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}
|
2023-05-08 05:09:00 +03:00
|
|
|
{css "css/main.css"}
|
2023-01-28 23:25:00 +03:00
|
|
|
{css "css/bsdn.css"}
|
2022-10-11 19:04:43 +03:00
|
|
|
{css "css/dialog.css"}
|
|
|
|
{css "css/notifications.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}
|
2023-05-08 05:09:00 +03:00
|
|
|
{css "css/main.css"}
|
2023-01-28 23:25:00 +03:00
|
|
|
{css "css/bsdn.css"}
|
2022-10-11 19:04:43 +03:00
|
|
|
{css "css/dialog.css"}
|
|
|
|
{css "css/nsfw-posts.css"}
|
|
|
|
{css "css/notifications.css"}
|
|
|
|
|
|
|
|
{if $isXmas}
|
|
|
|
{css "css/xmas.css"}
|
|
|
|
{/if}
|
2023-01-28 23:25:00 +03:00
|
|
|
{/ifset}
|