first commit

This commit is contained in:
2026-02-08 21:16:11 +01:00
commit e17b7026fd
8881 changed files with 1160453 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
<?php
/**
* @copyright Copyright (c) 2009-2022 Ryan Demmer. All rights reserved
* @license GNU/GPL 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
* JCE is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses
*/
defined('WF_EDITOR') or die('RESTRICTED');
require_once WF_EDITOR_LIBRARIES . '/classes/plugin.php';
class WFCharMapPlugin extends WFEditorPlugin
{
public function display()
{
parent::display();
$document = WFDocument::getInstance();
$document->addScript(array('charmap'), 'plugins');
$document->addStyleSheet(array('charmap'), 'plugins');
}
}

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" ?>
<extension version="3.4" type="plugin" group="jce" method="upgrade">
<name>WF_CHARMAP_TITLE</name>
<version>2.9.32</version>
<creationDate>01-11-2022</creationDate>
<author>Moxiecode / Ryan Demmer</author>
<authorEmail>info@joomlacontenteditor.net</authorEmail>
<authorUrl>https://www.joomlacontenteditor.net/</authorUrl>
<copyright>Ryan Demmer</copyright>
<license>GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html</license>
<description>WF_CHARMAP_DESC</description>
<icon>charmap</icon>
<files></files>
<fields name="charmap">
<fieldset name="config">
<field name="charmap_append" type="keyvalue" default="" label="WF_CHARMAP_APPEND" description="WF_CHARMAP_APPEND_DESC">
<field type="text" name="name" label="WF_CHARMAP_APPEND_CODE" />
<field type="text" name="value" label="WF_CHARMAP_APPEND_TEXT" />
</field>
</fieldset>
</fields>
<languages></languages>
<help></help>
</extension>

View File

@@ -0,0 +1,37 @@
<?php
/**
* @copyright Copyright (c) 2009-2022 Ryan Demmer. All rights reserved
* @license GNU/GPL 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
* JCE is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses
*/
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;
}
}
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<html><body bgcolor="#FFFFFF"></body></html>