Compare commits

...

2 Commits

Author 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 changed files with 30 additions and 34 deletions

View File

@ -1,24 +1,24 @@
<?php <?php
/** /**
* ab HTML minify * ab HTML minify
* Copyright (C) 2014 Alfred Bez * Copyright (C) 2014 Alfred Bez
* *
* This program is free software; * 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; * 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. * 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; * 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. * 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/> * 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; namespace AlfredBez\HtmlMin\Modules\Core;
class UtilsView extends UtilsView_parent { class UtilsView extends UtilsView_parent {
protected function _fillCommonSmartyProperties($oSmarty) protected function _fillCommonSmartyProperties($oSmarty)
{ {
parent::_fillCommonSmartyProperties($oSmarty); parent::_fillCommonSmartyProperties($oSmarty);
$oSmarty->load_filter('output' , 'trimwhitespace'); $oSmarty->load_filter('output' , 'trimwhitespace');
} }
} }

View File

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

View File

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