1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-26 03:30:48 +03:00

Подготовка компонентов к переносу

* Исправлены пути в бэкенде
This commit is contained in:
Denis Shakhov 2015-01-31 15:30:29 +07:00
parent d829e54a58
commit 5e7c5040cb
32 changed files with 79 additions and 79 deletions

View file

@ -158,7 +158,7 @@ class ActionAjax extends Action
$oViewer->Assign('selectable', $bSelectable, true);
$oViewer->Assign('target', $sTarget, true);
$this->Viewer_AssignAjax('sText', $oViewer->Fetch("components/user/modals/modal.user-list.tpl"));
$this->Viewer_AssignAjax('sText', $oViewer->Fetch("component@user.modal.user-list"));
}
/**
@ -177,7 +177,7 @@ class ActionAjax extends Action
$oViewer->Assign('title', getRequestStr('title'), true);
$oViewer->Assign('desc', getRequestStr('desc'), true);
$this->Viewer_AssignAjax('sText', $oViewer->Fetch("components/crop/crop.tpl"));
$this->Viewer_AssignAjax('sText', $oViewer->Fetch("component@crop.crop"));
}
protected function EventPollVote()
@ -253,7 +253,7 @@ class ActionAjax extends Action
if ($oVote->Add()) {
$oViewer = $this->Viewer_GetLocalViewer();
$oViewer->Assign('oPoll', $oPoll);
$this->Viewer_AssignAjax('sText', $oViewer->Fetch("components/poll/poll.result.tpl"));
$this->Viewer_AssignAjax('sText', $oViewer->Fetch("component@poll.result"));
} else {
return $this->EventErrorDebug();
}
@ -278,7 +278,7 @@ class ActionAjax extends Action
if ($oPoll->Add()) {
$oViewer = $this->Viewer_GetLocalViewer();
$oViewer->Assign('oPoll', $oPoll);
$this->Viewer_AssignAjax('sPollItem', $oViewer->Fetch("components/poll/poll.manage.item.tpl"));
$this->Viewer_AssignAjax('sPollItem', $oViewer->Fetch("component@poll.manage.item"));
return true;
} else {
$this->Message_AddError($this->Lang_Get('common.error.save'), $this->Lang_Get('error'));
@ -322,7 +322,7 @@ class ActionAjax extends Action
if ($oPoll->Update()) {
$oViewer = $this->Viewer_GetLocalViewer();
$oViewer->Assign('oPoll', $oPoll);
$this->Viewer_AssignAjax('sPollItem', $oViewer->Fetch("components/poll/poll.manage.item.tpl"));
$this->Viewer_AssignAjax('sPollItem', $oViewer->Fetch("component@poll.manage.item"));
$this->Viewer_AssignAjax('iPollId', $oPoll->getId());
return true;
} else {
@ -405,7 +405,7 @@ class ActionAjax extends Action
$oViewer->Assign('sTargetType', $sTargetType);
$oViewer->Assign('sTargetId', $sTargetId);
$oViewer->Assign('sTargetTmp', $sTargetTmp);
$this->Viewer_AssignAjax('sText', $oViewer->Fetch("components/poll/modal.poll-create.tpl"));
$this->Viewer_AssignAjax('sText', $oViewer->Fetch("component@poll.modal.create"));
}
protected function EventPollModalUpdate()
@ -434,7 +434,7 @@ class ActionAjax extends Action
$oViewer = $this->Viewer_GetLocalViewer();
$oViewer->Assign('oPoll', $oPoll);
$oViewer->Assign('sTargetTmp', getRequestStr('target_tmp'));
$this->Viewer_AssignAjax('sText', $oViewer->Fetch("components/poll/modal.poll-create.tpl"));
$this->Viewer_AssignAjax('sText', $oViewer->Fetch("component@poll.modal.create"));
}
/**
@ -763,7 +763,7 @@ class ActionAjax extends Action
$sTemplate = '';
foreach ($aMediaItems as $oMediaItem) {
$oViewer->Assign('oMediaItem', $oMediaItem);
$sTemplate .= $oViewer->Fetch('components/uploader/uploader-file.tpl');
$sTemplate .= $oViewer->Fetch('component@uploader.file');
}
$this->Viewer_AssignAjax('html', $sTemplate);
@ -795,7 +795,7 @@ class ActionAjax extends Action
$aTargetItems = $this->Media_GetTargetItemsByFilter($aFilter);
$oViewer = $this->Viewer_GetLocalViewer();
$oViewer->Assign('imagePreviewItems', $aTargetItems);
$this->Viewer_AssignAjax('sTemplatePreview', $oViewer->Fetch('components/field/field.image-ajax-items.tpl'));
$this->Viewer_AssignAjax('sTemplatePreview', $oViewer->Fetch('component@field.image-ajax-items'));
}
protected function EventMediaSubmitInsert()
@ -927,7 +927,7 @@ class ActionAjax extends Action
$oViewer = $this->Viewer_GetLocalViewer();
$oViewer->Assign('oMediaItem', $mResult);
$sTemplateFile = $oViewer->Fetch('components/uploader/uploader-file.tpl');
$sTemplateFile = $oViewer->Fetch('component@uploader.file');
$this->Viewer_AssignAjax('sTemplateFile', $sTemplateFile);
} else {
@ -988,7 +988,7 @@ class ActionAjax extends Action
$oViewer->Assign('target', $oTopic, true);
$oViewer->Assign('oUserCurrent', $this->oUserCurrent);
$this->Viewer_AssignAjax('sText', $oViewer->Fetch("components/vote/vote.info.tpl"));
$this->Viewer_AssignAjax('sText', $oViewer->Fetch("component@vote.info"));
}
/**
@ -1533,7 +1533,7 @@ class ActionAjax extends Action
if ($aComments = $this->Comment_GetCommentsOnline('topic', Config::Get('block.stream.row'))) {
$oViewer = $this->Viewer_GetLocalViewer();
$oViewer->Assign('comments', $aComments, true);
$sTextResult = $oViewer->Fetch("components/activity/blocks/recent-comments.tpl");
$sTextResult = $oViewer->Fetch("component@activity.recent-comments");
$this->Viewer_AssignAjax('sText', $sTextResult);
} else {
$this->Message_AddErrorSingle($this->Lang_Get('block_stream_comments_no'), $this->Lang_Get('attention'));
@ -1551,7 +1551,7 @@ class ActionAjax extends Action
if ($oTopics = $this->Topic_GetTopicsLast(Config::Get('block.stream.row'))) {
$oViewer = $this->Viewer_GetLocalViewer();
$oViewer->Assign('topics', $oTopics, true);
$sTextResult = $oViewer->Fetch("components/activity/blocks/recent-topics.tpl");
$sTextResult = $oViewer->Fetch("component@activity.recent-topics");
$this->Viewer_AssignAjax('sText', $sTextResult);
} else {
$this->Message_AddErrorSingle($this->Lang_Get('activity.block_recent.topics_empty'),
@ -1574,7 +1574,7 @@ class ActionAjax extends Action
$aBlogs = $aResult['collection'];
$oViewer = $this->Viewer_GetLocalViewer();
$oViewer->Assign('aBlogs', $aBlogs);
$sTextResult = $oViewer->Fetch("components/blog/blocks/blogs-top.tpl");
$sTextResult = $oViewer->Fetch("component@blog.top");
$this->Viewer_AssignAjax('sText', $sTextResult);
} else {
$this->Message_AddErrorSingle($this->Lang_Get('system_error'), $this->Lang_Get('error'));
@ -1602,7 +1602,7 @@ class ActionAjax extends Action
if ($aBlogs = $this->Blog_GetBlogsRatingSelf($this->oUserCurrent->getId(), Config::Get('block.blogs.row'))) {
$oViewer = $this->Viewer_GetLocalViewer();
$oViewer->Assign('aBlogs', $aBlogs);
$sTextResult = $oViewer->Fetch("components/blog/blocks/blogs-top.tpl");
$sTextResult = $oViewer->Fetch("component@blog.top");
$this->Viewer_AssignAjax('sText', $sTextResult);
} else {
$this->Message_AddErrorSingle($this->Lang_Get('block_blogs_self_error'), $this->Lang_Get('attention'));
@ -1630,7 +1630,7 @@ class ActionAjax extends Action
if ($aBlogs = $this->Blog_GetBlogsRatingJoin($this->oUserCurrent->getId(), Config::Get('block.blogs.row'))) {
$oViewer = $this->Viewer_GetLocalViewer();
$oViewer->Assign('aBlogs', $aBlogs);
$sTextResult = $oViewer->Fetch("components/blog/blocks/blogs-top.tpl");
$sTextResult = $oViewer->Fetch("component@blog.top");
$this->Viewer_AssignAjax('sText', $sTextResult);
} else {
$this->Message_AddErrorSingle($this->Lang_Get('block_blogs_join_error'), $this->Lang_Get('attention'));
@ -2012,7 +2012,7 @@ class ActionAjax extends Action
$this->Viewer_Assign('oUserCurrent',
$this->oUserCurrent); // хак, т.к. к этому моменту текущий юзер не загружен в шаблон
$this->Viewer_AssignAjax('html', $this->Viewer_Fetch('components/wall/wall.posts.tpl'));
$this->Viewer_AssignAjax('html', $this->Viewer_Fetch('component@wall.posts'));
$this->Viewer_AssignAjax('count_loaded', count($aWall['collection']));
if (count($aWall['collection'])) {
@ -2058,7 +2058,7 @@ class ActionAjax extends Action
// Передаем переменные
$this->Viewer_Assign('comments', $aWall['collection'], true);
$this->Viewer_AssignAjax('html', $this->Viewer_Fetch('components/wall/wall.comments.tpl'));
$this->Viewer_AssignAjax('html', $this->Viewer_Fetch('component@wall.comments'));
$this->Viewer_AssignAjax('count_loaded', count($aWall['collection']));
if (count($aWall['collection'])) {

View file

@ -537,7 +537,7 @@ class ActionBlog extends Action
$aBlogUsersInvited = $this->Blog_GetBlogUsersByBlogId($oBlog->getId(), ModuleBlog::BLOG_USER_ROLE_INVITE,
null);
$this->Viewer_Assign('blogUsersInvited', $aBlogUsersInvited['collection']);
$this->Viewer_AddBlock('right', 'components/blog/blocks/block.blog-invite.tpl');
$this->Viewer_AddBlock('right', 'component@blog.block.invite');
}
}
@ -1462,7 +1462,7 @@ class ActionBlog extends Action
array('login' => htmlspecialchars($sUser))),
'user_id' => $oUser->getId(),
'user_login' => htmlspecialchars($sUser),
'html' => $oViewer->Fetch("components/blog/invite/invite-item.tpl")
'html' => $oViewer->Fetch("component@blog.invite-item")
);
$this->SendBlogInvite($oBlog, $oUser);
} else {
@ -2143,7 +2143,7 @@ class ActionBlog extends Action
$oViewer->Assign('width', (int)getRequest('width'), true);
$oViewer->Assign('height', (int)getRequest('height'), true);
$this->Viewer_AssignAjax('sText', $oViewer->Fetch("components/blog/modals/modal.crop-avatar.tpl"));
$this->Viewer_AssignAjax('sText', $oViewer->Fetch("component@blog.modal.crop-avatar"));
}
/**

View file

@ -152,7 +152,7 @@ class ActionBlogs extends Action
$oViewer->Assign('useMore', true, true);
$oViewer->Assign('hideMore', $bHideMore, true);
$oViewer->Assign('searchCount', $aResult['count'], true);
$this->Viewer_AssignAjax('html', $oViewer->Fetch("components/blog/blog-list.tpl"));
$this->Viewer_AssignAjax('html', $oViewer->Fetch("component@blog.list"));
/**
* Для подгрузки
*/

