This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class customTvssComboGetgetmseiProfileProcessor extends modObjectGetListProcessor | |
{ | |
public $classKey = 'infoBlockItem'; | |
//public $languageTopics = array('resource'); | |
public $defaultSortField = 'id'; | |
public $defaultSortDirection = 'ASC'; | |
/** | |
* @param xPDOQuery $c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="dropdown bootstrap-select show"> | |
<select name="sort" id="mse2_sort" data-style="btn-selectpicker border-0" title="" class="selectpicker" tabindex="-98"> | |
<option class="sort" data-sort="resource|pagetitle" value="asc">А-Я</option> | |
<option class="sort" data-sort="resource|pagetitle" value="desc">Я-А</option> | |
<option class="sort" data-sort="ms|price" value="asc">Цена ↑</option> | |
<option class="sort" data-sort="ms|price" value="desc">Цена ↓</option> | |
</select> | |
<button type="button" class="btn dropdown-toggle btn-selectpicker border-0" data-toggle="dropdown" role="combobox" aria-owns="bs-select-1" aria-haspopup="listbox" aria-expanded="true" data-id="mse2_sort" title="А-Я"> | |
<div class="filter-option"> | |
<div class="filter-option-inner"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$_lang['seotabs_prop_sitemap_schema'] = 'Схема карты сайта.'; | |
$_lang['seotabs_prop_sitemap_sortby'] = 'Сортировка. По умолчанию по названию ссылки.'; | |
$_lang['seotabs_prop_sitemap_sortdir'] = 'Порядок сортировки. По возрастанию.'; | |
$_lang['seotabs_prop_sitemap_output_separator'] = 'Разделитель ссылок.'; | |
$_lang['seotabs_prop_sitemap_force_xml'] = 'Принудительно выводить страницу как XML. При сввместном использовании с pdoSitemap - отключите.'; | |
$_lang['seotabs_prop_sitemap_priority'] = 'Возможность задать приоритетность в ручном режиме.'; | |
$_lang['seotabs_prop_sitemap_priority_freq'] = 'Приоритет и частота обновления.'; | |
$_lang['seotabs_prop_sitemap_use_web_link_url'] = 'Генерировать ссылку с учетом класса ресурса.'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[!mFilter2? | |
&parents=`7` | |
&element=`msProducts` | |
&tpl=`_tpl.msProducts.row` | |
&filters=` | |
parent:categories | |
,ms|price:number | |
` | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$tv_prod_coffee_ids = (explode(',' , $modx->resource->getTVValue('prod_coffee_ids'))); | |
$tv_prod_coffee_sprecial = (explode(',' , $modx->resource->getTVValue('prod_coffee_sprecial'))); | |
$option_coffee_total = explode(',' , $modx->getOption('coffee_total')); | |
$output = $tv_prod_coffee_sprecial | |
? $tv_prod_coffee_sprecial | |
: array_filter(array_unique(array_merge($tv_prod_coffee_ids,$option_coffee_total))); | |
return (implode(',' , $output)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tinymce.PluginManager.add('showcase', function (editor, url) { | |
// Add a button that opens a window | |
editor.addButton('showcase', { | |
text: 'Вставить витрину товаров', | |
icon: false, | |
onclick: function () { | |
// Open window | |
editor.windowManager.open({ | |
title: 'Параметры витрины товаров', | |
minWidth: 500, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ext.ux.Ace = Ext.extend(Ext.form.TextField, { | |
growMin : 60, | |
growMax: 1000, | |
mode : 'text', | |
theme : 'textmate', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{'!MinifyX' | snippet : [ | |
'minifyCss' => 1, | |
'minifyJs' => 1, | |
'registerCss' => 'placeholder', | |
'registerJs' => 'placeholder', | |
'cssSources' => 'assets/components/dsmcapp/css/pixel.css', | |
'jsSources' => ' | |
assets/components/dsmcapp/js/jquery/dist/jquery.min.js, | |
assets/components/dsmcapp/js/popper.js/dist/umd/popper.min.js, | |
assets/components/dsmcapp/js/bootstrap/dist/js/bootstrap.min.js, |