mirror of
https://github.com/openvk/openvk
synced 2024-12-23 09:01:15 +03:00
Users: Fix #289
This commit is contained in:
parent
1b7eec3953
commit
6a139442c8
1 changed files with 16 additions and 23 deletions
|
@ -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,7 +478,6 @@
|
||||||
{/capture}
|
{/capture}
|
||||||
<div>
|
<div>
|
||||||
<div style="padding: 10px 8px 15px 8px;" n:ifcontent>
|
<div style="padding: 10px 8px 15px 8px;" n:ifcontent>
|
||||||
{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>
|
<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)}
|
||||||
{$contactInfo_Tmp|noescape}
|
{$contactInfo_Tmp|noescape}
|
||||||
|
@ -488,7 +485,6 @@
|
||||||
<div style="padding: 15px;color:gray;text-align: center;">{_no_information_provided}</div>
|
<div style="padding: 15px;color:gray;text-align: center;">{_no_information_provided}</div>
|
||||||
{/if}
|
{/if}
|
||||||
<br>
|
<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>
|
<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)}
|
{if !empty($uInfo_Tmp)}
|
||||||
{$uInfo_Tmp|noescape}
|
{$uInfo_Tmp|noescape}
|
||||||
|
@ -497,9 +493,6 @@
|
||||||
{/if}
|
{/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()}
|
||||||
|
|
Loading…
Reference in a new issue