{_"(.*)"} -> {_(.*)}

This commit is contained in:
Ilya Prokopenko 2022-08-09 13:37:08 +07:00
parent f3521c8ba4
commit bbdfb04c01
No known key found for this signature in database
GPG key ID: 7736BBBB05F14A56
40 changed files with 298 additions and 298 deletions

View file

@ -52,9 +52,9 @@
{include actions}
<hr/>
<div n:if="$sorting ?? true" class="tile">
<a href="?C=I;O=R" class="profile_link">{_"sort_randomly"}</a>
<a href="?C=M;O=D" class="profile_link">{_"sort_up"}</a>
<a href="?C=M;O=A" class="profile_link">{_"sort_down"}</a>
<a href="?C=I;O=R" class="profile_link">{_sort_randomly}</a>
<a href="?C=M;O=D" class="profile_link">{_sort_up}</a>
<a href="?C=M;O=A" class="profile_link">{_sort_down}</a>
</div>
</div>
</div>

View file

@ -1,13 +1,13 @@
{extends "@layout.xml"}
{block title}{_"banned_title"}{/block}
{block title}{_banned_title}{/block}
{block header}
{_"banned_header"}
{_banned_header}
{/block}
{block content}
<center>
<img src="/assets/packages/static/openvk/img/oof.apng" alt="{_'banned_alt'}" style="width: 20%;" />
<img src="/assets/packages/static/openvk/img/oof.apng" alt="{_banned_alt}" style="width: 20%;" />
</center>
<p>
{tr("banned_1", htmlentities($thisUser->getCanonicalName()))|noescape}<br/>

View file

@ -1,15 +1,15 @@
{extends "../@layout.xml"}
{block title}{_"welcome"}{/block}
{block title}{_welcome}{/block}
{block header}
{_"welcome"}
{_welcome}
{/block}
{block content}
{presenter "openvk!Support->knowledgeBaseArticle", "about"}
<center>
<a class="button" style="margin-right: 5px;cursor: pointer;" href="/login">{_"log_in"}</a>
<a class="button" style="cursor: pointer;" href="/reg">{_"registration"}</a>
<a class="button" style="margin-right: 5px;cursor: pointer;" href="/login">{_log_in}</a>
<a class="button" style="cursor: pointer;" href="/reg">{_registration}</a>
</center>
{* TO-DO: Add statistics about this instance as on mastodon.social *}
{/block}

View file

@ -6,9 +6,9 @@
{/block}
{block content}
{_"you_can_invite"}<br><br>
{_you_can_invite}<br><br>
<center>
<input type="text" readonly value="https://{$_SERVER["HTTP_HOST"]}/reg?ref={rawurlencode($thisUser->getRefLinkId())}" size="50" />
</center>
<p>{_"you_can_invite_2"}</p>
<p>{_you_can_invite_2}</p>
{/block}

View file

@ -1,8 +1,8 @@
{extends "../@layout.xml"}
{block title}{_"select_language"}{/block}
{block title}{_select_language}{/block}
{block header}
{_"select_language"}
{_select_language}
{/block}
{block content}

View file

@ -1,20 +1,20 @@
{extends "../@layout.xml"}
{block title}
{_"access_recovery"}
{_access_recovery}
{/block}
{block header}
{_"page_access_recovery"}
{_page_access_recovery}
{/block}
{block content}
<p>
{_"access_recovery_info_2"}
{_access_recovery_info_2}
</p>
<form method="POST" enctype="multipart/form-data">
<label for="password">{_"new_password"}: </label>
<label for="password">{_new_password}: </label>
<input id="password" type="password" name="password" required />
<br/><br/>
{if $is2faEnabled}
@ -24,6 +24,6 @@
{/if}
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" value="{_'reset_password'}" class="button" style="float: right;" />
<input type="submit" value="{_reset_password}" class="button" style="float: right;" />
</form>
{/block}

View file

@ -1,8 +1,8 @@
{extends "../@layout.xml"}
{block title}{_"log_in"}{/block}
{block title}{_log_in}{/block}
{block header}
{_"log_in"}
{_log_in}
{/block}
{block content}
@ -11,7 +11,7 @@
<tbody>
<tr>
<td>
<span>{_"email"}: </span>
<span>{_email}: </span>
</td>
<td>
<input type="text" name="login" required />
@ -19,7 +19,7 @@
</tr>
<tr>
<td>
<span>{_"password"}: </span>
<span>{_password}: </span>
</td>
<td>
<input type="password" name="password" required />
@ -31,8 +31,8 @@
</td>
<td>
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" value="{_'log_in'}" class="button" />
<a href="/reg">{_"registration"}</a>
<input type="submit" value="{_log_in}" class="button" />
<a href="/reg">{_registration}</a>
</td>
</tr>
</tbody>

View file

@ -1,13 +1,13 @@
{extends "../@layout.xml"}
{block title}{_"log_in"}{/block}
{block title}{_log_in}{/block}
{block header}
{_"log_in"}
{_log_in}
{/block}
{block content}
<p>
{_"two_factor_authentication_login"}
{_two_factor_authentication_login}
</p>
<form method="POST" enctype="multipart/form-data">
@ -29,7 +29,7 @@
<input type="hidden" name="login" value="{$login}" />
<input type="hidden" name="password" value="{$password}" />
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" value="{_'log_in'}" class="button" />
<input type="submit" value="{_log_in}" class="button" />
</td>
</tr>
</tbody>

View file

@ -1,8 +1,8 @@
{extends "../@layout.xml"}
{block title}{_"registration"}{/block}
{block title}{_registration}{/block}
{block header}
{_"registration"}
{_registration}
{/block}
{block headIncludes}
@ -28,7 +28,7 @@
<tbody>
<tr>
<td>
<span>{_"name"}: </span>
<span>{_name}: </span>
</td>
<td>
<input type="text" name="first_name" required />
@ -36,7 +36,7 @@
</tr>
<tr>
<td>
<span>{_"surname"}: </span>
<span>{_surname}: </span>
</td>
<td>
<input type="text" name="last_name" />
@ -44,19 +44,19 @@
</tr>
<tr>
<td>
<span>{_"gender"}: </span>
<span>{_gender}: </span>
</td>
<td>
{var $femalePreferred = OPENVK_ROOT_CONF["openvk"]["preferences"]["femaleGenderPriority"]}
<select name="sex" required>
<option n:attr="selected => !$femalePreferred" value="male">{_"male"}</option>
<option n:attr="selected => $femalePreferred" value="female">{_"female"}</option>
<option n:attr="selected => !$femalePreferred" value="male">{_male}</option>
<option n:attr="selected => $femalePreferred" value="female">{_female}</option>
</select>
</td>
</tr>
<tr>
<td>
<span>{_"birth_date"}: </span>
<span>{_birth_date}: </span>
</td>
<td>
<input max={date('Y-m-d')} name="birthday" type="date"/>
@ -65,7 +65,7 @@
<tr></tr>
<tr>
<td>
<span>{_"email"}: </span>
<span>{_email}: </span>
</td>
<td>
<input type="email" name="email" required />
@ -73,7 +73,7 @@
</tr>
<tr>
<td>
<span>{_"password"}: </span>
<span>{_password}: </span>
</td>
<td>
<input type="password" name="password" required />
@ -93,8 +93,8 @@
</td>
<td>
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" value="{_'registration'}" class="button" />
<a href="/login">{_"log_in"}</a>
<input type="submit" value="{_registration}" class="button" />
<a href="/login">{_log_in}</a>
</td>
</tr>
</tbody>
@ -102,9 +102,9 @@
</form>
{else}
<center>
<img src="/assets/packages/static/openvk/img/oof.apng" alt="{_'registration_closed'}" style="width: 20%;" />
<img src="/assets/packages/static/openvk/img/oof.apng" alt="{_registration_closed}" style="width: 20%;" />
<p>
{_"registration_disabled_info"}
{_registration_disabled_info}
{if OPENVK_ROOT_CONF['openvk']['preferences']['registration']['reason']}
<br/><br/><b>{php echo OPENVK_ROOT_CONF['openvk']['preferences']['registration']['reason']}</b>
{/if}

View file

@ -1,24 +1,24 @@
{extends "../@layout.xml"}
{block title}
{_"access_recovery"}
{_access_recovery}
{/block}
{block header}
{_"page_access_recovery"}
{_page_access_recovery}
{/block}
{block content}
<p>
{_"access_recovery_info"}
{_access_recovery_info}
</p>
<form method="POST" enctype="multipart/form-data">
<label for="login">{_"log_in"}: </label>
<label for="login">{_log_in}: </label>
<input id="login" type="text" name="login" required />
<br/><br/>
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" value="{_'reset_password'}" class="button" style="float: right;" />
<input type="submit" value="{_reset_password}" class="button" style="float: right;" />
</form>
{/block}

View file

@ -12,7 +12,7 @@
<tbody>
<tr>
<td width="120" valign="top">
<span class="nobold">{_"comment"}: </span>
<span class="nobold">{_comment}: </span>
</td>
<td>
<input type="text" name="comment" value="{$manager->getComment()}" />
@ -34,7 +34,7 @@
<td>
<input type="hidden" name="user" value="{$manager->getUser()->getId()}">
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" value="{_'save'}" class="button" />
<input type="submit" value="{_save}" class="button" />
</td>
</tr>
</tbody>

View file

