diff --git a/application/frontend/skin/developer/actions/ActionBlog/topic.tpl b/application/frontend/skin/developer/actions/ActionBlog/topic.tpl index 40422cae..2c2af362 100644 --- a/application/frontend/skin/developer/actions/ActionBlog/topic.tpl +++ b/application/frontend/skin/developer/actions/ActionBlog/topic.tpl @@ -10,7 +10,7 @@ {extends 'layouts/layout.base.tpl'} {block 'layout_options' append} - {$layouShowSidebar = Config::Get( 'view.topic_show_sidebar' )} + {$layoutShowSidebar = Config::Get( 'view.topic_show_sidebar' )} {/block} {block 'layout_content'} diff --git a/application/frontend/skin/developer/components/article/article.tpl b/application/frontend/skin/developer/components/article/article.tpl index 6089fd87..6d853380 100644 --- a/application/frontend/skin/developer/components/article/article.tpl +++ b/application/frontend/skin/developer/components/article/article.tpl @@ -86,7 +86,7 @@ {* Кат *} - {if $article->getTextShort() != $article->getText()} + {if $isList && $article->getTextShort() != $article->getText()} {include 'components/button/button.tpl' classes = "{$component}-cut" url = "{$article->getUrl()}#cut" diff --git a/application/frontend/skin/developer/components/more/js/more.js b/application/frontend/skin/developer/components/more/js/more.js index de497b77..3d7c589b 100644 --- a/application/frontend/skin/developer/components/more/js/more.js +++ b/application/frontend/skin/developer/components/more/js/more.js @@ -39,7 +39,7 @@ * @private */ _create: function () { - this.options = $.extend({}, this.options, ls.utils.getDataOptions(this.element, this.widgetName)); + this.options = $.extend({}, this.options, ls.utils.getDataOptions(this.element, 'more')); this.options.proxy = $.extend({}, this.options.proxy, ls.utils.getDataOptions(this.element, 'proxy')); this.target = $( this.options.target ); diff --git a/application/frontend/skin/developer/components/note/js/note.js b/application/frontend/skin/developer/components/note/js/note.js index 9ecdff9c..0f598478 100644 --- a/application/frontend/skin/developer/components/note/js/note.js +++ b/application/frontend/skin/developer/components/note/js/note.js @@ -46,7 +46,7 @@ _create: function () { var _this = this; - this.options = $.extend({}, this.options, ls.utils.getDataOptions(this.element, this.widgetName)); + this.options = $.extend({}, this.options, ls.utils.getDataOptions(this.element, 'note')); // Получаем аякс параметры this.params = ls.utils.getDataOptions(this.element, 'param'); diff --git a/application/frontend/skin/developer/components/talk/js/talk.js b/application/frontend/skin/developer/components/talk/js/talk.js index b4c148e2..76403c59 100644 --- a/application/frontend/skin/developer/components/talk/js/talk.js +++ b/application/frontend/skin/developer/components/talk/js/talk.js @@ -21,8 +21,6 @@ ls.talk = (function ($) { this.init = function(options) { var _this = this; - this.options = $.extend({}, defaults, options); - this.elements = { form: $('#talk-form'), form_action: $('#talk-form-action')