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 @@
<html><body></body></html>

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 512 512" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;">
<g transform="matrix(2.08267,0,0,2.08267,-425.202,2.84748)">
<g transform="matrix(5.58723,0,0,5.58723,204.162,-1.36723)">
<rect x="0" y="0" width="44" height="44" style="fill:none;fill-rule:nonzero;"/>
</g>
<g transform="matrix(5.58723,0,0,5.58723,204.162,-1.36723)">
<path d="M22,5.5L36.667,13.75L36.667,30.25L22,38.5L7.333,30.25L7.333,13.75L22,5.5" style="fill:none;fill-rule:nonzero;stroke:black;stroke-width:1.72px;"/>
</g>
<g transform="matrix(5.58723,0,0,5.58723,204.162,-1.36723)">
<path d="M22,22L36.667,13.75" style="fill:none;fill-rule:nonzero;stroke:black;stroke-width:1.72px;"/>
</g>
<g transform="matrix(5.58723,0,0,5.58723,204.162,-1.36723)">
<path d="M22,22L22,38.5" style="fill:none;fill-rule:nonzero;stroke:black;stroke-width:1.72px;"/>
</g>
<g transform="matrix(5.58723,0,0,5.58723,204.162,-1.36723)">
<path d="M22,22L7.333,13.75" style="fill:none;fill-rule:nonzero;stroke:black;stroke-width:1.72px;"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -0,0 +1 @@
<html><body></body></html>

View File

@@ -0,0 +1,10 @@
; @copyright Copyright (C) 2010 Cédric KEIFLIN alias ced1870
; https://www.joomlack.fr
; @license GNU/GPL
; Double quotes in the values have to be formatted as "_QQ_"
PLG_PAGEBUILDERCK_MODULE_XML_NAME="Page Builder CK - Module"
PLG_PAGEBUILDERCK_MODULE_MENUITEM_TITLE="Module"
PLG_PAGEBUILDERCK_MODULE_MENUITEM_DESC="Any module on your website"

View File

@@ -0,0 +1,7 @@
; @copyright Copyright (C) 2010 Cédric KEIFLIN alias ced1870
; https://www.joomlack.fr
; @license GNU/GPL
; Double quotes in the values have to be formatted as "_QQ_"
PLG_PAGEBUILDERCK_MODULE_XML_NAME="Page Builder CK - Module"

View File

@@ -0,0 +1 @@
<!DOCTYPE html><title></title>

View File

@@ -0,0 +1,9 @@
; @copyright Copyright (C) 2010 Cédric KEIFLIN alias ced1870
; https://www.joomlack.fr
; @license GNU/GPL
; Double quotes in the values have to be formatted as "_QQ_"
PLG_PAGEBUILDERCK_MODULE_XML_NAME="Page Builder CK - Module"
PLG_PAGEBUILDERCK_MODULE_MENUITEM_TITLE="Module"
PLG_PAGEBUILDERCK_MODULE_MENUITEM_DESC="N'importe quel module de votre site"

View File

@@ -0,0 +1,7 @@
; @copyright Copyright (C) 2010 Cédric KEIFLIN alias ced1870
; https://www.joomlack.fr
; @license GNU/GPL
; Double quotes in the values have to be formatted as "_QQ_"
PLG_PAGEBUILDERCK_MODULE_XML_NAME="Page Builder CK - Module"

View File

@@ -0,0 +1 @@
<!DOCTYPE html><title></title>

View File

@@ -0,0 +1 @@
<!DOCTYPE html><title></title>

View File

