<?php if (!defined('VALID_RUN')) { header("HTTP/1.1 404 Not Found"); exit; } UseScript('jquery_ui'); ScriptsAddJQueryPlugin('jquery_ui_nestedSortable/jquery.ui.nestedSortable');
<?php if (!defined('VALID_RUN')) { header("HTTP/1.1 404 Not Found"); exit; } UseScript('jquery_ui'); ScriptsAddJQueryPlugin('elfinder/elfinder'); ScriptsAddCss('elfinder/css/elfinder');
<?php if (!defined('VALID_RUN')) { header("HTTP/1.1 404 Not Found"); exit; } UseScript('jquery'); ScriptsAddJQueryPlugin('tinymce/tiny_mce');
<?php if (!defined('VALID_RUN')) { header("HTTP/1.1 404 Not Found"); exit; } UseScript('jquery'); ScriptsAddJQueryPlugin('jquery_ui/jquery-ui'); ScriptsAddCss('jquery_ui/themes/aristo/jquery-ui.custom');
<?php if (!defined('VALID_RUN')) { header("HTTP/1.1 404 Not Found"); exit; } /* * Плагин jQuery для всплывающих окон и слайд шоу. * Параметры: * theme - Номер темы от 1 до 5 (по умолчанию 5) */ UseScript('jquery'); if (!isset($params['theme'])) { $theme = 'example3'; } else { if ($params['theme'] == 'admin') { $theme = 'example3'; } elseif ($params['theme'] == 'default') { $theme = 'exanple3'; } elseif (is_numeric($params['theme'])) { $theme = 'example' . $params['theme']; } else { $theme = $params['theme']; } } ScriptsAddJQueryPlugin('colorbox/jquery.colorbox'); ScriptsAddCss('colorbox/' . $theme . '/colorbox'); System::site()->AddOnLoadJS('$(".colorbox").colorbox({rel: "colorbox_group", maxWidth: "100%", maxHeight: "100%"});');
<?php if (!defined('VALID_RUN')) { header("HTTP/1.1 404 Not Found"); exit; } UseScript('jquery_ui'); ScriptsAddJQueryPlugin('jquery_popup/jquery.popup');
<?php if (!defined('VALID_RUN')) { header("HTTP/1.1 404 Not Found"); exit; } UseScript('jquery_ui'); ScriptsAddJQueryPlugin('jquery_ui_table/jquery.ui.table'); ScriptsAddCss('jquery_ui_table/theme/jquery.ui.table'); class jQueryUiTable { private $id = 0; private $columns = array(); private $rows = array(); public $listing = ''; public $total = 0; public $page = 0; public $onpage = 10; public $sortby = -1; public $sortdesc = false; /** * URL ajax запроса на удаление элемента таблицы * @var string */ public $del = ''; public function AddColumn($Title, $Align = 'left', $Sortable = true, $NoWrap = false) { $this->columns[] = array('id' => $this->id, 'title' => $Title, 'sortable' => $Sortable, 'align' => $Align, 'nowrap' => $NoWrap); $this->id++; } public function AddRow($RowId, $Col1, $Col2 = '', $Col3 = '')