This commit is contained in:
veselcraft 2021-11-20 14:30:18 +03:00
parent 1b7eec3953
commit 6a139442c8
No known key found for this signature in database
GPG key ID: AED66BC1AC628A4E

View file

@ -354,9 +354,9 @@
<div class="page_info"> <div class="page_info">
<div n:if="!is_null($alert = $user->getAlert())" class="user-alert">{$alert}</div> <div n:if="!is_null($alert = $user->getAlert())" class="user-alert">{$alert}</div>
<div class="accountInfo clearFix"> <div class="accountInfo clearFix">
<div class="profileName"> <div class="profileName">
<h2>{$user->getFullName()}</h2> <h2>{$user->getFullName()}</h2>
{if !is_null($user->getStatus())} {if !is_null($user->getStatus())}
<div class="page_status">{$user->getStatus()}</div> <div class="page_status">{$user->getStatus()}</div>
{elseif isset($thisUser) && $user->getId() == $thisUser->getId()} {elseif isset($thisUser) && $user->getId() == $thisUser->getId()}
<div class="page_status"> <div class="page_status">
@ -365,7 +365,7 @@
{/if} {/if}
</div> </div>
</div><div> </div><div>
<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)"> <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> <tbody>
<tr> <tr>
<td class="label"><span class="nobold">{_"gender"}: </span></td> <td class="label"><span class="nobold">{_"gender"}: </span></td>
@ -399,7 +399,7 @@
</table> </table>
</div> </div>
</div> </div>
<div n:if=" $user->getPrivacyPermission('page.info.read', $thisUser ?? NULL)"> <div n:if="$user->getPrivacyPermission('page.info.read', $thisUser ?? NULL)">
<div class="content_title_expanded" onclick="hidePanel(this);"> <div class="content_title_expanded" onclick="hidePanel(this);">
{_"information"} {_"information"}
</div> </div>
@ -407,7 +407,6 @@
{capture $contactInfo_Tmp} {capture $contactInfo_Tmp}
<table class="ugc-table" border="0" cellspacing="0" cellpadding="0" border="0" cellspacing="0" cellpadding="0" n:ifcontent> <table class="ugc-table" border="0" cellspacing="0" cellpadding="0" border="0" cellspacing="0" cellpadding="0" n:ifcontent>
<tbody n:ifcontent> <tbody n:ifcontent>
<!--sse-->
<tr n:if="!is_null($user->getContactEmail())"> <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> <td>
@ -432,7 +431,6 @@
</a> </a>
</td> </td>
</tr> </tr>
<!--/sse-->
<tr n:if="!is_null($user->getCity())"> <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> <td class="data">{$user->getCity()}</td>
@ -480,26 +478,21 @@
{/capture} {/capture}
<div> <div>
<div style="padding: 10px 8px 15px 8px;" n:ifcontent> <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>
{if !empty($contactInfo_Tmp)} {if !empty($contactInfo_Tmp)}
<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> {$contactInfo_Tmp|noescape}
{if !empty($contactInfo_Tmp)} {else}
{$contactInfo_Tmp|noescape} <div style="padding: 15px;color:gray;text-align: center;">{_no_information_provided}</div>
{else} {/if}
<div style="padding: 15px;color:gray;text-align: center;">{_no_information_provided}</div> <br>
{/if} <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>
<br> {if !empty($uInfo_Tmp)}
{$uInfo_Tmp|noescape}
{else}
<div style="padding-top: 15px;color:gray;text-align: center;">{_no_information_provided}</div>
{/if} {/if}
<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}
<div style="padding-top: 15px;color:gray;text-align: center;">{_no_information_provided}</div>
{/if}
</div> </div>
</div> </div>
<p n:if="empty($contactInfo_Tmp) && empty($uInfo_Tmp)">
Пользователь предпочёл оставить о себе только воздух тайны.
</p>
</div> </div>
{presenter "openvk!Wall->wallEmbedded", $user->getId()} {presenter "openvk!Wall->wallEmbedded", $user->getId()}