diff --git a/application/frontend/skin/developer/components/article/article.tpl b/application/frontend/skin/developer/components/article/article.tpl index 5ac21c89..5a46bd26 100644 --- a/application/frontend/skin/developer/components/article/article.tpl +++ b/application/frontend/skin/developer/components/article/article.tpl @@ -5,52 +5,60 @@ * @scripts /js/livestreet/topic.js *} -{block 'entry_options'}{/block} +{* Название компонента *} +{$component = 'article'} -{$oUser = $oEntry->getUser()} -{$_sType = ($oEntry->getType()) ? $oEntry->getType() : $sEntryType} +{block 'article_options'} + {$user = $article->getUser()} + {$type = ($article->getType()) ? $article->getType() : $smarty.local.type} + {$isList = $smarty.local.isList} + {$mods = $smarty.local.mods} + {$classes = $smarty.local.classes} -{block 'entry'} -
+ {if ! $isList} + {$mods = "{$mods} single"} + {/if} +{/block} + +{block 'article'} +
{** * Хидер *} - {block 'entry_header'} -
+ {block 'article_header'} +
{* Заголовок *} -

- {block 'entry_title'} - {if $bTopicList} - {$oEntry->getTitle()|escape} +

+ {block 'article_title'} + {if $isList} + {$article->getTitle()|escape} {else} - {$oEntry->getTitle()|escape} + {$article->getTitle()|escape} {/if} {/block}

{* Информация *} -
    - {block 'entry_header_info'} -
  • -
{/block} @@ -59,21 +67,21 @@ {** * Текст *} - {block 'entry_body'} -
- {block 'entry_content_text'} - {if $bTopicList} - {$oEntry->getTextShort()} + {block 'article_body'} +
+ {block 'article_content_text'} + {if $isList} + {$article->getTextShort()} {* Кат *} - {if $oEntry->getTextShort() != $oEntry->getText()} + {if $article->getTextShort() != $article->getText()}
- - {$oEntry->getCutText()|default:$aLang.topic_read_more} + + {$article->getCutText()|default:$aLang.topic.read_more} {/if} {else} - {$oEntry->getText()} + {$article->getText()} {/if} {/block}
@@ -83,39 +91,32 @@ {** * Футер *} - {block 'entry_footer'} -
{/block} \ No newline at end of file