View file

@ -654,7 +654,7 @@ class ActionContent extends Action
$oViewer = $this->Viewer_GetLocalViewer();
$oViewer->Assign('isPreview', true, true);
$oViewer->Assign('topic', $oTopic, true);
$sTemplate = 'components/topic/topic-type.tpl';
$sTemplate = 'component@topic.type';
$sTextResult = $oViewer->Fetch($sTemplate);
/**
* Передаем результат в ajax ответ

View file

@ -158,7 +158,7 @@ class ActionPeople extends Action
$oViewer->Assign('useMore', true, true);
$oViewer->Assign('hideMore', $bHideMore, true);
$oViewer->Assign('searchCount', $aResult['count'], true);
$this->Viewer_AssignAjax('html', $oViewer->Fetch("components/user/user-list.tpl"));
$this->Viewer_AssignAjax('html', $oViewer->Fetch("component@user.list"));
/**
* Для подгрузки
*/

View file

@ -154,7 +154,7 @@ class ActionProfile extends Action
$oViewer = $this->Viewer_GetLocalViewer();
$oViewer->Assign('types', $types, true);
$this->Viewer_AssignAjax('sText', $oViewer->Fetch("components/report/modal.report.tpl"));
$this->Viewer_AssignAjax('sText', $oViewer->Fetch("component@report.report"));
}
/**
@ -1176,7 +1176,7 @@ class ActionProfile extends Action
$oViewer = $this->Viewer_GetLocalViewer();
$oViewer->Assign('target', $iTarget, true);
$this->Viewer_AssignAjax('sText', $oViewer->Fetch("components/user/modals/modal.add-friend.tpl"));
$this->Viewer_AssignAjax('sText', $oViewer->Fetch("component@user.modal.add-friend"));
}
/**

View file

@ -220,7 +220,7 @@ class ActionSettings extends Action
$oViewer->Assign('width', (int) getRequest('width'), true);
$oViewer->Assign('height', (int) getRequest('height'), true);
$this->Viewer_AssignAjax('sText', $oViewer->Fetch("components/user/modals/modal.crop-photo.tpl"));
$this->Viewer_AssignAjax('sText', $oViewer->Fetch("component@user.modal.crop-photo"));
}
/**
@ -238,7 +238,7 @@ class ActionSettings extends Action
$oViewer->Assign('width', (int) getRequest('width'), true);
$oViewer->Assign('height', (int) getRequest('height'), true);
$this->Viewer_AssignAjax('sText', $oViewer->Fetch("components/user/modals/modal.crop-avatar.tpl"));
$this->Viewer_AssignAjax('sText', $oViewer->Fetch("component@user.modal.crop-avatar"));
}
/**

View file

@ -208,7 +208,7 @@ class ActionStream extends Action
}
$this->Viewer_AssignAjax('count_loaded', count($aEvents));
$this->Viewer_AssignAjax('html', $oViewer->Fetch('components/activity/event-list.tpl'));
$this->Viewer_AssignAjax('html', $oViewer->Fetch('component@activity.event-list'));
}
/**
@ -295,7 +295,7 @@ class ActionStream extends Action
array('login' => htmlspecialchars($sUser))),
'user_id' => $oUser->getId(),
'user_login' => htmlspecialchars($sUser),
'html' => $oViewer->Fetch("components/user-list-add/item.tpl")
'html' => $oViewer->Fetch("component@user-list-add.item")
);
} else {
$aResult[] = array(

View file

@ -839,7 +839,7 @@ class ActionTalk extends Action
array('login' => htmlspecialchars($sUser))),
'user_id' => $oUser->getId(),
'user_login' => htmlspecialchars($sUser),
'html' => $oViewer->Fetch("components/user/user-list-add/item.tpl")
'html' => $oViewer->Fetch("component@user-list-add.item")
);
} else {
$aResult[] = array(
@ -1128,7 +1128,7 @@ class ActionTalk extends Action
array('login', htmlspecialchars($sUser))),
'user_id' => $oUser->getId(),
'user_login' => $oUser->getLogin(),
'html' => $oViewer->Fetch("components/talk/participants/participants-item.tpl")
'html' => $oViewer->Fetch("component@talk.participants-item")
);
$bState = true;
} else {
@ -1193,7 +1193,7 @@ class ActionTalk extends Action
'sMsg' => $this->Lang_Get('user_list_add.notices.success_add',
array('login', htmlspecialchars($sUser))),
'user_id' => $oUser->getId(),
'html' => $oViewer->Fetch("components/talk/participants/participants-item.tpl")
'html' => $oViewer->Fetch("component@talk.participants-item")
);
$bState = true;
} else {

View file

@ -202,7 +202,7 @@ class ActionUserfeed extends Action
array('login' => htmlspecialchars($sUser))),
'user_id' => $oUser->getId(),
'user_login' => htmlspecialchars($sUser),
'html' => $oViewer->Fetch("components/user-list-add/item.tpl")
'html' => $oViewer->Fetch("component@user-list-add.item")
);
} else {
$aResult[] = array(

View file

@ -41,10 +41,10 @@ class BlockActivityRecent extends Block
/**
* Формируем результат в виде шаблона и возвращаем
*/
$sTextResult = $oViewer->Fetch("components/activity/blocks/recent-comments.tpl");
$sTextResult = $oViewer->Fetch("component@activity.recent-comments");
$this->Viewer_Assign('content', $sTextResult, true);
}
$this->SetTemplate('components/activity/blocks/block.activity-recent.tpl');
$this->SetTemplate('component@activity.block.recent');
}
}

