1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-08 09:24:25 +03:00
ifhub.club/templates/skin/developer/actions/ActionProfile/wall.tpl

42 lines
1.3 KiB
Smarty
Raw Normal View History

{extends file='layout.base.tpl'}
{block name='layout_content'}
{include file='actions/ActionProfile/profile_top.tpl'}
<h3 class="profile-page-header">{$aLang.user_menu_profile_wall}</h3>
<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="wall-note" id="wall-note-list-empty">
<h3>{$aLang.wall_add_quest}</h3>
</div>
{/if}
{if ! count($aWall)}
<div id="wall-note-list-empty" class="wall-note">
<h3>{$aLang.wall_list_empty}</h3>
</div>
{/if}
<div id="wall-container" class="comments wall">
{include file='actions/ActionProfile/wall_items.tpl'}
2012-05-18 17:28:43 +03:00
</div>
2012-03-12 13:40:26 +02:00
{if $iCountWall - count($aWall)}
<a href="#" onclick="return ls.wall.loadNext();" id="wall-button-next" class="wall-more">
<span class="wall-more-inner">{$aLang.wall_load_more} (<span id="wall-count-next">{$iCountWall-count($aWall)}</span>)</span>
</a>
{/if}
{/block}