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,20 @@
<?php
/**
* @package Joomla.System
* @subpackage ply_system_miniorangeimportexportusers
*
* @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
jimport('joomla.plugin.plugin');
class plgSystemMiniorangeimportexportusers extends JPlugin
{
}

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<extension version="3.0" type="plugin" group="system" method="upgrade">
<name>PLG_SYSTEM_MINIORANGEIMPORTEXPORTUSERS</name>
<author>miniOrange Security Software Pvt. Ltd.</author>
<license>GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html</license>
<authorEmail>info@xecurify.com</authorEmail>
<authorUrl>www.miniorange.com</authorUrl>
<creationDate>May 2022</creationDate>
<copyright>Copyright 2015 miniOrange. All Rights Reserved.</copyright>
<license>http://miniorange.com/usecases/miniOrange_User_Agreement.pdf</license>
<version>2.9</version>
<description>PLG_SYSTEM_MINIORANGEIMPORTEXPORTUSERS_XML_DESCRIPTION</description>
<scriptfile>myscript.php</scriptfile>
<files>
<filename plugin="miniorangeimportexportusers">miniorangeimportexportusers.php</filename>
</files>
<config />
<languages folder="language">
<language tag="en-GB">en-GB/en-GB.plg_system_miniorangeimportexportusers.ini</language>
<language tag="en-GB">en-GB/en-GB.plg_system_miniorangeimportexportusers.sys.ini</language>
</languages>
</extension>

View File

@@ -0,0 +1,96 @@
<?php
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
/**
* Script file of miniorangeimportexportusers plugin.
* This class will be called by Joomla!'s installer, if specified in your component's
* manifest file, and is used for custom automation actions in its installation process.
*
* In order to use this automation script, you should reference it in your component's
* manifest file as follows:
* <scriptfile>script.php</scriptfile>
*
* @copyright Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
class plgSystemMiniorangeimportexportusersInstallerScript
{
/**
* This method is called after a component is installed.
*
* @param \stdClass $parent - Parent object calling this method.
*
* @return void
*/
public function install($parent)
{
$db = JFactory::getDbo();
$query = $db->getQuery(true);
$query->update('#__extensions');
$query->set($db->quoteName('enabled') . ' = 1');
$query->where($db->quoteName('element') . ' = ' . $db->quote('miniorangeimportexportusers'));
$query->where($db->quoteName('type') . ' = ' . $db->quote('plugin'));
$db->setQuery($query);
$db->execute();
}
/**
* This method is called after a component is uninstalled.
*
* @param \stdClass $parent - Parent object calling this method.
*
* @return void
*/
public function uninstall($parent)
{
//echo '<p>' . JText::_('COM_HELLOWORLD_UNINSTALL_TEXT') . '</p>';
}
/**
* This method is called after a component is updated.
*
* @param \stdClass $parent - Parent object calling object.
*
* @return void
*/
public function update($parent)
{
//echo '<p>' . JText::sprintf('COM_HELLOWORLD_UPDATE_TEXT', $parent->get('manifest')->version) . '</p>';
}
/**
* Runs just before any installation action is performed on the component.
* Verifications and pre-requisites should run in this function.
*
* @param string $type - Type of PreFlight action. Possible values are:
* - * install
* - * update
* - * discover_install
* @param \stdClass $parent - Parent object calling object.
*
* @return void
*/
public function preflight($type, $parent)
{
//echo '<p>' . JText::_('COM_HELLOWORLD_PREFLIGHT_' . $type . '_TEXT') . '</p>';
}
/**
* Runs right after any installation action is performed on the component.
*
* @param string $type - Type of PostFlight action. Possible values are:
* - * install
* - * update
* - * discover_install
* @param \stdClass $parent - Parent object calling object.
*
* @return void
*/
function postflight($type, $parent)
{
// echo '<p>' . JText::_('COM_HELLOWORLD_POSTFLIGHT_' . $type . '_TEXT') . '</p>';
}
}