View file

@ -40,6 +40,6 @@ class BlockActivitySettings extends Block
$this->Viewer_Assign('typesActive', $this->Stream_getTypesList($oUserCurrent->getId()));
}
$this->SetTemplate('components/activity/blocks/block.activity-settings.tpl');
$this->SetTemplate('component@activity.block.settings');
}
}

View file

@ -39,6 +39,6 @@ class BlockActivityUsers extends Block
$this->Viewer_Assign('users', $this->Stream_getUserSubscribes($oUserCurrent->getId()));
}
$this->SetTemplate('components/activity/blocks/block.activity-users.tpl');
$this->SetTemplate('component@activity.block.users');
}
}

View file

@ -42,10 +42,10 @@ class BlockBlogs extends Block
/**
* Формируем результат в виде шаблона и возвращаем
*/
$sTextResult = $oViewer->Fetch("components/blog/blocks/blogs-top.tpl");
$sTextResult = $oViewer->Fetch("component@blog.top");
$this->Viewer_Assign('sBlogsTop', $sTextResult);
}
$this->SetTemplate('components/blog/blocks/block.blogs.tpl');
$this->SetTemplate('component@blog.block.blogs');
}
}

View file

@ -39,6 +39,6 @@ class BlockBlogsSearch extends Block
$aBlogsAll = $this->Blog_GetBlogsByFilter(array('exclude_type' => 'personal'), array(), 1, 1, array());
$this->Viewer_Assign("aBlogCategories", $aCategories);
$this->Viewer_Assign("iCountBlogsAll", $aBlogsAll['count']);
$this->SetTemplate('components/blog/blocks/block.blogs-search.tpl');
$this->SetTemplate('component@blog.block.search');
}
}

