2009-08-24 15:23:52 +03:00
|
|
|
{include file='header.tpl' menu='talk'}
|
|
|
|
|
|
|
|
|
|
|
|
<div class="topic people top-blogs talk-table">
|
2009-08-28 10:22:54 +03:00
|
|
|
<h1>{$aLang.talk_favourite_inbox}</h1>
|
2011-08-21 18:58:52 +03:00
|
|
|
{if $aTalks}
|
2009-08-24 15:23:52 +03:00
|
|
|
<table>
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<td class="user">{$aLang.talk_inbox_target}</td>
|
|
|
|
<td></td>
|
|
|
|
<td>{$aLang.talk_inbox_title}</td>
|
|
|
|
<td>{$aLang.talk_inbox_date}</td>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
<tbody>
|
|
|
|
{foreach from=$aTalks item=oTalk}
|
2009-08-28 02:04:17 +03:00
|
|
|
{assign var="oTalkUserAuthor" value=$oTalk->getTalkUser()}
|
2009-08-24 15:23:52 +03:00
|
|
|
<tr>
|
|
|
|
<td class="name">
|
2009-08-28 02:04:17 +03:00
|
|
|
{foreach from=$oTalk->getTalkUsers() item=oTalkUser name=users}
|
|
|
|
{if $oTalkUser->getUserId()!=$oUserCurrent->getId()}
|
|
|
|
{assign var="oUser" value=$oTalkUser->getUser()}
|
|
|
|
<a href="{$oUser->getUserWebPath()}" class="author {if $oTalkUser->getUserActive()!=$TALK_USER_ACTIVE}inactive{/if}">{$oUser->getLogin()}</a>
|
2009-08-24 15:23:52 +03:00
|
|
|
{/if}
|
|
|
|
{/foreach}
|
2009-08-28 02:04:17 +03:00
|
|
|
|
2009-08-24 15:23:52 +03:00
|
|
|
</td>
|
|
|
|
<td class="talk">
|
|
|
|
<span class="favorite {if $oTalk->getIsFavourite()}active{/if}">
|
|
|
|
<a href="#" onclick="lsFavourite.toggle({$oTalk->getId()},this,'talk'); return false;"></a>
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
<td>
|
2009-08-28 02:04:17 +03:00
|
|
|
{if $oTalkUserAuthor->getCommentCountNew() or !$oTalkUserAuthor->getDateLast()}
|
2009-08-24 15:23:52 +03:00
|
|
|
<a href="{router page='talk'}read/{$oTalk->getId()}/"><b>{$oTalk->getTitle()|escape:'html'}</b></a>
|
|
|
|
{else}
|
|
|
|
<a href="{router page='talk'}read/{$oTalk->getId()}/">{$oTalk->getTitle()|escape:'html'}</a>
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
{if $oTalk->getCountComment()}
|
2009-08-28 02:04:17 +03:00
|
|
|
{$oTalk->getCountComment()} {if $oTalkUserAuthor->getCommentCountNew()}<span style="color: #008000;">+{$oTalkUserAuthor->getCommentCountNew()}</span>{/if}
|
2009-08-24 15:23:52 +03:00
|
|
|
{/if}
|
|
|
|
</td>
|
2009-12-05 17:16:41 +02:00
|
|
|
<td>{date_format date=$oTalk->getDate()}</td>
|
2009-08-24 15:23:52 +03:00
|
|
|
</tr>
|
|
|
|
{/foreach}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2011-08-21 18:58:52 +03:00
|
|
|
{else}
|
|
|
|
{$aLang.talk_favourite_empty}
|
|
|
|
{/if}
|
2009-08-24 15:23:52 +03:00
|
|
|
</div>
|
2011-04-27 19:00:25 +03:00
|
|
|
{include file='paging.tpl' aPaging=$aPaging}
|
2009-08-24 15:23:52 +03:00
|
|
|
{include file='footer.tpl'}
|