primo commit

This commit is contained in:
2024-12-17 17:34:10 +01:00
commit e650f8df99
16435 changed files with 2451012 additions and 0 deletions

View File

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

View File

@ -0,0 +1,42 @@
<?php
/**
* @package JEM
* @subpackage JEM Content Plugin
* @copyright (C) 2013-2024 joomlaeventmanager.net
* @license https://www.gnu.org/licenses/gpl-3.0 GNU/GPL
*/
defined('_JEXEC') or die;
use Joomla\CMS\Plugin\CMSPlugin;
/**
* JEM Content Plugin
*
* @package JEM.Plugin
* @subpackage Content.jem
* @since 1.9.6
*/
class plgContentJem extends CMSPlugin
{
/**
* Dissolve recurrence sets where deleted event is referred to as first.
*
* @param string The context for the content passed to the plugin.
* @param object The data relating to the content that was deleted.
*
* @since 1.9.6
*/
public function onContentAfterDelete($context, $data)
{
// Skip plugin if we are deleting something other than events
if (($context != 'com_jem.event') || empty($data->id)) {
return;
}
// event maybe first of recurrence set -> dissolve complete set
JemHelper::dissolve_recurrence($data->id);
return;
}
}

View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<extension version="2.5" type="plugin" group="content" method="upgrade">
<name>plg_content_jem</name>
<author>JEM Community</author>
<authorEmail>info@joomlaeventmanager.net</authorEmail>
<authorUrl>https://www.joomlaeventmanager.net</authorUrl>
<creationDate>October 2024</creationDate>
<copyright>copyright (C) 2013-2024 joomlaeventmanager.net</copyright>
<license>https://www.gnu.org/licenses/gpl-3.0 GNU/GPL</license>
<version>4.3.1</version>
<description>PLG_CONTENT_JEM_XML_DESCRIPTION</description>
<files>
<filename plugin="jem">jem.php</filename>
<filename>index.html</filename>
<folder>language</folder>
</files>
<languages>
<language tag="en-GB">language/en-GB/plg_content_jem.ini</language>
<language tag="en-GB">language/en-GB/plg_content_jem.sys.ini</language>
</languages>
</extension>

View File

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

View File

@ -0,0 +1,13 @@
; @package JEM
; @subpackage JEM Content Plugin
; @copyright (C) 2013-2024 joomlaeventmanager.net
; @copyright (C) 2005-2009 Christoph Lukes
; @license https://www.gnu.org/licenses/gpl-3.0 GNU/GPL
;
; All translations can be found at https://app.transifex.com/jemproject/
; Please join the translation team if you want to contribute your changes to the translations
;
; Note: All ini files need to be saved as UTF-8, no BOM
PLG_CONTENT_JEM = "JEM - Content Plugin"
PLG_CONTENT_JEM_XML_DESCRIPTION = "The plugin processes the events for the JEM extension."

View File

@ -0,0 +1,13 @@
; @package JEM
; @subpackage JEM Content Plugin
; @copyright (C) 2013-2024 joomlaeventmanager.net
; @copyright (C) 2005-2009 Christoph Lukes
; @license https://www.gnu.org/licenses/gpl-3.0 GNU/GPL
;
; All translations can be found at https://app.transifex.com/jemproject/
; Please join the translation team if you want to contribute your changes to the translations
;
; Note: All ini files need to be saved as UTF-8, no BOM
PLG_CONTENT_JEM = "JEM - Content Plugin"
PLG_CONTENT_JEM_XML_DESCRIPTION = "Does event processing for JEM extension."

View File

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