@ -1,19 +1,19 @@
{extends "../@layout.xml"}
{block title}{_"create_group"}{/block}
{block title}{_create_group}{/block}
{block header}
{_"create_group"}
{_create_group}
{/block}
{block content}
<div class="container_gray">
<h4>{_"create_group"}</h4>
<h4>{_create_group}</h4>
<form method="POST" enctype="multipart/form-data">
<table cellspacing="7" cellpadding="0" width="60%" border="0" align="center">
<tbody>
<tr>
<td width="120" valign="top">
<span class="nobold">{_"name"}: </span>
<span class="nobold">{_name}: </span>
</td>
<td>
<input type="text" name="name" value="" />
@ -21,7 +21,7 @@
</tr>
<tr>
<td width="120" valign="top">
<span class="nobold">{_"description"}: </span>
<span class="nobold">{_description}: </span>
</td>
<td>
<textarea type="text" name="about"></textarea>
@ -33,7 +33,7 @@
</td>
<td>
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" value="{_'create'}" class="button" />
<input type="submit" value="{_create}" class="button" />
</td>
</tr>
</tbody>

View file

@ -31,7 +31,7 @@
<tbody>
<tr>
<td width="120" valign="top">
<span class="nobold">{_"name"}: </span>
<span class="nobold">{_name}: </span>
</td>
<td>
<input type="text" name="name" value="{$club->getName()}" />
@ -39,7 +39,7 @@
</tr>
<tr>
<td width="120" valign="top">
<span class="nobold">{_"description"}: </span>
<span class="nobold">{_description}: </span>
</td>
<td>
<textarea type="text" name="about" style="resize:vertical;">{$club->getDescription()}</textarea>
@ -105,7 +105,7 @@
</td>
<td>
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" value="{_'save'}" class="button" />
<input type="submit" value="{_save}" class="button" />
</td>
</tr>
</tbody>

View file

@ -54,11 +54,11 @@
<table>
<tbody>
<tr>
<td width="120" valign="top"><span class="nobold">{_"gender"}: </span></td>
<td width="120" valign="top"><span class="nobold">{_gender}: </span></td>
<td>{$user->isFemale() ? "женский" : "мужской"}</td>
</tr>
<tr>
<td width="120" valign="top"><span class="nobold">{_"registration_date"}: </span></td>
<td width="120" valign="top"><span class="nobold">{_registration_date}: </span></td>
<td>{$user->getRegistrationTime()}</td>
</tr>
<tr>

View file

@ -17,22 +17,22 @@
<div n:if="!is_null($alert = $club->getAlert())" class="group-alert">{strpos($alert, "@") === 0 ? tr(substr($alert, 1)) : $alert}</div>
<div class="content_title_expanded" onclick="hidePanel(this);">
{_"information"}
{_information}
</div>
<div class="page_info">
<table class="ugc-table">
<tbody>
<tr>
<td><span class="nobold">{_"name_group"}:</span></td>
<td><span class="nobold">{_name_group}:</span></td>
<td><b>{$club->getName()}</b></td>
</tr>
<tr>
<td><span class="nobold">{_"description"}:</span></td>
<td><span class="nobold">{_description}:</span></td>
<td>{$club->getDescriptionHtml()|noescape}</td>
</tr>
<tr n:if="!is_null($club->getWebsite())">
<td><span class="nobold">{_"website"}: </span></td>
<td><span class="nobold">{_website}: </span></td>
<td>
<a href="{$club->getWebsite()}" rel="ugc" target="_blank">
{$club->getWebsite()}
@ -78,7 +78,7 @@
<div class="content_subtitle">
{tr("topics", $topicsCount)}
<div style="float: right;">
<a href="/board{$club->getId()}">{_"all_title"}</a>
<a href="/board{$club->getId()}">{_all_title}</a>
</div>
</div>
<div>
@ -100,38 +100,38 @@
</a>
<div n:ifset="$thisUser" id="profile_links">
{if $club->canBeModifiedBy($thisUser)}
<a href="/club{$club->getId()}/edit" id="profile_link">{_"edit_group"}</a>
<a href="/club{$club->getId()}/edit" id="profile_link">{_edit_group}</a>
{/if}
{if $thisUser->getChandlerUser()->can("access")->model("admin")->whichBelongsTo(NULL)}
<a href="/admin/clubs/id{$club->getId()}" id="profile_link">{_"manage_group_action"}</a>
<a href="/admin/clubs/id{$club->getId()}" id="profile_link">{_manage_group_action}</a>
{/if}
{if $club->getSubscriptionStatus($thisUser) == false}
<form action="/setSub/club" method="post">
<input type="hidden" name="act" value="add" />
<input type="hidden" name="id" value="{$club->getId()}" />
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" id="profile_link" value="{_"join_community"}" />
<input type="submit" id="profile_link" value="{_join_community}" />
</form>
{else}
<form action="/setSub/club" method="post">
<input type="hidden" name="act" value="rem" />
<input type="hidden" name="id" value="{$club->getId()}" />
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" id="profile_link" value="{_"leave_community"}" />
<input type="submit" id="profile_link" value="{_leave_community}" />
</form>
{/if}
</div>
<div>
<div class="content_title_expanded" onclick="hidePanel(this);">
{_"group_type"}
{_group_type}
</div>
<div style="padding:4px">
{_"group_type_open"}
{_group_type_open}
</div>
</div>
<div n:if="$club->getAdministratorsListDisplay() == 0">
<div class="content_title_expanded" onclick="hidePanel(this);">
{_"creator"}
{_creator}
</div>
<div class="avatar-list-item" style="padding: 8px;">
{var $author = $club->getOwner()}
@ -154,13 +154,13 @@
{var $managersCount = $club->getManagersCount(true)}
<div class="content_title_expanded" onclick="hidePanel(this, {$managersCount});">
{_"administrators"}
{_administrators}
</div>
<div>
<div class="content_subtitle">
{tr("administrators", $managersCount)}
<div style="float: right;">
<a href="/club{$club->getId()}/followers?onlyAdmins=1">{_"all_title"}</a>
<a href="/club{$club->getId()}/followers?onlyAdmins=1">{_all_title}</a>
</div>
</div>
<div class="avatar-list">
@ -193,13 +193,13 @@
</div>
<div n:if="$albumsCount > 0 || ($thisUser && $club->canBeModifiedBy($thisUser))">
<div class="content_title_expanded" onclick="hidePanel(this, {$albumsCount});">
{_"albums"}
{_albums}
</div>
<div>
<div class="content_subtitle">
{tr("albums", $albumsCount)}
<div style="float:right;">
<a href="/albums{$club->getId() * -1}">{_"all_title"}</a>
<a href="/albums{$club->getId() * -1}">{_all_title}</a>
</div>
</div>
<div style="padding: 5px;">
@ -227,7 +227,7 @@
<div class="content_subtitle">
{tr("topics", $topicsCount)}
<div style="float: right;">
<a href="/board{$club->getId()}">{_"all_title"}</a>
<a href="/board{$club->getId()}">{_all_title}</a>
</div>
</div>
<div>

View file

@ -9,9 +9,9 @@
{$album->getOwner()->getCanonicalName()}
</a>
{if $isClub}
» <a href="/albums{$album->getOwner()->getId() * -1}">{_"albums"}</a>
» <a href="/albums{$album->getOwner()->getId() * -1}">{_albums}</a>
{else}
» <a href="/albums{$album->getOwner()->getId()}">{_"albums"}</a>
» <a href="/albums{$album->getOwner()->getId()}">{_albums}</a>
{/if}
» {$album->getName()}
{/block}
@ -23,9 +23,9 @@
{if !is_null($thisUser) && $album->canBeModifiedBy($thisUser) && !$album->isCreatedBySystem()}
&nbsp;|&nbsp;
<a href="/photos/upload?album={$album->getPrettyId()}">{_"upload_photo"}</a>
<a href="/photos/upload?album={$album->getPrettyId()}">{_upload_photo}</a>
&nbsp;|&nbsp;
<a href="/album{$album->getPrettyId()}/edit">{_"edit_album"}</a>
<a href="/album{$album->getPrettyId()}/edit">{_edit_album}</a>
{/if}
<br/><br/>
{if $album->getPhotosCount() > 0}

View file

@ -2,7 +2,7 @@
{var $iterator = iterator_to_array($albums)}
{var $page = $paginatorConf->page}
{block title}{_"albums"} {$owner->getCanonicalName()}{/block}
{block title}{_albums} {$owner->getCanonicalName()}{/block}
{block header}
{if isset($thisUser) && $thisUser->getId() == $owner->getId()}

View file

@ -1,39 +1,39 @@
{extends "../@layout.xml"}
{block title}{_"creating_album"}{/block}
{block title}{_creating_album}{/block}
{block header}
{ifset $club}
<a href="{$club->getURL()}">{$club->getName()}</a>
»
<a href="/albums{$club->getId() * -1}">{_"albums"}</a>
<a href="/albums{$club->getId() * -1}">{_albums}</a>
{else}
<a href="{$thisUser->getURL()}">{$thisUser->getCanonicalName()}</a>
»
<a href="/albums{$thisUser->getId()}">{_"albums"}</a>
<a href="/albums{$thisUser->getId()}">{_albums}</a>
{/ifset}
»
{_"creating_album"}
{_creating_album}
{/block}
{block content}
<div class="container_gray">
<h4>{_"creating_album"}</h4>
<h4>{_creating_album}</h4>
<form method="post" enctype="multipart/form-data">
<table cellspacing="7" cellpadding="0" width="60%" border="0" align="center">
<tbody>
<tr>
<td width="120" valign="top"><span class="nobold">{_"name"}:</span></td>
<td width="120" valign="top"><span class="nobold">{_name}:</span></td>
<td><input type="text" name="name" /></td>
</tr>
<tr>
<td width="120" valign="top"><span class="nobold">{_"description"}:</span></td>
<td width="120" valign="top"><span class="nobold">{_description}:</span></td>
<td><textarea name="desc"></textarea></td>
</tr>
<tr>
<td width="120" valign="top"></td>
<td>
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" class="button" name="submit" value="{_'create'}" />
<input type="submit" class="button" name="submit" value="{_create}" />
</td>
</tr>
</tbody>

