Файловый менеджер - Редактировать - /home/wuectly/www/03cbe/config.php.tar
Назад
home/wuectly/www/components/com_jce/editor/plugins/tabfocus/config.php 0000604 00000000576 15245604443 0022346 0 ustar 00 <?php /** * @package JCE * @subpackage Editor * * @copyright Copyright (c) 2009-2024 Ryan Demmer. All rights reserved * @license GNU General Public License version 2 or later; see LICENSE.txt */ \defined('_JEXEC') or die; class WFPluginTabfocusConfig { public static function getConfig(&$vars) { $vars['tabfocus_elements'] = ':prev,:next'; } } home/wuectly/www/components/com_jce/editor/plugins/joomla/config.php 0000604 00000003423 15245605476 0022022 0 ustar 00 <?php /** * @package JCE * @subpackage Editor * * @copyright Copyright (c) 2009-2024 Ryan Demmer. All rights reserved * @license GNU General Public License version 2 or later; see LICENSE.txt */ \defined('_JEXEC') or die; use Joomla\CMS\Editor\Editor; use Joomla\CMS\Factory; use Joomla\CMS\Uri\Uri; class WFJoomlaPluginConfig { public static function getConfig(&$settings) { if (empty($settings['joomla_xtd_buttons'])) { $settings['joomla_xtd_buttons'] = array(); } $list = array(); $editor = Editor::getInstance('jce'); $excluded = array('readmore', 'pagebreak', 'image'); $i = 0; $buttons = $editor->getButtons('__jce__'); foreach ($buttons as $button) { // skip buttons better implemented by editor if (in_array($button->name, $excluded)) { continue; } // create icon class $icon = 'none icon-' . $button->get('icon', $button->get('name')); // set href value if ($button->get('link') !== '#') { $href = Uri::base() . $button->get('link'); } else { $href = ''; } $id = $button->get('name'); $options = array( 'name' => $button->get('text'), 'id' => $id, 'title' => $button->get('text'), 'icon' => $icon, 'href' => $href, 'onclick' => $button->get('onclick', ''), 'svg' => $button->get('iconSVG'), 'options' => $button->get('options', array()), ); $list[] = $options; } $settings['joomla_xtd_buttons']['__jce__'] = $list; } } home/wuectly/www/components/com_jce/editor/plugins/code/config.php 0000604 00000002645 15245605477 0021461 0 ustar 00 <?php /** * @package JCE * @subpackage Editor * * @copyright Copyright (c) 2009-2024 Ryan Demmer. All rights reserved * @license GNU General Public License version 2 or later; see LICENSE.txt */ \defined('_JEXEC') or die; class WFCodePluginConfig { public static function getConfig(&$settings) { $wf = WFApplication::getInstance(); if (!in_array('code', $settings['plugins'])) { $settings['plugins'][] = 'code'; } $settings['code_use_blocks'] = $wf->getParam('editor.code_blocks', 1, 1, 'boolean'); $settings['code_allow_php'] = $wf->getParam('editor.allow_php', 0, 0, 'boolean'); $settings['code_allow_script'] = $wf->getParam('editor.allow_javascript', 0, 0, 'boolean'); $settings['code_allow_style'] = $wf->getParam('editor.allow_css', 0, 0, 'boolean'); $settings['code_protect_shortcode'] = $wf->getParam('editor.protect_shortcode', 0, 0, 'boolean'); $settings['code_allow_custom_xml'] = $wf->getParam('editor.allow_custom_xml', 0, 0, 'boolean'); $remove = array(); // remove as Invalid Elements if ($settings['code_allow_script']) { $remove[] = 'script'; } if ($settings['code_allow_style']) { $remove[] = 'style'; $remove[] = 'link'; } $settings['invalid_elements'] = array_diff($settings['invalid_elements'], $remove); } } home/wuectly/www/components/com_config/model/config.php 0000604 00000001631 15245613355 0017370 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage com_config * * @copyright (C) 2013 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * Model for the global configuration * * @since 3.2 */ class ConfigModelConfig extends ConfigModelForm { /** * Method to get a form object. * * @param array $data Data for the form. * @param boolean $loadData True if the form is to load its own data (default case), false if not. * * @return mixed A JForm object on success, false on failure * * @since 3.2 */ public function getForm($data = array(), $loadData = true) { // Get the form. $form = $this->loadForm('com_config.config', 'config', array('control' => 'jform', 'load_data' => $loadData)); if (empty($form)) { return false; } return $form; } } home/wuectly/www/components/com_jce/editor/plugins/table/config.php 0000604 00000003625 15245614011 0021615 0 ustar 00 <?php /** * @package JCE * @subpackage Editor * * @copyright Copyright (c) 2009-2024 Ryan Demmer. All rights reserved * @license GNU General Public License version 2 or later; see LICENSE.txt */ \defined('_JEXEC') or die; class WFTablePluginConfig { public static function getConfig(&$settings) { $wf = WFApplication::getInstance(); $width = $wf->getParam('table.width'); $height = $wf->getParam('table.height'); if ($width && preg_match('#^[0-9\.]$#', $width)) { $width .= 'px'; } if ($height && preg_match('#^[0-9\.]$#', $height)) { $height .= 'px'; } $settings['table_default_width'] = $width; $settings['table_default_height'] = $height; $settings['table_default_border'] = $wf->getParam('table.border', 0, 0); $settings['table_default_align'] = $wf->getParam('table.align', '', ''); $settings['table_default_cellpadding'] = $wf->getParam('table.cellpadding', 0, 0); $settings['table_default_cellspacing'] = $wf->getParam('table.cellspacing', 0, 0); $settings['table_default_rows'] = $wf->getParam('table.rows', 2, 2); $settings['table_default_cols'] = $wf->getParam('table.cols', 2, 2); $settings['table_cell_limit'] = $wf->getParam('table.cell_limit', 0, 0); $settings['table_row_limit'] = $wf->getParam('table.row_limit', 0, 0); $settings['table_col_limit'] = $wf->getParam('table.col_limit', 0, 0); $settings['table_pad_empty_cells'] = $wf->getParam('table.pad_empty_cells', 1, 1); $settings['table_classes'] = $wf->getParam('table.classes', '', ''); $settings['table_classes_custom'] = $wf->getParam('table.custom_classes', [], []); $settings['table_buttons'] = $wf->getParam('table.show_buttons', 1, 1); $settings['table_basic_dialog'] = $wf->getParam('table.basic_dialog', 0, 0); } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка