mirror of
https://github.com/Oreolek/ifhub-skin.git
synced 2024-07-05 08:14:21 +03:00
27 lines
983 B
Smarty
27 lines
983 B
Smarty
|
{**
|
||
|
* Последняя активность
|
||
|
*}
|
||
|
|
||
|
{component_define_params params=[ 'content' ]}
|
||
|
|
||
|
{* Подвал *}
|
||
|
{capture 'block_footer'}
|
||
|
<a href="{router page='rss'}/index">RSS главной страницы</a><br>
|
||
|
<a href="{router page='rss'}new/">RSS всех топиков</a><br>
|
||
|
<a href="{router page='rss'}allcomments/">RSS комментариев</a>
|
||
|
{/capture}
|
||
|
|
||
|
{component 'block'
|
||
|
mods = 'primary activity-recent'
|
||
|
classes = 'js-block-default'
|
||
|
title = {lang 'activity.block_recent.title'}
|
||
|
titleUrl = {router 'stream'}
|
||
|
footer = $smarty.capture.block_footer
|
||
|
tabs = [
|
||
|
'classes' => 'js-tabs-block js-activity-block-recent-tabs',
|
||
|
'tabs' => [
|
||
|
[ 'text' => {lang 'activity.block_recent.topics'}, 'url' => "{router page='ajax'}stream/topic", 'list' => $content ],
|
||
|
[ 'text' => {lang 'activity.block_recent.comments'}, 'url' => "{router page='ajax'}stream/comment" ]
|
||
|
]
|
||
|
]}
|