View file

@ -5,9 +5,9 @@
<a href="{$album->getOwner()->getURL()}">{$album->getOwner()->getCanonicalName()}</a>
»
{if $album->getOwner() instanceof openvk\Web\Models\Entities\Club}
<a href="/albums{$album->getOwner()->getId() * -1}">{_"albums"}</a>
<a href="/albums{$album->getOwner()->getId() * -1}">{_albums}</a>
{else}
<a href="/albums{$album->getOwner()->getId()}">{_"albums"}</a>
<a href="/albums{$album->getOwner()->getId()}">{_albums}</a>
{/if}
»
{$album->getName()}
@ -18,11 +18,11 @@
<table cellspacing="6">
<tbody>
<tr>
<td width="120" valign="top"><span class="nobold">{_"name"}:</span></td>
<td width="120" valign="top"><span class="nobold">{_name}:</span></td>
<td><input type="text" name="name" value="{$album->getName()}" /></td>
</tr>
<tr>
<td width="120" valign="top"><span class="nobold">{_"description"}:</span></td>
<td width="120" valign="top"><span class="nobold">{_description}:</span></td>
<td>
<textarea style="margin: 0px; height: 50px; width: 159px; resize: none;" name="desc">{$album->getDescription()}</textarea>
</td>
@ -31,7 +31,7 @@
<td width="120" valign="top"></td>
<td>
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" class="button" name="submit" value="{_'save'}" />
<input type="submit" class="button" name="submit" value="{_save}" />
</td>
</tr>
</tbody>
@ -39,6 +39,6 @@
</form>
<hr/>
<center>
{_"you_can_also"} <a href="/album{$album->getOwner() instanceof openvk\Web\Models\Entities\Club ? '-' : ''}{$album->getOwner()->getId()}_{$album->getId()}/delete?hash={rawurlencode($csrfToken)}">{_"delete_album"}</a>.
{_you_can_also} <a href="/album{$album->getOwner() instanceof openvk\Web\Models\Entities\Club ? '-' : ''}{$album->getOwner()->getId()}_{$album->getId()}/delete?hash={rawurlencode($csrfToken)}">{_delete_album}</a>.
</center>
{/block}

View file

@ -4,7 +4,7 @@
{block header}
<a href="{$thisUser->getURL()}">{$thisUser->getCanonicalName()}</a>
»
{_"photo"}
{_photo}
{/block}
{block content}
@ -12,7 +12,7 @@
<table cellspacing="6">
<tbody>
<tr>
<td width="120" valign="top"><span class="nobold">{_"description"}:</span></td>
<td width="120" valign="top"><span class="nobold">{_description}:</span></td>
<td>
<textarea style="margin: 0px; height: 50px; width: 159px; resize: none;" name="desc">{$photo->getDescription()}</textarea>
</td>
@ -21,7 +21,7 @@
<td width="120" valign="top"></td>
<td>
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" class="button" name="submit" value="{_'save'}" />
<input type="submit" class="button" name="submit" value="{_save}" />
</td>
</tr>
</tbody>

View file

@ -1,6 +1,6 @@
{extends "../@layout.xml"}
{block title}{_"photo"}{/block}
{block title}{_photo}{/block}
{block header}
{ifset $album}
@ -8,15 +8,15 @@
{$album->getOwner()->getCanonicalName()}
</a>
{if ($album->getOwner() instanceof openvk\Web\Models\Entities\Club)}
» <a href="/albums{$album->getOwner()->getId() * -1}">{_"albums"}</a>
» <a href="/albums{$album->getOwner()->getId() * -1}">{_albums}</a>
{else}
» <a href="/albums{$album->getOwner()->getId()}">{_"albums"}</a>
» <a href="/albums{$album->getOwner()->getId()}">{_albums}</a>
{/if}
» <a href="/album{$album->getPrettyId()}">{$album->getName()}</a>
{else}
<a href="{$photo->getOwner()->getURL()}">{$photo->getOwner()->getCanonicalName()}</a>
{/ifset}
» {_"photo"}
» {_photo}
{/block}
{block content}
@ -32,21 +32,21 @@
</div>
<div style="float: left; min-height: 100px; width: 30%;">
<div>
<h4>{_"information"}</h4>
<span style="color: grey;">{_"info_description"}:</span>
{$photo->getDescription() ?? "(отсутствует)"}<br/>
<span style="color: grey;">{_"info_uploaded_by"}:</span>
<h4>{_information}</h4>
<span style="color: grey;">{_info_description}:</span>
{$photo->getDescription() ?? "(" . tr("none") . ")"}<br/>
<span style="color: grey;">{_info_uploaded_by}:</span>
<a href="{$photo->getOwner()->getURL()}">{$photo->getOwner()->getFullName()}</a><br/>
<span style="color: grey;">{_"info_upload_date"}:</span>
<span style="color: grey;">{_info_upload_date}:</span>
{$photo->getPublicationTime()}
</div>
<br/>
<h4>{_actions}</h4>
<div n:if="isset($thisUser) && $thisUser->getId() === $photo->getOwner()->getId()">
<a href="/photo{$photo->getPrettyId()}/edit" class="profile_link" style="display:block;width:96%;">{_"edit"}</a>
<a id="_photoDelete" href="/photo{$photo->getPrettyId()}/delete" class="profile_link" style="display:block;width:96%;">{_"delete"}</a>
<a href="/photo{$photo->getPrettyId()}/edit" class="profile_link" style="display:block;width:96%;">{_edit}</a>
<a id="_photoDelete" href="/photo{$photo->getPrettyId()}/delete" class="profile_link" style="display:block;width:96%;">{_delete}</a>
</div>
<a href="{$photo->getURL()}" class="profile_link" target="_blank" style="display:block;width:96%;">{_"open_original"}</a>
<a href="{$photo->getURL()}" class="profile_link" target="_blank" style="display:block;width:96%;">{_open_original}</a>
</div>
</div>
{/block}

View file

@ -1,14 +1,14 @@
{extends "../@layout.xml"}
{block title}{_"upload_photo"}{/block}
{block title}{_upload_photo}{/block}
{block header}
<a href="{$thisUser->getURL()}">{$thisUser->getCanonicalName()}</a>
»
<a href="/albums{$thisUser->getId()}">{_"albums"}</a>
<a href="/albums{$thisUser->getId()}">{_albums}</a>
»
<a href="/album{$album->getPrettyId()}">{$album->getName()}</a>
»
{_"upload_photo"}
{_upload_photo}
{/block}
{block content}
@ -16,11 +16,11 @@
<table cellspacing="6">
<tbody>
<tr>
<td width="120" valign="top"><span class="nobold">{_"description"}:</span></td>
<td width="120" valign="top"><span class="nobold">{_description}:</span></td>
<td><textarea style="margin: 0px; height: 50px; width: 159px; resize: none;" name="desc"></textarea></td>
</tr>
<tr>
<td width="120" valign="top"><span class="nobold">{_"photo"}:</span></td>
<td width="120" valign="top"><span class="nobold">{_photo}:</span></td>
<td><input type="file" name="blob" accept="image/*" /></td>
</tr>
<tr>

View file

@ -51,7 +51,7 @@
{/block}
{block preview}
<img src="{$x->getAvatarUrl('miniscule')}" width="75" alt="{_"photo"}" />
<img src="{$x->getAvatarUrl('miniscule')}" width="75" alt="{_photo}" />
{/block}
{block name}
@ -63,21 +63,21 @@
<tbody>
{if $type === "users"}
<tr>
<td><span class="nobold">{_"gender"}: </span></td>
<td><span class="nobold">{_gender}: </span></td>
<td>{$x->isFemale() ? tr("female") : tr("male")}</td>
</tr>
<tr>
<td><span class="nobold">{_"relationship"}:</span></td>
<td><span class="nobold">{_relationship}:</span></td>
<td>{$x->getLocalizedMaritalStatus()}</td>
</tr>
<tr>
<td><span class="nobold">{_"registration_date"}: </span></td>
<td><span class="nobold">{_registration_date}: </span></td>
<td>{$x->getRegistrationTime()}</td>
</tr>
{/if}
<tr>
<td>
<span class="nobold">{_"description"}:</span>
<span class="nobold">{_description}:</span>
</td>
<td>
{$x->getDescription() ?? '(' . tr("none") . ')'}

View file

@ -28,7 +28,7 @@
{if $isNew}
{if !is_null($banReason)}
<center>
<img src="/assets/packages/static/openvk/img/oof.apng" alt="{_'banned_alt'}" style="width: 20%;" />
<img src="/assets/packages/static/openvk/img/oof.apng" alt="{_banned_alt}" style="width: 20%;" />
</center>
<p>
{tr("banned_in_support_1", htmlentities($thisUser->getCanonicalName()))|noescape}<br/>

View file

