Comparer les révisions

...

2 Révisions

Auteur SHA1 Message Date
c54a5d253d Verzeichnisse verschoben 2024-08-28 11:19:32 +02:00
b1a8800288 require auf 7.0-7.1 gesetzt 2024-08-28 11:17:44 +02:00
3 fichiers modifiés avec 30 ajouts et 34 suppressions

Voir le fichier

@ -1,24 +1,24 @@
<?php
/**
* ab HTML minify
* Copyright (C) 2014 Alfred Bez
*
* This program is free software;
* you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation;
* either version 3 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
* You should have received a copy of the GNU General Public License along with this program; if not, see <http://www.gnu.org/licenses/>
*/
namespace AlfredBez\HtmlMin\Core;
class UtilsView extends UtilsView_parent {
protected function _fillCommonSmartyProperties($oSmarty)
{
parent::_fillCommonSmartyProperties($oSmarty);
$oSmarty->load_filter('output' , 'trimwhitespace');
}
}
<?php
/**
* ab HTML minify
* Copyright (C) 2014 Alfred Bez
*
* This program is free software;
* you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation;
* either version 3 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
* You should have received a copy of the GNU General Public License along with this program; if not, see <http://www.gnu.org/licenses/>
*/
namespace AlfredBez\HtmlMin\Modules\Core;
class UtilsView extends UtilsView_parent {
protected function _fillCommonSmartyProperties($oSmarty)
{
parent::_fillCommonSmartyProperties($oSmarty);
$oSmarty->load_filter('output' , 'trimwhitespace');
}
}

Voir le fichier

@ -4,7 +4,7 @@
"keywords": ["oxid", "modules", "eShop"],
"description": "entfernt unnötige Whitespaces aus dem HTML-Code",
"require": {
"oxid-esales/oxideshop-ce": "^v6.0"
"oxid-esales/oxideshop-ce": "7.0 - 7.0"
},
"authors": [
{
@ -12,14 +12,10 @@
"email": "alfred.bez@gmail.com"
}
],
"extra": {
"oxideshop": {
"target-directory": "ab/htmlmin"
}
},
"extra": {},
"autoload": {
"psr-4": {
"AlfredBez\\HtmlMin\\": "../../../source/modules/ab/htmlmin"
"AlfredBez\\HtmlMin\\": ""
}
},
"minimum-stability": "dev"

Voir le fichier

@ -9,7 +9,7 @@
/**
* Metadata version
*/
$sMetadataVersion = '2.0';
$sMetadataVersion = '2.1';
/**
* Module information
@ -20,9 +20,9 @@ $aModule = [
'description' => 'entfernt unnötige Whitespaces aus dem HTML-Code',
'version' => '2.0',
'author' => 'Alfred Bez',
'url' => 'http://www.alfredbez.de',
'url' => 'https://www.alfredbez.de',
'email' => 'alfred.bez@gmail.com',
'extend' => [
\OxidEsales\Eshop\Core\UtilsView::class => \AlfredBez\HtmlMin\Core\UtilsView::class,
\OxidEsales\Eshop\Core\UtilsView::class => \AlfredBez\HtmlMin\Modules\Core\UtilsView::class,
],
];