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,64 @@
<?php
/**
* @version 6.2.6 tabulizer $
* @package tabulizer
* @copyright Copyright © 2011 - All rights reserved.
* @license GNU/GPL
* @author Dimitrios Mourloukos
* @author mail info@alterora.gr
* @website www.tabulizer.com
*
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
jimport( 'joomla.plugin.plugin' );
if(!defined('DS')){define('DS',DIRECTORY_SEPARATOR);}
class plgSystemTabulizerCSS extends JPlugin
{
function __construct(&$subject, $config) {
parent::__construct($subject, $config);
$this->loadLanguage();
}
function onAfterRender() {
$JApplication=JFactory::getApplication();
// don't run this plugin on administrator site
if ($JApplication->isAdmin()) {
return;
}
$output = JResponse::getBody();
$this->_includeCSS($output);
JResponse::setBody($output);
}
protected function _includeCSS(&$text) {
// load the admin tabulizer component language, as well
$lang = JFactory::getLanguage();
$lang->load('com_tabulizer', JPATH_ADMINISTRATOR);
require_once(JPATH_ADMINISTRATOR.DIRECTORY_SEPARATOR.'components'.DIRECTORY_SEPARATOR.'com_tabulizer'.DIRECTORY_SEPARATOR.'assets'.DIRECTORY_SEPARATOR.'classes'.DIRECTORY_SEPARATOR.'common'.DIRECTORY_SEPARATOR.'tags_processor.php');
$tag_processor = new TabulizerTagsProcessor();
$tag_processor->init('system');
$pos = strpos($text,'<body');
if ($pos !== false) {
$header = substr($text,0,$pos-1);
$body = substr($text,$pos);
$tag_processor->processTags($body);
$text = $header.$body;
} else {
$tag_processor->processTags($text);
}
}
}
?>

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<extension type="plugin" version="1.5" group="system" method="upgrade">
<name>System - Tabulizer CSS</name>
<creationDate>2019-01-17</creationDate>
<copyright>Copyright (C) 2011. All rights reserved.</copyright>
<license>GNU General Public License</license>
<author>Dimitrios Mourloukos</author>
<authorEmail>info@alterora.gr</authorEmail>
<authorUrl>www.tabulizer.gr</authorUrl>
<version>6.2.6</version>
<description>PLG_TABULIZERCSS_INSTALLATION_DESCRIPTION</description>
<files>
<filename plugin="tabulizercss">tabulizercss.php</filename>
</files>
<languages folder="language">
<language tag="en-GB">en-GB/en-GB.plg_system_tabulizercss.ini</language>
<language tag="en-GB">en-GB/en-GB.plg_system_tabulizercss.sys.ini</language>
</languages>
</extension>