@ -14,8 +14,8 @@
{block tabs}
<form style="margin-left: 12px;">
<input name="query" class="header_search_input" placeholder="{_"header_search"}" value="{$_GET['query'] ?? ''}" style="width: 86%" />
<input type="submit" class="button" value="{_"search_button"}" style="width: 7.5%" />
<input name="query" class="header_search_input" placeholder="{_header_search}" value="{$_GET['query'] ?? ''}" style="width: 86%" />
<input type="submit" class="button" value="{_search_button}" style="width: 7.5%" />
</form>
<p style="margin-left: 15px;">

View file

@ -1,8 +1,8 @@
{extends "../@layout.xml"}
{block title}{_"edit_page"}{/block}
{block title}{_edit_page}{/block}
{block header}
{_"edit_page"}
{_edit_page}
{/block}
{block content}
@ -18,29 +18,29 @@
<div class="tabs">
<div n:attr="id => ($isMain ? 'activetabs' : 'ki')" class="tab">
<a n:attr="id => ($isMain ? 'act_tab_a' : 'ki')" href="/edit">{_"main"}</a>
<a n:attr="id => ($isMain ? 'act_tab_a' : 'ki')" href="/edit">{_main}</a>
</div>
<div n:attr="id => ($isContacts ? 'activetabs' : 'ki')" class="tab">
<a n:attr="id => ($isContacts ? 'act_tab_a' : 'ki')" href="/edit?act=contacts">{_"contacts"}</a>
<a n:attr="id => ($isContacts ? 'act_tab_a' : 'ki')" href="/edit?act=contacts">{_contacts}</a>
</div>
<div n:attr="id => ($isInterests ? 'activetabs' : 'ki')" class="tab">
<a n:attr="id => ($isInterests ? 'act_tab_a' : 'ki')" href="/edit?act=interests">{_"interests"}</a>
<a n:attr="id => ($isInterests ? 'act_tab_a' : 'ki')" href="/edit?act=interests">{_interests}</a>
</div>
<div n:attr="id => ($isAvatar ? 'activetabs' : 'ki')" class="tab">
<a n:attr="id => ($isAvatar ? 'act_tab_a' : 'ki')" href="/edit?act=avatar">{_"avatar"}</a>
<a n:attr="id => ($isAvatar ? 'act_tab_a' : 'ki')" href="/edit?act=avatar">{_avatar}</a>
</div>
</div>
<div class="container_gray">
{if $isMain}
<h4>{_"main_information"}</h4>
<h4>{_main_information}</h4>
<form action="/edit?act=main" method="POST" enctype="multipart/form-data">
<table cellspacing="7" cellpadding="0" width="60%" border="0" align="center">
<tbody>
<tr>
<td width="120" valign="top">
<span class="nobold">{_"name"}: </span>
<span class="nobold">{_name}: </span>
</td>
<td>
<input type="text" name="first_name" value="{$user->getFirstName(true)}" />
@ -48,7 +48,7 @@
</tr>
<tr>
<td width="120" valign="top">
<span class="nobold">{_"surname"}: </span>
<span class="nobold">{_surname}: </span>
</td>
<td>
<input type="text" name="last_name" value="{$user->getLastName(true)}" />
@ -56,7 +56,7 @@
</tr>
<tr>
<td width="120" valign="top">
<span class="nobold">{_"nickname"}: </span>
<span class="nobold">{_nickname}: </span>
</td>
<td>
<input type="text" name="pseudo" value="{$user->getPseudo()}" />
@ -65,7 +65,7 @@
{if OPENVK_ROOT_CONF['openvk']['credentials']['zadarma']['enable']}
<tr>
<td width="120" valign="top">
<span class="nobold">{_"phone"}: </span>
<span class="nobold">{_phone}: </span>
</td>
<td>
<input type="phone" name="phone" value="{$user->getPhone()}" />
@ -74,7 +74,7 @@
{/if}
<tr>
<td width="120" valign="top">
<span class="nobold">{_"status"}: </span>
<span class="nobold">{_status}: </span>
</td>
<td>
<input type="text" name="status" value="{$user->getStatus()}" />
@ -82,7 +82,7 @@
</tr>
<tr>
<td width="120" valign="top">
<span class="nobold">{_"hometown"}: </span>
<span class="nobold">{_hometown}: </span>
</td>
<td>
<input type="text" name="hometown" value="{$user->getHometown()}" />
@ -90,7 +90,7 @@
</tr>
<tr>
<td width="120" valign="top">
<span class="nobold">{_"relationship"}: </span>
<span class="nobold">{_relationship}: </span>
</td>
<td>
<select name="marialstatus">
@ -98,7 +98,7 @@
{if $user->isFemale()}
{var $str = "relationship_$i"}
{if tr($str . "_fem") == ("@$str" . "_fem")}
{_"$str"}
{_$str}
{else}
{tr($str . "_fem")}
{/if}
@ -111,38 +111,38 @@
</tr>
<tr>
<td width="120" valign="top">
<span class="nobold">{_"politViews"}: </span>
<span class="nobold">{_politViews}: </span>
</td>
<td>
<select name="politViews">
<option value="0" {if $user->getPoliticalViews() == 0}selected{/if}>{_"politViews_0"}</option>
<option value="1" {if $user->getPoliticalViews() == 1}selected{/if}>{_"politViews_1"}</option>
<option value="2" {if $user->getPoliticalViews() == 2}selected{/if}>{_"politViews_2"}</option>
<option value="3" {if $user->getPoliticalViews() == 3}selected{/if}>{_"politViews_3"}</option>
<option value="4" {if $user->getPoliticalViews() == 4}selected{/if}>{_"politViews_4"}</option>
<option value="5" {if $user->getPoliticalViews() == 5}selected{/if}>{_"politViews_5"}</option>
<option value="6" {if $user->getPoliticalViews() == 6}selected{/if}>{_"politViews_6"}</option>
<option value="7" {if $user->getPoliticalViews() == 7}selected{/if}>{_"politViews_7"}</option>
<option value="8" {if $user->getPoliticalViews() == 8}selected{/if}>{_"politViews_8"}</option>
<option value="9" {if $user->getPoliticalViews() == 9}selected{/if}>{_"politViews_9"}</option>
<option value="0" {if $user->getPoliticalViews() == 0}selected{/if}>{_politViews_0}</option>
<option value="1" {if $user->getPoliticalViews() == 1}selected{/if}>{_politViews_1}</option>
<option value="2" {if $user->getPoliticalViews() == 2}selected{/if}>{_politViews_2}</option>
<option value="3" {if $user->getPoliticalViews() == 3}selected{/if}>{_politViews_3}</option>
<option value="4" {if $user->getPoliticalViews() == 4}selected{/if}>{_politViews_4}</option>
<option value="5" {if $user->getPoliticalViews() == 5}selected{/if}>{_politViews_5}</option>
<option value="6" {if $user->getPoliticalViews() == 6}selected{/if}>{_politViews_6}</option>
<option value="7" {if $user->getPoliticalViews() == 7}selected{/if}>{_politViews_7}</option>
<option value="8" {if $user->getPoliticalViews() == 8}selected{/if}>{_politViews_8}</option>
<option value="9" {if $user->getPoliticalViews() == 9}selected{/if}>{_politViews_9}</option>
</select>
</td>
</tr>
<tr>
<td width="120" valign="top">
<span class="nobold">{_"gender"}: </span>
<span class="nobold">{_gender}: </span>
</td>
<td>
<select name="gender">
<option value="1" {if $user->isFemale() == true}selected{/if}>{_"female"}</option>
<option value="0" {if $user->isFemale() == false}selected{/if}>{_"male"}</option>
<option value="1" {if $user->isFemale() == true}selected{/if}>{_female}</option>
<option value="0" {if $user->isFemale() == false}selected{/if}>{_male}</option>
</select>
</td>
</tr>
<tr>
<td width="120" valign="top">
<span class="nobold">{_"birth_date"}: </span>
<span class="nobold">{_birth_date}: </span>
</td>
<td>
<input max={date('Y-m-d')} name="birthday" value={is_null($user->getBirthday()) ? NULL : $user->getBirthday()->format('%Y-%m-%d')} type="date" style="margin-bottom: 7px;" />
@ -158,7 +158,7 @@
</td>
<td>
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" value="{_'save'}" class="button" />
<input type="submit" value="{_save}" class="button" />
</td>
</tr>
</tbody>
@ -167,13 +167,13 @@
{elseif $isContacts}
<h4>{_"contact_information"}</h4>
<h4>{_contact_information}</h4>
<form action="/edit?act=contacts" method="POST" enctype="multipart/form-data">
<table cellspacing="7" cellpadding="0" width="60%" border="0" align="center">
<tbody>
<tr>
<td width="120" valign="top">
<span class="nobold">{_"email"}: </span>
<span class="nobold">{_email}: </span>
</td>
<td>
<input type="email" name="email_contact" value="{$user->getContactEmail()}" />
@ -181,7 +181,7 @@
</tr>
<tr>
<td width="120" valign="top">
<span class="nobold">{_"telegram"}: </span>
<span class="nobold">{_telegram}: </span>
</td>
<td>
<input type="text" name="telegram" value="{$user->getTelegram()}" />
@ -189,7 +189,7 @@
</tr>
<tr>
<td width="120" valign="top">
<span class="nobold">{_"personal_website"}: </span>
<span class="nobold">{_personal_website}: </span>
</td>
<td>
<input type="text" name="website" value="{$user->getWebsite()}" />
@ -197,7 +197,7 @@
</tr>
<tr>
<td width="120" valign="top">
<span class="nobold">{_"city"}: </span>
<span class="nobold">{_city}: </span>
</td>
<td>
<input type="text" name="city" value="{$user->getCity()}" />
@ -205,7 +205,7 @@
</tr>
<tr>
<td width="120" valign="top">
<span class="nobold">{_"address"}: </span>
<span class="nobold">{_address}: </span>
</td>
<td>
<input type="text" name="address" value="{$user->getPhysicalAddress()}" />
@ -217,7 +217,7 @@
</td>
<td>
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" value="{_'save'}" class="button" />
<input type="submit" value="{_save}" class="button" />
</td>
</tr>
</tbody>
@ -226,13 +226,13 @@
{elseif $isInterests}
<h4>{_"personal_information"}</h4>
<h4>{_personal_information}</h4>
<form action="/edit?act=interests" method="POST" enctype="multipart/form-data">
<table cellspacing="7" cellpadding="0" width="60%" border="0" align="center">
<tbody>
<tr>
<td width="120" valign="top">
<span class="nobold">{_"interests"}: </span>
<span class="nobold">{_interests}: </span>
</td>
<td>
<textarea type="text" name="interests">{$user->getInterests()}</textarea>
@ -240,7 +240,7 @@
</tr>
<tr>
<td width="120" valign="top">
<span class="nobold">{_"favorite_music"}: </span>
<span class="nobold">{_favorite_music}: </span>
</td>
<td>
<textarea type="text" name="fav_music">{$user->getFavoriteMusic()}</textarea>
@ -248,7 +248,7 @@
</tr>
<tr>
<td width="120" valign="top">
<span class="nobold">{_"favorite_films"}: </span>
<span class="nobold">{_favorite_films}: </span>
</td>
<td>
<textarea type="text" name="fav_films">{$user->getFavoriteFilms()}</textarea>
@ -256,7 +256,7 @@
</tr>
<tr>
<td width="120" valign="top">
<span class="nobold">{_"favorite_shows"}: </span>
<span class="nobold">{_favorite_shows}: </span>
</td>
<td>
<textarea type="text" name="fav_shows">{$user->getFavoriteShows()}</textarea>
@ -264,7 +264,7 @@
</tr>
<tr>
<td width="120" valign="top">
<span class="nobold">{_"favorite_books"}: </span>
<span class="nobold">{_favorite_books}: </span>
</td>
<td>
<textarea type="text" name="fav_books">{$user->getFavoriteBooks()}</textarea>
@ -272,7 +272,7 @@
</tr>
<tr>
<td width="120" valign="top">
<span class="nobold">{_"favorite_quotes"}: </span>
<span class="nobold">{_favorite_quotes}: </span>
</td>
<td>
<textarea type="text" name="fav_quote">{$user->getFavoriteQuote()}</textarea>
@ -280,7 +280,7 @@
</tr>
<tr>
<td width="120" valign="top">
<span class="nobold">{_"information_about"}: </span>
<span class="nobold">{_information_about}: </span>
</td>
<td>
<textarea type="text" name="about">{$user->getDescription()}</textarea>
@ -292,7 +292,7 @@
</td>
<td>
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" value="{_'save'}" class="button" />
<input type="submit" value="{_save}" class="button" />
</td>
</tr>
</tbody>
@ -301,13 +301,13 @@
{elseif $isAvatar}
<h4>{_"profile_picture"}</h4>
<h4>{_profile_picture}</h4>
<form action="/al_avatars" method="POST" enctype="multipart/form-data">
<table cellspacing="7" cellpadding="0" width="60%" border="0" align="center">
<tbody>
<tr>
<td width="120" valign="top">
<span class="nobold">{_"picture"}: </span>
<span class="nobold">{_picture}: </span>
</td>
<td>
<input type="file" name="blob" accept="image/*" />
@ -319,7 +319,7 @@
</td>
<td>
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" value="{_'save'}" class="button" />
<input type="submit" value="{_save}" class="button" />
</td>
</tr>
</tbody>