@@ -0,0 +1,91 @@
<?php
/**
* @name Page Builder CK
* @package com_pagebuilderck
* @copyright Copyright (C) 2015. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @author Cedric Keiflin - https://www.template-creator.com - https://www.joomlack.fr
*/
defined('_JEXEC') or die;
$module_modaledition_url = JUri::root(true) . "/administrator/index.php?option=com_modules&amp;client_id=0&amp;task=module.edit&amp;view=module&amp;layout=modal&amp;tmpl=component&amp;id=";
?>
<div id="elementscontainer">
<div class="menulink current" tab="tab_moduleselection"><?php echo JText::_('CK_MODULE_SELECTION'); ?></div>
<div class="tab menustyles current ckproperty" id="tab_moduleselection">
<div>
<a class="ckbuttonstyle" href="javascript:void(0)" onclick="ckOpenModulesPopup()"><?php echo JText::_('CK_SELECT'); ?></a>
<a class="ckbuttonstyle" href="javascript:void(0)" onclick="ckOpenModuleEditionPopup()"><?php echo JText::_('CK_EDIT') ?></a>
<a class="ckbuttonstyle" href="javascript:void(0)" onclick="ckOpenModuleSelectPopup()"><?php echo JText::_('CK_NEW') ?></a>
</div>
</div>
<div class="menulink" tab="tab_blocstyles"><?php echo JText::_('CK_MODULE_STYLE'); ?></div>
<div class="tab menustyles ckproperty" id="tab_blocstyles">
<?php echo $this->menustyles->createBlocStyles('bloc') ?>
</div>
</div>
<script language="javascript" type="text/javascript">
function ckLoadEditionPopup() {
var focus = $ck('.editfocus');
ckUpdatePreviewArea();
$ck('#moduleckModal<?php echo $id ?>').attr('data-id', $ck('.editfocus .modulerow').attr('data-id'));
ckFillEditionPopup(focus.attr('id'));
}
function ckBeforeSaveEditionPopup() {
var focus = $ck('.editfocus');
ckSaveEditionPopup(focus.attr('id'));
$ck('.modal-backdrop').remove();
}
function ckUpdatePreviewArea() {
}
function ckOpenModuleEditionPopup() {
if (! $ck('.editfocus .modulerow').attr('data-id')) {
alert('<?php echo JText::_('CK_SELECT_MODULE_FIRST', true) ?>');
return;
}
ckLoadIframeEdition('<?php echo $module_modaledition_url ?>'+$ck('.editfocus .modulerow').attr('data-id'), 'ckeditionmodulepopup', 'module.save', 'module.cancel');
}
function ckSelectModule(id, title, module) {
$ck('.editfocus .moduleck').empty()
.append(
'<div class="modulerow" style="background:#fff;padding:5px;" data-id="'+id+'" data-title="'+title+'" data-module="'+module+'">'
+ '<svg class="moduleck_icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M488.6 250.2L392 214V105.5c0-15-9.3-28.4-23.4-33.7l-100-37.5c-8.1-3.1-17.1-3.1-25.3 0l-100 37.5c-14.1 5.3-23.4 18.7-23.4 33.7V214l-96.6 36.2C9.3 255.5 0 268.9 0 283.9V394c0 13.6 7.7 26.1 19.9 32.2l100 50c10.1 5.1 22.1 5.1 32.2 0l103.9-52 103.9 52c10.1 5.1 22.1 5.1 32.2 0l100-50c12.2-6.1 19.9-18.6 19.9-32.2V283.9c0-15-9.3-28.4-23.4-33.7zM358 214.8l-85 31.9v-68.2l85-37v73.3zM154 104.1l102-38.2 102 38.2v.6l-102 41.4-102-41.4v-.6zm84 291.1l-85 42.5v-79.1l85-38.8v75.4zm0-112l-102 41.4-102-41.4v-.6l102-38.2 102 38.2v.6zm240 112l-85 42.5v-79.1l85-38.8v75.4zm0-112l-102 41.4-102-41.4v-.6l102-38.2 102 38.2v.6z"/></svg>'
+ '<h4 class="modulerow_title" style=""><?php echo JText::_('CK_MODULE'); ?></h4>'
+ '<span class="ckbadge ckbadge-info" style="">'+id+'</span>'
+ '<span class="" style="text-align:left;color:#3071a9;display:inline-block;margin:0 7px;">'+title+'</span>'
+ '<span class="cklabel" style="">'+module+'</span>'
+ '</div>');
$ck('#moduleckModal<?php echo $id ?>').attr('data-id', id);
}
function ckOpenModuleSelectPopup() {
CKBox.open({id: 'ckmoduleselectpopup',
url: "<?php echo JUri::root(true) ?>/administrator/index.php?option=com_modules&amp;client_id=0&amp;view=select&amp;tmpl=component",
// url: 'index.php?option=com_content&layout=modal&tmpl=component&task=article.edit&id='+id,
style: {padding: '10px'},
onCKBoxLoaded : function(){ckLoadedIframeModuleSelect('ckmoduleselectpopup');}
// footerHtml: '<a class="ckboxmodal-button" href="javascript:void(0)" onclick="ckSaveIframe(\''+htmlId+'\')">'+Joomla.JText._('CK_SAVE_CLOSE')+'</a>'
});
}
function ckLoadedIframeModuleSelect(boxid) {
var frame = $ck('#'+boxid).find('iframe');
frame.load(function() {
var framehtml = frame.contents();
var items = framehtml.find('#new-modules-list > li > a');
items.each(function() {
item = $ck(this);
href = item.attr('href');
item.attr('href', 'javascript:void(0)');
// item.attr('onclick', 'window.location=\''+href+'&tmpl=component&layout=modal\';window.parent.ckLoadedIframeEdition(\''+boxid+'\', \'module.apply\', \'module.cancel\')');
item.attr('onclick', 'window.parent.ckLoadIframeEdition(\''+href+'&tmpl=component&layout=modal\', \'ckeditionmodulepopup\', \'module.apply\', \'module.cancel\');window.parent.CKBox.close(\'#'+boxid+' .ckboxmodal-button\');');
});
});
}
</script>

View File

