| Current Path : /home/w/u/e/wuectly/www/03cbe/ |
| Current File : /home/w/u/e/wuectly/www/03cbe/editors.zip |
PK X�"]�#o, , acyeditor/index.htmlnu &1i� <html><body bgcolor="#FFFFFF"></body></html>PK X�"]�踊� � acyeditor/acyeditor.xmlnu &1i� <?xml version="1.0" encoding="utf-8"?>
<extension type="plugin" version="2.5" method="upgrade" group="editors">
<name>AcyMailing Editor</name>
<creationDate>March 2018</creationDate>
<version>5.9.6</version>
<author>Acyba</author>
<authorEmail>dev@acyba.com</authorEmail>
<authorUrl>http://www.acyba.com</authorUrl>
<copyright>Copyright (C) 2009-2018 ACYBA SAS - All rights reserved.</copyright>
<license>GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html</license>
<description>This editor will make your life easier when writing Newsletters with AcyMailing</description>
<files>
<filename plugin="acyeditor">acyeditor.php</filename>
<folder>acyeditor</folder>
</files>
<params addpath="/components/com_acymailing/params">
<param name="pasteType" type="radio" default="plain" label="Copy/paste type" description="Choose the way you want to paste text in your newsletter">
<option value="plain">Plain text</option>
<option value="simpleStyle">Simple styles from word</option>
</param>
<param name="enterMode" type="radio" default="br" label="Behaviour of the Enter key" description="Choose the separator when pressing the enter key">
<option value="p">p</option>
<option value="br">br</option>
<option value="div">div</option>
</param>
<param name="inlineSource" type="radio" default="1" label="Display source button for inline editor" description="Choose to display the source button for the editor inb inline mode">
<option value="0">No</option>
<option value="1">Yes</option>
</param>
</params>
<config>
<fields name="params" addfieldpath="/components/com_acymailing/params">
<fieldset name="basic">
<field name="pasteType" type="radio" default="plain" label="Copy/paste type" description="Choose the way you want to paste text in your newsletter">
<option value="plain">Plain text</option>
<option value="simpleStyle">Simple styles from word</option>
</field>
<field name="enterMode" type="radio" default="br" label="Behaviour of the Enter key" description="Choose the separator when pressing the enter key">
<option value="p">p</option>
<option value="br">br</option>
<option value="div">div</option>
</field>
<field name="inlineSource" type="radio" default="1" label="Display source button for inline editor" description="Choose to display the source button for the editor inb inline mode">
<option value="0">No</option>
<option value="1">Yes</option>
</field>
</fieldset>
</fields>
</config>
</extension>
PK X�"]�0I! ! acyeditor/acyeditor.phpnu &1i� <?php
/**
* @package AcyMailing for Joomla!
* @version 5.9.6
* @author acyba.com
* @copyright (C) 2009-2018 ACYBA S.A.R.L. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><?php
class plgEditorAcyEditor extends JPlugin
{
function __construct(&$subject, $config){
parent::__construct($subject, $config);
include_once(rtrim(JPATH_ADMINISTRATOR,DIRECTORY_SEPARATOR).DIRECTORY_SEPARATOR.'components'.DIRECTORY_SEPARATOR.'com_acymailing'.DIRECTORY_SEPARATOR.'helpers'.DIRECTORY_SEPARATOR.'helper.php');
if(!isset($this->params)){
$plugin = JPluginHelper::getPlugin('acymailing', 'acyeditor');
$this->params = new acyParameter( $plugin->params );
}
}
public function onInit()
{
acymailing_addScript(false, ACYMAILING_JS.'acyeditor.js?v='.@filemtime(ACYMAILING_MEDIA.'js'.DS.'acyeditor.js'));
$websiteurl = rtrim(acymailing_rootURI(),'/').'/';
acymailing_addStyle(false, $websiteurl.'plugins/editors/acyeditor/acyeditor/css/acyeditor.css?v='.@filemtime(JPATH_SITE.DS.'plugins'.DS.'editors'.DS.'acyeditor'.DS.'acyeditor'.DS.'css'.DS.'acyeditor.css'));
if (ACYMAILING_J16){
acymailing_addScript(false, $websiteurl.'plugins/editors/acyeditor/acyeditor/ckeditor/ckeditor.js?v='.@filemtime(ACYMAILING_ROOT.'plugins'.DS.'editors'.DS.'acyeditor'.DS.'acyeditor'.DS.'ckeditor'.DS.'ckeditor.js'));
} else{
acymailing_addScript(false, $websiteurl.'plugins/editors/acyeditor/ckeditor/ckeditor.js?v='.@filemtime(ACYMAILING_ROOT.'plugins'.DS.'editors'.DS.'acyeditor'.DS.'ckeditor'.DS.'ckeditor.js'));
}
acymailing_addScript(false, $websiteurl.'media/com_acymailing/js/jquery/jquery-1.9.1.min.js?v='.@filemtime(ACYMAILING_ROOT.'media'.DS.'com_acymailing'.DS.'js'.DS.'jquery'.DS.'jquery-1.9.1.min.js'));
acymailing_addStyle(false, $websiteurl.'media/com_acymailing/js/colorpicker/css/colorpicker.css?v='.@filemtime(ACYMAILING_ROOT.'media'.DS.'com_acymailing'.DS.'js'.DS.'colorpicker'.DS.'css'.DS.'colorpicker.css'));
acymailing_addScript(false, $websiteurl.'media/com_acymailing/js/colorpicker/js/colorpicker.js?v='.@filemtime(ACYMAILING_ROOT.'media'.DS.'com_acymailing'.DS.'js'.DS.'colorpicker'.DS.'js'.DS.'colorpicker.js'));
acymailing_addScript(false, $websiteurl.'media/com_acymailing/js/jquery/jquery-ui.min.js?v='.@filemtime(ACYMAILING_ROOT.'media'.DS.'com_acymailing'.DS.'js'.DS.'jquery'.DS.'jquery-ui.min.js'));
return '';
}
function onSave()
{
return;
}
function onGetContent($id)
{
return "AcyGetData();\n";
}
function onSetContent($id, $html)
{
$idIframe = "#".$id."_ifr";
$initialisation = $this->GetInitialisationFunction($id);
return "document.getElementById('$id').value = $html;$initialisation";
}
function onGetInsertMethod($id)
{
static $done = false;
if($done) return true;
$done = true;
$js = "\tfunction jInsertEditorText(text, editor) {
insertAtCursor(document.getElementById(editor), text);
}";
acymailing_addScript(true, $js);
return true;
}
function onDisplay($name, $content, $width, $height, $col, $row, $buttons = true, $id = null, $asset = null, $author = null, $params = array())
{
if (empty($id)) {
$id = $name;
}
if (is_numeric($width)) {
$width .= 'px';
}
if (is_numeric($height)) {
$height .= 'px';
}
$idIframe = $id."_ifr";
$initialisation = $this->GetInitialisationFunction($id);
$contentAvecOnClick = htmlspecialchars_decode($content);
$editor = "<textarea name=\"$name\" id=\"$id\" cols=\"$col\" rows=\"$row\" style=\"width:$width; height:$height;display:none\">$content</textarea>\n
<script type=\"text/javascript\">
$initialisation
</script>";
return $editor;
}
function GetInitialisationFunction($id)
{
$texteSuppression = acymailing_translation('ACYEDITOR_DELETEAREA');
$tooltipSuppression = acymailing_translation('ACY_DELETE');
$tooltipEdition = acymailing_translation('ACY_EDIT');
$urlBase = acymailing_rootURI();
$urlAdminBase = acymailing_baseURI();
$cssurl = acymailing_getVar('none', 'acycssfile');
$forceComplet = (acymailing_getVar('cmd', 'option') != 'com_acymailing' || acymailing_getVar('cmd', 'ctrl') == 'template' || acymailing_getVar('cmd', 'ctrl') == 'list');
$modeList = (acymailing_getVar('cmd', 'option') == 'com_acymailing' && acymailing_getVar('cmd', 'ctrl') == 'list');
$modeTemplate = (acymailing_getVar('cmd', 'option') == 'com_acymailing' && acymailing_getVar('cmd', 'ctrl') == 'template');
$modeArticle = (acymailing_getVar('cmd', 'option') == 'com_content' && acymailing_getVar('cmd', 'view') == 'article');
$joomla2_5 = ACYMAILING_J16;
$joomla3 = ACYMAILING_J30;
$titleTemplateDelete = acymailing_translation('ACYEDITOR_TEMPLATEDELETE');
$titleTemplateText = acymailing_translation('ACYEDITOR_TEMPLATETEXT');
$titleTemplatePicture = acymailing_translation('ACYEDITOR_TEMPLATEPICTURE');
$titleShowAreas = acymailing_translation('ACYEDITOR_SHOWAREAS');
$isBack = 0;
if(acymailing_isAdmin()){
$isBack = 1;
};
$tagAllowed = 0;
$config = acymailing_config();
if(acymailing_getVar('cmd', 'option') == 'com_acymailing'
&& acymailing_getVar('cmd', 'ctrl') != 'list'
&& acymailing_getVar('cmd', 'ctrl') != 'campaign'
&& acymailing_isAllowed($config->get('acl_tags_view','all'))
&& acymailing_getVar('cmd', 'tmpl') != 'component'){
$tagAllowed = 1;
}
$type = 'news';
if(acymailing_getVar('cmd', 'ctrl') == 'autonews' || acymailing_getVar('cmd', 'ctrl') == 'followup'){
$type = acymailing_getVar('cmd', 'ctrl');
}
$pasteType = $this->params->get('pasteType', 'plain');
$enterMode = $this->params->get('enterMode', 'br');
$inlineSource = $this->params->get('inlineSource', 1);
$js = "
acyEnterMode='".$enterMode."';
pasteType='".$pasteType."';
urlSite='".$urlBase."';
defaultText='".str_replace("'", "\'", acymailing_translation('ACYEDITOR_DEFAULTTEXT'))."';
titleBtnMore='".str_replace("'", "\'", acymailing_translation('ACYEDITOR_TEMPLATEMORE'))."';
titleBtnDupliAfter='".str_replace("'", "\'", acymailing_translation('ACYEDITOR_DUPLICATE_AFTER'))."';
tooltipInitAreas='".str_replace("'", "\'", acymailing_translation('ACYEDITOR_REINIT_ZONE_TOOLTIP'))."';
confirmInitAreas='".str_replace("'", "\'", acymailing_translation('ACYEDITOR_REINIT_ZONE_CONFIRMATION'))."';
tooltipTemplateSortable='".str_replace("'", "\'", acymailing_translation('ACYEDITOR_SORTABLE_AREA_TOOLTIP'))."';
var bgroundColorTxt='".str_replace("'", "\'", acymailing_translation('BACKGROUND_COLOUR'))."';
var confirmDeleteBtnTxt='".str_replace("'", "\'", acymailing_translation('ACY_DELETE'))."';
var confirmCancelBtnTxt='".str_replace("'", "\'", acymailing_translation('ACY_CANCEL'))."';
inlineSource='".$inlineSource."';
var emojis = false;
";
$installedPlugin = JPluginHelper::getPlugin('acymailing', 'emojis');
if(!empty($installedPlugin)) {
$params = new acyParameter($installedPlugin->params);
if(JPluginHelper::isEnabled('acymailing', 'emojis') && $params->get('editor', 1) == 1) {
$js .= "emojis = true;";
}
}
acymailing_addScript(true, $js);
$ckEditorFileVersion = @filemtime(ACYMAILING_ROOT.'plugins'.DS.'editors'.DS.'acyeditor'.DS.'acyeditor'.DS.'ckeditor'.DS.'ckeditor.js');
return "Initialisation(\"$id\", \"$type\", \"$urlBase\", \"$urlAdminBase\", \"$cssurl\", \"$forceComplet\", \"$modeList\", \"$modeTemplate\", \"$modeArticle\", \"$joomla2_5\", \"$joomla3\", \"$isBack\", \"$tagAllowed\", \"$texteSuppression\", \"$tooltipSuppression\", \"$tooltipEdition\", \"$titleTemplateDelete\", \"$titleTemplateText\", \"$titleTemplatePicture\", \"$titleShowAreas\", \"$ckEditorFileVersion\");\n";
}
}
PK X�"]� ]d d % acyeditor/acyeditor/css/acyeditor.cssnu &1i� .acyeditor_text, .acyeditor_picture{
cursor: pointer;
}
tr.acyeditor_delete td.acyeditor_text:hover, tr.acyeditor_delete td.acyeditor_picture:hover{
outline: 2px dotted #cbcf46;
}
.acyeditor_zoneeditionsuppression:hover{
outline: 3px double #5290db;
}
.acyeditor_zoneeditionsuppression{
display: none;
top: 0px;
left: 0px;
}
.acyeditor_zoneeditdelete{
cursor: pointer;
width: 100px;
height: 26px;
right: 0px;
}
.acyeditor_editdelete{
cursor: pointer;
background-image: url(../images/editor_zone_delete.png);
width: 24px;
height: 24px;
float: right;
}
.acyeditor_edittext{
cursor: pointer;
background-image: url(../images/editor_zone_text.png);
width: 24px;
height: 24px;
}
.acyeditor_editpicture{
cursor: pointer;
background-image: url(../images/editor_zone_picture.png);
width: 24px;
height: 24px;
}
.acyeditor_btnplus{
cursor: pointer;
background-image: url(../images/editor_zone_plus.png);
width: 24px;
height: 24px;
right: 24px;
float: right;
}
.acyeditor_btnmore{
cursor: pointer;
background-image: url(../images/param.png);
width: 24px;
height: 24px;
right: 24px;
float: right;
}
.acyeditor_btnmove{
cursor: move;
background-image: url(../images/editor_zone_drag.png);
width: 24px;
height: 24px;
right: 48px;
float: right;
}
#legendBground{
width: 70px;
margin: 5px;
float: left;
font-size: 11px;
color: black;
line-height: normal;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
#colorSelector{
cursor: pointer;
width: 15px;
height: 15px;
float: right;
margin: 5px;
}
#colorSelectorInput{
width: 70px;
height: 100%;
border: none;
padding: 5px;
}
#colorSelectorContainer{
margin: 4px;
display: inline-block;
background-color: #cacaca;
height: 25px;
border: solid 1px #B0B0B0;
border-radius: 2px;
}
tr.acyeditor_delete:hover td.acyeditor_enedition .acyeditor_zoneeditionsuppression{
display: none;
}
.acyeditor_delete:not(.acyeditor_enedition):hover .acyeditor_zoneeditionsuppression, .acyeditor_text:not(.acyeditor_enedition):hover .acyeditor_zoneeditionsuppression, .acyeditor_picture:not(.acyeditor_enedition):hover .acyeditor_zoneeditionsuppression{
display: block;
}
.acyeditor_zoneeditionsuppressionhover{
display: block;
}
.acyeditor_copyButton{
cursor: pointer;
width: 100px;
height: 60px;
z-index: 998;
}
.acyeditor_copyButtonAfter{
background-image: url(../images/duplicate_after.png);
background-size: 100px 60px;
background-repeat: no-repeat;
float: right;
z-index: 999;
}
.acyeditor_action{
z-index: 998;
cursor: pointer;
height: 35px;
display: inline-block;
background-color: white;
border: 1px solid #CCCCCC;
width: auto;
}
.acyeditor_closebutton{
cursor: pointer;
width: 16px;
height: 16px;
background-image: url(../images/close_icon.png);
background-size: 16px 16px;
position: relative;
float: right;
z-index: 999;
}
.acyeditor_mask{
z-index: 997;
top: 0px;
left: 0px;
}
.placeholder{
outline: 2px dashed #444;
height: 60px;
width: auto;
-moz-box-shadow: 0px 0px 4px 2px #ffffff;
-webkit-box-shadow: 0px 0px 4px 2px #ffffff;
-o-box-shadow: 0px 0px 4px 2px #ffffff;
box-shadow: 0px 0px 4px 2px #ffffff;
filter: progid:DXImageTransform.Microsoft.Shadow(color=#ffffff, Direction=NaN, Strength=4);
}
tr.ui-sortable-helper .acyeditor_zoneeditionsuppression{
display: none !important;
}
tr.ui-sortable-helper{
opacity: 0.8;
outline: 1px solid #5290db;
box-shadow: 1px 1px 6px #999;
}
.placeholder:after{
content: url(../images/arrow2.png);
position: relative;
left: 10px;
top: 20px;
display: block;
width: 0px;
}
.placeholder:before{
content: url(../images/arrow1.png);
position: relative;
right: 40px;
top: 20px;
display: block;
width: 0px;
}
.cke_source{
white-space: pre-wrap !important;
}
.confirmCancel{
color: #6190b9;
padding: 10px 15px 10px 25px;
font-weight: bold;
font-size: 13px;
text-transform: uppercase;
border: 1px solid #93b7d6;
border-bottom: 2px solid #93b7d6;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
margin: 15px 5px 0px 50px;
cursor: pointer;
background: #fff url(../images/popup_cancel.png) no-repeat 10% 50%;
width: 100px;
float: left;
}
.confirmCancel:hover{
border: 1px solid #8baac7;
border-bottom: 2px solid #678fb6;
background: #adc7e0 url(../images/popup_cancel_hover.png) no-repeat 10% 50%;
color: #fff;
text-shadow: 1px 1px 2px #5a89b7;
-moz-text-shadow: 1px 1px 2px #5a89b7;
-webkit-text-shadow: 1px 1px 2px #5a89b7;
}
.confirmOk{
color: #dc5d55;
padding: 10px 25px 10px 15px;
font-weight: bold;
font-size: 13px;
text-transform: uppercase;
border: 1px solid #eeb6b3;
border-bottom: 2px solid #eeb6b3;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
margin: 15px 50px 0px 5px;
cursor: pointer;
background: #fff url(../images/popup_delete.png) no-repeat 90% 45%;
width: 100px;
float: right;
}
.confirmOk:hover{
border: 1px solid #d4615b;
border-bottom: 2px solid #b13e38;
background: #eb837d url(../images/popup_delete_hover.png) no-repeat 90% 45%;
color: #fff;
text-shadow: 1px 1px 2px #c54e48;
-moz-text-shadow: 1px 1px 2px #c54e48;
-webkit-text-shadow: 1px 1px 2px #c54e48;
}
#confirmBox{
width: 370px;
height: 100px;
background: rgba(255, 255, 255, 0.8);
border: 1px solid #d6d6d6;
padding: 5px;
border-radius: 5px;
box-shadow: 1px 1px 5px #dddddd;
-moz-box-shadow: 1px 1px 5px #dddddd;
-webkit-box-shadow: 1px 1px 5px #dddddd;
position: absolute;
z-index: 999;
}
#acy_popup_content{
background-color: #fff;
padding: 20px;
text-align: center;
color: #706f6f;
height: 60px;
}
div[name="emojipopup"] .cke_dialog_ui_vbox_child div.cke_dialog_ui_html{
height: 250px;
overflow-y: auto;
overflow-x: hidden;
}
PK X�"]%�MPz z . acyeditor/acyeditor/css/acyeditor_template.cssnu &1i� .acyeditor_delete {
outline: 1px dashed #ab2e39;
}
.acyeditor_text{
background:url(../images/edit_text.png) no-repeat top right;
outline: 2px dotted #cbcf46;
}
.acyeditor_picture{
background:url(../images/edit_picture.png) no-repeat top right;
outline: 2px dotted #cbcf46;
}
.acyeditor_delete.acyeditor_text, .acyeditor_delete.acyeditor_picture {
border: 1px dashed #ab2e39;
}
.acyeditor_picture img{
opacity:0.5;
-moz-opacity: 0.5;
-khtml-opacity: 0.5;
opacity: 0.5;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
filter: alpha(opacity=50);
}
.acyeditor_sortable{
outline: 3px double #5290db;
}
PK X�"]�#o, , "