Compare commits

...

6 commits

Author SHA1 Message Date
Dark-Killer228
5c26eb73c7
Merge bf65910730 into b7fc23bb52 2025-04-22 16:36:36 +05:00
Vladimir Barinov
b7fc23bb52
fix(pda), chore(locale): adapt for pda (#1276) 2025-04-19 17:37:59 +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
4 changed files with 12 additions and 2 deletions

View file

@ -371,7 +371,11 @@ abstract class OpenVKPresenter extends SimplePresenter
$whichbrowser->isEngine('NetFront') || // PSP and other japanese portable systems
$whichbrowser->isOs('Android') ||
$whichbrowser->isOs('iOS') ||
$whichbrowser->isBrowser('Internet Explorer', '<=', '8')) {
$whichbrowser->isBrowser('BlackBerry Browser') ||
$whichbrowser->isBrowser('Internet Explorer', '<=', '8') ||
$whichbrowser->isBrowser('Firefox', '<=', '47') ||
$whichbrowser->isBrowser('Safari', '<=', '7') ||
$whichbrowser->isBrowser('Google Chrome', '<=', '35')) {
// yeah, it's old, but ios and android are?
if ($whichbrowser->isOs('iOS') && $whichbrowser->isOs('iOS', '<=', '9')) {
return true;

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>

View file

@ -2235,6 +2235,7 @@
"mobile_like" = "Like";
"mobile_user_info_hide" = "Hide";
"mobile_user_info_show_details" = "Show details";
"mobile_attachment_only_for_pc" = "This attachments is not implemented for PDA version. Please, view it on PC.";
/* Fullscreen player */

View file

@ -2130,6 +2130,7 @@
"mobile_like" = "Нравится";
"mobile_user_info_hide" = "Скрыть";
"mobile_user_info_show_details" = "Показать подробнее";
"mobile_attachment_only_for_pc" = "Вложение недоступно в PDA версии, его просмотр возможен только с другого устройства";
/* Fullscreen player */
@ -2306,3 +2307,4 @@
"faves_few" = "$1 закладки";
"faves_many" = "$1 закладок";
"faves_other" = "$1 закладок";