View file

@ -67,6 +67,6 @@ class BlockFieldCategory extends Block
}
}
$this->SetTemplate('components/field/field.category.tpl');
$this->SetTemplate('component@field.category');
}
}

View file

@ -32,7 +32,7 @@ class BlockPollFormItems extends Block
*/
public function Exec()
{
$this->SetTemplate('components/poll/poll.manage.list.tpl');
$this->SetTemplate('component@poll.manage.list');
$sTargetType = $this->GetParam('target_type');
$sTargetId = $this->GetParam('target_id');

View file

@ -59,6 +59,6 @@ class BlockPropertyUpdate extends Block
}
}
$this->SetTemplate('components/property/input/list.tpl');
$this->SetTemplate('component@property.input.list');
}
}

View file

@ -54,7 +54,7 @@ class BlockTagsFavouriteTopic extends Block
$this->Viewer_Assign("user", $oUser, true);
$this->Viewer_Assign("activeTag", $this->getParam('activeTag'), true);
$this->SetTemplate('components/tags-favourite/tags-cloud.tpl');
$this->SetTemplate('component@tags-favourite.cloud');
}
}
}

View file

@ -64,6 +64,6 @@ class BlockTopicsTags extends Block
}
}
$this->SetTemplate('components/topic/blocks/block.topics-tags.tpl');
$this->SetTemplate('component@topic.block.tags');
}
}

