mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
User: if date birthday not set
This commit is contained in:
parent
3e38fa4ef1
commit
4158fe547d
1 changed files with 2 additions and 0 deletions
|
@ -357,10 +357,12 @@
|
||||||
<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>
|
<td class="data">{var $pviews = $user->getPoliticalViews()}{_"politViews_$pviews"}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
{if $user->getBirthday() != 0}
|
||||||
<tr>
|
<tr>
|
||||||
<td class="label"><span class="nobold">{_"birth_date"}:</span></td>
|
<td class="label"><span class="nobold">{_"birth_date"}:</span></td>
|
||||||
<td class="data">{date('d F Y',$user->getBirthday())}, {date('Y') - date('Y', $user->getBirthday())} {_"years"}</td>
|
<td class="data">{date('d F Y',$user->getBirthday())}, {date('Y') - date('Y', $user->getBirthday())} {_"years"}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
{/if}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue