Skip to content

Commit

Permalink
Merge pull request #81 from t3solution/4.5.5
Browse files Browse the repository at this point in the history
v4.5.5 - be sure to read the update info
  • Loading branch information
t3solution authored Jan 15, 2021
2 parents a8e250f + a2a4192 commit 7628bdf
Show file tree
Hide file tree
Showing 276 changed files with 9,598 additions and 17,098 deletions.
15 changes: 5 additions & 10 deletions Classes/Backend/FormDataProvider/FlexFormManipulation.php
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
<?php
declare(strict_types=1);

namespace T3SBS\T3sbootstrap\Backend\FormDataProvider;

/*
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
* This file is part of the TYPO3 extension t3sbootstrap.
*
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* The TYPO3 project - inspiring people to share!
* LICENSE file that was distributed with this source code.
*/

use TYPO3\CMS\Backend\Form\FormDataProviderInterface;
Expand Down Expand Up @@ -42,9 +38,8 @@ public function addData(array $result)
if ( is_array($flexforms) ) {

$cType = $result['databaseRow']['CType'];
$type = $cType == 'gridelements_pi1' ? $result['databaseRow']['tx_gridelements_backend_layout'] : $cType;

switch ($type) {
switch ($cType) {
case 't3sbs_card':
$flexformFile = 'cardSetting.';
break;
Expand Down
35 changes: 18 additions & 17 deletions Classes/Command/CdnToLocal.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@

namespace T3SBS\T3sbootstrap\Command;

/**
* This file is part of the "tt_address" Extension for TYPO3 CMS.
/*
* This file is part of the TYPO3 extension t3sbootstrap.
*
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
* LICENSE file that was distributed with this source code.
*/

use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
Expand All @@ -33,24 +34,24 @@ public function injectConfigurationManager(ConfigurationManagerInterface $config
}


/**
* Defines the allowed options for this command
*
* @inheritdoc
*/
/**
* Defines the allowed options for this command
*
* @inheritdoc
*/
protected function configure()
{
$this->setDescription('Write required CSS and JS to fileadmin/Resources/Private/');
$this->setDescription('Write required CSS and JS to fileadmin/Resources/Private/');
}


/**
* Update all records
*
* @inheritdoc
*/
protected function execute(InputInterface $input, OutputInterface $output)
{
/**
* Update all records
*
* @inheritdoc
*/
protected function execute(InputInterface $input, OutputInterface $output)
{

$this->configurationManager = GeneralUtility::makeInstance(ConfigurationManager::class);
$settings = $this->configurationManager->getConfiguration(
Expand Down Expand Up @@ -307,7 +308,7 @@ protected function execute(InputInterface $input, OutputInterface $output)

return 0;

}
}

private function writeCustomFile($customPath, $customFileName, $cdnPath, $extend=false ) {

Expand Down
Loading

0 comments on commit 7628bdf

Please sign in to comment.