View file

@ -19,13 +19,13 @@
{block title}
{if $act == "incoming"}
{_"incoming_req"}
{_incoming_req}
{elseif $act == "outcoming"}
{_"outcoming_req"}
{_outcoming_req}
{elseif $act == "online"}
{_"friends_online"}
{_friends_online}
{else}
{_"friends"}
{_friends}
{/if}
{/block}
@ -35,13 +35,13 @@
{else}
<a href="{$user->getURL()}">{$user->getCanonicalName()}</a> »
{if $act == "incoming"}
{_"incoming_req"}
{_incoming_req}
{elseif $act == "outcoming"}
{_"outcoming_req"}
{_outcoming_req}
{elseif $act == "online"}
{_"friends_online"}
{_friends_online}
{else}
{_"friends"}
{_friends}
{/if}
{/if}
{/block}
@ -108,15 +108,15 @@
<table>
<tbody>
<tr>
<td width="120" valign="top"><span class="nobold">{_"gender"}: </span></td>
<td width="120" valign="top"><span class="nobold">{_gender}: </span></td>
<td>{$x->isFemale() ? tr("female") : tr("male")}</td>
</tr>
<tr>
<td width="120" valign="top"><span class="nobold">{_"relationship"}:</span></td>
<td width="120" valign="top"><span class="nobold">{_relationship}:</span></td>
<td>{$x->getLocalizedMaritalStatus()}</td>
</tr>
<tr>
<td width="120" valign="top"><span class="nobold">{_"registration_date"}: </span></td>
<td width="120" valign="top"><span class="nobold">{_registration_date}: </span></td>
<td>{$x->getRegistrationTime()}</td>
</tr>
</tbody>
@ -131,29 +131,29 @@
<input type="hidden" name="act" value="add" />
<input type="hidden" name="id" value="{$x->getId()}" />
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" class="profile_link" value="{_"friends_add"}" />
<input type="submit" class="profile_link" value="{_friends_add}" />
</form>
{elseif $subStatus === 1}
<form action="/setSub/user" method="post" class="profile_link_form">
<input type="hidden" name="act" value="add" />
<input type="hidden" name="id" value="{$x->getId()}" />
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" class="profile_link" value="{_"friends_accept"}" />
<input type="submit" class="profile_link" value="{_friends_accept}" />
</form>
{elseif $subStatus === 2}
<form action="/setSub/user" method="post" class="profile_link_form">
<input type="hidden" name="act" value="rem" />
<input type="hidden" name="id" value="{$x->getId()}" />
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" class="profile_link" value="{_"friends_reject"}" />
<input type="submit" class="profile_link" value="{_friends_reject}" />
</form>
{elseif $subStatus === 3}
<a href="/im?sel={$x->getId()}" class="profile_link">{_"send_message"}</a>
<a href="/im?sel={$x->getId()}" class="profile_link">{_send_message}</a>
<form action="/setSub/user" method="post" class="profile_link_form">
<input type="hidden" name="act" value="rem" />
<input type="hidden" name="id" value="{$x->getId()}" />
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" class="profile_link" value="{_"friends_delete"}" />
<input type="submit" class="profile_link" value="{_friends_delete}" />
</form>
{/if}
{/if}

View file

@ -87,7 +87,7 @@
<input type="hidden" name="act" value="rem" />
<input type="hidden" name="id" value="{$x->getId()}" />
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" class="profile_link" value="{_"leave_community"}" />
<input type="submit" class="profile_link" value="{_leave_community}" />
</form>
{/if}
{/block}

View file

