mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-05-09 04:18:20 +03:00
parent
3d336a8d2b
commit
dd6e348924
|
@ -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'}
|
||||
|
|
|
@ -86,7 +86,7 @@
|
|||
</div>
|
||||
|
||||
{* Кат *}
|
||||
{if $article->getTextShort() != $article->getText()}
|
||||
{if $isList && $article->getTextShort() != $article->getText()}
|
||||
{include 'components/button/button.tpl'
|
||||
classes = "{$component}-cut"
|
||||
url = "{$article->getUrl()}#cut"
|
||||
|
|
|
@ -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 );
|
||||
|
|
|
@ -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');
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue