mirror of
https://github.com/openvk/openvk
synced 2025-01-08 00:39:40 +03:00
a714a0aa16
* Гео-метки * Update Post.xml * Wall: geotag translation * Wall: design + sql fix * Карта ближайших постов * Update al_wall.js * VKAPI: Geo support (not tested idk) * Update WallPresenter.php * Better geo points * Редактирование названия геоточки через интерфейс при создании * SQL and geopoint name fixes * fix js * rewrite a lot --------- Co-authored-by: veselcraft <veselcraft@icloud.com> Co-authored-by: mrilyew <99399973+mrilyew@users.noreply.github.com>
48 lines
2 KiB
XML
48 lines
2 KiB
XML
{extends "../@layout.xml"}
|
|
{block title}{_wall}{/block}
|
|
|
|
{block header}
|
|
<a href="{$oObj->getURL()}">{$oObj->getCanonicalName()}</a>
|
|
»
|
|
{_wall}
|
|
<div style="float:right;">
|
|
<span>
|
|
<b>{tr("wall", $count)}</b>
|
|
</span>
|
|
</div>
|
|
{/block}
|
|
|
|
{block content}
|
|
<div class="content_divider">
|
|
<div>
|
|
<div class="tabs">
|
|
<div n:attr="id => ($type != 'all' ? 'ki' : 'activetabs')" class="tab">
|
|
<a n:attr="id => ($type != 'all' ? 'ki' : 'act_tab_a')" href="/wall{$owner}">{_all_posts}</a>
|
|
</div>
|
|
<div n:attr="id => ($type != 'owners' ? 'ki' : 'activetabs')" class="tab">
|
|
<a n:attr="id => ($type != 'owners' ? 'ki' : 'act_tab_a')" href="/wall{$owner}?type=owners">{isset($club) ? tr("clubs_posts") : tr("users_posts", ovk_proc_strtr($oObj->getFirstName(), 20))}</a>
|
|
</div>
|
|
<div n:attr="id => ($type != 'others' ? 'ki' : 'activetabs')" class="tab">
|
|
<a n:attr="id => ($type != 'others' ? 'ki' : 'act_tab_a')" href="/wall{$owner}?type=others">{_others_posts}</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div n:if="$canPost && $type == 'all'" class="content_subtitle">
|
|
{include "../components/textArea.xml", route => "/wall$owner/makePost", graffiti => true, polls => true, notes => true, hasSource => true, geo => true}
|
|
</div>
|
|
|
|
<div class="content scroll_container">
|
|
{if sizeof($posts) > 0}
|
|
<div class='scroll_node' n:foreach='$posts as $post'>
|
|
<a name="postGarter={$post->getId()}"></a>
|
|
|
|
{include "../components/post.xml", post => $post, commentSection => true}
|
|
</div>
|
|
{include "../components/paginator.xml", conf => $paginatorConf}
|
|
{else}
|
|
{_no_posts_abstract}
|
|
{/if}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{/block}
|