mirror of
https://github.com/openvk/openvk
synced 2024-12-24 01:21:07 +03:00
73 lines
2.1 KiB
XML
73 lines
2.1 KiB
XML
{extends "../@listView.xml"}
|
|
|
|
{block title}
|
|
{if $type === "users"}
|
|
{tr("search_for_people")}
|
|
{else}
|
|
{tr("search_for_groups")}
|
|
{/if}
|
|
{/block}
|
|
|
|
{block header}
|
|
{=OPENVK_ROOT_CONF["openvk"]["appearance"]["name"]} »
|
|
{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: 7%" />
|
|
</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}
|