[LOCALIZATION] Addition to Group pages

This commit is contained in:
veselcraft 2020-12-27 19:00:57 -05:00
parent fce8eff351
commit a3406737dc
5 changed files with 22 additions and 19 deletions

View file

@ -110,13 +110,13 @@
<a href="/edit" class="link edit-button">{_"edit_button"}</a>
<a href="{$thisUser->getURL()}" class="link">{_"my_page"}</a>
<a href="/friends{$thisUser->getId()}" class="link">{_"my_friends"}
{if $thisUser->getFollowersCount() > 0}
<object type="internal/link">
<a href="/friends{$thisUser->getId()}?act=incoming">
(<b>{$thisUser->getFollowersCount()}</b>)
</a>
</object>
{/if}</a>
{if $thisUser->getFollowersCount() > 0}
<object type="internal/link">
<a href="/friends{$thisUser->getId()}?act=incoming">
(<b>{$thisUser->getFollowersCount()}</b>)
</a>
</object>
{/if}</a>
<a n:if="$thisUser->getLeftMenuItemStatus('photos')" href="/albums{$thisUser->getId()}" class="link">{_"my_photos"}</a>
<a n:if="$thisUser->getLeftMenuItemStatus('videos')" href="/videos{$thisUser->getId()}" class="link">{_"my_videos"}</a>
<a n:if="$thisUser->getLeftMenuItemStatus('messages')" href="/im" class="link">{_"my_messages"}</a>

View file

@ -9,7 +9,7 @@
<div class="tabs">
<div id="activetabs" class="tab">
<a id="act_tab_a" href="javascript:void(0)">
Настройки
{_main}
</a>
</div>
<div class="tab">
@ -19,13 +19,13 @@
</div>
<div class="tab">
<a href="/club{$club->getId()}/stats">
Статистика
{_statistics}
</a>
</div>
</div>
<div class="container_gray">
<h4>Основная информация</h4>
<h4>{_main_information}</h4>
<form method="POST" enctype="multipart/form-data">
<table cellspacing="7" cellpadding="0" width="40%" border="0" align="center">
<tbody>
@ -47,7 +47,7 @@
</tr>
<tr>
<td width="120" valign="top">
<span class="nobold">Адрес группы: </span>
<span class="nobold">{_page_address}: </span>
</td>
<td>
<input type="text" name="shortcode" value="{$club->getShortcode()}" />
@ -55,7 +55,7 @@
</tr>
<tr>
<td width="120" valign="top">
<span class="nobold">Аватар: </span>
<span class="nobold">{_avatar}: </span>
</td>
<td>
<input type="file" name="ava" accept="image/*" />
@ -63,10 +63,10 @@
</tr>
<tr>
<td width="120" valign="top">
<span class="nobold">Стена: </span>
<span class="nobold">{_wall}: </span>
</td>
<td>
<input type="checkbox" name="wall" value="1" {if $club->canPost()}checked{/if}/> Разрешить постить обычным пользователям
<input type="checkbox" name="wall" value="1" {if $club->canPost()}checked{/if}/> {_group_allow_post_for_everyone}
</td>
</tr>

View file

@ -36,13 +36,13 @@
{var followersCount = $club->getFollowersCount()}
<div class="content_title_expanded" onclick="hidePanel(this, {$followersCount});">
Подписчики
{_participants}
</div>
<div>
<div class="content_subtitle">
{$followersCount} подписчиков
{tr("participants", $followersCount)}
<div style="float:right;">
<a href="/club{$club->getId()}/followers">Все</a>
<a href="/club{$club->getId()}/followers">{_all_title}</a>
</div>
</div>
<div style="padding-left: 5px;">
@ -124,7 +124,7 @@
</div>
<div>
<div class="content_subtitle">
{$albumsCount} альбомов
{tr("albums", $albumsCount)}
<div style="float:right;">
<a href="/albums{$club->getId() * -1}">{_"all_title"}</a>
</div>

View file

@ -165,7 +165,8 @@
"administrator" = "Administrator";
"promote_to_admin" = "Promote to admin";
"devote" = "Devote";
"group_allow_post_for_everyone" = "Allow posting for everyone";
"statistics" = "Statistics";
"participants_zero" = "No participants";
"participants_one" = "$1 participant";

View file

@ -174,6 +174,8 @@
"administrator" = "Администратор";
"promote_to_admin" = "Повысить до администратора";
"devote" = "Разжаловать";
"group_allow_post_for_everyone" = "Разрешить публиковать записи всем";
"statistics" = "Статистика";
"participants_zero" = "Ни одного участника";
"participants_one" = "Один участник";