@ -1,8 +1,8 @@
{extends "../@layout.xml"}
{block title}{_"my_settings"}{/block}
{block title}{_my_settings}{/block}
{block header}
{_"my_settings"}
{_my_settings}
{/block}
{block content}
@ -15,16 +15,16 @@
<div class="tabs">
<div n:attr="id => ($isMain ? 'activetabs' : 'ki')" class="tab">
<a n:attr="id => ($isMain ? 'act_tab_a' : 'ki')" href="/settings">{_"main"}</a>
<a n:attr="id => ($isMain ? 'act_tab_a' : 'ki')" href="/settings">{_main}</a>
</div>
<div n:attr="id => ($isPrivacy ? 'activetabs' : 'ki')" class="tab">
<a n:attr="id => ($isPrivacy ? 'act_tab_a' : 'ki')" href="/settings?act=privacy">{_"privacy"}</a>
<a n:attr="id => ($isPrivacy ? 'act_tab_a' : 'ki')" href="/settings?act=privacy">{_privacy}</a>
</div>
<div n:if="OPENVK_ROOT_CONF['openvk']['preferences']['commerce']" n:attr="id => (($isFinance || $isFinanceTU) ? 'activetabs' : 'ki')" class="tab">
<a n:attr="id => (($isFinance || $isFinanceTU) ? 'act_tab_a' : 'ki')" href="/settings?act=finance">{_points}</a>
</div>
<div n:attr="id => ($isInterface ? 'activetabs' : 'ki')" class="tab">
<a n:attr="id => ($isInterface ? 'act_tab_a' : 'ki')" href="/settings?act=interface">{_"interface"}</a>
<a n:attr="id => ($isInterface ? 'act_tab_a' : 'ki')" href="/settings?act=interface">{_interface}</a>
</div>
</div>
@ -32,12 +32,12 @@
{if $isMain}
<form action="/settings?act=main" method="POST" enctype="multipart/form-data">
<h4>{_"change_password"}</h4>
<h4>{_change_password}</h4>
<table cellspacing="7" cellpadding="0" width="60%" border="0" align="center">
<tbody>
<tr>
<td width="120" valign="top">
<span class="nobold">{_"old_password"}</span>
<span class="nobold">{_old_password}</span>
</td>
<td>
<input type="password" name="old_pass" style="width: 100%;" />
@ -45,7 +45,7 @@
</tr>
<tr>
<td width="120" valign="top">
<span class="nobold">{_"new_password"}</span>
<span class="nobold">{_new_password}</span>
</td>
<td>
<input type="password" name="new_pass" style="width: 100%;" />
@ -53,7 +53,7 @@
</tr>
<tr>
<td width="120" valign="top">
<span class="nobold">{_"repeat_password"}</span>
<span class="nobold">{_repeat_password}</span>
</td>
<td>
<input type="password" name="repeat_pass" style="width: 100%;" />
@ -73,7 +73,7 @@
</td>
<td>
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" value="{_"change_password"}" class="button" />
<input type="submit" value="{_change_password}" class="button" />
</td>
</tr>
</tbody>
@ -214,7 +214,7 @@
</td>
<td>
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" value="{_'save'}" class="button" />
<input type="submit" value="{_save}" class="button" />
</td>
</tr>
</tbody>
@ -362,7 +362,7 @@
</td>
<td>
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" value="{_'save'}" class="button" />
<input type="submit" value="{_save}" class="button" />
</td>
</tr>
</table>
@ -464,23 +464,23 @@
<tbody>
<tr>
<td width="120" valign="top">
<span class="nobold">{_"avatars_style"}</span>
<span class="nobold">{_avatars_style}</span>
</td>
<td>
<select name="style_avatar">
<option value="0" {if $user->getStyleAvatar() == 0}selected{/if}>{_"arbitrary_avatars"} ({_"default"})</option>
<option value="1" {if $user->getStyleAvatar() == 1}selected{/if}>{_"cut"}</option>
<option value="2" {if $user->getStyleAvatar() == 2}selected{/if}>{_"round_avatars"}</option>
<option value="0" {if $user->getStyleAvatar() == 0}selected{/if}>{_arbitrary_avatars} ({_default})</option>
<option value="1" {if $user->getStyleAvatar() == 1}selected{/if}>{_cut}</option>
<option value="2" {if $user->getStyleAvatar() == 2}selected{/if}>{_round_avatars}</option>
</select>
</td>
</tr>
<tr>
<td width="120" valign="top">
<span class="nobold">{_"style"}</span>
<span class="nobold">{_style}</span>
</td>
<td>
<select name="style">
<option value="ovk" {if $user->getStyle() == 'ovk'}selected{/if}>OpenVK ({_"default"})</option>
<option value="ovk" {if $user->getStyle() == 'ovk'}selected{/if}>OpenVK ({_default})</option>
<option n:foreach="$themes as $id => $theme"
n:attr="selected => $user->getStyle() === $id"
value="{$id}">
@ -548,7 +548,7 @@
</td>
<td>
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" value="{_'save'}" class="button" />
<input type="submit" value="{_save}" class="button" />
</td>
</tr>
</tbody>
@ -649,7 +649,7 @@
</td>
<td>
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" value="{_'save'}" class="button" />
<input type="submit" value="{_save}" class="button" />
</td>
</tr>
</tbody>

View file

@ -1,18 +1,18 @@
{extends "../@layout.xml"}
{block title}{_"my_settings"} - {_"two_factor_authentication"}{/block}
{block title}{_my_settings} - {_two_factor_authentication}{/block}
{block header}
<a href="/settings">{_"my_settings"}</a> » {_"two_factor_authentication"}
<a href="/settings">{_my_settings}</a> » {_two_factor_authentication}
{/block}
{block content}
<h4>{_"backup_codes"}</h4>
<p>{_"two_factor_authentication_backup_codes_1"}</p>
<p>{_"two_factor_authentication_backup_codes_2"|noescape}</p>
<h4>{_backup_codes}</h4>
<p>{_two_factor_authentication_backup_codes_1}</p>
<p>{_two_factor_authentication_backup_codes_2|noescape}</p>
<ol style="columns: 2; text-align: center;">
<li n:foreach="$codes as $code">{$code}</li>
</ol>
<p>{_"two_factor_authentication_backup_codes_3"}</p>
<p>{_two_factor_authentication_backup_codes_3}</p>
{/block}

View file

@ -1,18 +1,18 @@
{extends "../@layout.xml"}
{block title}{_"my_settings"} - {_"two_factor_authentication"}{/block}
{block title}{_my_settings} - {_two_factor_authentication}{/block}
{block header}
<a href="/settings">{_"my_settings"}</a> » {_"two_factor_authentication"}
<a href="/settings">{_my_settings}</a> » {_two_factor_authentication}
{/block}
{block content}
{_"two_factor_authentication_settings_1"|noescape}
<p>{_"two_factor_authentication_settings_2"}</p>
{_two_factor_authentication_settings_1|noescape}
<p>{_two_factor_authentication_settings_2}</p>
<div style="text-align: center;">
<img width="225" height="225" src="data:{$qrCodeType};base64,{$qrCodeData}">
</div>
<p>{tr("two_factor_authentication_settings_3", $secret)|noescape}</p>
<p>{_"two_factor_authentication_settings_4"}</p>
<p>{_two_factor_authentication_settings_4}</p>
<form method="POST">
<table cellspacing="7" cellpadding="0" width="40%" border="0" align="center">
<tbody>

View file