@@ -0,0 +1 @@
<html><body></body></html>

View File

@@ -0,0 +1,88 @@
<?php
/**
* @copyright Copyright (C) 2015 Cédric KEIFLIN alias ced1870
* https://www.template-creator.com
* https://www.joomlack.fr
* @license GNU/GPL
* */
defined('_JEXEC') or die('Restricted access');
jimport('joomla.event.plugin');
class plgPagebuilderckModule extends JPlugin {
private $context = 'PLG_PAGEBUILDERCK_MODULE';
private $type = 'module';
function __construct(&$subject, $params) {
parent::__construct($subject, $params);
}
/*
* Construct the Menu Item to drag into the interface
*
* Return Object with item data
*/
public function onPagebuilderckAddItemToMenu() {
// load the language files of the plugin
$this->loadLanguage();
// create the menu item
$menuitem = new stdClass();
$menuitem->type = $this->type;
$menuitem->group = 'other';
$menuitem->title = JText::_($this->context . '_MENUITEM_TITLE');
$menuitem->description = JText::_($this->context . '_MENUITEM_DESC');
$menuitem->image = JUri::root(true) . '/plugins/pagebuilderck/module/assets/images/module.svg';
return $menuitem;
}
/*
* Display the html code for the item to be used into the interface
*
* Return String the html code
*/
public function onPagebuilderckLoadItemContentModule() {
$input = JFactory::getApplication()->input;
$id = $input->get('ckid', '', 'string');
// ckstyle and inner classes are needed to get the styles from the interface
?>
<div id="<?php echo $id; ?>" class="cktype" data-type="module" >
<div class="ckstyle">
</div>
<div class="moduleck inner">
<div class="moduleck_content">
<svg class="moduleck_icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M488.6 250.2L392 214V105.5c0-15-9.3-28.4-23.4-33.7l-100-37.5c-8.1-3.1-17.1-3.1-25.3 0l-100 37.5c-14.1 5.3-23.4 18.7-23.4 33.7V214l-96.6 36.2C9.3 255.5 0 268.9 0 283.9V394c0 13.6 7.7 26.1 19.9 32.2l100 50c10.1 5.1 22.1 5.1 32.2 0l103.9-52 103.9 52c10.1 5.1 22.1 5.1 32.2 0l100-50c12.2-6.1 19.9-18.6 19.9-32.2V283.9c0-15-9.3-28.4-23.4-33.7zM358 214.8l-85 31.9v-68.2l85-37v73.3zM154 104.1l102-38.2 102 38.2v.6l-102 41.4-102-41.4v-.6zm84 291.1l-85 42.5v-79.1l85-38.8v75.4zm0-112l-102 41.4-102-41.4v-.6l102-38.2 102 38.2v.6zm240 112l-85 42.5v-79.1l85-38.8v75.4zm0-112l-102 41.4-102-41.4v-.6l102-38.2 102 38.2v.6z"/></svg>
<h4 class="modulerow_title"><?php echo JText::_('CK_MODULE') ?></h4>
<?php echo JText::_('CK_MODULE_NOT_SELECTED') ?>
</div>
</div>
</div>
<?php
}
/*
* Load the interface for the item edition
*
* Return String the html code
*/
public function onPagebuilderckLoadItemOptionsModule() {
// load the language files of the plugin
$this->loadLanguage();
// load the interface for the options
$tpl = JPATH_SITE . '/plugins/pagebuilderck/module/layouts/edit_module.php';
return $tpl;
}
/*
* Display the html code for the item to be used into the frontend page
* @param string the item object from simple_html_dom
*
* Return String the html code
*/
public function onPagebuilderckRenderItemModule($item) {
return $item->innertext;
}
}

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<extension version="3" type="plugin" group="pagebuilderck" method="upgrade">
<name>plg_pagebuilderck_module_xml_name</name>
<creationDate>December 2015</creationDate>
<copyright>Copyright (C) 2015. All rights reserved.</copyright>
<license>GNU General Public License version 2 or later</license>
<author>Cedric Keiflin</author>
<authorEmail>ced1870@gmail.com</authorEmail>
<authorUrl>https://www.joomlack.fr</authorUrl>
<version>3.0.0</version>
<description>Module item for Page Builder CK</description>
<files>
<filename plugin="module">module.php</filename>
<folder>language</folder>
<folder>layouts</folder>
<folder>assets</folder>
</files>
<languages folder="language">
<language tag="en-GB">en-GB/en-GB.plg_pagebuilderck_module.sys.ini</language>
<language tag="en-GB">en-GB/en-GB.plg_pagebuilderck_module.ini</language>
<language tag="fr-FR">fr-FR/fr-FR.plg_pagebuilderck_module.sys.ini</language>
<language tag="fr-FR">fr-FR/fr-FR.plg_pagebuilderck_module.ini</language>
</languages>
</extension>