mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-08 09:24:25 +03:00
* Исправлено именование некоторых файлов * Оптимизация стилей * Оптимизация шаблонов * Мелкие исправления
44 lines
1.2 KiB
Smarty
44 lines
1.2 KiB
Smarty
{**
|
|
* Стена
|
|
*}
|
|
|
|
{extends file='layouts/layout.user.tpl'}
|
|
|
|
{block name='layout_user_page_title'}{$aLang.user_menu_profile_wall}{/block}
|
|
|
|
{block name='layout_content'}
|
|
<script>
|
|
ls.wall.init({
|
|
login:'{$oUserProfile->getLogin()}'
|
|
});
|
|
</script>
|
|
|
|
{if $oUserCurrent}
|
|
<form class="wall-submit">
|
|
<label for="wall-text">{$aLang.wall_add_title}:</label>
|
|
<p><textarea rows="4" id="wall-text" class="width-full js-wall-reply-parent-text"></textarea></p>
|
|
|
|
<button type="button" onclick="ls.wall.add(jQuery('#wall-text').val(),0);" class="button button-primary js-button-wall-submit">{$aLang.wall_add_submit}</button>
|
|
</form>
|
|
{else}
|
|
<div class="alert alert-info" id="wall-note-list-empty">
|
|
{$aLang.wall_add_quest}
|
|
</div>
|
|
{/if}
|
|
|
|
{if ! count($aWall)}
|
|
<div class="notice-empty" id="wall-note-list-empty">
|
|
{$aLang.wall_list_empty}
|
|
</div>
|
|
{/if}
|
|
|
|
<div id="wall-container" class="comments wall">
|
|
{include file='actions/ActionProfile/wall.posts.tpl'}
|
|
</div>
|
|
|
|
{if $iCountWall - count($aWall)}
|
|
<div onclick="return ls.wall.loadNext();" id="wall-button-next" class="get-more">
|
|
{$aLang.wall_load_more} (<span id="wall-count-next">{$iCountWall-count($aWall)}</span>)
|
|
</div>
|
|
{/if}
|
|
{/block} |