@ -34,7 +34,7 @@
class="name-checkmark"
src="/assets/packages/static/openvk/img/checkmark.png"
/>
<span n:if="isset($thisUser) && $user->getId() == $thisUser->getId()"><b>({_"this_is_you"})</b></span>
<span n:if="isset($thisUser) && $user->getId() == $thisUser->getId()"><b>({_this_is_you})</b></span>
<!-- DEBUG: ONLINE REPORT: static {$user->getOnline()->timestamp()}s adjusted {$user->getOnline()->timestamp() + 2505600}s real {time()}s -->
<div n:if="$user->getOnline()->timestamp() + 2505600 > time()" style="float:right;">
@ -70,7 +70,7 @@
<div n:ifset="$thisUser" id="profile_links">
{if $user->getId() == $thisUser->getId()}
<div id="profile_link" style="width: 194px;">
<a href="/edit" class="link">{_"edit_page"}</a>
<a href="/edit" class="link">{_edit_page}</a>
</div>
<div n:if="OPENVK_ROOT_CONF['openvk']['preferences']['commerce'] && !$thisUser->prefersNotToSeeRating()" id="profile_link" style="width: 194px;">
<a onClick="showIncreaseRatingDialog({$thisUser->getCoins()}, {ltrim($thisUser->getUrl(), '/')}, {$csrfToken})" class="link">{_increase_rating}</a>
@ -105,7 +105,7 @@
{/if}
<a n:if="OPENVK_ROOT_CONF['openvk']['preferences']['commerce'] && $user->getGiftCount() == 0" href="/gifts?act=pick&user={$user->getId()}" class="profile_link">{_send_gift}</a>
<a n:if="$user->getPrivacyPermission('messages.write', $thisUser)" href="/im?sel={$user->getId()}" class="profile_link">{_"send_message"}</a>
<a n:if="$user->getPrivacyPermission('messages.write', $thisUser)" href="/im?sel={$user->getId()}" class="profile_link">{_send_message}</a>
{var $subStatus = $user->getSubscriptionStatus($thisUser)}
{if $subStatus === 0}
@ -113,28 +113,28 @@
<input type="hidden" name="act" value="add" />
<input type="hidden" name="id" value="{$user->getId()}" />
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" class="profile_link" value="{_"friends_add"}" />
<input type="submit" class="profile_link" value="{_friends_add}" />
</form>
{elseif $subStatus === 1}
<form action="/setSub/user" method="post" class="profile_link_form">
<input type="hidden" name="act" value="add" />
<input type="hidden" name="id" value="{$user->getId()}" />
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" class="profile_link" value="{_"friends_accept"}" />
<input type="submit" class="profile_link" value="{_friends_accept}" />
</form>
{elseif $subStatus === 2}
<form action="/setSub/user" method="post" class="profile_link_form">
<input type="hidden" name="act" value="rem" />
<input type="hidden" name="id" value="{$user->getId()}" />
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" class="profile_link" value="{_"friends_reject"}" />
<input type="submit" class="profile_link" value="{_friends_reject}" />
</form>
{elseif $subStatus === 3}
<form action="/setSub/user" method="post" class="profile_link_form">
<input type="hidden" name="act" value="rem" />
<input type="hidden" name="id" value="{$user->getId()}" />
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" class="profile_link" value="{_"friends_delete"}" />
<input type="submit" class="profile_link" value="{_friends_delete}" />
</form>
{/if}
{/if}
@ -177,13 +177,13 @@
{var $friendCount = $user->getFriendsCount()}
<div class="content_title_expanded" onclick="hidePanel(this, {$friendCount});">
{_"friends"}
{_friends}
</div>
<div>
<div class="content_subtitle">
{tr("friends", $friendCount)}
<div style="float:right;">
<a href="/friends{$user->getId()}">{_"all_title"}</a>
<a href="/friends{$user->getId()}">{_all_title}</a>
</div>
</div>
<div class="content_list">
@ -205,13 +205,13 @@
{var $friendOnlineCount = $user->getFriendsOnlineCount()}
<div class="content_title_expanded" onclick="hidePanel(this, {$friendOnlineCount});">
{_"friends_online"}
{_friends_online}
</div>
<div>
<div class="content_subtitle">
{tr("friends_online", $friendOnlineCount)}
<div style="float:right;">
<a href="/friends{$user->getId()}?act=online">{_"all_title"}</a>
<a href="/friends{$user->getId()}?act=online">{_all_title}</a>
</div>
</div>
<div class="content_list">
@ -231,13 +231,13 @@
</div>
<div n:if="$albumsCount > 0 && $user->getPrivacyPermission('photos.read', $thisUser ?? NULL)">
<div class="content_title_expanded" onclick="hidePanel(this, {$albumsCount});">
{_"albums"}
{_albums}
</div>
<div>
<div class="content_subtitle">
{tr("albums", $albumsCount)}
<div style="float:right;">
<a href="/albums{$user->getId()}">{_"all_title"}</a>
<a href="/albums{$user->getId()}">{_all_title}</a>
</div>
</div>
<div style="padding: 5px;">
@ -265,7 +265,7 @@
<div class="content_subtitle">
{tr("videos", $videosCount)}
<div style="float:right;">
<a href="/videos{$user->getId()}">{_"all_title"}</a>
<a href="/videos{$user->getId()}">{_all_title}</a>
</div>
</div>
<div style="padding: 5px;">
@ -291,7 +291,7 @@
<div class="content_subtitle">
{tr("notes", $notesCount)}
<div style="float:right;">
<a href="/notes{$user->getId()}">{_"all_title"}</a>
<a href="/notes{$user->getId()}">{_all_title}</a>
</div>
</div>
@ -314,13 +314,13 @@
<div n:if="$user->getClubCount() > 0 && $user->getPrivacyPermission('groups.read', $thisUser ?? NULL)">
{var $clubsCount = $user->getClubCount()}
<div class="content_title_expanded" onclick="hidePanel(this, {$clubsCount})">
{_"groups"}
{_groups}
</div>
<div>
<div class="content_subtitle">
{tr("groups", $clubsCount)}
<div style="float:right;">
<a href="/groups{$user->getId()}">{_"all_title"}</a>
<a href="/groups{$user->getId()}">{_all_title}</a>
</div>
</div>
<div style="padding-left: 5px;">
@ -339,7 +339,7 @@
<div class="content_subtitle">
{tr("meetings", $meetingCount)}
<div style="float:right;">
<a href="/groups{$user->getId()}?act=meetings">{_"all_title"}</a>
<a href="/groups{$user->getId()}?act=meetings">{_all_title}</a>
</div>
</div>
<div style="padding-left: 5px;">
@ -372,7 +372,7 @@
<div n:class="page_status, $thatIsThisUser ? page_status_edit_button" n:attr="id => $thatIsThisUser ? page_status_text : NULL">{$user->getStatus()}</div>
{elseif $thatIsThisUser}
<div class="page_status">
<div n:class="edit_link, $thatIsThisUser ? page_status_edit_button" id="page_status_text">[ {_"change_status"} ]</div>
<div n:class="edit_link, $thatIsThisUser ? page_status_edit_button" id="page_status_text">[ {_change_status} ]</div>
</div>
{/if}
</div>
@ -381,27 +381,27 @@
<table id="basicInfo" class="ugc-table" border="0" cellspacing="0" cellpadding="0" border="0" cellspacing="0" cellpadding="0" n:if=" $user->getPrivacyPermission('page.info.read', $thisUser ?? NULL)">
<tbody>
<tr>
<td class="label"><span class="nobold">{_"gender"}: </span></td>
<td class="label"><span class="nobold">{_gender}: </span></td>
<td class="data">{$user->isFemale() ? tr("female") : tr("male")}</td>
</tr>
<tr>
<td class="label"><span class="nobold">{_"relationship"}:</span></td>
<td class="label"><span class="nobold">{_relationship}:</span></td>
<td class="data">{$user->getLocalizedMaritalStatus()}</td>
</tr>
<tr>
<td class="label"><span class="nobold">{_"registration_date"}: </span></td>
<td class="label"><span class="nobold">{_registration_date}: </span></td>
<td class="data">{$user->getRegistrationTime()}</td>
</tr>
<tr n:if="!is_null($user->getHometown())">
<td class="label"><span class="nobold">{_"hometown"}:</span></td>
<td class="label"><span class="nobold">{_hometown}:</span></td>
<td class="data">{$user->getHometown()}</td>
</tr>
<tr>
<td class="label"><span class="nobold">{_"politViews"}:</span></td>
<td class="label"><span class="nobold">{_politViews}:</span></td>
<td class="data">{var $pviews = $user->getPoliticalViews()}{_"politViews_$pviews"}</td>
</tr>
<tr n:if="!is_null($user->getBirthday())">
<td class="label"><span class="nobold">{_"birth_date"}:</span></td>
<td class="label"><span class="nobold">{_birth_date}:</span></td>
<td n:if="$user->getBirthdayPrivacy() == 0" class="data">{$user->getBirthday()->format('%e %B %Y')},
{tr("years", $user->getAge())}</td>
<td n:if="$user->getBirthdayPrivacy() == 1" class="data">{$user->getBirthday()->format('%e %B')}</td>
@ -412,14 +412,14 @@
</div>
<div n:if="$user->getPrivacyPermission('page.info.read', $thisUser ?? NULL)">
<div class="content_title_expanded" onclick="hidePanel(this);">
{_"information"}
{_information}
</div>
{capture $contactInfo_Tmp}
<table class="ugc-table" border="0" cellspacing="0" cellpadding="0" border="0" cellspacing="0" cellpadding="0" n:ifcontent>
<tbody n:ifcontent>
<tr n:if="!is_null($user->getContactEmail())">
<td class="label"><span class="nobold">{_"email"}: </span></td>
<td class="label"><span class="nobold">{_email}: </span></td>
<td>
<a href="mailto:{$user->getContactEmail()}" rel="ugc">
{$user->getContactEmail()}
@ -427,7 +427,7 @@
</td>
</tr>
<tr n:if="!is_null($user->getTelegram())">
<td class="label"><span class="nobold">{_"telegram"}: </span></td>
<td class="label"><span class="nobold">{_telegram}: </span></td>
<td>
<a href="https://t.me/{$user->getTelegram()}" rel="ugc" target="_blank">
@{$user->getTelegram()}
@ -435,7 +435,7 @@
</td>
</tr>
<tr n:if="!is_null($user->getWebsite())">
<td class="label"><span class="nobold">{_"personal_website"}: </span></td>
<td class="label"><span class="nobold">{_personal_website}: </span></td>
<td>
<a href="{$user->getWebsite()}" rel="ugc" target="_blank">
{$user->getWebsite()}
@ -443,11 +443,11 @@
</td>
</tr>
<tr n:if="!is_null($user->getCity())">
<td class="label"><span class="nobold">{_"city"}:</span></td>
<td class="label"><span class="nobold">{_city}:</span></td>
<td class="data">{$user->getCity()}</td>
</tr>
<tr n:if="!is_null($user->getPhysicalAddress())">
<td class="label"><span class="nobold">{_"address"}:</span></td>
<td class="label"><span class="nobold">{_address}:</span></td>
<td class="data">{$user->getPhysicalAddress()}</td>
</tr>
</tbody>
@ -457,27 +457,27 @@
<table class="ugc-table" border="0" cellspacing="0" cellpadding="0" border="0" cellspacing="0" cellpadding="0" n:ifcontent>
<tbody n:ifcontent>
<tr n:if="!is_null($user->getInterests())">
<td class="label"><span class="nobold">{_"interests"}: </span></td>
<td class="label"><span class="nobold">{_interests}: </span></td>
<td class="data">{$user->getInterests()}</td>
</tr>
<tr n:if="!is_null($user->getFavoriteMusic())">
<td class="label"><span class="nobold">{_"favorite_music"}: </span></td>
<td class="label"><span class="nobold">{_favorite_music}: </span></td>
<td class="data">{$user->getFavoriteMusic()}</td>
</tr>
<tr n:if="!is_null($user->getFavoriteFilms())">
<td class="label"><span class="nobold">{_"favorite_films"}: </span></td>
<td class="label"><span class="nobold">{_favorite_films}: </span></td>
<td class="data">{$user->getFavoriteFilms()}</td>
</tr>
<tr n:if="!is_null($user->getFavoriteShows())">
<td class="label"><span class="nobold">{_"favorite_shows"}: </span></td>
<td class="label"><span class="nobold">{_favorite_shows}: </span></td>
<td class="data">{$user->getFavoriteShows()}</td>
</tr>
<tr n:if="!is_null($user->getFavoriteBooks())">
<td class="label"><span class="nobold">{_"favorite_books"}: </span></td>
<td class="label"><span class="nobold">{_favorite_books}: </span></td>
<td class="data">{$user->getFavoriteBooks()}</td>
</tr>
<tr n:if="!is_null($user->getFavoriteQuote())">
<td class="label"><span class="nobold">{_"favorite_quotes"}: </span></td>
<td class="label"><span class="nobold">{_favorite_quotes}: </span></td>
<td class="data">{$user->getFavoriteQuote()}</td>
</tr>
<tr n:if="!is_null($user->getDescription())">
@ -489,14 +489,14 @@
{/capture}
<div>
<div style="padding: 10px 8px 15px 8px;" n:ifcontent>
<h4 style="border-bottom: none; font-size: 11px; padding: 0; display: inline-block;">{_"contact_information"} {ifset $thisUser}{if $thisUser->getId() == $user->getId()}<a href="/edit?act=contacts" class="edit_link">[ {_"edit"} ]</a>{/if}{/ifset}</h4>
<h4 style="border-bottom: none; font-size: 11px; padding: 0; display: inline-block;">{_contact_information} {ifset $thisUser}{if $thisUser->getId() == $user->getId()}<a href="/edit?act=contacts" class="edit_link">[ {_edit} ]</a>{/if}{/ifset}</h4>
{if !empty($contactInfo_Tmp)}
{$contactInfo_Tmp|noescape}
{else}
<div style="padding: 15px;color:gray;text-align: center;">{_no_information_provided}</div>
{/if}
<br>
<h4 style="border-bottom: none; font-size: 11px; padding: 0; display: inline-block;">{_"personal_information"} {ifset $thisUser}{if $thisUser->getId() == $user->getId()}<a href="/edit?act=interests" class="edit_link">[ {_"edit"} ]</a>{/if}{/ifset}</h4>
<h4 style="border-bottom: none; font-size: 11px; padding: 0; display: inline-block;">{_personal_information} {ifset $thisUser}{if $thisUser->getId() == $user->getId()}<a href="/edit?act=interests" class="edit_link">[ {_edit} ]</a>{/if}{/ifset}</h4>
{if !empty($uInfo_Tmp)}
{$uInfo_Tmp|noescape}
{else}

