| Current Path : /home/w/u/e/wuectly/www/03cbe/ |
| Current File : /home/w/u/e/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);
}
}
home/wuectly/www/components/com_jce/editor/plugins/link/config.php 0000604 00000003340 15245615154 0021466 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 WFLinkPluginConfig
{
public static function getConfig(&$settings)
{
require_once __DIR__ . '/link.php';
$plugin = new WFLinkPlugin();
$attributes = $plugin->getDefaults();
$custom_classes = (array) $plugin->getParam('custom_classes', []);
$custom_classes = array_filter($custom_classes);
$config = array(
'attributes' => $plugin->getDefaults(),
'custom_classes' => $custom_classes,
);
// expose globally for use by Autolink and Clipboard
$settings['default_link_target'] = $plugin->getParam('target', '');
// expose globally for use by Autolink and Clipboard (must be boolean)
$settings['autolink_email'] = $plugin->getParam('autolink_email', 1, 1, 'boolean');
$settings['autolink_url'] = $plugin->getParam('autolink_url', 1, 1, 'boolean');
if ($plugin->getParam('link.quicklink', 1) == 0) {
$config['quicklink'] = false;
}
if ($plugin->getParam('link.basic_dialog', 0) == 1) {
$config['basic_dialog'] = true;
$config['file_browser'] = $plugin->getParam('file_browser', 1);
$config['target_ctrl'] = $plugin->getParam('attributes_target', 1, 1, 'boolean');
$config['title_ctrl'] = $plugin->getParam('attributes_title', 1, 1, 'boolean');
$config['classes_ctrl'] = $plugin->getParam('attributes_classes', 1, 1, 'boolean');
}
$settings['link'] = $config;
}
}
home/wuectly/www/administrator/components/com_config/config.php 0000604 00000001616 15245617234 0021153 0 ustar 00 <?php
/**
* @package Joomla.Administrator
* @subpackage com_config
*
* @copyright (C) 2005 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
JHtml::_('behavior.tabstate');
// Access checks are done internally because of different requirements for the two controllers.
// Tell the browser not to cache this page.
JFactory::getApplication()->setHeader('Expires', 'Mon, 26 Jul 1997 05:00:00 GMT', true);
// Load classes
JLoader::registerPrefix('Config', JPATH_COMPONENT);
JLoader::registerPrefix('Config', JPATH_ROOT . '/components/com_config');
// Application
$app = JFactory::getApplication();
$controllerHelper = new ConfigControllerHelper;
$controller = $controllerHelper->parseController($app);
$controller->prefix = 'Config';
// Perform the Request task
$controller->execute();
home/wuectly/www/components/com_config/config.php 0000604 00000001245 15245624462 0016272 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;
// Load classes
JLoader::registerPrefix('Config', JPATH_COMPONENT);
// Application
$app = JFactory::getApplication();
// Tell the browser not to cache this page.
$app->setHeader('Expires', 'Mon, 26 Jul 1997 05:00:00 GMT', true);
$controllerHelper = new ConfigControllerHelper;
$controller = $controllerHelper->parseController($app);
$controller->prefix = 'Config';
// Perform the Request task
$controller->execute();
home/wuectly/www/components/com_jce/editor/plugins/charmap/config.php 0000604 00000001645 15245626654 0022161 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 WFCharmapPluginConfig
{
public static function getConfig(&$settings)
{
$wf = WFApplication::getInstance();
$append = $wf->getParam('charmap.charmap_append', array());
if (!empty($append)) {
$values = array();
foreach ($append as $item) {
$item = (object) $item;
// invalid values
if (empty($item->name) || empty($item->value)) {
continue;
}
$item->name = html_entity_decode($item->name);
$values[$item->name] = $item->value;
}
$settings['charmap_append'] = $values;
}
}
}
home/wuectly/www/administrator/components/com_mailjet/config.php 0000604 00000001030 15245630151 0021312 0 ustar 00 <?php
class JMailjetConfig {
public $bak_mailer = 'mail';
public $bak_smtpauth = '0';
public $bak_smtpuser = '';
public $bak_smtppass = '';
public $bak_smtphost = 'localhost';
public $bak_smtpsecure = 'none';
public $bak_smtpport = '25';
public $enable = '1';
public $test = '1';
public $test_address = 'vincent.halle@eliosa.com';
public $username = '6363e9d3b0fbcc689c98e18a1a0ba9b5';
public $password = 'ea3818da6ef29051a081297d4e4ea6cb';
public $host = 'in.mailjet.com';
public $secure = 'ssl';
public $port = '465';
} home/wuectly/www/administrator/components/com_config/helper/config.php 0000604 00000005637 15245630434 0022436 0 ustar 00 <?php
/**
* @package Joomla.Administrator
* @subpackage com_config
*
* @copyright (C) 2012 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
/**
* Components helper for com_config
*
* @since 3.0
*/
class ConfigHelperConfig extends JHelperContent
{
/**
* Get an array of all enabled components.
*
* @return array
*
* @since 3.0
*/
public static function getAllComponents()
{
$db = JFactory::getDbo();
$query = $db->getQuery(true)
->select('element')
->from('#__extensions')
->where('type = ' . $db->quote('component'))
->where('enabled = 1');
$db->setQuery($query);
$result = $db->loadColumn();
return $result;
}
/**
* Returns true if the component has configuration options.
*
* @param string $component Component name
*
* @return boolean
*
* @since 3.0
*/
public static function hasComponentConfig($component)
{
return is_file(JPATH_ADMINISTRATOR . '/components/' . $component . '/config.xml');
}
/**
* Returns an array of all components with configuration options.
* Optionally return only those components for which the current user has 'core.manage' rights.
*
* @param boolean $authCheck True to restrict to components where current user has 'core.manage' rights.
*
* @return array
*
* @since 3.0
*/
public static function getComponentsWithConfig($authCheck = true)
{
$result = array();
$components = self::getAllComponents();
$user = JFactory::getUser();
// Remove com_config from the array as that may have weird side effects
$components = array_diff($components, array('com_config'));
foreach ($components as $component)
{
if (self::hasComponentConfig($component) && (!$authCheck || $user->authorise('core.manage', $component)))
{
self::loadLanguageForComponent($component);
$result[$component] = JApplicationHelper::stringURLSafe(JText::_($component)) . '_' . $component;
}
}
asort($result);
return array_keys($result);
}
/**
* Load the sys language for the given component.
*
* @param array $components Array of component names.
*
* @return void
*
* @since 3.0
*/
public static function loadLanguageForComponents($components)
{
foreach ($components as $component)
{
self::loadLanguageForComponent($component);
}
}
/**
* Load the sys language for the given component.
*
* @param string $component component name.
*
* @return void
*
* @since 3.5
*/
public static function loadLanguageForComponent($component)
{
if (empty($component))
{
return;
}
$lang = JFactory::getLanguage();
// Load the core file then
// Load extension-local file.
$lang->load($component . '.sys', JPATH_BASE, null, false, true)
|| $lang->load($component . '.sys', JPATH_ADMINISTRATOR . '/components/' . $component, null, false, true);
}
}
home/wuectly/www/components/com_jce/editor/plugins/core/config.php 0000604 00000002663 15245634574 0021477 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 WFCorePluginConfig
{
private static function extractContent($content)
{
$content = htmlspecialchars_decode($content);
// Remove body etc.
if (preg_match('/<body[^>]*>([\s\S]+?)<\/body>/', $content, $matches)) {
$content = trim($matches[1]);
}
return $content;
}
public static function getConfig(&$settings)
{
$wf = WFApplication::getInstance();
$startup_content_url = $wf->getParam('editor.startup_content_url', '');
$startup_content_html = $wf->getParam('editor.startup_content_html', '');
if ($startup_content_url) {
if (preg_match("#\.(htm|html|txt|md)$#", $startup_content_url) && strpos('://', $startup_content_url) === false) {
$startup_content_url = trim($startup_content_url, '/');
$file = JPATH_SITE . '/' . $startup_content_url;
if (is_file($file)) {
$startup_content_html = @file_get_contents($file);
}
}
}
if ($startup_content_html) {
$settings['startup_content_html'] = htmlspecialchars(self::extractContent($startup_content_html));
}
}
}
home/wuectly/www/components/com_jce/editor/plugins/preview/config.php 0000604 00000000661 15245634602 0022214 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 WFPreviewPluginConfig
{
public static function getConfig(&$settings)
{
$wf = WFApplication::getInstance();
$settings['extension_id'] = $wf->getContext();
}
}
home/wuectly/www/components/com_jce/editor/plugins/reference/config.php 0000604 00000000727 15245634604 0022476 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 WFReferencePluginConfig
{
public static function getConfig(&$settings)
{
$wf = WFApplication::getInstance();
$settings['reference_datetime'] = $wf->getParam('reference.datetime_format', '');
}
}
home/wuectly/www/components/com_jce/editor/plugins/emotions/config.php 0000604 00000001012 15245635337 0022365 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 WFEmotionsPluginConfig
{
public static function getConfig(&$settings)
{
$wf = WFApplication::getInstance();
$settings['emotions_smilies'] = $wf->getParam('emotions.smilies');
$settings['emotions_url'] = $wf->getParam('emotions.url');
}
}
home/wuectly/www/administrator/components/com_jce/controller/config.php 0000604 00000001442 15245654237 0022633 0 ustar 00 <?php
/**
* @package JCE
* @subpackage Admin
*
* @copyright Copyright (C) 2005 - 2023 Open Source Matters, Inc. All rights reserved.
* @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\MVC\Controller\FormController;
class JceControllerConfig extends FormController
{
public function __construct($config = array())
{
parent::__construct($config);
// return to control panel on cancel/close
$this->view_list = 'cpanel';
// only for Joomla 3.x
if (version_compare(JVERSION, '4', 'lt')) {
require_once JPATH_COMPONENT_ADMINISTRATOR . '/includes/classmap.php';
}
}
}