Compare commits

...

7 commits

Author SHA1 Message Date
Dark-Killer228
be28072e8d
Merge bf65910730 into 55e0aa6a39 2025-05-18 18:14:14 +03:00
55e0aa6a39
Revert "fix(thumbnails): use hash instead of real id (#1234)" (#1296)
This reverts commit a5d80b8f9b.
2025-05-18 15:02:26 +00:00
mrilyew
a5d80b8f9b
fix(thumbnails): use hash instead of real id (#1234)
Заменяется реальный id в ссылке превью на хэш, чтобы нельзя было делать
перебор или просмотр рандомных картинок. В данный момент не особо
критично (потому что можно перебирать посты), но при появлении вложений
в диалогах будет

Co-authored-by: Alexander Minkin <weryskok@gmail.com>
2025-05-18 17:53:39 +03:00
Dark-Killer228
bf65910730
Update View.xml 2025-03-19 23:48:32 +05:00
Dark-Killer228
425e148ee5
Merge branch 'OpenVK:master' into patch-2 2025-03-11 20:00:46 +05:00
Dark-Killer228
756dcf68e3
Merge branch 'OpenVK:master' into patch-2 2025-03-01 22:12:43 +05:00
Dark-Killer228
153206f9ba
Отключение отбражения возраста, если пользователь умер 2025-02-22 21:42:41 +05:00

View file

@ -458,8 +458,11 @@
</tr>
<tr n:if="!is_null($user->getBirthday())">
<td class="label"><span class="nobold">{_birth_date}:</span></td>
<td n:if="$user->getBirthdayPrivacy() == 0" class="data">{$user->getBirthday()->format('%e %B %Y')},
{if $user->onlineStatus() != 2 && $user->getBirthdayPrivacy() == 0}
<td class="data">{$user->getBirthday()->format('%e %B %Y')},
{tr("years", $user->getAge())}</td>
{/if}
<td n:if="$user->onlineStatus() == 2" class="data">{$user->getBirthday()->format('%e %B %Y')}</td>
<td n:if="$user->getBirthdayPrivacy() == 1" class="data">{$user->getBirthday()->format('%e %B')}</td>
</tr>
</tbody>