View file

@ -2,7 +2,7 @@
<img src="/assets/packages/static/openvk/img/oof.apng" alt="Пользователь заблокирован." style="width: 20%;" />
<p>
{tr("user_banned", htmlentities($user->getFirstName()))|noescape}<br/>
{_"user_banned_comment"} <b>{$user->getBanReason()}</b>.
{_user_banned_comment} <b>{$user->getBanReason()}</b>.
</p>
{if isset($thisUser)}
<p n:if="$thisUser->getChandlerUser()->can('access')->model('admin')->whichBelongsTo(NULL) || $thisUser->getChandlerUser()->can('write')->model('openvk\Web\Models\Entities\TicketReply')->whichBelongsTo(0)">

View file

@ -4,9 +4,9 @@
{block header}
<a href="{$thisUser->getURL()}">{$thisUser->getCanonicalName()}</a>
»
<a href="/videos{$thisUser->getId()}">{_"videos"}</a>
<a href="/videos{$thisUser->getId()}">{_videos}</a>
»
<a href="/video{$video->getPrettyId()}">{_"video"}</a>
<a href="/video{$video->getPrettyId()}">{_video}</a>
»
Изменить видеозапись
{/block}
@ -18,13 +18,13 @@
<table cellspacing="7" cellpadding="0" width="60%" border="0" align="center">
<tbody>
<tr>
<td width="120" valign="top"><span class="nobold">{_"name"}:</span></td>
<td width="120" valign="top"><span class="nobold">{_name}:</span></td>
<td>
<input type="text" value="{$video->getName()}" name="name" />
</td>
</tr>
<tr>
<td width="120" valign="top"><span class="nobold">{_"description"}:</span></td>
<td width="120" valign="top"><span class="nobold">{_description}:</span></td>
<td>
<textarea name="desc">{$video->getDescription()}</textarea>
</td>
@ -33,7 +33,7 @@
<td width="120" valign="top"></td>
<td>
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" class="button" name="submit" value="{_'save'}" />
<input type="submit" class="button" name="submit" value="{_save}" />
</td>
</tr>
</tbody>

View file

@ -3,11 +3,11 @@
{var $count = $paginatorConf->count}
{var $page = $paginatorConf->page}
{block title}{_"videos"} {$user->getCanonicalName()}{/block}
{block title}{_videos} {$user->getCanonicalName()}{/block}
{block header}
<a href="{$user->getURL()}">{$user->getCanonicalName()}</a>
» {_"videos"}
» {_videos}
{/block}
{block size}
@ -48,10 +48,10 @@
<p>
<span>{$x->getDescription() ?? ""}</span>
</p>
<span style="color: grey;">{_"video_uploaded"} {$x->getPublicationTime()}</span><br/>
<span style="color: grey;">{_"video_updated"} {$x->getEditTime() ?? $x->getPublicationTime()}</span>
<span style="color: grey;">{_video_uploaded} {$x->getPublicationTime()}</span><br/>
<span style="color: grey;">{_video_updated} {$x->getEditTime() ?? $x->getPublicationTime()}</span>
<p>
<a href="/video{$x->getPrettyId()}">{_view_video}</a>
{if $x->getCommentsCount() > 0}| <a href="/video{$x->getPrettyId()}#comments">{_"comments"} ({$x->getCommentsCount()})</a>{/if}
{if $x->getCommentsCount() > 0}| <a href="/video{$x->getPrettyId()}#comments">{_comments} ({$x->getCommentsCount()})</a>{/if}
</p>
{/block}

View file

@ -1,41 +1,41 @@
{extends "../@layout.xml"}
{block title}{_"upload_video"}{/block}
{block title}{_upload_video}{/block}
{block header}
<a href="{$thisUser->getURL()}">{$thisUser->getCanonicalName()}</a>
»
<a href="/videos{$thisUser->getId()}">{_"videos"}</a>
<a href="/videos{$thisUser->getId()}">{_videos}</a>
»
{_"upload_video"}
{_upload_video}
{/block}
{block content}
<div class="container_gray">
<h4>{_"upload_video"}</h4>
<h4>{_upload_video}</h4>
<form method="post" enctype="multipart/form-data">
<table cellspacing="7" cellpadding="0" width="60%" border="0" align="center">
<tbody>
<tr>
<td width="120" valign="top"><span class="nobold">{_"name"}:</span></td>
<td width="120" valign="top"><span class="nobold">{_name}:</span></td>
<td><input type="text" name="name" /></td>
</tr>
<tr>
<td width="120" valign="top"><span class="nobold">{_"description"}:</span></td>
<td width="120" valign="top"><span class="nobold">{_description}:</span></td>
<td><textarea name="desc"></textarea></td>
</tr>
<tr>
<td width="120" valign="top"><span class="nobold">{_"video"}:</span></td>
<td width="120" valign="top"><span class="nobold">{_video}:</span></td>
<td><input type="file" name="blob" accept="video/*" /></td>
</tr>
<tr>
<td width="120" valign="top"><span class="nobold">{_"video_link_to_yt"}:</span></td>
<td width="120" valign="top"><span class="nobold">{_video_link_to_yt}:</span></td>
<td><input type="text" name="link" placeholder="https://www.youtube.com/watch?v=9FWSRQEqhKE" /></td>
</tr>
<tr>
<td width="120" valign="top"></td>
<td>
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" class="button" name="submit" value="{_"upload_button"}" />
<input type="submit" class="button" name="submit" value="{_upload_button}" />
</td>
</tr>
</tbody>

View file

@ -5,9 +5,9 @@
{block header}
<a href="{$user->getURL()}">{$user->getCanonicalName()}</a>
»
<a href="/videos{$user->getId()}">{_"videos"}</a>
<a href="/videos{$user->getId()}">{_videos}</a>
»
{_"video"}
{_video}
{/block}
{block content}
@ -37,14 +37,14 @@
</div>
<div style="float: left; min-height: 100px; width: 30%; overflow: hidden; overflow-wrap: break-word;">
<div>
<h4>{_"information"}</h4>
<span style="color: grey;">{_"info_name"}:</span>
<h4>{_information}</h4>
<span style="color: grey;">{_info_name}:</span>
{$video->getName()}<br/>
<span style="color: grey;">{_"info_description"}:</span>
{$video->getDescription() ?? "(отсутствует)"}<br/>
<span style="color: grey;">{_"info_uploaded_by"}:</span>
<span style="color: grey;">{_info_description}:</span>
{$video->getDescription() ?? "(" . tr("none") . ")"}<br/>
<span style="color: grey;">{_info_uploaded_by}:</span>
<a href="{$user->getURL()}">{$user->getFullName()}</a><br/>
<span style="color: grey;">{_"info_upload_date"}:</span>
<span style="color: grey;">{_info_upload_date}:</span>
{$video->getPublicationTime()}
</div>
<br/>

View file

@ -1,8 +1,8 @@
{extends "../@layout.xml"}
{block title}{_"feed"}{/block}
{block title}{_feed}{/block}
{block header}
{_"feed"}
{_feed}
{/block}
{block content}
@ -29,7 +29,7 @@
{include "../components/paginator.xml", conf => $paginatorConf}
</div>
<div class="postFeedPageSelect">
{_"posts_per_page"}:
{_posts_per_page}:
<br />
<select id="pageSelect">
<option value="1">1</option>

View file

@ -1,5 +1,5 @@
{extends "../@layout.xml"}
{block title}{_"post"}{/block}
{block title}{_post}{/block}
{block header}
<a href="{$wallOwner->getURL()}">
@ -10,7 +10,7 @@
{_wall}
</a>
»
{_"post"}
{_post}
{/block}
{block content}

View file

@ -1,10 +1,10 @@
{extends "../@layout.xml"}
{block title}{_"wall"}{/block}
{block title}{_wall}{/block}
{block header}
<a href="{$oObj->getURL()}">{$oObj->getCanonicalName()}</a>
»
{_"wall"}
{_wall}
<div style="float:right;">
<span>
<b>{tr("wall", $count)}</b>