1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-01 14:05:07 +03:00

рефакторинг + fix языкового файла

This commit is contained in:
Mzhelskiy Maxim 2009-05-03 20:40:31 +00:00
parent e674a9167f
commit 5923e80f2e
4 changed files with 5 additions and 5 deletions

View file

@ -601,7 +601,7 @@ return array(
'paging_next' => 'следующая_$$',
'paging_previos' => 'предыдущая_$$',
'paging_last' => 'последняя_$$',
'paging_first' => 'предыдущая_$$',
'paging_first' => 'первая_$$',
'paging' => 'Страницы_$$',
/**

View file

@ -2,7 +2,7 @@
{foreach from=$aComments item=oComment name="cmt"}
<li {if $smarty.foreach.cmt.iteration % 2 == 1}class="even"{/if}>
<a href="{$DIR_WEB_ROOT}/{$ROUTE_PAGE_PROFILE}/{$oComment->getUserLogin()}/" class="stream-author">{$oComment->getUserLogin()}</a>&nbsp;&#8594;
<span class="stream-comment-icon"></span><a href="{$DIR_WEB_ROOT}/{$ROUTE_PAGE_BLOG}/{if $oComment->getBlogUrl()}{$oComment->getBlogUrl()}/{/if}{$oComment->getTopicId()}.html#comment{$oComment->getId()}" class="stream-comment">{$oComment->getTopicTitle()|escape:'html'}</a>
<span class="stream-comment-icon"></span><a href="{$oComment->getTopicUrl()}#comment{$oComment->getId()}" class="stream-comment">{$oComment->getTopicTitle()|escape:'html'}</a>
<span> {$oComment->getTopicCountComment()}</span> в <a href="{$oComment->getBlogUrlFull()}" class="stream-blog">{$oComment->getBlogTitle()|escape:'html'}</a>
</li>
{/foreach}

View file

@ -2,7 +2,7 @@
{foreach from=$oTopics item=oTopic name="cmt"}
<li {if $smarty.foreach.cmt.iteration % 2 == 1}class="even"{/if}>
<a href="{$DIR_WEB_ROOT}/{$ROUTE_PAGE_PROFILE}/{$oTopic->getUserLogin()}/" class="stream-author">{$oTopic->getUserLogin()}</a>&nbsp;&#8594;
<span class="stream-topic-icon"></span><a href="{$DIR_WEB_ROOT}/{$ROUTE_PAGE_BLOG}/{if $oTopic->getBlogUrl()}{$oTopic->getBlogUrl()}/{/if}{$oTopic->getId()}.html" class="stream-topic">{$oTopic->getTitle()|escape:'html'}</a>
<span class="stream-topic-icon"></span><a href="{$oTopic->getUrl()}" class="stream-topic">{$oTopic->getTitle()|escape:'html'}</a>
<span>{$oTopic->getCountComment()}</span> в <a href="{$oTopic->getBlogUrlFull()}" class="stream-blog">{$oTopic->getBlogTitle()|escape:'html'}</a>
</li>
{/foreach}

View file

@ -75,9 +75,9 @@
<li class="author"><a href="{$DIR_WEB_ROOT}/{$ROUTE_PAGE_PROFILE}/{$oTopic->getUserLogin()}/">{$oTopic->getUserLogin()}</a></li>
<li class="comments-total">
{if $oTopic->getCountComment()>0}
<a href="{$DIR_WEB_ROOT}/{$ROUTE_PAGE_BLOG}/{if $oTopic->getBlogUrl()}{$oTopic->getBlogUrl()}/{/if}{$oTopic->getId()}.html#comments" title="{$aLang.topic_comment_read}"><span class="red">{$oTopic->getCountComment()}</span>{if $oTopic->getCountCommentNew()}<span class="green">+{$oTopic->getCountCommentNew()}</span>{/if}</a>
<a href="{$oTopic->getUrl()}#comments" title="{$aLang.topic_comment_read}"><span class="red">{$oTopic->getCountComment()}</span>{if $oTopic->getCountCommentNew()}<span class="green">+{$oTopic->getCountCommentNew()}</span>{/if}</a>
{else}
<a href="{$DIR_WEB_ROOT}/{$ROUTE_PAGE_BLOG}/{if $oTopic->getBlogUrl()}{$oTopic->getBlogUrl()}/{/if}{$oTopic->getId()}.html#comments" title="{$aLang.topic_comment_add}"><span class="red">{$aLang.topic_comment_add}</span></a>
<a href="{$oTopic->getUrl()}#comments" title="{$aLang.topic_comment_add}"><span class="red">{$aLang.topic_comment_add}</span></a>
{/if}
</li>
</ul>