mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
be1e5cf98f
Added: results, post_as_group, add_signature, contains_nsfw, attach_no_longer_available, open_post, version_incompatibility, all_news, posts_per_page, none
73 lines
2 KiB
XML
73 lines
2 KiB
XML
{extends "../@listView.xml"}
|
|
|
|
{block title}
|
|
{if $type === "users"}
|
|
{tr("search_for_people")}
|
|
{else}
|
|
{tr("search_for_groups")}
|
|
{/if}
|
|
{/block}
|
|
|
|
{block header}
|
|
OpenVK »
|
|
{if $type === "users"}
|
|
{tr("search_for_people")}
|
|
{else}
|
|
{tr("search_for_groups")}
|
|
{/if}
|
|
{/block}
|
|
|
|
{block tabs}
|
|
<form style="margin-left: 12px;">
|
|
<input name="type" type="hidden" value="{$_GET['type'] ?? 'users'}" />
|
|
<input name="query" type="text" placeholder="{_"header_search"}" value="{$_GET['query'] ?? ''}" style="width: 90%" />
|
|
<input type="submit" class="button" value="{_"search_button"}" style="width: 9%" />
|
|
</form>
|
|
|
|
<p style="margin-left: 15px;">
|
|
<b>{tr("results", $count)}</b>
|
|
</p>
|
|
{/block}
|
|
|
|
{* BEGIN ELEMENTS DESCRIPTION *}
|
|
|
|
{block link|strip|stripHtml}
|
|
{$x->getURL()}
|
|
{/block}
|
|
|
|
{block preview}
|
|
<img src="{$x->getAvatarUrl()}" width="75" alt="{_"photo"}" />
|
|
{/block}
|
|
|
|
{block name}
|
|
<text style="overflow: hidden;"> {$x->getCanonicalName()}</text>
|
|
{/block}
|
|
|
|
{block description}
|
|
<table class="ugc-table">
|
|
<tbody>
|
|
{if $type === "users"}
|
|
<tr>
|
|
<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>{var $marialStatus = $x->getMaritalStatus()}{_"relationship_$marialStatus"}</td>
|
|
</tr>
|
|
<tr>
|
|
<td><span class="nobold">{_"registration_date"}: </span></td>
|
|
<td>{$x->getRegistrationTime()}</td>
|
|
</tr>
|
|
{/if}
|
|
<tr>
|
|
<td>
|
|
<span class="nobold">{_"description"}:</span>
|
|
</td>
|
|
<td>
|
|
{$x->getDescription() ?? '(' . tr("none") . ')'}
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
{/block}
|