View file

@ -60,6 +60,6 @@ class BlockUserfeedBlogs extends Block
$this->Viewer_Assign('blogsJoined', $aBlogs);
}
$this->SetTemplate('components/feed/blocks/block.userfeed-blogs.tpl');
$this->SetTemplate('component@feed.block.blogs');
}
}

View file

@ -43,6 +43,6 @@ class BlockUserfeedUsers extends Block
$this->Viewer_Assign('users', $aResult['users']);
}
$this->SetTemplate('components/feed/blocks/block.userfeed-users.tpl');
$this->SetTemplate('component@feed.block.users');
}
}

View file

@ -46,6 +46,6 @@ class BlockWall extends Block
$this->Viewer_Assign('lastId', end($posts)->getId(), true);
}
$this->SetTemplate('components/wall/wall.tpl');
$this->SetTemplate('component@wall.wall');
}
}

View file

@ -59,6 +59,6 @@ class HookStatisticsPerformance extends Hook
/**
* В ответ рендерим шаблон статистики
*/
return $this->Viewer_Fetch('components/perfomance/performance.tpl');
return $this->Viewer_Fetch('component@perfomance.performance');
}
}

View file

@ -750,7 +750,7 @@ class ModuleComment extends Module
*/
public function GetTemplateCommentByTarget($iTargetId, $sTargetType)
{
return "components/comment/comment.tpl";
return "component@comment.comment";
}
/**

View file

@ -408,7 +408,7 @@ $config['block']['rule_topic_type'] = array(
'action' => array(
'content' => array('add', 'edit'),
),
'blocks' => array('right' => array('components/blog/blocks/block.blog-info-note.tpl')),
'blocks' => array('right' => array('component@blog.block.info-note')),
);
$config['block']['rule_personal_blog'] = array(
'action' => array('personal_blog'),
@ -422,7 +422,7 @@ $config['block']['rule_blogs'] = array(
'action' => array('blogs'),
'blocks' => array(
'right' => array(
'components/blog/blocks/block.blog-add.tpl' => array('priority' => 100),
'component@blog.block.add' => array('priority' => 100),
'blogsSearch' => array('priority' => 50)
)
),
@ -448,8 +448,8 @@ $config['block']['rule_users'] = array(
'action' => array('people'),
'blocks' => array(
'right' => array(
'components/user/blocks/block.users-statistics.tpl',
'components/user/blocks/block.users-search.tpl',
'component@user.block.users-statistics',
'component@user.block.users-search',
)
)
);
@ -457,10 +457,10 @@ $config['block']['rule_profile'] = array(
'action' => array('profile', 'talk', 'settings'),
'blocks' => array(
'right' => array(
'components/user/blocks/block.user-photo.tpl' => array('priority' => 100),
'components/user/blocks/block.user-actions.tpl' => array('priority' => 50),
'components/user/blocks/block.user-note.tpl' => array('priority' => 25),
'components/user/blocks/block.user-nav.tpl' => array('priority' => 1),
'component@user.block.photo' => array('priority' => 100),
'component@user.block.actions' => array('priority' => 50),
'component@user.block.note' => array('priority' => 25),
'component@user.block.nav' => array('priority' => 1),
)
)
);
@ -468,10 +468,10 @@ $config['block']['rule_blog'] = array(
'action' => array('blog' => array('{blog}')),
'blocks' => array(
'right' => array(
'components/blog/blocks/block.blog-photo.tpl' => array('priority' => 300),
'components/blog/blocks/block.blog-actions.tpl' => array('priority' => 300),
'components/blog/blocks/block.blog-users.tpl' => array('priority' => 300),
'components/blog/blocks/block.blog-admins.tpl' => array('priority' => 300)
'component@blog.photo' => array('priority' => 300),
'component@blog.actions' => array('priority' => 300),
'component@blog.users' => array('priority' => 300),
'component@blog.admins' => array('priority' => 300)
)
),
'clear' => true

View file

@ -15,9 +15,9 @@
"event": "event.tpl",
"users": "users.tpl",
"settings": "settings.tpl",
"block.activity-recent": "blocks/block.activity-recent.tpl",
"block.activity-users": "blocks/block.activity-users.tpl",
"block.activity-settings": "blocks/block.activity-settings.tpl",
"block.recent": "blocks/block.activity-recent.tpl",
"block.users": "blocks/block.activity-users.tpl",
"block.settings": "blocks/block.activity-settings.tpl",
"recent-comments": "blocks/recent-comments.tpl",
"recent-topics": "blocks/recent-topics.tpl"
},

View file

@ -27,9 +27,9 @@
"block.invite": "blocks/block.blog-invite.tpl",
"block.photo": "blocks/block.blog-photo.tpl",
"block.users": "blocks/block.blog-users.tpl",
"block.blogs-search": "blocks/block.blogs-search.tpl",
"block.search": "blocks/block.blogs-search.tpl",
"block.blogs": "blocks/block.blogs.tpl",
"blogs-top": "blocks/blogs-top.tpl",
"top": "blocks/blogs-top.tpl",
"invite-item": "invite/invite-item.tpl",
"invite-list": "invite/invite-list.tpl",
"invite": "invite/invite.tpl",

View file

@ -12,8 +12,8 @@
"templates": {
"blogs": "blogs.tpl",
"users": "users.tpl",
"block.userfeed-blogs": "blocks/block.userfeed-blogs.tpl",
"block.userfeed-users": "blocks/block.userfeed-users.tpl"
"block.blogs": "blocks/block.userfeed-blogs.tpl",
"block.users": "blocks/block.userfeed-users.tpl"
},
"scripts": {
"feed-blogs": "js/feed-blogs.js"

View file

@ -17,7 +17,7 @@
"manage.list": "poll.manage.list.tpl",
"manage": "poll.manage.tpl",
"result": "poll.result.tpl",
"modal.poll-create": "modal.poll-create.tpl",
"modal.create": "modal.poll-create.tpl",
"vote": "poll.vote.tpl"
},
"scripts": {

View file

@ -25,10 +25,10 @@
"list-small-item": "user-list-small-item.tpl",
"list-small": "user-list-small.tpl",
"block.user-actions": "blocks/block.user-actions.tpl",
"block.user-nav": "blocks/block.user-nav.tpl",
"block.user-note": "blocks/block.user-note.tpl",
"block.user-photo": "blocks/block.user-photo.tpl",
"block.actions": "blocks/block.user-actions.tpl",
"block.nav": "blocks/block.user-nav.tpl",
"block.note": "blocks/block.user-note.tpl",
"block.photo": "blocks/block.user-photo.tpl",
"block.users-search": "blocks/block.users-search.tpl",
"block.users-statistics": "blocks/block.users-statistics.tpl",

View file

@ -9,10 +9,10 @@
"field": "*"
},
"templates": {
"wall.comments": "wall.comments.tpl",
"wall.entry": "wall.entry.tpl",
"wall.form": "wall.form.tpl",
"wall.posts": "wall.posts.tpl",
"comments": "wall.comments.tpl",
"entry": "wall.entry.tpl",
"form": "wall.form.tpl",
"posts": "wall.posts.tpl",
"wall": "wall.tpl"
},
"scripts": {