Spade

Mini Shell

Directory:~$ /home/lmsyaran/public_html/joomla4/
Upload File

[Home] [System Details] [Kill Me]
Current File:~$ /home/lmsyaran/public_html/joomla4/shipping_standard.zip

PK���[�#o,,helpers/index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PK���[�#o,,
index.htmlnu�[���<html><body
bgcolor="#FFFFFF"></body></html>PK���[��P
P
shipping_standard.phpnu�[���<?php
/* @package Joomla
 * @copyright Copyright (C) Open Source Matters. All rights reserved.
 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
 * @extension Phoca Extension
 * @copyright Copyright (C) Jan Pavelka www.phoca.cz
 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
 */

defined('_JEXEC') or die;
jimport( 'joomla.plugin.plugin' );
jimport( 'joomla.filesystem.file');
jimport( 'joomla.html.parameter' );
//jimport('joomla.log.log');
//JLog::addLogger( array('text_file' =>
'com_phocacart_error_log.php'), JLog::ALL,
array('com_phocacart'));
//phocacartimport('phocacart.utils.log');

JLoader::registerPrefix('Phocacart', JPATH_ADMINISTRATOR .
'/components/com_phocacart/libraries/phocacart');

class plgPCSShipping_Standard extends JPlugin
{
	protected $name 	= 'shipping_standard';

	function __construct(& $subject, $config) {
		parent :: __construct($subject, $config);
		$this->loadLanguage();
	}
	/*
	function PCSbeforeProceedToShipping(&$proceed, $eventData) {

		if (!isset($eventData['pluginname']) ||
isset($eventData['pluginname']) &&
$eventData['pluginname'] != $this->name) {
			return false;
		}

		$proceed = 1;
		return true;
	}

	function PCSbeforeSetShippingForm(&$form, $paramsC, $params, $order,
$eventData) {

		if (!isset($eventData['pluginname']) ||
isset($eventData['pluginname']) &&
$eventData['pluginname'] != $this->name) {
			return false;
		}

		return true;
	}

	function PCSbeforeCheckShipping($pid, $eventData) {

		if (!isset($eventData['pluginname']) ||
isset($eventData['pluginname']) &&
$eventData['pluginname'] != $this->name) {
			return false;
		}

		return true;
	}
	function PCSgetShippingBrancheInfoAdmin($pid, $eventData) {

		if (!isset($eventData['pluginname']) ||
isset($eventData['pluginname']) &&
$eventData['pluginname'] != $this->name) {
			return false;
		}

		return true;
	}
	*/
	/*
	function PCSbeforeShowPossibleShippingMethod(&$active, $params,
$eventData){

		if (!isset($eventData['pluginname']) ||
isset($eventData['pluginname']) &&
$eventData['pluginname'] != $this->name) {
			return false;
		}

		// Shipping plugin can disable/deactivate current shipping method in
possible shipping method list based on own rules
		// $active = false;

		return true;

	}
	
	function PCSonInfoViewDisplayContent($data, $eventData){

		if (!isset($eventData['pluginname']) ||
isset($eventData['pluginname']) &&
$eventData['pluginname'] != $this->name) {
			return false;
		}

		$output = array();
		$output['content'] = '';

		return $output;

	}
	*/
	
}
?>
PK���[]=hhshipping_standard.xmlnu�[���<?xml
version="1.0" encoding="utf-8"?>
<extension type="plugin" group="pcs"
method="upgrade" version="3.9">
	<name>plg_pcs_shipping_standard</name>
	<author>Jan Pavelka (www.phoca.cz)</author>
	<creationDate>04/10/2021</creationDate>
	<authorEmail></authorEmail>
	<authorUrl>https://www.phoca.cz</authorUrl>
	<copyright>Jan Pavelka</copyright>
	<license>GNU/GPL</license>
	<version>3.5.8</version>
	<description>PLG_PCS_SHIPPING_STANDARD_DESCRIPTION</description>
	<projectName>PhocaCartShippingStandardPlugin</projectName>

	<files>
		<folder>helpers</folder>
		<filename
plugin="shipping_standard">index.html</filename>
		<filename
plugin="shipping_standard">shipping_standard.php</filename>
	</files>

	<languages>
		<language
tag="en-GB">language/en-GB/en-GB.plg_pcs_shipping_standard.ini</language>
		<language
tag="en-GB">language/en-GB/en-GB.plg_pcs_shipping_standard.sys.ini</language>
	</languages>

	<administration>
		<languages>
			<language
tag="en-GB">language/en-GB/en-GB.plg_pcs_shipping_standard.ini</language>
			<language
tag="en-GB">language/en-GB/en-GB.plg_pcs_shipping_standard.sys.ini</language>
		</languages>
	</administration>
	<form>
	<fields name="params"
addfieldpath="/administrator/components/com_phocacart/models/fields">
	<fieldset name="shipping"
addpath="/administrator/components/com_phocacart/models/fields"
group="pcs">

	

	
	</fieldset>
	</fields>

</form>
	

	<updateservers>
		<server type="extension"
name="PLG_PCS_SHIPPING_STANDARD"
priority="1"><![CDATA[https://raw.githubusercontent.com/PhocaCz/PhocaCartShippingStandardPlugin/master/manifest.xml]]></server>
	</updateservers>
</extension>
PK���[�#o,,helpers/index.htmlnu�[���PK���[�#o,,
nindex.htmlnu�[���PK���[��P
P
�shipping_standard.phpnu�[���PK���[]=hhishipping_standard.xmlnu�[���PKF