refactor: remove code outside the first-goal scope

Keeps what the product detail pages, the AJAX date/price tables, the
API endpoints (/api/hotel, /api/product, /api/content/*), the chatbot
content-only page type and the MyE&P import need, determined by a class
and template reference closure from those entry points.

Removed: search, watchlist, calendar/contingent AJAX, snow report and
contingent imports, groups swiss, iCal, reseller export, team/EpTeam,
newsletter, CSV feeds, BpnConnect client, backend modules and page
module previews, Tcemain hooks, scheduler tasks, staging and static
search middlewares, forms and their finishers, gridelements and news
templates, and the plugins and content elements not used on product
pages.

The SFTP and local XML import sources are gone; the import reads
MyE&P only (ApiImportSource as ProductImportSource) and runs as
ep:import-dates.

ext_tables.sql stays complete so no table or column is dropped while
the TYPO3 10 project shares the data.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
frommeandClaude Opus 5.5 committed 2026-10-21 14:08:06 +02:00
1 parent a46918de9d
commit b890a55115
331 files changed
+18 -23190

No files matched your search

@@ -1,83 +0,0 @@
<?php
namespace EP\EpTheme\Controller;
/***************************************************************
*
* Copyright notice
*
* (c) 2020 Björn Fromme <[email protected]>, dreipunktnull
*
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project 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.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script 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.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
use EP\EpTheme\Domain\Repository\PageRepository;
use TYPO3\CMS\Backend\View\BackendTemplateView;
use TYPO3\CMS\Core\Database\ConnectionPool;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Extbase\Mvc\Controller\ActionController;
class BackendController extends ActionController
{
/**
* Backend Template Container
*
* @var BackendTemplateView
*/
protected $defaultViewObjectName = BackendTemplateView::class;
/**
* BackendTemplateContainer
*
* @var BackendTemplateView
*/
protected $view;
/**
* @var int
*/
protected $pageUid;
/**
* @var PageRepository
*/
protected $pageRepository;
/**
* @param PageRepository $pageRepository
*/
public function __construct(PageRepository $pageRepository)
{
$this->pageRepository = $pageRepository;
}
public function initializeAction()
{
$this->pageUid = (int)GeneralUtility::_GET('id');
parent::initializeAction();
}
public function listPagesAction()
{
$pages = $this->pageRepository->findPagesByPid($this->pageUid, true);
$this->view->assign('pages', $pages);
}
}
@@ -1,351 +0,0 @@
<?php
namespace EP\EpTheme\Domain\Model\Dto;
/***************************************************************
*
* Copyright notice
*
* (c) 2018 Björn Fromme <[email protected]>, dreipunktnull
*
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project 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.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script 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.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
class ContactForm
{
const FORM_TYPE_SIMPLE = 1;
const FORM_TYPE_FULL = 2;
/**
* @var int
*/
protected $formType = 1;
/**
* Honeypot field!!
*
* @var string
*/
protected $subject;
/**
* @var string
* @TYPO3\CMS\Extbase\Annotation\Validate("NotEmpty")
*/
protected $name;
/**
* @var string
* @TYPO3\CMS\Extbase\Annotation\Validate("NotEmpty")
*/
protected $firstName;
/**
* @var string
* @TYPO3\CMS\Extbase\Annotation\Validate("NotEmpty")
*/
protected $gender;
/**
* @var string
*/
protected $company;
/**
* @var string
* @TYPO3\CMS\Extbase\Annotation\Validate("NotEmpty")
* @TYPO3\CMS\Extbase\Annotation\Validate("EmailAddress")
*/
protected $email;
/**
* @var string
* @TYPO3\CMS\Extbase\Annotation\Validate("NotEmpty")
*/
protected $phone;
/**
* @var string
*/
protected $period;
/**
* @var string
*/
protected $duration;
/**
* @var string
*/
protected $pax;
/**
* @var string
*/
protected $age;
/**
* @var string
*/
protected $children;
/**
* @var string
*/
protected $inquiry;
/**
* @var string
*/
protected $pageUrl;
/**
* @param string $pageUrl
* @param int $formType
*/
public function __construct($pageUrl = null, $formType = 1)
{
$this->pageUrl = $pageUrl;
$this->formType = $formType;
}
/**
* @return string
*/
public function getSubject()
{
return $this->subject;
}
/**
* @param string $subject
*/
public function setSubject($subject)
{
$this->subject = $subject;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getFirstName()
{
return $this->firstName;
}
/**
* @param string $firstName
*/
public function setFirstName($firstName)
{
$this->firstName = $firstName;
}
/**
* @return string
*/
public function getGender()
{
return $this->gender;
}
/**
* @param string $gender
*/
public function setGender($gender)
{
$this->gender = $gender;
}
/**
* @return string
*/
public function getCompany()
{
return $this->company;
}
/**
* @param string $company
*/
public function setCompany($company)
{
$this->company = $company;
}
/**
* @return string
*/
public function getEmail()
{
return $this->email;
}
/**
* @param string $email
*/
public function setEmail($email)
{
$this->email = $email;
}
/**
* @return string
*/
public function getPhone()
{
return $this->phone;
}
/**
* @param string $phone
*/
public function setPhone($phone)
{
$this->phone = $phone;
}
/**
* @return string
*/
public function getPeriod()
{
return $this->period;
}
/**
* @param string $period
*/
public function setPeriod($period)
{
$this->period = $period;
}
/**
* @return string
*/
public function getDuration()
{
return $this->duration;
}
/**
* @param string $duration
*/
public function setDuration($duration)
{
$this->duration = $duration;
}
/**
* @return string
*/
public function getPax()
{
return $this->pax;
}
/**
* @param string $pax
*/
public function setPax($pax)
{
$this->pax = $pax;
}
/**
* @return string
*/
public function getAge()
{
return $this->age;
}
/**
* @param string $age
*/
public function setAge($age)
{
$this->age = $age;
}
/**
* @return string
*/
public function getChildren()
{
return $this->children;
}
/**
* @param string $children
*/
public function setChildren($children)
{
$this->children = $children;
}
/**
* @return string
*/
public function getInquiry()
{
return $this->inquiry;
}
/**
* @param string $inquiry
*/
public function setInquiry($inquiry)
{
$this->inquiry = $inquiry;
}
/**
* @return string
*/
public function getPageUrl()
{
return $this->pageUrl;
}
/**
* @param string $pageUrl
*/
public function setPageUrl($pageUrl)
{
$this->pageUrl = $pageUrl;
}
}
@@ -1,6 +0,0 @@
<?php
namespace EP\EpTheme\Exception;
class ConfigurationMissingException extends \Exception
{}
@@ -1,6 +0,0 @@
<?php
namespace EP\EpTheme\Exception;
class TemplateFileMissingException extends \Exception
{}
@@ -1,156 +0,0 @@
<?php
namespace EP\EpTheme\Form;
use TYPO3\CMS\Core\Log\LogManager;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Extbase\Domain\Model\FileReference;
use TYPO3\CMS\Form\Domain\Finishers\AbstractFinisher;
abstract class AbstractMappedFinisher extends AbstractFinisher
{
/**
* Resolves the 'mapping' option into remote name => local form element identifier.
*/
protected function parseMapping(): array
{
$mappings = [];
$mappingOption = (string)$this->parseOption('mapping');
foreach (GeneralUtility::trimExplode(',', $mappingOption, true) as $mapping) {
$parts = GeneralUtility::trimExplode(':', $mapping, true, 2);
if (2 !== count($parts)) {
continue;
}
[$remote, $local] = $parts;
if ('' === $remote || '' === $local) {
continue;
}
$mappings[$remote] = $local;
}
return $mappings;
}
/**
* The mapped values, keyed by the remote name the receiving side expects. Values pass through
* normalizeValue() just like the labeled ones do, so a date element arrives as a Y-m-d string
* instead of a serialized DateTime. A value that does not survive normalization keeps its key:
* the remote names make up the request shape and dropping one would change it.
*/
protected function buildPayload(): array
{
$values = [];
$formValues = $this->finisherContext->getFormValues();
foreach ($this->parseMapping() as $remote => $local) {
if (false === array_key_exists($local, $formValues)) {
continue;
}
$values[$remote] = $this->normalizeValue($formValues[$local], $local);
}
return $values;
}
/**
* Every submitted value that the mapping does not already cover, keyed by the element label
* as the editor sees it in the form editor. Forms built in the backend use generated
* identifiers (text-1, singleselect-2, ...) that carry no meaning and cannot be renamed
* without breaking existing finisher options, so the label is the only stable description
* of what was asked.
*
* The label is taken from the form definition, not through TranslationService: a translated
* label would change the payload keys with the site language, and these keys are stored.
*/
protected function buildLabeledValues(): array
{
$formValues = $this->finisherContext->getFormValues();
$skip = array_merge(
array_values($this->parseMapping()),
GeneralUtility::trimExplode(',', (string)$this->parseOption('exclude'), true)
);
// Keyed by identifier in form order, and contains only real form elements - iterating
// this instead of the form values keeps the collection in the order of the form and
// leaves out anything that is not an element the visitor filled in.
$elements = $this->finisherContext->getFormRuntime()->getFormDefinition()->getElements();
$collected = [];
foreach ($elements as $identifier => $element) {
if (true === in_array($identifier, $skip, true) || false === array_key_exists($identifier, $formValues)) {
continue;
}
$value = $this->normalizeValue($formValues[$identifier], $identifier);
if (null === $value || '' === $value || [] === $value) {
continue;
}
$label = trim($element->getLabel());
if ('' === $label) {
$label = $identifier;
}
if (true === array_key_exists($label, $collected)) {
$label .= ' (' . $identifier . ')';
}
$collected[$label] = $value;
}
return $collected;
}
/**
* @param mixed $value
*
* @return mixed null when the value has no JSON representation
*/
protected function normalizeValue($value, string $identifier)
{
if (true === is_array($value)) {
$normalized = [];
foreach ($value as $item) {
$item = $this->normalizeValue($item, $identifier);
if (null !== $item && '' !== $item) {
$normalized[] = $item;
}
}
return $normalized;
}
if ($value instanceof \DateTimeInterface) {
return $value->format('Y-m-d');
}
if ($value instanceof FileReference) {
$resource = $value->getOriginalResource();
return null !== $resource ? $resource->getName() : null;
}
if (true === is_object($value)) {
$this->logWarning('Form value skipped while collecting labeled values: unsupported type.', [
'element' => $identifier,
'class' => get_class($value),
]);
return null;
}
return $value;
}
protected function logWarning(string $message, array $context = []): void
{
GeneralUtility::makeInstance(LogManager::class)
->getLogger(static::class)
->warning($message, array_merge([
'finisher' => static::class,
], $context));
}
}
@@ -1,74 +0,0 @@
<?php
namespace EP\EpTheme\Form;
use TYPO3\CMS\Core\Site\SiteFinder;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Form\Domain\Finishers\AbstractFinisher;
class AddReferrerFinisher extends AbstractFinisher
{
protected function executeInternal()
{
$this->addCurrentUrlField();
$this->addReferrerField();
}
private function addReferrerField(): void
{
// Look for key 'referrer' in frontend session
$referrer = $GLOBALS['TSFE']->fe_user->getKey('ses', 'referrer');
if (null === $referrer) {
return;
}
// Add textfield to form containing referrer value
$field = $this->finisherContext
->getFormRuntime()
->getFormDefinition()
->getPageByIndex(0)
->createElement('referrer', 'Text');
$field->setDefaultValue($referrer);
$field->setDataType('string');
$field->setLabel('Referrer');
// Add finisher variable for potential later use
$this->finisherContext->getFinisherVariableProvider()->add(
$this->shortFinisherIdentifier,
'referrer',
$referrer
);
// Remove session key
$GLOBALS['TSFE']->fe_user->setKey('ses', 'referrer', null);
$GLOBALS['TSFE']->fe_user->storeSessionData();
}
private function addCurrentUrlField(): void
{
// Get URL of current page
$pageId = $GLOBALS['TSFE']->id;
$site = GeneralUtility::makeInstance(SiteFinder::class)->getSiteByPageId($pageId);
$url = $site->getRouter()->generateUri($pageId);
// Add textfield to form containing url value
$field = $this->finisherContext
->getFormRuntime()
->getFormDefinition()
->getPageByIndex(0)
->createElement('pageurl', 'Text');
$field->setDefaultValue($url);
$field->setDataType('string');
$field->setLabel('URL');
// Add finisher variable for potential later use
$this->finisherContext->getFinisherVariableProvider()->add(
$this->shortFinisherIdentifier,
'pageurl',
$url
);
}
}
@@ -1,83 +0,0 @@
<?php
namespace EP\EpTheme\Form;
use EP\EpProducts\EpTeam\ApiClient;
use TYPO3\CMS\Core\Site\SiteFinder;
use TYPO3\CMS\Core\Utility\GeneralUtility;
class ApplicationApiFinisher extends AbstractMappedFinisher
{
/**
* @var ApiClient
*/
protected $apiClient;
/**
* @param ApiClient $apiClient
*/
public function injectApiClient(ApiClient $apiClient)
{
$this->apiClient = $apiClient;
}
protected function executeInternal()
{
try {
$payload = $this->buildPayload();
if ([] === $payload) {
$this->logWarning('Application form API finisher skipped: the mapping produced no values.');
return;
}
$formDefinition = $this->finisherContext->getFormRuntime()->getFormDefinition();
$formLabel = trim($formDefinition->getLabel());
$payload['form'] = $formDefinition->getIdentifier();
// The name the editor gave the form, so the receiving side can label a submission
// without keeping a list of identifiers. Taken from the definition rather than
// through TranslationService: a translated label would differ per site language.
$payload['formLabel'] = '' !== $formLabel ? $formLabel : $formDefinition->getIdentifier();
$payload['submittedAt'] = (new \DateTimeImmutable())->format(\DateTimeInterface::ATOM);
$payload = array_merge($payload, $this->resolvePageContext());
$payload['details'] = $this->buildLabeledValues();
$this->apiClient->submitApplicationForm($payload);
} catch (\Throwable $e) {
$this->logWarning('Application form API finisher request failed.', [
'exception' => $e,
]);
}
}
/**
* The page the form was submitted from. The URL is generated through the site router in the
* visitor's language, the same way AddReferrerFinisher does it, so it is the page's canonical
* URL rather than the submit request with its form arguments attached.
*/
private function resolvePageContext(): array
{
if (false === isset($GLOBALS['TSFE']) || 0 === (int)$GLOBALS['TSFE']->id) {
return [];
}
$pageUid = (int)$GLOBALS['TSFE']->id;
$context = ['pageUid' => $pageUid];
try {
$site = GeneralUtility::makeInstance(SiteFinder::class)->getSiteByPageId($pageUid);
$context['pageUrl'] = (string)$site->getRouter()->generateUri($pageUid, [
'_language' => $GLOBALS['TSFE']->getLanguage(),
]);
} catch (\Throwable $e) {
// An unroutable page must not cost the submission, so the uid is sent without a URL.
$this->logWarning('Application form API finisher could not resolve the page URL.', [
'pageUid' => $pageUid,
'exception' => $e,
]);
}
return $context;
}
}
@@ -1,35 +0,0 @@
<?php
namespace EP\EpTheme\Form;
use EP\EpProducts\MyEP\ApiClient;
class BpnApiFinisher extends AbstractMappedFinisher
{
/**
* @var ApiClient
*/
protected $apiClient;
/**
* @param ApiClient $apiClient
*/
public function injectApiClient(ApiClient $apiClient)
{
$this->apiClient = $apiClient;
}
protected function executeInternal()
{
try {
$values = $this->buildPayload();
if ([] !== $values) {
$this->apiClient->registerAddress($values);
}
} catch (\Throwable $e) {
$this->logWarning('Bpn API finisher request failed.', [
'exception' => $e,
]);
}
}
}
@@ -1,40 +0,0 @@
<?php
namespace EP\EpTheme\Form;
use Symfony\Component\HttpClient\HttpClient;
use TYPO3\CMS\Core\Utility\GeneralUtility;
class WebhookFinisher extends AbstractMappedFinisher
{
protected function executeInternal()
{
try {
$url = trim((string)$this->parseOption('url'));
if ('' === $url) {
return;
}
$payload = $this->buildPayload();
if ([] === $payload) {
return;
}
$response = HttpClient::create()->request('POST', $url, [
'json' => $payload,
]);
$statusCode = $response->getStatusCode();
if ($statusCode < 200 || $statusCode >= 300) {
$this->logWarning('Webhook finisher returned an unexpected response status.', [
'url' => $url,
'statusCode' => $statusCode,
]);
}
} catch (\Throwable $e) {
$this->logWarning('Webhook finisher request failed.', [
'exception' => $e,
]);
}
}
}
@@ -1,146 +0,0 @@
<?php
namespace EP\EpTheme\Hooks\PageLayoutView;
use EP\EpTheme\Exception\ConfigurationMissingException;
use EP\EpTheme\Exception\TemplateFileMissingException;
use TYPO3\CMS\Backend\View\PageLayoutView;
use TYPO3\CMS\Backend\View\PageLayoutViewDrawItemHookInterface;
use TYPO3\CMS\Core\Database\ConnectionPool;
use TYPO3\CMS\Core\Resource\FileRepository;
use TYPO3\CMS\Core\Service\FlexFormService;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Extbase\Object\ObjectManager;
use TYPO3\CMS\Fluid\View\StandaloneView;
/**
* Class AbstractPreviewRenderer
*/
abstract class AbstractPreviewRenderer implements PageLayoutViewDrawItemHookInterface
{
/**
* @var array tt_content.*
*/
protected $data = [];
/**
* Define a CType
*
* @var string
*/
protected $cType = '';
/**
* @var string
*/
protected $templatePath = 'EXT:ep_theme/Resources/Private/Templates/PreviewRenderer/';
public function __construct()
{
if (empty($this->cType)) {
throw new ConfigurationMissingException('Property cType must not be empty', 1586703436);
}
}
public function preProcess(
PageLayoutView &$parentObject,
&$drawItem,
&$headerContent,
&$itemContent,
array &$row
) {
$this->data = &$row;
if ($this->isCtypeMatching() && $this->checkTemplateFile()) {
$drawItem = false;
$headerContent = $this->getHeaderContent();
$itemContent .= $this->getBodytext();
}
}
protected function getHeaderContent(): string
{
return '<div id="element-tt_content-' . (int)$this->data['uid']
. '" class="t3-ctype-identifier " data-ctype="' . $this->cType . '"></div>';
}
protected function getBodytext(): string
{
/** @var ObjectManager $objectManager */
$objectManager = GeneralUtility::makeInstance(ObjectManager::class);
$standaloneView = $objectManager->get(StandaloneView::class);
$standaloneView->setTemplatePathAndFilename($this->getTemplateFile());
$standaloneView->assignMultiple($this->getAssignmentsForTemplate() + [
'data' => $this->data,
'flexForm' => $this->getFlexForm(),
'firstImage' => count($this->getImages()) > 0 ? $this->getImages()[0] : null,
'images' => $this->getImages()
]);
return $standaloneView->render();
}
protected function getAssignmentsForTemplate(): array
{
return [];
}
protected function getFlexForm(): array
{
/** @var ObjectManager $objectManager */
$objectManager = GeneralUtility::makeInstance(ObjectManager::class);
$flexFormService = $objectManager->get(FlexFormService::class);
return $flexFormService->convertFlexFormContentToArray($this->data['pi_flexform']);
}
protected function getImages(int $uid = null, string $tablenames = 'tt_content', string $fieldname = 'image'): array
{
$uid = $uid ?? $this->data['uid'];
$references = [];
/** @var ObjectManager $objectManager */
$objectManager = GeneralUtility::makeInstance(ObjectManager::class);
$fileRepository = $objectManager->get(FileRepository::class);
/** @var ConnectionPool $connectionPool */
$connectionPool = $objectManager->get(ConnectionPool::class);
$queryBuilder = $connectionPool->getQueryBuilderForTable('sys_file_reference');
$identifiers = (array)$queryBuilder
->select('uid')
->from('sys_file_reference')
->where('uid_foreign=' . $uid . ' and tablenames="' . $tablenames . '" and fieldname="' . $fieldname . '"')
->execute()
->fetch(\PDO::FETCH_COLUMN);
foreach ($identifiers as $identifier) {
if ($identifier > 0) {
$reference = $fileRepository->findFileReferenceByUid($identifier);
if ($reference !== null) {
$references[] = $reference;
}
}
}
return $references;
}
/**
* @return bool
*/
protected function isCtypeMatching(): bool
{
return $this->data['CType'] === $this->cType;
}
protected function checkTemplateFile(): bool
{
if (is_file($this->getTemplateFile()) === false) {
throw new TemplateFileMissingException(
'Expected template file for preview rendering for CType ' . $this->cType . ' is missing',
1586703260
);
}
return true;
}
protected function getTemplateFile(): string
{
return GeneralUtility::getFileAbsFileName(
$this->templatePath . GeneralUtility::underscoredToUpperCamelCase($this->data['CType']) . '.html'
);
}
}
@@ -1,20 +0,0 @@
<?php
namespace EP\EpTheme\Hooks\PageLayoutView;
use TYPO3\CMS\Backend\Utility\BackendUtility;
class DisrupterPreviewRenderer extends AbstractPreviewRenderer
{
protected $cType = 'disrupter';
protected function getAssignmentsForTemplate(): array
{
$uid = $this->data['tx_eptheme_disrupter'];
$content = BackendUtility::getRecord('tx_eptheme_domain_model_disrupter', $uid);
return [
'content' => $content,
];
}
}
@@ -1,8 +0,0 @@
<?php
namespace EP\EpTheme\Hooks\PageLayoutView;
class DisturberPreviewRenderer extends AbstractPreviewRenderer
{
protected $cType = 'disturber';
}
@@ -1,26 +0,0 @@
<?php
namespace EP\EpTheme\Hooks\PageLayoutView;
use TYPO3\CMS\Backend\Utility\BackendUtility;
class GmapPreviewRenderer extends AbstractPreviewRenderer
{
protected $cType = 'gmap';
protected function getAssignmentsForTemplate(): array
{
$uid = $this->data['tx_eptheme_context_region'];
if ((int)$uid > 0) {
$content = BackendUtility::getRecord('tx_epproducts_domain_model_region', $uid);
} else {
$uid = $this->data['tx_eptheme_context_hotel'];
$content = BackendUtility::getRecord('tx_epproducts_domain_model_hotel', $uid);
}
return [
'content' => $content,
];
}
}
@@ -1,31 +0,0 @@
<?php
namespace EP\EpTheme\Hooks\PageLayoutView;
use TYPO3\CMS\Core\Database\ConnectionPool;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Extbase\Object\ObjectManager;
class LineupPreviewRenderer extends AbstractPreviewRenderer
{
protected $cType = 'lineup';
protected function getAssignmentsForTemplate(): array
{
/** @var ObjectManager $objectManager */
$objectManager = GeneralUtility::makeInstance(ObjectManager::class);
/** @var ConnectionPool $connectionPool */
$connectionPool = $objectManager->get(ConnectionPool::class);
$queryBuilder = $connectionPool->getQueryBuilderForTable('tx_eptheme_domain_model_lineup');
$rows = $queryBuilder->select('*')
->from('tx_eptheme_domain_model_lineup')
->where('tt_content='.$this->data['uid'])
->orderBy('sorting', 'ASC')
->execute()
->fetchAllAssociative();
return [
'rows' => $rows,
];
}
}
@@ -1,21 +0,0 @@
<?php
namespace EP\EpTheme\Hooks\PageLayoutView;
use TYPO3\CMS\Backend\Utility\BackendUtility;
class TeaserBookingLinkPreviewRenderer extends AbstractPreviewRenderer
{
protected $cType = 'teaser_booking_link';
protected function getAssignmentsForTemplate(): array
{
$productUid = $this->data['tx_eptheme_context_product'];
$images = $this->getImages($productUid, 'tx_epproducts_domain_model_product', 'teaser_images');
$product = BackendUtility::getRecord('tx_epproducts_domain_model_product', $productUid);
return [
'images' => $images,
'product' => $product,
];
}
}
@@ -1,20 +0,0 @@
<?php
namespace EP\EpTheme\Hooks\PageLayoutView;
use TYPO3\CMS\Backend\Utility\BackendUtility;
class TeaserCityPreviewRenderer extends AbstractPreviewRenderer
{
protected $cType = 'teaser_city';
protected function getAssignmentsForTemplate(): array
{
$uid = $this->data['tx_eptheme_context_city'];
$images = $this->getImages($uid, 'tx_epproducts_domain_model_city', 'teaser_images');
return [
'images' => $images,
'city' => BackendUtility::getRecord('tx_epproducts_domain_model_city', $uid),
];
}
}
@@ -1,20 +0,0 @@
<?php
namespace EP\EpTheme\Hooks\PageLayoutView;
use TYPO3\CMS\Backend\Utility\BackendUtility;
class TeaserConceptPreviewRenderer extends AbstractPreviewRenderer
{
protected $cType = 'teaser_concept';
protected function getAssignmentsForTemplate(): array
{
$uid = $this->data['tx_eptheme_context_concept'];
$images = $this->getImages($uid, 'tx_epproducts_domain_model_concept', 'teaser_images');
return [
'images' => $images,
'concept' => BackendUtility::getRecord('tx_epproducts_domain_model_concept', $uid),
];
}
}
@@ -1,20 +0,0 @@
<?php
namespace EP\EpTheme\Hooks\PageLayoutView;
use TYPO3\CMS\Backend\Utility\BackendUtility;
class TeaserCountryPreviewRenderer extends AbstractPreviewRenderer
{
protected $cType = 'teaser_country';
protected function getAssignmentsForTemplate(): array
{
$countryUid = $this->data['tx_eptheme_context_country'];
$images = $this->getImages($countryUid, 'tx_epproducts_domain_model_country', 'teaser_images');
return [
'images' => $images,
'country' => BackendUtility::getRecord('tx_epproducts_domain_model_country', $countryUid),
];
}
}
@@ -1,20 +0,0 @@
<?php
namespace EP\EpTheme\Hooks\PageLayoutView;
use TYPO3\CMS\Backend\Utility\BackendUtility;
class TeaserHotelPreviewRenderer extends AbstractPreviewRenderer
{
protected $cType = 'teaser_hotel';
protected function getAssignmentsForTemplate(): array
{
$uid = $this->data['tx_eptheme_context_hotel'];
$images = $this->getImages($uid, 'tx_epproducts_domain_model_hotel', 'teaser_images');
return [
'images' => $images,
'hotel' => BackendUtility::getRecord('tx_epproducts_domain_model_hotel', $uid),
];
}
}
@@ -1,24 +0,0 @@
<?php
namespace EP\EpTheme\Hooks\PageLayoutView;
use TYPO3\CMS\Backend\Utility\BackendUtility;
class TeaserProductPreviewRenderer extends AbstractPreviewRenderer
{
protected $cType = 'teaser_product';
protected function getAssignmentsForTemplate(): array
{
$productUid = $this->data['tx_eptheme_context_product'];
$hotelUid = $this->data['tx_eptheme_context_hotel'];
$images = $this->getImages($productUid, 'tx_epproducts_domain_model_product', 'teaser_images');
$product = BackendUtility::getRecord('tx_epproducts_domain_model_product', $productUid);
$hotel = $hotelUid ? BackendUtility::getRecord('tx_epproducts_domain_model_hotel', $hotelUid) : null;
return [
'images' => $images,
'product' => $product,
'hotel' => $hotel,
];
}
}
@@ -1,20 +0,0 @@
<?php
namespace EP\EpTheme\Hooks\PageLayoutView;
use TYPO3\CMS\Backend\Utility\BackendUtility;
class TeaserRegionPreviewRenderer extends AbstractPreviewRenderer
{
protected $cType = 'teaser_region';
protected function getAssignmentsForTemplate(): array
{
$uid = $this->data['tx_eptheme_context_region'];
$images = $this->getImages($uid, 'tx_epproducts_domain_model_region', 'teaser_images');
return [
'images' => $images,
'region' => BackendUtility::getRecord('tx_epproducts_domain_model_region', $uid),
];
}
}
@@ -1,62 +0,0 @@
<?php
namespace EP\EpTheme\Hooks;
/***************************************************************
*
* Copyright notice
*
* (c) 2016 Björn Fromme <[email protected]>, dreipunktnull
*
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project 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.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script 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.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
use TYPO3\CMS\Backend\Utility\BackendUtility;
use TYPO3\CMS\Core\DataHandling\DataHandler;
class Tcemain
{
/**
* @param array $fields
* @param string $table
* @param int $id
* @param DataHandler $dataHandler
*/
public function processDatamap_preProcessFieldArray(array &$fields, $table, $id, DataHandler $dataHandler)
{
// Get country code from associated country entity and store in page record
if ($table === 'pages') {
$countryUid = (int) $fields['tx_eptheme_context_country'];
if ($countryUid === 0) {
$fields['tx_eptheme_context_country_code'] = '';
} else {
$country = BackendUtility::getRecord('tx_epproducts_domain_model_country', $countryUid);
if ($country !== null) {
$fields['tx_eptheme_context_country_code'] = $country['code'];
}
}
}
// Force unused colPos for content elements appended to news records
if ($table === 'tt_content') {
if (isset($dataHandler->datamap['tx_news_domain_model_news'])) {
$fields['colPos'] = 1848;
}
}
}
}
@@ -1,43 +0,0 @@
<?php
namespace EP\EpTheme\Middleware;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\MiddlewareInterface;
use Psr\Http\Server\RequestHandlerInterface;
use TYPO3\CMS\Core\Exception\SiteNotFoundException;
use TYPO3\CMS\Core\Site\SiteFinder;
use TYPO3\CMS\Core\Utility\GeneralUtility;
class ReferrerMiddleware implements MiddlewareInterface
{
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$queryParams = $request->getQueryParams();
if (!array_key_exists('ref', $queryParams)) {
return $handler->handle($request);
}
$ref = $queryParams['ref'];
if (false === is_numeric($ref)) {
return $handler->handle($request);
}
/** @var SiteFinder $siteFinder */
$siteFinder = GeneralUtility::makeInstance(SiteFinder::class);
try {
$site = $siteFinder->getSiteByPageId((int) $ref);
$url = $site->getRouter()->generateUri($ref);
$GLOBALS['TSFE']->fe_user->setKey('ses', 'referrer', $url);
$GLOBALS['TSFE']->fe_user->storeSessionData();
}
catch (SiteNotFoundException $exception) {
}
return $handler->handle($request);
}
}
@@ -1,102 +0,0 @@
<?php
namespace EP\EpTheme\Service;
/***************************************************************
*
* Copyright notice
*
* (c) 2018 Björn Fromme <[email protected]>, dreipunktnull
*
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project 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.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script 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.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
use Symfony\Component\Mime\Address;
use TYPO3\CMS\Core\Mail\FluidEmail;
use TYPO3\CMS\Core\Mail\Mailer;
use TYPO3\CMS\Core\SingletonInterface;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface;
class EmailService implements SingletonInterface
{
/**
* @var array
*/
protected $settings;
public function __construct(ConfigurationManagerInterface $manager)
{
$settings = GeneralUtility::removeDotsFromTS(
$manager->getConfiguration(ConfigurationManagerInterface::CONFIGURATION_TYPE_FULL_TYPOSCRIPT)
);
$this->settings = $settings['plugin']['tx_eptheme'];
}
/**
* @param string $toEmail
* @param string $toName
* @param string $subject
* @param string $templateName
* @param array $variables
*/
public function send($toEmail, $toName, $subject, $templateName, array $variables = [])
{
/** @var Mailer $mailer */
$mailer = GeneralUtility::makeInstance(Mailer::class);
$fromEmail = $this->settings['settings']['contactFormToEmail'];
$fromName = $this->settings['settings']['contactFormToName'];
$enableAutoreply = (bool)$this->settings['settings']['enableContactFormAutoreply'];
$autoreplySubject = $this->settings['settings']['contactFormAutoreplySubject'];
/** @var FluidEmail $message */
$message = GeneralUtility::makeInstance(FluidEmail::class);
$message
->to(new Address($toEmail, $toName))
->from(new Address($fromEmail, $fromName))
->format('html')
->subject($subject)
->setTemplate($templateName)
->assignMultiple($variables)
;
$mailer->send($message);
if ($enableAutoreply) {
$contactForm = $variables['contactForm'];
$toEmail = $contactForm->getEmail();
$toName = $contactForm->getName();
$templateName = 'Autoreply';
/** @var FluidEmail $message */
$message = GeneralUtility::makeInstance(FluidEmail::class);
$message
->to(new Address($toEmail, $toName))
->from(new Address($fromEmail, $fromName))
->format('html')
->subject($autoreplySubject)
->setTemplate($templateName)
->assignMultiple($variables)
;
$mailer->send($message);
}
return true;
}
}
@@ -1,70 +0,0 @@
<?php
namespace EP\EpTheme\ViewHelpers;
/***************************************************************
*
* Copyright notice
*
* (c) 2018 Björn Fromme <[email protected]>, dreipunktnull
*
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project 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.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script 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.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper;
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
class ArgumentPrefixViewHelper extends AbstractViewHelper
{
use CompileWithRenderStatic;
public function initializeArguments()
{
parent::initializeArguments();
$this->registerArgument('pluginName', 'string', 'Plugin name');
$this->registerArgument('extensionName', 'string', 'Extension name');
}
/**
* @param array $arguments
* @param \Closure $renderChildrenClosure
* @param RenderingContextInterface $renderingContext
* @return mixed
*/
public static function renderStatic(
array $arguments,
\Closure $renderChildrenClosure,
RenderingContextInterface $renderingContext
)
{
$request = $renderingContext->getControllerContext()->getRequest();
$pluginName = $arguments['pluginName'];
if ($pluginName === null) {
$pluginName = $request->getPluginName();
}
$extensionName = $arguments['extensionName'];
if ($extensionName === null) {
$extensionName = $request->getControllerExtensionName();
}
return strtolower(implode('_', ['tx', $extensionName, $pluginName]));
}
}
@@ -1,201 +0,0 @@
<?php
namespace EP\EpTheme\ViewHelpers\Calendar;
/***************************************************************
*
* Copyright notice
*
* (c) 2018 Björn Fromme <[email protected]>, dreipunktnull
*
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project 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.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script 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.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
use DateInterval;
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper;
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
class ContingentViewHelper extends AbstractViewHelper
{
use CompileWithRenderStatic;
/**
* @var bool
*/
protected $escapeOutput = false;
private const LEVEL_GREEN = 1;
private const LEVEL_YELLOW = 2;
private const LEVEL_RED = 3;
public function initializeArguments()
{
parent::initializeArguments();
$this->registerArgument('day', \DateTimeInterface::class, 'The day', true);
$this->registerArgument('calendar', 'array', 'The calendar payload', true);
}
/**
* @param array $arguments
* @param \Closure $renderChildrenClosure
* @param RenderingContextInterface $renderingContext
* @return mixed
*/
public static function renderStatic(
array $arguments,
\Closure $renderChildrenClosure,
RenderingContextInterface $renderingContext
)
{
$day = $arguments['day'];
$calendar = $arguments['calendar'];
$now = new \DateTimeImmutable('now');
$dayDate = new \DateTimeImmutable($day->format('Y-m-d H:i:s'), $day->getTimezone());
$dayDate = $dayDate->setTime(0, 0, 0);
if (!empty($calendar['error'])) {
$class = [ 'text-zinc-400' ];
return static::getHtml($class, $dayDate->format('d'));
}
if ($now > $dayDate) {
$class = [ 'text-zinc-400' ];
return static::getHtml($class, $dayDate->format('d'));
}
$statusMap = static::getStatusMap($calendar);
$status = static::normalizeStatus($statusMap[$dayDate->format('Y-m-d')] ?? 'OK');
$previousStatus = static::normalizeStatus($statusMap[$dayDate->sub(new DateInterval('P1D'))->format('Y-m-d')] ?? 'OK');
$level = static::getOccupancyLevel($status);
$previousLevel = static::getOccupancyLevel($previousStatus);
if ($previousLevel !== $level) {
$class = static::getTransientLabelClasses($previousStatus, $status);
} else {
$class = static::getLabelClasses($status);
}
return static::getHtml($class, $dayDate->format('d'));
}
/**
* @return array
*/
protected static function getLabelClasses(string $status): array
{
return [
'block p-1 leading-none text-sm text-white',
static::getStatusClass($status),
];
}
/**
* @return array
*/
protected static function getTransientLabelClasses(string $statusFrom, ?string $statusTo = null): array
{
$classes = [ 'block p-1 leading-none text-sm text-white' ];
$class = static::getStatusClass($statusFrom);
if ($statusTo !== null) {
$class .= '-to-' . static::getStatusSuffix($statusTo);
}
$classes[] = $class;
return $classes;
}
/**
* @return int
*/
protected static function getOccupancyLevel(string $status): int
{
if ($status === 'BLOCKED') {
return static::LEVEL_RED;
}
if ($status === 'ON_REQUEST') {
return static::LEVEL_YELLOW;
}
return static::LEVEL_GREEN;
}
/**
* @return array<string, string>
*/
protected static function getStatusMap(array $calendar): array
{
$statusMap = [];
foreach (($calendar['data'] ?? []) as $row) {
if (!isset($row['date'])) {
continue;
}
$statusMap[$row['date']] = static::normalizeStatus((string)($row['status'] ?? 'OK'));
}
return $statusMap;
}
protected static function normalizeStatus(string $status): string
{
$status = strtoupper(trim($status));
if ($status === 'ONREQUEST') {
return 'ON_REQUEST';
}
if (in_array($status, [ 'OK', 'ON_REQUEST', 'BLOCKED' ], true)) {
return $status;
}
return 'OK';
}
protected static function getStatusClass(string $status): string
{
if ($status === 'BLOCKED') {
return 'availability-none';
}
if ($status === 'ON_REQUEST') {
return 'availability-partial';
}
return 'availability-full';
}
protected static function getStatusSuffix(string $status): string
{
if ($status === 'BLOCKED') {
return 'none';
}
if ($status === 'ON_REQUEST') {
return 'partial';
}
return 'full';
}
/**
* @param array $class
* @param string $label
* @return string
*/
protected static function getHtml(array $class, $label)
{
$cssClass = ' class="' . implode(' ', $class) . '"';
return sprintf('<span%s>%s</span>', $cssClass, $label);
}
}
@@ -1,92 +0,0 @@
<?php
namespace EP\EpTheme\ViewHelpers;
/***************************************************************
*
* Copyright notice
*
* (c) 2018 Björn Fromme <[email protected]>, dreipunktnull
*
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project 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.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script 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.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
use EP\EpProducts\Domain\Model\Hotel;
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper;
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
class ComfortCategoryViewHelper extends AbstractViewHelper
{
use CompileWithRenderStatic;
public function initializeArguments()
{
parent::initializeArguments();
$this->registerArgument('hotel', Hotel::class, 'The hotel');
}
/**
* @param array $arguments
* @param \Closure $renderChildrenClosure
* @param RenderingContextInterface $renderingContext
* @return mixed
*/
public static function renderStatic(
array $arguments,
\Closure $renderChildrenClosure,
RenderingContextInterface $renderingContext
)
{
/** @var Hotel $hotel */
$hotel = $arguments['hotel'];
$flag = '<span class="category-flag" data-toggle="tooltip" title="%s">%s</span>';
switch ($hotel->getCategory())
{
case Hotel::CATEGORY_STANDARD:
$icon = 'S';
$tooltip = 'Kategorie: Standard';
break;
case Hotel::CATEGORY_BASIC:
$icon = 'B';
$tooltip = 'Kategorie: Basic';
break;
case Hotel::CATEGORY_COMFORT:
$icon = 'C';
$tooltip = 'Kategorie: Komfort';
break;
case Hotel::CATEGORY_DELUXE:
$icon = 'D';
$tooltip = 'Kategorie: Deluxe';
break;
case Hotel::CATEGORY_SUPER_DELUXE:
$icon = 'SD';
$tooltip = 'Kategorie: Superdeluxe';
break;
default:
return '';
}
return sprintf($flag, $tooltip, $icon);
}
}
@@ -1,71 +0,0 @@
<?php
namespace EP\EpTheme\ViewHelpers;
/***************************************************************
*
* Copyright notice
*
* (c) 2018 Björn Fromme <[email protected]>, dreipunktnull
*
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project 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.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script 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.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper;
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
class ContextClassesViewHelper extends AbstractViewHelper
{
use CompileWithRenderStatic;
public function initializeArguments()
{
parent::initializeArguments();
$this->registerArgument('context', 'Array', 'The context', true);
}
/**
* @param array $arguments
* @param \Closure $renderChildrenClosure
* @param RenderingContextInterface $renderingContext
* @return mixed
*/
public static function renderStatic(
array $arguments,
\Closure $renderChildrenClosure,
RenderingContextInterface $renderingContext
)
{
$classes = [];
if (isset($arguments['context']['country'])) {
$classes[] = mb_strtolower($arguments['context']['country']['name']);
}
if (isset($arguments['context']['region'])) {
$classes[] = mb_strtolower($arguments['context']['region']['name']);
}
$classesString = implode(' ', $classes);
$classesString = str_replace(['ä', 'ö', 'ü', 'ß'], ['ae', 'oe', 'ue', 'ss'], $classesString);
return $classesString;
}
}
@@ -1,67 +0,0 @@
<?php
namespace EP\EpTheme\ViewHelpers;
/***************************************************************
*
* Copyright notice
*
* (c) 2018 Björn Fromme <[email protected]>, dreipunktnull
*
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project 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.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script 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.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
use EP\EpProducts\Utility\DateUtility;
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper;
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
class DateRangeViewHelper extends AbstractViewHelper
{
use CompileWithRenderStatic;
public function initializeArguments()
{
parent::initializeArguments();
$this->registerArgument('dateFrom', 'string', 'Date range start');
$this->registerArgument('dateTo', 'string', 'Date range end');
$this->registerArgument('includeLabel', 'Bool', 'Whether to include a label', false, true);
$this->registerArgument('format', 'String', 'The date format', false, 'd.m.Y');
}
/**
* @param array $arguments
* @param \Closure $renderChildrenClosure
* @param RenderingContextInterface $renderingContext
* @return mixed
*/
public static function renderStatic(
array $arguments,
\Closure $renderChildrenClosure,
RenderingContextInterface $renderingContext
) {
return DateUtility::formatDateRange(
$arguments['dateFrom'],
$arguments['dateTo'],
$arguments['includeLabel'],
$arguments['format']
);
}
}
@@ -1,72 +0,0 @@
<?php
namespace EP\EpTheme\ViewHelpers;
/***************************************************************
*
* Copyright notice
*
* (c) 2018 Björn Fromme <[email protected]>, dreipunktnull
*
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project 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.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script 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.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper;
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
class HotelCategoriesViewHelper extends AbstractViewHelper
{
use CompileWithRenderStatic;
public function initializeArguments()
{
parent::initializeArguments();
$this->registerArgument('categories', 'array', 'The categories', true);
}
/**
* @param array $arguments
* @param \Closure $renderChildrenClosure
* @param RenderingContextInterface $renderingContext
* @return mixed
*/
public static function renderStatic(
array $arguments,
\Closure $renderChildrenClosure,
RenderingContextInterface $renderingContext
)
{
$categories = $arguments['categories'];
switch (count($categories)) {
case 1:
$label = reset($categories);
break;
default:
$categoryMinLabel = array_shift($categories);
$categoryMaxLabel = array_pop($categories);
$label = $categoryMinLabel . ' - ' . $categoryMaxLabel;
}
return $label;
}
}
@@ -1,73 +0,0 @@
<?php
namespace EP\EpTheme\ViewHelpers;
/***************************************************************
*
* Copyright notice
*
* (c) 2018 Björn Fromme <[email protected]>, dreipunktnull
*
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project 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.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script 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.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
use EP\EpProducts\Domain\Model\Hotel;
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper;
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
class HotelCategoryViewHelper extends AbstractViewHelper
{
use CompileWithRenderStatic;
/**
* @var array
*/
static protected $categoryLabels = [
Hotel::CATEGORY_STANDARD => 'Standard',
Hotel::CATEGORY_COMFORT => 'Comfort',
Hotel::CATEGORY_DELUXE => 'Deluxe',
Hotel::CATEGORY_SUPER_DELUXE => 'Super Deluxe',
];
public function initializeArguments()
{
parent::initializeArguments();
$this->registerArgument('category', 'int', 'The category id', true);
}
/**
* @param array $arguments
* @param \Closure $renderChildrenClosure
* @param RenderingContextInterface $renderingContext
* @return mixed
*/
public static function renderStatic(
array $arguments,
\Closure $renderChildrenClosure,
RenderingContextInterface $renderingContext
)
{
$category = $arguments['category'];
return static::$categoryLabels[$category];
}
}
@@ -1,66 +0,0 @@
<?php
namespace EP\EpTheme\ViewHelpers;
/***************************************************************
*
* Copyright notice
*
* (c) 2021 Björn Fromme <[email protected]>, dreipunktnull
*
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project 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.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script 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.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper;
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
class PriceRangeViewHelper extends AbstractViewHelper
{
use CompileWithRenderStatic;
public function initializeArguments()
{
parent::initializeArguments();
$this->registerArgument('min', 'mixed', 'Price range start');
$this->registerArgument('max', 'mixed', 'Price range end');
}
/**
* @param array $arguments
* @param \Closure $renderChildrenClosure
* @param RenderingContextInterface $renderingContext
* @return mixed
*/
public static function renderStatic(
array $arguments,
\Closure $renderChildrenClosure,
RenderingContextInterface $renderingContext
) {
if (1 === (int) $arguments['min']) {
return sprintf('bis %d €', $arguments['max']);
}
if (999 === (int) $arguments['max']) {
return sprintf('ab %d €', $arguments['min']);
}
return sprintf('%d bis %d €', $arguments['min'], $arguments['max']);
}
}
@@ -1,41 +0,0 @@
<?php
namespace EP\EpTheme\ViewHelpers\Stimulus;
use TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper;
/**
* This code is adapted from the Symfony WebpackEncoreBundle package.
* (c) Fabien Potencier <[email protected]>
*/
class AbstractStimulusViewHelper extends AbstractViewHelper
{
/**
* This method is taken from symfony/webpack-encore-bundle
*
* Normalize a Stimulus controller name into its HTML equivalent (no special character and / becomes --).
*
* @see https://stimulus.hotwire.dev/reference/controllers
*/
protected static function normalizeControllerName(string $str): string
{
return preg_replace('/^@/', '', str_replace('_', '-', str_replace('/', '--', $str)));
}
/**
* This method is taken from symfony/webpack-encore-bundle
*
* Normalize a Stimulus Value API key into its HTML equivalent ("kebab case").
* Backport features from symfony/string.
*
* @see https://stimulus.hotwire.dev/reference/values
*/
protected static function normalizeKeyName(string $str): string
{
// Adapted from ByteString::camel
$str = ucfirst(str_replace(' ', '', ucwords(preg_replace('/[^a-zA-Z0-9\x7f-\xff]++/', ' ', $str))));
// Adapted from ByteString::snake
return strtolower(preg_replace(['/([A-Z]+)([A-Z][a-z])/', '/([a-z\d])([A-Z])/'], '\1-\2', $str));
}
}
@@ -1,88 +0,0 @@
<?php
namespace EP\EpTheme\ViewHelpers\Stimulus;
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
/**
* This code is adapted from the Symfony WebpackEncoreBundle package.
* (c) Fabien Potencier <[email protected]>
*/
class ActionViewHelper extends AbstractStimulusViewHelper
{
use CompileWithRenderStatic;
protected $escapeOutput = false;
public function initializeArguments()
{
parent::initializeArguments();
$this->registerArgument('controller', 'mixed', 'Controller name(s)', true);
$this->registerArgument('action', 'string', 'Action name', false);
$this->registerArgument('event', 'string', 'Event name', false);
}
/**
* @param array $arguments
* @param \Closure $renderChildrenClosure
* @param RenderingContextInterface $renderingContext
* @return string
*/
public static function renderStatic(
array $arguments,
\Closure $renderChildrenClosure,
RenderingContextInterface $renderingContext
)
{
$dataOrControllerName = $arguments['controller'];
$actionName = $arguments['action'];
$eventName = $arguments['event'];
if (\is_string($dataOrControllerName)) {
$data = [$dataOrControllerName => null === $eventName ? [[$actionName]] : [[$eventName => $actionName]]];
} else {
if ($actionName || $eventName) {
throw new \InvalidArgumentException('You cannot pass a string to the second or third argument while passing an array to the first argument of stimulus_action(): check the documentation.');
}
$data = $dataOrControllerName;
if (!$data) {
return '';
}
}
$actions = [];
foreach ($data as $controllerName => $controllerActions) {
$controllerName = static::normalizeControllerName($controllerName);
if (\is_string($controllerActions)) {
$controllerActions = [[$controllerActions]];
}
foreach ($controllerActions as $possibleEventName => $controllerAction) {
if (\is_string($possibleEventName) && \is_string($controllerAction)) {
$controllerAction = [$possibleEventName => $controllerAction];
} elseif (\is_string($controllerAction)) {
$controllerAction = [$controllerAction];
}
foreach ($controllerAction as $eventName => $actionName) {
$action = $controllerName.'#'.htmlspecialchars($actionName, ENT_QUOTES);
if (\is_string($eventName)) {
$action = $eventName.'->'.$action;
}
$actions[] = $action;
}
}
}
return 'data-action="'.implode(' ', $actions).'"';
}
}
@@ -1,81 +0,0 @@
<?php
namespace EP\EpTheme\ViewHelpers\Stimulus;
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
/**
* This code is adapted from the Symfony WebpackEncoreBundle package.
* (c) Fabien Potencier <[email protected]>
*/
class ControllerViewHelper extends AbstractStimulusViewHelper
{
use CompileWithRenderStatic;
protected $escapeOutput = false;
public function initializeArguments()
{
parent::initializeArguments();
$this->registerArgument('controller', 'mixed', 'Controller name(s)', true);
$this->registerArgument('values', 'array', 'Controller values', false, []);
}
/**
* @param array $arguments
* @param \Closure $renderChildrenClosure
* @param RenderingContextInterface $renderingContext
* @return string
*/
public static function renderStatic(
array $arguments,
\Closure $renderChildrenClosure,
RenderingContextInterface $renderingContext
)
{
$dataOrControllerName = $arguments['controller'];
$controllerValues = $arguments['values'];
if (\is_string($dataOrControllerName)) {
$data = [$dataOrControllerName => $controllerValues];
} else {
if ($controllerValues) {
throw new \InvalidArgumentException('You cannot pass an array to the first and second argument of stimulus_controller(): check the documentation.');
}
$data = $dataOrControllerName;
if (!$data) {
return '';
}
}
$controllers = [];
$values = [];
foreach ($data as $controllerName => $controllerValues) {
$controllerName = static::normalizeControllerName($controllerName);
$controllers[] = $controllerName;
foreach ($controllerValues as $key => $value) {
if (!is_scalar($value)) {
$value = json_encode($value);
}
if (\is_bool($value)) {
$value = $value ? 'true' : 'false';
}
$key = static::normalizeKeyName($key);
$value = htmlspecialchars($value, ENT_QUOTES);
$values[] = 'data-'.$controllerName.'-'.$key.'-value="'.$value.'"';
}
}
return rtrim('data-controller="'.implode(' ', $controllers).'" '.implode(' ', $values));
}
}
@@ -1,68 +0,0 @@
<?php
namespace EP\EpTheme\ViewHelpers\Stimulus;
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
/**
* This code is adapted from the Symfony WebpackEncoreBundle package.
* (c) Fabien Potencier <[email protected]>
*/
class TargetViewHelper extends AbstractStimulusViewHelper
{
use CompileWithRenderStatic;
protected $escapeOutput = false;
public function initializeArguments()
{
parent::initializeArguments();
$this->registerArgument('controller', 'mixed', 'Controller name(s)', true);
$this->registerArgument('targets', 'string', 'Target names', false);
}
/**
* @param array $arguments
* @param \Closure $renderChildrenClosure
* @param RenderingContextInterface $renderingContext
* @return string
*/
public static function renderStatic(
array $arguments,
\Closure $renderChildrenClosure,
RenderingContextInterface $renderingContext
)
{
$dataOrControllerName = $arguments['controller'];
$targetNames = $arguments['target'];
if (\is_string($dataOrControllerName)) {
$data = [$dataOrControllerName => $targetNames];
} else {
if ($targetNames) {
throw new \InvalidArgumentException('You cannot pass a string to the second argument while passing an array to the first argument of stimulus_target(): check the documentation.');
}
$data = $dataOrControllerName;
if (!$data) {
return '';
}
}
$targets = [];
foreach ($data as $controllerName => $targetNames) {
$controllerName = static::normalizeControllerName($controllerName);
$targets['data-'.$controllerName.'-target'] = htmlspecialchars($targetNames, ENT_QUOTES);
}
return implode(' ', array_map(static function (string $attribute, string $value): string {
return $attribute.'="'.$value.'"';
}, array_keys($targets), $targets));
}
}
@@ -1,92 +0,0 @@
<?php
namespace EP\EpTheme\ViewHelpers\Uri;
/***************************************************************
*
* Copyright notice
*
* (c) 2018 Björn Fromme <[email protected]>, dreipunktnull
*
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project 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.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script 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.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
use EP\EpProducts\Utility\BookingUrlUtility;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface;
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper;
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
class BookingViewHelper extends AbstractViewHelper
{
use CompileWithRenderStatic;
/**
* @var array
*/
protected static $settings = [];
/**
* @param ConfigurationManagerInterface $configurationManager
*/
public function __construct(ConfigurationManagerInterface $configurationManager)
{
$settings = GeneralUtility::removeDotsFromTS(
$configurationManager->getConfiguration(ConfigurationManagerInterface::CONFIGURATION_TYPE_FULL_TYPOSCRIPT)
);
static::$settings = $settings['plugin']['tx_theme'];
}
public function initializeArguments()
{
parent::initializeArguments();
$this->registerArgument('bookingId', 'string', 'The booking id', true);
$this->registerArgument('hotelId', 'string', 'The hotel id', true);
$this->registerArgument('template', 'string', 'The booking template');
}
/**
* @param array $arguments
* @param \Closure $renderChildrenClosure
* @param RenderingContextInterface $renderingContext
* @return mixed
*/
public static function renderStatic(
array $arguments,
\Closure $renderChildrenClosure,
RenderingContextInterface $renderingContext
)
{
$template = $arguments['template'];
if ($template === null) {
$template = static::$settings['bpnBookungUrlTemplateCode'];
}
$options = [
'dateId' => $arguments['bookingId'],
'hotelId' => $arguments['hotelId'],
'theme' => $template,
];
return BookingUrlUtility::generateUrl($options);
}
}
@@ -1,71 +0,0 @@
<?php
namespace EP\EpTheme\ViewHelpers\Uri;
/***************************************************************
*
* Copyright notice
*
* (c) 2018 Björn Fromme <[email protected]>, dreipunktnull
*
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project 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.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script 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.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper;
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
class ExternalImageViewHelper extends AbstractViewHelper
{
use CompileWithRenderStatic;
/**
* @var bool
*/
protected $escapeOutput = false;
public function initializeArguments()
{
parent::initializeArguments();
$this->registerArgument('url', 'string', 'The url');
}
/**
* @param array $arguments
* @param \Closure $renderChildrenClosure
* @param RenderingContextInterface $renderingContext
* @return mixed
*/
public static function renderStatic(
array $arguments,
\Closure $renderChildrenClosure,
RenderingContextInterface $renderingContext
)
{
$url = $renderChildrenClosure();
if ($url === null) {
$url = $arguments['url'];
}
$encryptionKey = $GLOBALS['TYPO3_CONF_VARS']['SYS']['encryptionKey'];
$token = sha1($url . $encryptionKey);
return 'https://www.ep-reisen.de/typo3conf/ext/ep_theme/extimg.php?url=' . urlencode($url) . '&token=' . $token;
}
}
@@ -1,64 +0,0 @@
<T3DataStructure>
<meta>
<langDisable>1</langDisable>
</meta>
<sheets>
<sDEF>
<ROOT>
<TCEforms>
<sheetTitle>Konfiguration</sheetTitle>
</TCEforms>
<type>array</type>
<el>
<buttons>
<section>1</section>
<type>array</type>
<el>
<container>
<title>Button</title>
<type>array</type>
<el>
<label>
<TCEforms>
<label>Label</label>
<config>
<type>input</type>
<size>32</size>
</config>
</TCEforms>
</label>
<link>
<TCEforms>
<exclude>1</exclude>
<label>Button</label>
<config>
<type>input</type>
<eval>trim</eval>
<size>30</size>
<wizards type="array">
<_PADDING type="integer">2</_PADDING>
<link type="array">
<type>popup</type>
<title>Link</title>
<icon>EXT:backend/Resources/Public/Images/FormFieldWizard/wizard_link.gif</icon>
<module>
<name>wizard_link</name>
<urlParameters>
<mode>wizard</mode>
</urlParameters>
</module>
<JSopenParams>height=300,width=500,status=0,menubar=0,scrollbars=1</JSopenParams>
</link>
</wizards>
</config>
</TCEforms>
</link>
</el>
</container>
</el>
</buttons>
</el>
</ROOT>
</sDEF>
</sheets>
</T3DataStructure>
@@ -1,12 +0,0 @@
<?php
return [
'frontend' => [
'ep/referrer' => [
'target' => \EP\EpTheme\Middleware\ReferrerMiddleware::class,
'after' => [
'typo3/cms-frontend/site',
],
],
],
];
@@ -1,30 +0,0 @@
<?php
defined('TYPO3_MODE') or die();
call_user_func(function() {
$frontendLanguageFilePrefix = 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTcaSelectItem(
'tt_content',
'CType',
[
'Belegungskalender',
'calendar',
'content-image'
],
'contact',
'after'
);
$GLOBALS['TCA']['tt_content']['types']['calendar'] = [
'showitem' => '
--palette--;' . $frontendLanguageFilePrefix . 'palette.general;general,
tx_eptheme_context_hotel,
--div--;' . $frontendLanguageFilePrefix . 'tabs.access,
hidden;' . $frontendLanguageFilePrefix . 'field.default.hidden,
--div--;' . $frontendLanguageFilePrefix . 'tabs.extended
',
];
});
@@ -1,44 +0,0 @@
<?php
defined('TYPO3_MODE') or die();
call_user_func(function() {
$frontendLanguageFilePrefix = 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTcaSelectItem(
'tt_content',
'CType',
[
'Ansprechpartner',
'contact',
'content-image'
],
'gmap',
'after'
);
$GLOBALS['TCA']['tt_content']['columns']['tx_eptheme_contact'] = [
'exclude' => 0,
'label' => 'Mitarbeiter',
'config' => [
'type' => 'select',
'default' => 0,
'renderType' => 'selectSingle',
'foreign_table' => 'tx_epproducts_domain_model_teammember',
'foreign_table_where' => 'ORDER BY name',
'minitems' => 1,
'maxitems' => 1,
]
];
$GLOBALS['TCA']['tt_content']['types']['contact'] = [
'showitem' => '
--palette--;' . $frontendLanguageFilePrefix . 'palette.general;general,
tx_eptheme_contact,
--div--;' . $frontendLanguageFilePrefix . 'tabs.access,
hidden;' . $frontendLanguageFilePrefix . 'field.default.hidden,
--div--;' . $frontendLanguageFilePrefix . 'tabs.extended
',
];
});
@@ -1,39 +0,0 @@
<?php
defined('TYPO3_MODE') or die();
call_user_func(function() {
$frontendLanguageFilePrefix = 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTcaSelectItem(
'tt_content',
'CType',
[
'Deal der Woche',
'deal_of_the_week',
'content-image'
],
'disturber',
'after'
);
$GLOBALS['TCA']['tt_content']['types']['deal_of_the_week'] = [
'showitem' => '
--palette--;' . $frontendLanguageFilePrefix . 'palette.general;general, header, header_link, bodytext,
--div--;' . $frontendLanguageFilePrefix . 'tabs.appearance,
layout;' . $frontendLanguageFilePrefix . 'layout_formlabel, tx_eptheme_background,
--div--;' . $frontendLanguageFilePrefix . 'tabs.access,
hidden;' . $frontendLanguageFilePrefix . 'field.default.hidden,
--div--;' . $frontendLanguageFilePrefix . 'tabs.extended
',
'columnsOverrides' => [
'bodytext' => [
'label' => 'Text',
'config' => [
'rows' => 2,
]
],
]
];
});
@@ -1,54 +0,0 @@
<?php
defined('TYPO3_MODE') or die();
call_user_func(function() {
$frontendLanguageFilePrefix = 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTcaSelectItem(
'tt_content',
'CType',
[
'Störer (neu)',
'disrupter',
'content-image'
],
'teaser_product',
'after'
);
$GLOBALS['TCA']['tt_content']['columns']['tx_eptheme_disrupter'] = [
'exclude' => 0,
'label' => 'Störer',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'foreign_table' => 'tx_eptheme_domain_model_disrupter',
'foreign_field' => 'tt_content',
'maxitems' => 1,
'minitems' => 1,
'foreign_table_where' => 'ORDER BY headline ASC',
'MM' => 'tx_eptheme_ttcontent_tx_eptheme_disrupter_mm',
],
];
$GLOBALS['TCA']['tt_content']['types']['disrupter'] = [
'showitem' => '
--palette--;' . $frontendLanguageFilePrefix . 'palette.general;general, tx_eptheme_disrupter,
--div--;' . $frontendLanguageFilePrefix . 'tabs.appearance,
layout;' . $frontendLanguageFilePrefix . 'layout_formlabel, tx_eptheme_background,
--div--;' . $frontendLanguageFilePrefix . 'tabs.access,
hidden;' . $frontendLanguageFilePrefix . 'field.default.hidden,
--div--;' . $frontendLanguageFilePrefix . 'tabs.extended
',
'columnsOverrides' => [
]
];
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
'*',
'FILE:EXT:ep_theme/Configuration/FlexForms/flexform_disturber.xml',
'disrupter'
);
});
@@ -1,59 +0,0 @@
<?php
defined('TYPO3_MODE') or die();
call_user_func(function() {
$frontendLanguageFilePrefix = 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTcaSelectItem(
'tt_content',
'CType',
[
'Störer',
'disturber',
'content-image'
],
'teaser_product',
'after'
);
$GLOBALS['TCA']['tt_content']['types']['disturber'] = [
'showitem' => '
--palette--;' . $frontendLanguageFilePrefix . 'palette.general;general,
--palette--;' . $frontendLanguageFilePrefix . 'palette.header;header, bodytext, pi_flexform,
--div--;Bild,
assets,
--div--;' . $frontendLanguageFilePrefix . 'tabs.appearance,
layout;' . $frontendLanguageFilePrefix . 'layout_formlabel, tx_eptheme_background,
--div--;' . $frontendLanguageFilePrefix . 'tabs.access,
hidden;' . $frontendLanguageFilePrefix . 'field.default.hidden,
--div--;' . $frontendLanguageFilePrefix . 'tabs.extended
',
'columnsOverrides' => [
'bodytext' => [
'label' => 'Text',
'config' => [
'enableRichtext' => true,
]
],
'assets' => [
'label' => 'Bild',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('assets', [
'appearance' => [
'createNewRelationLinkTitle' => 'Hinzufügen'
],
'foreign_types' => $GLOBALS['TCA']['tt_content']['columns']['image']['config']['foreign_types'],
'maxitems' => 1,
'minitems' => 0,
], $GLOBALS['TYPO3_CONF_VARS']['SYS']['mediafile_ext'])
]
]
];
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
'*',
'FILE:EXT:ep_theme/Configuration/FlexForms/flexform_disturber.xml',
'disturber'
);
});
@@ -1,30 +0,0 @@
<?php
defined('TYPO3_MODE') or die();
call_user_func(function() {
$frontendLanguageFilePrefix = 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTcaSelectItem(
'tt_content',
'CType',
[
'Event Preistabelle',
'event_pricetable',
'content-image'
],
'contact',
'after'
);
$GLOBALS['TCA']['tt_content']['types']['event_pricetable'] = [
'showitem' => '
--palette--;' . $frontendLanguageFilePrefix . 'palette.general;general,
tx_eptheme_context_product,
--div--;' . $frontendLanguageFilePrefix . 'tabs.access,
hidden;' . $frontendLanguageFilePrefix . 'field.default.hidden,
--div--;' . $frontendLanguageFilePrefix . 'tabs.extended
',
];
});
@@ -1,28 +0,0 @@
<?php
defined('TYPO3_MODE') or die();
call_user_func(function() {
$frontendLanguageFilePrefix = 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTcaSelectItem(
'tt_content',
'CType',
[
'FAQ Alle Kategorien',
'faq_overview',
'content-ep_theme-ce',
],
'nlform',
'after'
);
$GLOBALS['TCA']['tt_content']['types']['faq_overview'] = [
'showitem' => '
--palette--;' . $frontendLanguageFilePrefix . 'palette.general;general,
--div--;' . $frontendLanguageFilePrefix . 'tabs.access,
hidden;' . $frontendLanguageFilePrefix . 'field.default.hidden,
--div--;' . $frontendLanguageFilePrefix . 'tabs.extended
',
];
});
@@ -1,30 +0,0 @@
<?php
defined('TYPO3_MODE') or die();
call_user_func(function() {
$frontendLanguageFilePrefix = 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTcaSelectItem(
'tt_content',
'CType',
[
'Google Map',
'gmap',
'content-image'
],
'lineup',
'after'
);
$GLOBALS['TCA']['tt_content']['types']['gmap'] = [
'showitem' => '
--palette--;' . $frontendLanguageFilePrefix . 'palette.general;general,
tx_eptheme_context_region, tx_eptheme_context_hotel,
--div--;' . $frontendLanguageFilePrefix . 'tabs.access,
hidden;' . $frontendLanguageFilePrefix . 'field.default.hidden,
--div--;' . $frontendLanguageFilePrefix . 'tabs.extended
',
];
});
@@ -1,50 +0,0 @@
<?php
defined('TYPO3_MODE') or die();
call_user_func(function() {
$frontendLanguageFilePrefix = 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTcaSelectItem(
'tt_content',
'CType',
[
'Lineup',
'lineup',
'content-image'
],
'deal_of_the_week',
'after'
);
$GLOBALS['TCA']['tt_content']['columns']['tx_eptheme_lineup'] = [
'exclude' => 0,
'label' => 'LLL:EXT:ep_theme/Resources/Private/Language/locallang_db.xlf:tx_eptheme_domain_model_lineup.items',
'config' => [
'type' => 'inline',
'foreign_table' => 'tx_eptheme_domain_model_lineup',
'foreign_field' => 'tt_content',
'foreign_sortby' => 'sorting',
'maxitems' => 99,
'appearance' => [
'useSortable' => 1,
'collapseAll' => 1,
'levelLinksPosition' => 'top',
'showSynchronizationLink' => 0,
'showPossibleLocalizationRecords' => 0,
'showAllLocalizationLink' => 0
],
],
];
$GLOBALS['TCA']['tt_content']['types']['lineup'] = [
'showitem' => '
--palette--;' . $frontendLanguageFilePrefix . 'palette.general;general,
tx_eptheme_lineup,
--div--;' . $frontendLanguageFilePrefix . 'tabs.access,
hidden;' . $frontendLanguageFilePrefix . 'field.default.hidden,
--div--;' . $frontendLanguageFilePrefix . 'tabs.extended
',
];
});
@@ -1,33 +0,0 @@
<?php
defined('TYPO3_MODE') or die();
call_user_func(function() {
$frontendLanguageFilePrefix = 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTcaSelectItem(
'tt_content',
'CType',
[
'Newsletter Anmeldung',
'nlform',
'content-image'
],
'ytvideo',
'after'
);
$GLOBALS['TCA']['tt_content']['types']['nlform'] = [
'showitem' => '
--palette--;' . $frontendLanguageFilePrefix . 'palette.general;general',
'columnsOverrides' => [
'header_link' => [
'label' => 'YouTube URL/Vimeo ID',
],
'layout' => [
'label' => 'Typ',
],
],
];
});
@@ -1,38 +0,0 @@
<?php
defined('TYPO3_MODE') or die();
call_user_func(function() {
$frontendLanguageFilePrefix = 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTcaSelectItem(
'tt_content',
'CType',
[
'YouTube/Vimeo Video',
'ytvideo',
'content-image'
],
'calendar',
'after'
);
$GLOBALS['TCA']['tt_content']['types']['ytvideo'] = [
'showitem' => '
--palette--;' . $frontendLanguageFilePrefix . 'palette.general;general,
layout, header_link,
--div--;' . $frontendLanguageFilePrefix . 'tabs.access,
hidden;' . $frontendLanguageFilePrefix . 'field.default.hidden,
--div--;' . $frontendLanguageFilePrefix . 'tabs.extended
',
'columnsOverrides' => [
'header_link' => [
'label' => 'YouTube URL/Vimeo ID',
],
'layout' => [
'label' => 'Typ',
],
],
];
});
@@ -1,169 +0,0 @@
<?php
return [
'ctrl' => [
'label' => 'name',
'label_alt' => 'email',
'default_sortby' => 'ORDER BY last_name, first_name',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'prependAtCopy' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.prependAtCopy',
'delete' => 'deleted',
'title' => 'Adresscheck',
'versioningWS' => true,
'origUid' => 't3_origuid',
'enablecolumns' => [
'disabled' => 'hidden'
],
'iconfile' => 'EXT:ep_theme/Resources/Public/images/icon_ce.svg',
'searchFields' => 'name, first_name, last_name, email',
'dividers2tabs' => 1,
],
'columns' => [
'pid' => [
'label' => 'pid',
'config' => [
'type' => 'passthrough'
]
],
'crdate' => [
'label' => 'crdate',
'config' => [
'type' => 'passthrough',
]
],
'cruser_id' => [
'label' => 'cruser_id',
'config' => [
'type' => 'passthrough'
]
],
'tstamp' => [
'label' => 'tstamp',
'config' => [
'type' => 'passthrough',
]
],
'hidden' => [
'exclude' => 1,
'label' => 'Versteckt',
'config' => [
'type' => 'check'
]
],
'customer_id' => [
'exclude' => 1,
'label' => 'Kundennummer',
'config' => [
'type' => 'input',
'size' => '8',
'eval' => 'trim',
'max' => '255'
]
],
'title' => [
'exclude' => 1,
'label' => 'Anrede',
'config' => [
'type' => 'input',
'size' => '8',
'eval' => 'trim',
'max' => '255'
]
],
'first_name' => [
'exclude' => 0,
'label' => 'Vorname',
'config' => [
'type' => 'input',
'size' => '20',
'eval' => 'trim',
'max' => '255'
]
],
'last_name' => [
'exclude' => 0,
'label' => 'Name',
'config' => [
'type' => 'input',
'size' => '20',
'eval' => 'trim',
'max' => '255'
]
],
'address' => [
'label' => 'Strasse / Nr.',
'config' => [
'type' => 'text',
'cols' => '20',
'rows' => '3'
]
],
'email' => [
'label' => 'E-Mail',
'config' => [
'type' => 'input',
'size' => '20',
'eval' => 'trim',
'max' => '255',
'softref' => 'email'
]
],
'city' => [
'label' => 'Stadt',
'config' => [
'type' => 'input',
'size' => '20',
'eval' => 'trim',
'max' => '255'
]
],
'zip' => [
'label' => 'PLZ',
'config' => [
'type' => 'input',
'eval' => 'trim',
'size' => '10',
'max' => '20'
]
],
'country' => [
'exclude' => 1,
'label' => 'Land',
'config' => [
'type' => 'input',
'size' => '20',
'eval' => 'trim',
'max' => '128'
]
],
'no_postal' => [
'exclude' => 1,
'label' => 'Keine Postalische Werbung',
'config' => [
'type' => 'check'
]
],
'no_email' => [
'exclude' => 1,
'label' => 'Keine E-Mails mehr',
'config' => [
'type' => 'check'
]
],
'address_current' => [
'exclude' => 1,
'label' => 'Adresse ist aktuell',
'config' => [
'type' => 'check'
]
],
],
'types' => [
'0' => ['showitem' =>
'hidden,
title,first_name,last_name,address,zip,city,country,email,no_postal,no_email,address_current,
']
],
];
@@ -1,211 +0,0 @@
<?php
return [
'ctrl' => [
'title' => 'Störer',
'default_sortby' => 'ORDER BY headline',
'label' => 'headline',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => true,
'versioningWS' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
'delete' => 'deleted',
'enablecolumns' => [
'disabled' => 'hidden',
'starttime' => 'starttime',
'endtime' => 'endtime',
],
'searchFields' => 'headline,text',
'iconfile' => 'EXT:ep_theme/Resources/Public/images/icon_ce.svg',
],
'types' => [
'1' => [
'showitem' => 'sys_language_uid, hidden, layout, headline, text, image, pi_flexform',
],
],
'palettes' => [
],
'columns' => [
'sys_language_uid' => [
'exclude' => 0,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.language',
'config' => [
'type' => 'select',
'default' => 0,
'renderType' => 'selectSingle',
'foreign_table' => 'sys_language',
'foreign_table_where' => 'ORDER BY sys_language.title',
'items' => [
['LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.allLanguages', -1],
['LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.default_value', 0]
],
],
],
'l10n_parent' => [
'displayCond' => 'FIELD:sys_language_uid:>:0',
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.l18n_parent',
'config' => [
'type' => 'select',
'default' => 0,
'renderType' => 'selectSingle',
'items' => [
['', 0],
],
'foreign_table' => 'tx_eptheme_domain_model_disrupter',
'foreign_table_where' => 'AND tx_eptheme_domain_model_disrupter.pid=###CURRENT_PID### AND tx_eptheme_domain_model_disrupter.sys_language_uid IN (-1,0)',
],
],
'l10n_diffsource' => [
'config' => [
'type' => 'passthrough',
],
],
't3ver_label' => [
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.versionLabel',
'config' => [
'type' => 'input',
'size' => 30,
'max' => 255,
]
],
'hidden' => [
'exclude' => 0,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.hidden',
'config' => [
'type' => 'check',
],
],
'starttime' => [
'exclude' => 0,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
'endtime' => [
'exclude' => 0,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
'headline' => [
'exclude' => 0,
'label' => 'Headline',
'config' => [
'type' => 'input',
'size' => 30,
'eval' => 'trim'
],
],
'layout' => [
'exclude' => 0,
'label' => 'Layout',
'config' => [
'type' => 'selectSingle',
'items' => [
['klein', 0],
['groß', 1],
['Event klein', 2],
['Event groß', 3],
],
],
],
'text' => [
'exclude' => 0,
'label' => 'Text',
'config' => [
'type' => 'text',
'cols' => 40,
'rows' => 5,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'image' => [
'exclude' => 0,
'label' => 'Bild',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
'image',
[
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference',
'fileUploadAllowed' => false,
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
],
'columns' => [
'crop' => [
'config' => [
'cropVariants' => [
'default' => [
'title' => 'Alle Geräte',
'allowedAspectRatios' => [
'square' => [
'title' => 'quadratisch',
'value' => 1,
],
'free' => [
'title' => 'Frei',
'value' => 'NaN',
],
],
],
],
],
],
],
],
'maxitems' => 1,
'minitems' => 1,
],
'jpg,jpeg'
),
],
'pi_flexform' => [
'exclude' => 0,
'label' => 'Buttons',
'config' => [
'type' => 'flex',
'ds' => [
'default' => 'FILE:EXT:ep_theme/Configuration/FlexForms/flexform_disturber.xml',
],
]
],
'tt_content' => [
'exclude' => 0,
'config' => [
'type' => 'passthrough',
],
],
],
];
@@ -1,224 +0,0 @@
<?php
return [
'ctrl' => [
'title' => 'LLL:EXT:ep_theme/Resources/Private/Language/locallang_db.xlf:tx_eptheme_domain_model_lineup',
'default_sortby' => 'ORDER BY name',
'label' => 'name',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => true,
'versioningWS' => true,
'hideTable' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
'delete' => 'deleted',
'enablecolumns' => [
'disabled' => 'hidden',
'starttime' => 'starttime',
'endtime' => 'endtime',
],
'searchFields' => 'headline,subline',
'iconfile' => 'EXT:ep_theme/Resources/Public/images/icon_ce.svg',
],
'types' => [
'1' => [
'showitem' => 'hidden, name, description, image, --palette--;;social',
],
],
'palettes' => [
'social' => ['showitem' => 'facebook_url, twitter_url, youtube_url, instagram_url, soundcloud_url'],
],
'columns' => [
'sys_language_uid' => [
'exclude' => 0,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.language',
'config' => [
'type' => 'select',
'default' => 0,
'renderType' => 'selectSingle',
'foreign_table' => 'sys_language',
'foreign_table_where' => 'ORDER BY sys_language.title',
'items' => [
['LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.allLanguages', -1],
['LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.default_value', 0]
],
],
],
'l10n_parent' => [
'displayCond' => 'FIELD:sys_language_uid:>:0',
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.l18n_parent',
'config' => [
'type' => 'select',
'default' => 0,
'renderType' => 'selectSingle',
'items' => [
['', 0],
],
'foreign_table' => 'tx_eptheme_domain_model_lineup',
'foreign_table_where' => 'AND tx_eptheme_domain_model_lineup.pid=###CURRENT_PID### AND tx_eptheme_domain_model_lineup.sys_language_uid IN (-1,0)',
],
],
'l10n_diffsource' => [
'config' => [
'type' => 'passthrough',
],
],
't3ver_label' => [
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.versionLabel',
'config' => [
'type' => 'input',
'size' => 30,
'max' => 255,
]
],
'hidden' => [
'exclude' => 0,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.hidden',
'config' => [
'type' => 'check',
],
],
'starttime' => [
'exclude' => 0,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
'endtime' => [
'exclude' => 0,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
'sorting' => [
'config' => [
'type' => 'passthrough'
],
],
'name' => [
'exclude' => 0,
'label' => 'LLL:EXT:ep_theme/Resources/Private/Language/locallang_db.xlf:tx_eptheme_domain_model_lineup.name',
'config' => [
'type' => 'input',
'size' => 30,
'eval' => 'trim,required'
],
],
'description' => [
'exclude' => 0,
'label' => 'LLL:EXT:ep_theme/Resources/Private/Language/locallang.xlf:tx_eptheme_domain_model_lineup.description',
'config' => [
'type' => 'text',
'cols' => 40,
'rows' => 10,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'image' => [
'exclude' => 0,
'label' => 'LLL:EXT:ep_theme/Resources/Private/Language/locallang_db.xlf:tx_eptheme_domain_model_lineup.image',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
'image',
[
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference',
'useSortable' => false,
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette',
],
],
],
'maxitems' => 1
],
$GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']
),
],
'facebook_url' => [
'exclude' => 0,
'label' => 'Facebook URL',
'config' => [
'type' => 'input',
'size' => 30,
'eval' => 'trim'
],
],
'twitter_url' => [
'exclude' => 0,
'label' => 'Twitter URL',
'config' => [
'type' => 'input',
'size' => 30,
'eval' => 'trim'
],
],
'instagram_url' => [
'exclude' => 0,
'label' => 'Instagram URL',
'config' => [
'type' => 'input',
'size' => 30,
'eval' => 'trim'
],
],
'youtube_url' => [
'exclude' => 0,
'label' => 'YouTube URL',
'config' => [
'type' => 'input',
'size' => 30,
'eval' => 'trim'
],
],
'soundcloud_url' => [
'exclude' => 0,
'label' => 'Soundcloud URL',
'config' => [
'type' => 'input',
'size' => 30,
'eval' => 'trim'
],
],
'tt_content' => [
'exclude' => 0,
'label' => 'LLL:EXT:ep_theme/Resources/Private/Language/locallang_db.xlf:tx_eptheme_domain_model_lineup.tt_content',
'config' => [
'type' => 'select',
'default' => 0,
'renderType' => 'selectSingle',
'foreign_table' => 'tt_content',
'minitems' => 0,
'maxitems' => 1,
],
],
],
];
@@ -1,180 +0,0 @@
tx_gridelements.setup {
quarters {
title = Teaserreihe vierspaltig (25%/25%/25%/25%)
topLevelLayout = 1
icon = EXT:ep_theme/Resources/Public/images/tx_eptheme_gridelements_quarters.png
config {
colCount = 4
rowCount = 1
rows {
1 {
columns {
1 {
name = Spalte 1
colPos = 41
disallowed {
CType = menu_abstract,menu_categorized_content,menu_categorized_pages,menu_recently_updated,menu_related_pages,menu_section_pages,menu_sitemap,menu_sitemap_pages
}
}
2 {
name = Spalte 2
colPos = 42
disallowed {
CType = menu_abstract,menu_categorized_content,menu_categorized_pages,menu_recently_updated,menu_related_pages,menu_section_pages,menu_sitemap,menu_sitemap_pages
}
}
3 {
name = Spalte 3
colPos = 43
disallowed {
CType = menu_abstract,menu_categorized_content,menu_categorized_pages,menu_recently_updated,menu_related_pages,menu_section_pages,menu_sitemap,menu_sitemap_pages
}
}
4 {
name = Spalte 4
colPos = 44
disallowed {
CType = menu_abstract,menu_categorized_content,menu_categorized_pages,menu_recently_updated,menu_related_pages,menu_section_pages,menu_sitemap,menu_sitemap_pages
}
}
}
}
}
}
}
thirds {
title = Teaserreihe dreispaltig (33%/33%/33%)
topLevelLayout = 1
icon = EXT:ep_theme/Resources/Public/images/tx_eptheme_gridelements_thirds.png
config {
colCount = 3
rowCount = 1
rows {
1 {
columns {
1 {
name = Spalte 1
colPos = 31
disallowed {
CType = menu_abstract,menu_categorized_content,menu_categorized_pages,menu_recently_updated,menu_related_pages,menu_section_pages,menu_sitemap,menu_sitemap_pages
}
}
2 {
name = Spalte 2
colPos = 32
disallowed {
CType = menu_abstract,menu_categorized_content,menu_categorized_pages,menu_recently_updated,menu_related_pages,menu_section_pages,menu_sitemap,menu_sitemap_pages
}
}
3 {
name = Spalte 3
colPos = 33
disallowed {
CType = menu_abstract,menu_categorized_content,menu_categorized_pages,menu_recently_updated,menu_related_pages,menu_section_pages,menu_sitemap,menu_sitemap_pages
}
}
}
}
}
}
}
halves {
title = Teaserreihe zweispaltig (50%/50%)
topLevelLayout = 1
icon = EXT:ep_theme/Resources/Public/images/tx_eptheme_gridelements_halves.png
config {
colCount = 2
rowCount = 1
rows {
1 {
columns {
1 {
name = Spalte 1
colPos = 21
disallowed {
CType = menu_abstract,menu_categorized_content,menu_categorized_pages,menu_recently_updated,menu_related_pages,menu_section_pages,menu_sitemap,menu_sitemap_pages
}
}
2 {
name = Spalte 2
colPos = 22
disallowed {
CType = menu_abstract,menu_categorized_content,menu_categorized_pages,menu_recently_updated,menu_related_pages,menu_section_pages,menu_sitemap,menu_sitemap_pages
}
}
}
}
}
}
}
halfAndTwoQuarters {
title = Teaserreihe dreispaltig (50%/25%/25%)
topLevelLayout = 1
icon = EXT:ep_theme/Resources/Public/images/tx_eptheme_gridelements_half_and_two_quarters.png
config {
colCount = 4
rowCount = 1
rows {
1 {
columns {
1 {
name = Spalte 1
colPos = 51
colspan = 2
allowed = textmedia,teaser,list,form_formframework
}
2 {
name = Spalte 2
colPos = 52
disallowed {
CType = menu_abstract,menu_categorized_content,menu_categorized_pages,menu_recently_updated,menu_related_pages,menu_section_pages,menu_sitemap,menu_sitemap_pages
}
}
3 {
name = Spalte 3
colPos = 53
disallowed {
CType = menu_abstract,menu_categorized_content,menu_categorized_pages,menu_recently_updated,menu_related_pages,menu_section_pages,menu_sitemap,menu_sitemap_pages
}
}
}
}
}
}
}
twoQuartersAndHalf {
title = Teaserreihe dreispaltig (25%/25%/50%)
topLevelLayout = 1
icon = EXT:ep_theme/Resources/Public/images/tx_eptheme_gridelements_two_quarters_and_half.png
config {
colCount = 4
rowCount = 1
rows {
1 {
columns {
1 {
name = Spalte 1
colPos = 61
disallowed {
CType = menu_abstract,menu_categorized_content,menu_categorized_pages,menu_recently_updated,menu_related_pages,menu_section_pages,menu_sitemap,menu_sitemap_pages
}
}
2 {
name = Spalte 2
colPos = 62
disallowed {
CType = menu_abstract,menu_categorized_content,menu_categorized_pages,menu_recently_updated,menu_related_pages,menu_section_pages,menu_sitemap,menu_sitemap_pages
}
}
3 {
name = Spalte 3
colPos = 63
colspan = 2
allowed = textmedia,teaser,list,gmap,nlform,form_formframework,menu_pages,menu_subpages,menu_section
}
}
}
}
}
}
}
@@ -1,14 +0,0 @@
tt_content.calendar =< lib.contentElement
tt_content.calendar {
templateName = Calendar
dataProcessing {
10 = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor
10 {
table = tx_epproducts_domain_model_hotel
where.data = field:tx_eptheme_context_hotel
where.wrap = uid=|
pidInList = 5
as = hotel
}
}
}
@@ -1,23 +0,0 @@
tt_content.contact =< lib.contentElement
tt_content.contact {
templateName = Contact
dataProcessing {
10 = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor
10 {
table = tx_epproducts_domain_model_teammember
where.data = field:tx_eptheme_contact
where.wrap = uid=|
pidInList = {$plugin.tx_eptheme.settings.teamMemberStoragePid}
as = contact
dataProcessing {
10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
10 {
references.fieldName = image
references.table = tx_epproducts_domain_model_teammember
as = image
}
}
}
}
}
@@ -1,28 +0,0 @@
tt_content.disrupter =< lib.contentElement
tt_content.disrupter {
templateName = Disrupter
dataProcessing {
10 = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor
10 {
table = tx_eptheme_domain_model_disrupter
pidInList = {$plugin.tx_eptheme.settings.disrupterStoragePid}
join = tx_eptheme_ttcontent_tx_eptheme_disrupter_mm ON tx_eptheme_ttcontent_tx_eptheme_disrupter_mm.uid_foreign = tx_eptheme_domain_model_disrupter.uid
where {
data = field:uid
intval = 1
wrap = tx_eptheme_ttcontent_tx_eptheme_disrupter_mm.uid_local=|
}
as = disrupter
dataProcessing {
10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
10 {
references.fieldName = image
references.table = tx_eptheme_domain_model_disrupter
as = image
}
20 = EP\EpTheme\DataProcessing\FlexFormProcessor
}
}
}
}
@@ -1,13 +0,0 @@
tt_content.deal_of_the_week =< lib.contentElement
tt_content.deal_of_the_week {
templateName = DealOfTheWeek
}
tt_content.disturber =< lib.contentElement
tt_content.disturber {
templateName = Disturber
dataProcessing {
10 = EP\EpTheme\DataProcessing\TeaserImageProcessor
20 = EP\EpTheme\DataProcessing\FlexFormProcessor
}
}
@@ -1,10 +0,0 @@
tt_content.event_pricetable =< lib.contentElement
tt_content.event_pricetable {
templateName = EventPricetable
variables {
forcePartnerIdSelect = TEXT
forcePartnerIdSelect.value = {$plugin.tx_eptheme.settings.forcePartnerIdSelect}
partnerIdSelectLabel = TEXT
partnerIdSelectLabel.value = {$plugin.tx_eptheme.settings.partnerIdSelectLabel}
}
}
@@ -1,17 +0,0 @@
tt_content.faq_overview =< lib.contentElement
tt_content.faq_overview {
templateName = FaqOverview
settings {
infoPageUid = {$plugin.tx_eptheme.settings.infoPageUid}
}
dataProcessing {
10 = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor
10 {
table = tx_epproducts_domain_model_faq
where = category != ''
orderBy = category ASC, uid ASC
pidInList = {$plugin.tx_epproducts.settings.faqsStoragePid}
as = faqs
}
}
}
@@ -1,23 +0,0 @@
tt_content.gmap =< tt_content.teaser_product
tt_content.gmap {
templateName = Gmap
dataProcessing {
10 = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor
10 {
table = tx_epproducts_domain_model_hotel
where.data = field:tx_eptheme_context_hotel
where.wrap = uid=|
pidInList = {$plugin.tx_epproducts.settings.hotelsStoragePid}
as = hotel
}
20 = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor
20 {
table = tx_epproducts_domain_model_region
where.data = field:tx_eptheme_context_region
where.wrap = uid=|
pidInList = {$plugin.tx_epproducts.settings.destinationsStoragePid}
recursive = 2
as = region
}
}
}
@@ -1,24 +0,0 @@
tt_content.lineup =< lib.contentElement
tt_content.lineup {
templateName = Lineup
dataProcessing {
10 = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor
10 {
table = tx_eptheme_domain_model_lineup
where.data = field:uid
where.wrap = tt_content=|
orderBy = sorting
as = items
dataProcessing {
10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
10 {
references.fieldName = image
references.table = tx_eptheme_domain_model_lineup
as = image
}
}
}
}
}
@@ -1,9 +0,0 @@
tt_content.nlform =< lib.contentElement
tt_content.nlform {
templateName = NewsletterForm
variables {
formUrl = TEXT
formUrl.wrap = |/buchung/anmeldung_news.php
formUrl.data = site:base
}
}
@@ -1,4 +0,0 @@
tt_content.ytvideo =< lib.contentElement
tt_content.ytvideo {
templateName = YoutubeVideo
}
@@ -1,30 +0,0 @@
@import 'EXT:form/Configuration/TypoScript/setup.typoscript'
@import 'EXT:form_element_linked_checkbox/Configuration/TypoScript/setup.typoscript'
@import 'EXT:bw_captcha/Configuration/TypoScript/setup.typoscript'
plugin.tx_form.view {
templateRootPaths.10 = EXT:ep_theme/Resources/Private/Templates/Form/
}
plugin.tx_form.settings.yamlConfigurations {
1630994710 = EXT:ep_theme/Configuration/Yaml/FormsBase.yaml
1630994711 = EXT:ep_theme/Configuration/Yaml/FormFinishersFrontend.yaml
}
module.tx_form.settings.yamlConfigurations {
1630994710 = EXT:ep_theme/Configuration/Yaml/FormsBase.yaml
1630994711 = EXT:ep_theme/Configuration/Yaml/FormFinishersBackend.yaml
}
plugin.tx_bwcaptcha.settings {
charset = abcdefghjkmnpqrtuvwxy34679
length = 4
width = 220
height = 60
}
# Requests with a malformed type (e.g. ?type=03413) bypass the bw_captcha middleware's
# strict string check and get rendered as this empty PAGE. If it were cacheable, genuine
# ?type=3413 requests would hit that cache entry, TypoScript would never be parsed and
# the middleware would crash on empty settings.
captcha.config.no_cache = 1
@@ -1,20 +0,0 @@
@import 'EXT:gridelements/Configuration/TypoScript/setup.typoscript'
tt_content.gridelements_pi1.20.10.setup {
quarters < lib.gridelements.defaultGridSetup
quarters {
cObject = FLUIDTEMPLATE
cObject {
templateName = Quarters
templateRootPaths.0 = EXT:ep_theme/Resources/Private/Templates/Gridelements/
layoutRootPaths.0 = EXT:ep_theme/Resources/Private/Layouts/Gridelements/
partialRootPaths.0 = EXT:ep_theme/Resources/Private/Partials/
}
}
thirds < .quarters
thirds.cObject.templateName = Thirds
halves < .quarters
halves.cObject.templateName = Halves
halfAndTwoQuarters < .quarters
halfAndTwoQuarters.cObject.templateName = HalfAndTwoQuarters
}
@@ -1,13 +0,0 @@
@import 'EXT:news/Configuration/TypoScript/setup.txt'
plugin.tx_news {
view {
layoutRootPaths.100 = EXT:ep_theme/Resources/Private/Layouts/News/
templateRootPaths.100 = EXT:ep_theme/Resources/Private/Templates/News/
partialRootPaths.100 = EXT:ep_theme/Resources/Private/Partials/News/
widget.GeorgRinger\News\ViewHelpers\Widget\PaginateViewHelper.templateRootPath = EXT:ep_theme/Resources/Private/Templates/News/
}
settings {
tagListPageUid = {$plugin.tx_eptheme.settings.blogTagListPageUid}
}
}
@@ -1,25 +0,0 @@
xmlExport = PAGE
xmlExport {
typeNum = 1972
config {
xhtml_cleaning = none
disableAllHeaderCode = 1
additionalHeaders = Content-Type: text/xml; charset=utf-8
simulateStaticDocuments = 0
admPanel = 0
debug = 0
tx_realurl_enable = 1
}
10 = USER_INT
10 {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
extensionName = EpProducts
pluginName = reseller
vendorName = EP
switchableControllerActions {
Reseller {
1 = xml
}
}
}
}
@@ -1,39 +0,0 @@
TYPO3:
CMS:
Form:
persistenceManager:
allowedExtensionPaths:
10: EXT:ep_theme/Resources/Private/Forms/
prototypes:
standard:
formElementsDefinition:
Form:
renderingOptions:
templateRootPaths:
1505042810: 'EXT:ep_theme/Resources/Private/Templates/Form/'
partialRootPaths:
1623227657: 'EXT:ep_theme/Resources/Private/Partials/Form/'
layoutRootPaths:
1505042810: 'EXT:ep_theme/Resources/Private/Layouts/Form/'
honeypot:
enable: false
finishersDefinition:
BpnApiFinisher:
implementationClassName: 'EP\EpTheme\Form\BpnApiFinisher'
ApplicationApiFinisher:
implementationClassName: 'EP\EpTheme\Form\ApplicationApiFinisher'
WebhookFinisher:
implementationClassName: 'EP\EpTheme\Form\WebhookFinisher'
AddReferrerFinisher:
implementationClassName: 'EP\EpTheme\Form\AddReferrerFinisher'
contactform:
__inheritances:
10: 'TYPO3.CMS.Form.prototypes.standard'
applicationform:
__inheritances:
10: 'TYPO3.CMS.Form.prototypes.standard'
Whitespace-only changes.
Whitespace-only changes.
@@ -1,111 +0,0 @@
TYPO3:
CMS:
Form:
prototypes:
standard:
formElementsDefinition:
Form:
formEditor:
editors:
900:
selectOptions:
1000:
value: 'BpnApiFinisher'
label: 'BusPro Finisher'
1010:
value: 'ApplicationApiFinisher'
label: 'Application Finisher'
1050:
value: 'WebhookFinisher'
label: 'Webhook Finisher'
1100:
value: 'AddReferrerFinisher'
label: 'Referrer Finisher'
propertyCollections:
finishers:
1000:
identifier: 'BpnApiFinisher'
editors:
__inheritances:
10: 'TYPO3.CMS.Form.mixins.formElementMixins.BaseCollectionEditorsMixin'
100:
label: 'BusPro Finisher'
110:
identifier: 'mapping'
templateName: 'Inspector-TextEditor'
label: 'Mapping'
propertyPath: 'options.mapping'
propertyValidators:
10: 'NotEmpty'
1010:
identifier: 'ApplicationApiFinisher'
editors:
__inheritances:
10: 'TYPO3.CMS.Form.mixins.formElementMixins.BaseCollectionEditorsMixin'
100:
label: 'Application Finisher'
110:
identifier: 'mapping'
templateName: 'Inspector-TextEditor'
label: 'Mapping'
propertyPath: 'options.mapping'
propertyValidators:
10: 'NotEmpty'
120:
identifier: 'exclude'
templateName: 'Inspector-TextEditor'
label: 'Exclude'
propertyPath: 'options.exclude'
1050:
identifier: 'WebhookFinisher'
editors:
__inheritances:
10: 'TYPO3.CMS.Form.mixins.formElementMixins.BaseCollectionEditorsMixin'
100:
label: 'Webhook Finisher'
110:
identifier: 'mapping'
templateName: 'Inspector-TextEditor'
label: 'Mapping'
propertyPath: 'options.mapping'
propertyValidators:
10: 'NotEmpty'
120:
identifier: 'url'
templateName: 'Inspector-TextEditor'
label: 'URL'
propertyPath: 'options.url'
propertyValidators:
10: 'NotEmpty'
1100:
identifier: 'AddReferrerFinisher'
editors:
__inheritances:
10: 'TYPO3.CMS.Form.mixins.formElementMixins.BaseCollectionEditorsMixin'
100:
label: 'Referrer Finisher'
finishersDefinition:
BpnApiFinisher:
formEditor:
iconIdentifier: 'form-finisher'
predefinedDefaults:
options:
mapping: 'lastName:text-1,firstName:text-2,gender:singleselect-1,email:email-1,phone:telephone-1'
ApplicationApiFinisher:
formEditor:
iconIdentifier: 'form-finisher'
predefinedDefaults:
options:
mapping: 'firstName:text-1,lastName:text-2,email:email-1,phone:telephone-1'
exclude: 'captcha,privacypolicyaccepted'
WebhookFinisher:
formEditor:
iconIdentifier: 'form-finisher'
predefinedDefaults:
options:
mapping: 'lastName:text-1,firstName:text-2,gender:singleselect-1,email:email-1,phone:telephone-1'
url: ''
AddReferrerFinisher:
formEditor:
iconIdentifier: 'form-finisher'
@@ -1,35 +0,0 @@
TYPO3:
CMS:
Form:
prototypes:
standard:
finishersDefinition:
BpnApiFinisher:
implementationClassName: 'EP\EpTheme\Form\BpnApiFinisher'
formEditor:
label: 'BusPro Finisher'
options:
identifier: 'BpnApiFinisher'
mapping: 'lastName:text-1,firstName:text-2,gender:singleselect-1,email:email-1,phone:telephone-1'
ApplicationApiFinisher:
implementationClassName: 'EP\EpTheme\Form\ApplicationApiFinisher'
formEditor:
label: 'Application Finisher'
options:
identifier: 'ApplicationApiFinisher'
mapping: 'firstName:text-1,lastName:text-2,email:email-1,phone:telephone-1'
exclude: 'captcha,privacypolicyaccepted'
WebhookFinisher:
implementationClassName: 'EP\EpTheme\Form\WebhookFinisher'
formEditor:
label: 'Webhook Finisher'
options:
identifier: 'WebhookFinisher'
mapping: 'lastName:text-1,firstName:text-2,gender:singleselect-1,email:email-1,phone:telephone-1'
url: ''
AddReferrerFinisher:
implementationClassName: 'EP\EpTheme\Form\AddReferrerFinisher'
formEditor:
label: 'Referrer Finisher'
options:
identifier: 'AddReferrerFinisher'
@@ -1,42 +0,0 @@
TYPO3:
CMS:
Form:
persistenceManager:
allowedExtensionPaths:
10: EXT:ep_theme/Resources/Private/Forms/
prototypes:
standard:
formEditor:
formElementGroups:
input:
label: Basiselemente
html5:
label: HTML5-Elemente
select:
label: Auswahlelemente
custom:
label: Sonstiges
formElementsDefinition:
AdvancedPassword: null
DatePicker: null
Fieldset: null
GridRow: null
Hidden: null
ImageUpload: null
Password: null
Form:
renderingOptions:
templateRootPaths:
1505042810: 'EXT:ep_theme/Resources/Private/Templates/Form/'
partialRootPaths:
1623227657: 'EXT:ep_theme/Resources/Private/Partials/Form/'
layoutRootPaths:
1505042810: 'EXT:ep_theme/Resources/Private/Layouts/Form/'
honeypot:
enable: false
contactform:
__inheritances:
10: 'TYPO3.CMS.Form.prototypes.standard'
applicationform:
__inheritances:
10: 'TYPO3.CMS.Form.prototypes.standard'
@@ -1,144 +0,0 @@
renderingOptions:
submitButtonLabel: Absenden
type: Form
identifier: adresscheck-ext
label: Adresscheck (EXT)
prototypeName: standard
finishers:
-
options:
subject: Adresscheck
recipientAddress: '[email protected]'
recipientName: 'E&P Reisen'
senderAddress: [email protected]
senderName: 'E&P Reisen'
replyToAddress: ''
carbonCopyAddress: ''
blindCarbonCopyAddress: ''
format: html
attachUploads: false
translation:
language: ''
identifier: EmailToReceiver
-
identifier: SaveToDatabase
options:
-
table: 'tx_eptheme_domain_model_addresscheck'
mode: insert
databaseColumnMappings:
pid:
value: 1228
elements:
customer-id:
mapOnDatabaseColumn: 'customer_id'
title:
mapOnDatabaseColumn: 'title'
first-name:
mapOnDatabaseColumn: 'first_name'
last-name:
mapOnDatabaseColumn: 'last_name'
address:
mapOnDatabaseColumn: 'address'
zip:
mapOnDatabaseColumn: 'zip'
city:
mapOnDatabaseColumn: 'city'
country:
mapOnDatabaseColumn: 'country'
email:
mapOnDatabaseColumn: 'email'
no-postal:
mapOnDatabaseColumn: 'no_postal'
no-email:
mapOnDatabaseColumn: 'no_email'
address-is-current-postal:
mapOnDatabaseColumn: 'address_current'
-
options:
pageUid: '1606'
additionalParameters: ''
identifier: Redirect
renderables:
-
renderingOptions:
previousButtonLabel: ''
nextButtonLabel: ''
type: Page
identifier: page-1
label: ''
renderables:
-
defaultValue: ''
type: Hidden
identifier: customer-id
label: KundenID
-
defaultValue: ''
type: Text
identifier: title
label: Anrede
-
defaultValue: ''
type: Text
identifier: first-name
label: Vorname
properties:
fluidAdditionalAttributes:
required: required
-
defaultValue: ''
type: Text
identifier: last-name
label: Name
properties:
fluidAdditionalAttributes:
required: required
-
defaultValue: ''
type: Text
identifier: address
label: 'Straße & Hausnummer'
properties:
elementDescription: ''
-
defaultValue: ''
type: Text
identifier: zip
label: PLZ
-
defaultValue: ''
type: Text
identifier: city
label: Stadt
-
defaultValue: ''
type: Text
identifier: country
label: Land
-
defaultValue: ''
type: Text
identifier: email
label: E-Mail
properties:
fluidAdditionalAttributes:
required: required
validators:
-
identifier: NotEmpty
-
identifier: EmailAddress
-
type: Checkbox
identifier: no-postal
label: 'Postalische Werbung abbestellen'
-
type: Checkbox
identifier: no-email
label: 'Ich möchte keine Mails mehr erhalten.'
-
type: Checkbox
identifier: address-is-current
label: 'Meine Adresse ist aktuell.'
@@ -1,118 +0,0 @@
renderingOptions:
submitButtonLabel: aus Mailingliste entfernen
type: Form
identifier: adresscheck-remove-ext
label: Adresscheck aus Datenbank entfernen (EXT)
prototypeName: standard
finishers:
-
options:
subject: 'Adresscheck - aus Datenbank entfernen'
recipientAddress: '[email protected]'
recipientName: 'E&P Reisen'
senderAddress: [email protected]
senderName: 'E&P Reisen'
replyToAddress: ''
carbonCopyAddress: ''
blindCarbonCopyAddress: ''
format: html
attachUploads: false
translation:
language: ''
identifier: EmailToReceiver
-
identifier: SaveToDatabase
options:
-
table: 'tx_eptheme_domain_model_addresscheck'
mode: insert
databaseColumnMappings:
pid:
value: 1609
elements:
customer-id:
mapOnDatabaseColumn: 'customer_id'
title:
mapOnDatabaseColumn: 'title'
first-name:
mapOnDatabaseColumn: 'first_name'
last-name:
mapOnDatabaseColumn: 'last_name'
address:
mapOnDatabaseColumn: 'address'
zip:
mapOnDatabaseColumn: 'zip'
city:
mapOnDatabaseColumn: 'city'
country:
mapOnDatabaseColumn: 'country'
email:
mapOnDatabaseColumn: 'email'
no-postal:
mapOnDatabaseColumn: 'no_postal'
no-email:
mapOnDatabaseColumn: 'no_email'
address-is-current-postal:
mapOnDatabaseColumn: 'address_current'
-
options:
pageUid: '1610'
additionalParameters: ''
identifier: Redirect
renderables:
-
renderingOptions:
previousButtonLabel: ''
nextButtonLabel: ''
type: Page
identifier: page-1
label: ''
renderables:
-
defaultValue: ''
type: Hidden
identifier: customer-id
label: KundenID
-
defaultValue: ''
type: Hidden
identifier: title
label: Anrede
-
defaultValue: ''
type: Hidden
identifier: first-name
label: Vorname
-
defaultValue: ''
type: Hidden
identifier: last-name
label: Name
-
defaultValue: ''
type: Hidden
identifier: address
label: 'Straße & Hausnummer'
properties:
elementDescription: ''
-
defaultValue: ''
type: Hidden
identifier: zip
label: PLZ
-
defaultValue: ''
type: Hidden
identifier: city
label: Stadt
-
defaultValue: ''
type: Hidden
identifier: country
label: Land
-
defaultValue: ''
type: Hidden
identifier: email
label: E-Mail
@@ -1,378 +0,0 @@
renderingOptions:
submitButtonLabel: Absenden
type: Form
identifier: applicationform
label: Bewerbungsformular
prototypeName: applicationform
finishers:
-
options:
subject: 'Bewerbung von {text-1}'
recipientAddress: [email protected]
recipientName: 'E&P Reisen'
senderAddress: [email protected]
senderName: '{text-1}'
replyToAddress: '{text-6}'
carbonCopyAddress: ''
blindCarbonCopyAddress: ''
format: html
attachUploads: false
translation:
language: ''
identifier: EmailToReceiver
-
options:
message: 'Vielen Dank für deine Bewerbung. Wir werden sie so schnell wie möglich bearbeiten.'
identifier: Confirmation
renderables:
-
renderingOptions:
previousButtonLabel: zurück
nextButtonLabel: weiter
type: Page
identifier: page-1
label: ''
renderables:
-
defaultValue: ''
type: Text
identifier: text-1
label: Name
properties:
fluidAdditionalAttributes:
placeholder: 'Vor- & Nachname'
required: required
elementDescription: ''
validators:
-
identifier: NotEmpty
-
defaultValue: ''
type: Text
identifier: text-2
label: Straße
properties:
fluidAdditionalAttributes:
placeholder: 'Straße & Hausnummer'
required: required
elementDescription: ''
validators:
-
identifier: NotEmpty
-
defaultValue: ''
type: Text
identifier: text-3
label: Wohnort
properties:
fluidAdditionalAttributes:
placeholder: 'PLZ & Ort'
required: required
validators:
-
identifier: NotEmpty
-
defaultValue: ''
type: Text
identifier: text-4
label: 'Mobil Nummer'
properties:
fluidAdditionalAttributes:
required: required
validators:
-
identifier: NotEmpty
-
defaultValue: ''
type: Text
identifier: text-5
label: 'Festnetz Nummer'
-
defaultValue: ''
type: Text
identifier: text-6
label: 'E-Mail Adresse'
properties:
fluidAdditionalAttributes:
required: required
validators:
-
identifier: NotEmpty
-
identifier: EmailAddress
-
defaultValue: ''
type: Text
identifier: text-7
label: Geburtsdatum
properties:
fluidAdditionalAttributes:
placeholder: tt.mm.jjjj
required: required
validators:
-
options:
regularExpression: '/\d{2}\.\d{2}\.\d{4}/'
identifier: RegularExpression
-
identifier: NotEmpty
-
defaultValue: ''
type: Text
identifier: text-8
label: Nationalität
-
properties:
options:
nein: nein
ja: ja
'ja, mit Anhänger': 'ja, mit Anhänger'
type: RadioButton
identifier: radiobutton-1
label: Führerschein
-
defaultValue: ''
type: Text
identifier: text-9
label: Ausbildung/Studium
properties:
fluidAdditionalAttributes:
placeholder: 'Schul-, Uni-, Berufsausbildung'
elementDescription: ''
-
defaultValue: ''
type: Text
identifier: text-10
label: 'Aktuelle Tätigkeit'
-
properties:
options:
Haus-/Destinationsleitung: Haus-/Destinationsleitung
Koch/Köchin: Koch/Köchin
Koch-Assistenz/Service: Koch-Assistenz/Service
'Serviceleitung/Assistenz Hausleitung': 'Serviceleitung/Assistenz Hausleitung'
Serviceteamer: Serviceteamer
Reinigungskraft: Reinigungskraft
Materialteamer/Verleih: Materialteamer/Verleih
Allrounder: Allrounder
'Praktikum im Schnee': 'Praktikum im Schnee'
elementDescription: ''
type: MultiCheckbox
identifier: multicheckbox-1
label: 'Bewerbung als'
-
defaultValue: ''
type: Text
identifier: text-11
label: 'Einsatz datum'
properties:
fluidAdditionalAttributes:
placeholder: 'von tt.mm.jjjj bis tt.mm.jjjj'
required: required
validators:
-
identifier: NotEmpty
-
properties:
options:
Ski: Ski
Snowboard: Snowboard
nichts: nichts
type: MultiCheckbox
identifier: multicheckbox-2
label: 'Ich fahre'
validators:
-
identifier: NotEmpty
-
options:
minimum: '1'
maximum: '2'
identifier: Count
-
properties:
options:
'noch nicht gelernt': 'noch nicht gelernt'
Anfänger: Anfänger
Fortgeschritten: Fortgeschritten
Experte: Experte
type: SingleSelect
identifier: singleselect-1
label: 'Wie gut fahre ich Ski'
defaultValue: 'noch nicht gelernt'
-
defaultValue: ''
type: Text
identifier: text-12
label: 'Skifahrer seit'
-
properties:
options:
'noch nicht gelernt': 'noch nicht gelernt'
Anfänger: Anfänger
Fortgeschritten: Fortgeschritten
Experte: Experte
type: SingleSelect
identifier: singleselect-2
label: 'Wie gut fahre ich Snowboard'
-
defaultValue: ''
type: Text
identifier: text-13
label: 'Snowboarder seit'
properties:
elementDescription: ''
-
properties:
options:
nein: nein
'Ski Grundstufe': 'Ski Grundstufe'
'Board Grundstufe': 'Board Grundstufe'
'Ski Instructor': 'Ski Instructor'
'Board Instructor': 'Board Instructor'
'Ski Begleitschein': 'Ski Begleitschein'
'Board Begleitschein': 'Board Begleitschein'
type: MultiSelect
identifier: multiselect-1
label: Ski-/Snowboardlehrerschein
defaultValue:
- nein
-
type: Fieldset
identifier: fieldset-1
label: Fremdsprachen
renderables:
-
properties:
options:
nein: nein
Grundkenntnisse: Grundkenntnisse
gut: gut
'sehr gut': 'sehr gut'
type: SingleSelect
identifier: singleselect-3
label: Englisch
defaultValue: nein
-
properties:
options:
nein: nein
Grundkenntnisse: Grundkenntnisse
gut: gut
'sehr gut': 'sehr gut'
type: SingleSelect
identifier: singleselect-4
label: Französisch
defaultValue: nein
-
properties:
options:
nein: nein
Grundkenntnisse: Grundkenntnisse
gut: gut
'sehr gut': 'sehr gut'
type: SingleSelect
identifier: singleselect-5
label: Spanisch
defaultValue: nein
-
defaultValue: ''
type: Text
identifier: text-14
label: 'Sonstige Fremdsprachen'
-
properties:
options:
ja: ja
nein: nein
type: RadioButton
identifier: radiobutton-2
label: 'Kocherfahrung für Gruppen (min. 30 Personen)'
-
defaultValue: ''
type: Text
identifier: text-15
label: 'Wenn ja, welche?'
properties:
elementDescription: ''
-
properties:
options:
ja: ja
nein: nein
type: RadioButton
identifier: radiobutton-3
label: 'Erfahrungen im Tourismus'
-
defaultValue: ''
type: Text
identifier: text-16
label: 'Wenn ja, welche?'
properties:
elementDescription: ''
-
properties:
options:
'ja, mit Zertifikat zur Bindungseinstellung': 'ja, mit Zertifikat zur Bindungseinstellung'
nein: nein
type: RadioButton
identifier: radiobutton-4
label: 'Erfahrungen im Skiverleih'
-
properties:
options:
Zillertal: Zillertal
Lenzerheide: Lenzerheide
'Davos Klosters': 'Davos Klosters'
Montafon: Montafon
Saalbach: Saalbach
'Les Deux Alpes': 'Les Deux Alpes'
'4 Vallées': '4 Vallées'
'Val Thorens': 'Val Thorens'
'Les Sybelles': 'Les Sybelles'
'Portes du Soleil': 'Portes du Soleil'
type: MultiCheckbox
identifier: multicheckbox-3
label: 'Ortskenntnisse in folgenden Destinationen'
-
properties:
options:
'Damen 36': 'Damen 36'
'Damen 38': 'Damen 38'
'Damen 40': 'Damen 40'
'Damen 42': 'Damen 42'
'Herren S': 'Herren S'
'Herren M': 'Herren M'
'Herren L': 'Herren L'
'Herren XL': 'Herren XL'
type: SingleSelect
identifier: singleselect-6
label: Jackengröße
-
defaultValue: ''
type: Textarea
identifier: textarea-1
label: 'Warum möchte ich für E&P Reisen arbeiten?'
-
properties:
options:
Freunde: Freunde
'Social Media': 'Social Media'
Uni: Uni
Sonstiges: Sonstiges
type: MultiCheckbox
identifier: multicheckbox-4
label: 'Wie bin ich auf E&P Reisen aufmerksam geworden?'
-
type: LinkedCheckbox
identifier: privacypolicyaccepted
label: 'Ich akzeptiere die %s.'
properties:
pageUid: '355'
linkText: 'Datenschutzbestimmungen'
fluidAdditionalAttributes:
required: required
validators:
-
identifier: NotEmpty
@@ -1,148 +0,0 @@
renderingOptions:
submitButtonLabel: Absenden
type: Form
identifier: contactform
label: Kontaktformular
prototypeName: contactform
finishers:
-
identifier: BpnApiFinisher
options:
mapping: 'lastName:lastName,firstName:firstName,gender:gender,email:email,street:street,zipCode:zipCode,city:city,phone:phone'
-
options:
subject: 'Kontaktanfrage von {firstName} {lastName}'
recipientAddress: [email protected]
recipientName: 'E&P Reisen'
senderAddress: [email protected]
senderName: '{firstName} {lastName}'
replyToAddress: '{email}'
carbonCopyAddress: ''
blindCarbonCopyAddress: ''
format: html
attachUploads: false
translation:
language: ''
identifier: EmailToReceiver
-
options:
pageUid: '1387'
additionalParameters: ''
identifier: Redirect
renderables:
-
renderingOptions:
previousButtonLabel: 'Previous step'
nextButtonLabel: 'Neue Seite'
type: Page
identifier: page-1
label: ''
renderables:
-
defaultValue: ''
type: Text
identifier: firstName
label: Vorname
properties:
fluidAdditionalAttributes:
placeholder: 'Vorname'
required: required
elementDescription: ''
validators:
-
identifier: NotEmpty
-
defaultValue: ''
type: Text
identifier: lastName
label: 'Nachname'
properties:
fluidAdditionalAttributes:
placeholder: 'Nachname'
required: required
elementDescription: ''
validators:
-
identifier: NotEmpty
-
properties:
options:
M: M
W: W
D: D
fluidAdditionalAttributes:
required: required
type: SingleSelect
identifier: gender
label: 'Gender'
validators:
-
identifier: NotEmpty
-
defaultValue: ''
type: Text
identifier: email
label: 'E-Mail'
properties:
fluidAdditionalAttributes:
required: required
validators:
-
identifier: NotEmpty
-
identifier: EmailAddress
-
defaultValue: ''
type: Text
identifier: street
label: 'Straße'
properties:
fluidAdditionalAttributes:
placeholder: 'Straße & Nr.'
elementDescription: ''
-
defaultValue: ''
type: Text
identifier: zipCode
label: 'PLZ'
-
defaultValue: ''
type: Text
identifier: city
label: 'Ort'
-
defaultValue: ''
type: Text
identifier: phone
label: 'Telefon'
-
defaultValue: ''
type: Textarea
identifier: message
label: 'Deine Kontaktanfrage'
-
defaultValue: ''
type: Text
identifier: bookingNumber
label: 'Buchungsnummer (falls vorhanden)'
-
type: LinkedCheckbox
identifier: privacypolicyaccepted
label: 'Ich akzeptiere die %s.'
properties:
pageUid: '355'
linkText: 'Datenschutzbestimmungen'
fluidAdditionalAttributes:
required: required
validators:
-
identifier: NotEmpty
-
type: Captcha
identifier: captcha
label: Captcha
properties:
fluidAdditionalAttributes:
required: required
autocomplete: 'off'
@@ -1,17 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<xliff version="1.0" xmlns:t3="http://typo3.org/schemas/xliff">
<file t3:id="1415814815" source-language="en" datatype="plaintext" original="messages" date="2013-07-04T16:35:47Z" product-name="documentation">
<header/>
<body>
<trans-unit id="mlang_tabs_tab">
<source>E&amp;P SEO Übersicht</source>
</trans-unit>
<trans-unit id="mlang_labels_tabdescr">
<source>Page title und Meta Description Übersicht</source>
</trans-unit>
<trans-unit id="mlang_labels_tablabel">
<source>Seiten</source>
</trans-unit>
</body>
</file>
</xliff>
@@ -1,388 +0,0 @@
<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true" >
<head>
<!--[if gte mso 15]>
<xml>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
<o:PixelsPerInch>96</o:PixelsPerInch>
</o:OfficeDocumentSettings>
</xml>
<![endif]-->
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title></title>
<style type="text/css">
p {
margin:10px 0;
padding:0;
}
table {
border-collapse:collapse;
}
h1,
h2,
h3,
h4,
h5,
h6 {
display:block;
margin:0;
padding:0;
}
img,
a img {
border:0;
height:auto;
outline:none;
text-decoration:none;
}
body,
#bodyTable,
#bodyCell {
height:100%;
margin:0;
padding:0;
width:100%;
}
#outlook a {
padding:0;
}
img {
-ms-interpolation-mode:bicubic;
}
table {
mso-table-lspace:0pt;
mso-table-rspace:0pt;
}
.ReadMsgBody {
width:100%;
}
.ExternalClass {
width:100%;
}
p,
a,
td {
mso-line-height-rule:exactly;
}
a[href^=tel],
a[href^=sms] {
color:inherit;
cursor:default;
text-decoration:none;
}
p,
a,
td,
body,
table,
blockquote {
-ms-text-size-adjust:100%;
-webkit-text-size-adjust:100%;
}
.ExternalClass,
.ExternalClass p,
.ExternalClass td,
.ExternalClass div,
.ExternalClass span,
.ExternalClass font {
line-height:100%;
}
a[x-apple-data-detectors]{
color:inherit !important;
text-decoration:none !important;
font-size:inherit !important;
font-family:inherit !important;
font-weight:inherit !important;
line-height:inherit !important;
}
.templateContainer {
max-width:600px !important;
}
a.button {
display:block;
}
.image,.retinaImage {
vertical-align:bottom;
}
.textContent {
word-break:break-word;
}
.textContent img {
height:auto !important;
}
.dividerBlock {
table-layout:fixed !important;
}
h1 {
color:#222222;
font-family:'Helvetica Neue', Helvetica, Arial, Verdana, sans-serif;
font-size:40px;
font-style:normal;
font-weight:bold;
line-height:150%;
letter-spacing:normal;
text-align:center;
}
h2 {
color:#222222;
font-family:'Helvetica Neue', Helvetica, Arial, Verdana, sans-serif;
font-size:34px;
font-style:normal;
font-weight:bold;
line-height:150%;
letter-spacing:normal;
text-align:left;
}
h3 {
color:#444444;
font-family:'Helvetica Neue', Helvetica, Arial, Verdana, sans-serif;
font-size:22px;
font-style:normal;
font-weight:bold;
line-height:150%;
letter-spacing:normal;
text-align:left;
}
h4 {
color:#999999;
font-family:'Helvetica Neue', Helvetica, Arial, Verdana, sans-serif;
font-size:20px;
font-style:italic;
font-weight:normal;
line-height:125%;
letter-spacing:normal;
text-align:left;
}
#templateHeader {
background-image:none;
background-repeat:no-repeat;
background-position:center;
background-size:cover;
border-top:0;
border-bottom:0;
padding-top:36px;
padding-bottom:0;
}
.headerContainer {
background-color:#ffffff;
background-image:none;
background-repeat:no-repeat;
background-position:center;
background-size:cover;
border-top:1px none ;
border-bottom:0;
padding-top:36px;
padding-bottom:36px;
}
.headerContainer .textContent,
.headerContainer .textContent p {
color:#808080;
font-family:'Helvetica Neue', Helvetica, Arial, Verdana, sans-serif;
font-size:16px;
line-height:150%;
text-align:left;
}
.headerContainer .textContent a,
.headerContainer .textContent p a {
color:#538bb3;
font-weight:normal;
text-decoration:underline;
}
#templateBody {
background-color:#f2f2f2;
background-image:none;
background-repeat:no-repeat;
background-position:center;
background-size:cover;
border-top:0;
border-bottom:0;
padding-top:0;
padding-bottom:0;
}
.bodyContainer {
background-color:#ffffff;
background-image:none;
background-repeat:no-repeat;
background-position:center;
background-size:cover;
border-top:0;
border-bottom:0;
padding-top:0;
padding-bottom:18px;
}
.bodyContainer .textContent,
.bodyContainer .textContent p {
color:#808080;
font-family:'Helvetica Neue', Helvetica, Arial, Verdana, sans-serif;
font-size:16px;
line-height:150%;
text-align:left;
}
.bodyContainer .textContent a,
.bodyContainer .textContent p a {
color:#538bb3;
font-weight:normal;
text-decoration:underline;
}
#templateFooter{
background-color:#f2f2f2;
background-image:none;
background-repeat:no-repeat;
background-position:center;
background-size:cover;
border-top:1px none ;
border-bottom:0;
padding-top:0;
padding-bottom:36px;
}
.footerContainer{
background-color:#313131;
background-image:none;
background-repeat:no-repeat;
background-position:center;
background-size:cover;
border-top:0;
border-bottom:0;
padding-top:45px;
padding-bottom:45px;
}
.footerContainer .textContent,
.footerContainer .textContent p {
color:#FFFFFF;
font-family:'Helvetica Neue', Helvetica, Arial, Verdana, sans-serif;
font-size:12px;
line-height:150%;
text-align:center;
}
.footerContainer .textContent a,
.footerContainer .textContent p a {
color:#FFFFFF;
font-weight:normal;
text-decoration:underline;
}
table.data th,
table.data td {
vertical-align: top;
}
@media only screen and (min-width:768px){
.templateContainer {
width:600px !important;
}
}
@media only screen and (max-width: 480px){
body,
table,
td,
p,
a {
-webkit-text-size-adjust:none !important;
}
body {
width:100% !important;
min-width:100% !important;
}
h1 {
font-size:30px !important;
line-height:125% !important;
}
h2 {
font-size:26px !important;
line-height:125% !important;
}
h3 {
font-size:20px !important;
line-height:150% !important;
}
h4 {
font-size:18px !important;
line-height:150% !important;
}
.headerContainer .textContent,
.headerContainer .textContent p {
font-size:16px !important;
line-height:150% !important;
}
.bodyContainer .textContent,
.bodyContainer .textContent p {
font-size:16px !important;
line-height:150% !important;
}
}
</style>
</head>
<body>
<center>
<table align="center" border="0" cellpadding="0" cellspacing="0" height="100%" width="100%" id="bodyTable"><tr><td align="center" valign="top" id="bodyCell">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<!-- HEADER START -->
<tr><td align="center" valign="top" id="templateHeader" style="background-color: #ffffff">
<!--[if (gte mso 9)|(IE)]><table align="center" border="0" cellspacing="0" cellpadding="0" width="600" style="width:600px;"><tr><td align="center" valign="top" width="600" style="width:600px;"><![endif]-->
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" class="templateContainer"><tr><td valign="top" class="headerContainer">
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="textBlock" style="min-width:100%;"><tbody class="textBlockOuter"><tr><td valign="top" class="textBlockInner" style="padding-top:9px;">
<!--[if mso]><table align="left" border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100%;"><tr><td valign="top" width="600" style="width:600px;"><![endif]-->
<table align="left" border="0" cellpadding="0" cellspacing="0" style="max-width:100%; min-width:100%;" width="100%" class="textContentContainer">
<tbody>
<tr>
<td valign="top" class="image" align="center" style="padding: 0px 36px; padding-bottom: 20px; color: #222222;text-align: center;">
<f:image src="EXT:ep_theme/Resources/Public/images/logo_wide.svg" absolute="1" alt="Logo" height="60" width="197" />
</td>
</tr>
<tr>
<td valign="top" class="textContent" style="padding: 0px 36px;color: #222222;font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, Verdana, sans-serif;font-size: 24px;text-align: center;">
<strong><f:render section="Title" optional="true" /></strong>
</td>
</tr>
</tbody>
</table>
<!--[if mso]></td></tr></table><![endif]-->
</td></tr></tbody></table>
</td></tr></table>
<!--[if (gte mso 9)|(IE)]></td></tr></table><![endif]-->
</td></tr>
<!-- HEADER END -->
<!-- BODY START -->
<tr><td align="center" valign="top" id="templateBody">
<!--[if (gte mso 9)|(IE)]><table align="center" border="0" cellspacing="0" cellpadding="0" width="600" style="width:600px;"><tr><td align="center" valign="top" width="600" style="width:600px;"><![endif]-->
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" class="templateContainer"><tr><td valign="top" class="bodyContainer">
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="textBlock" style="min-width:100%;"><tbody class="textBlockOuter"><tr><td valign="top" class="textBlockInner" style="padding: 36px 0px;">
<!--[if mso]><table align="left" border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100%;"><tr><td valign="top" width="600" style="width:600px;"><![endif]-->
<table align="left" border="0" cellpadding="0" cellspacing="0" style="max-width:100%; min-width:100%;" width="100%" class="textContentContainer">
<tbody>
<tr>
<td valign="top" class="textContent" style="padding: 0px 36px;">
<f:render section="Main" />
</td>
</tr>
</tbody>
</table>
<!--[if mso]></td></tr></table><![endif]-->
</td></tr></tbody></table>
</td></tr></table>
<!--[if (gte mso 9)|(IE)]></td></tr></table><![endif]-->
</td></tr>
<!-- BODY END -->
</table>
</td></tr></table>
</center>
</body>
</html>
@@ -1 +0,0 @@
<f:render section="Main"/>
@@ -1,2 +0,0 @@
<a id="c{data.uid}"></a>
<f:render section="Main"/>
@@ -1,7 +0,0 @@
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
xmlns:n="http://typo3.org/ns/GeorgRinger/News/ViewHelpers"
data-namespace-typo3-fluid="true">
<f:render section="content" />
</html>
@@ -1 +0,0 @@
<f:render section="Main" />
@@ -1,31 +0,0 @@
<html data-namespace-typo3-fluid="true" lang="en"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">
<f:render partial="Topnav" arguments="{_all}"/>
<f:render partial="Mainnav" section="Main" arguments="{_all}"/>
<header>
<f:render partial="HeaderSlider" arguments="{_all}"/>
</header>
<main id="main-content">
<f:if condition="{data.tx_eptheme_hide_searchbar} || {settings.hideSearchbar}">
<f:else>
<f:cObject typoscriptObjectPath="lib.searchBar"/>
</f:else>
</f:if>
<f:render section="Content"/>
</main>
<footer>
<f:render partial="Footer" arguments="{_all}"/>
</footer>
<aside>
<f:render partial="ContactBar" arguments="{_all}"/>
<f:render partial="Mobilenav" section="Main" arguments="{_all}"/>
<f:if condition="{data.tx_eptheme_hide_searchbar} || {settings.hideSearchbar}">
<f:else>
<f:render partial="Search/MobileSearch" arguments="{_all}"/>
</f:else>
</f:if>
</aside>
<f:render partial="Config" arguments="{_all}" />
</html>
@@ -1,22 +0,0 @@
<html data-namespace-typo3-fluid="true" lang="en"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">
<f:render partial="Mainnav" section="Main" arguments="{_all}"/>
<header>
<f:render partial="EventHero" arguments="{_all}"/>
<f:render partial="EventDisturber" arguments="{headline: settings.eventDisturberHeadline, listItems: settings.eventDisturberListitems, buttonLabel: settings.eventDisturberButtonLabel, buttonLink: settings.eventDisturberButtonLink}"/>
</header>
<main id="main-content">
<f:render section="Content"/>
</main>
<footer>
<f:render partial="Footer" arguments="{_all}"/>
</footer>
<aside>
<f:render partial="ContactBar" arguments="{_all}"/>
<f:render partial="Topnav" arguments="{_all}"/>
<f:render partial="Mobilenav" section="Main" arguments="{_all}"/>
</aside>
<f:render partial="Config" arguments="{_all}" />
</html>
@@ -1,7 +0,0 @@
<html data-namespace-typo3-fluid="true" lang="en"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">
<f:render section="Content"/>
<f:render partial="Config" arguments="{_all}" />
</html>
@@ -1,18 +0,0 @@
<html data-namespace-typo3-fluid="true" lang="en"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">
<f:render partial="Topnav" arguments="{_all}"/>
<f:render partial="Mainnav" section="Main" arguments="{_all}"/>
<main id="main-content">
<f:render section="Content"/>
</main>
<footer>
<f:render partial="Footer" arguments="{_all}"/>
</footer>
<aside>
<f:render partial="ContactBar" arguments="{_all}"/>
<f:render partial="Mobilenav" section="Main" arguments="{_all}"/>
</aside>
<f:render partial="Config" arguments="{_all}" />
</html>
@@ -1,35 +0,0 @@
<html data-namespace-typo3-fluid="true" lang="en"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">
<f:render partial="Mainnav" section="Main" arguments="{_all}"/>
<header>
<f:render partial="HeaderSliderSmall" arguments="{_all}"/>
<f:if condition="{data.tx_eptheme_hide_searchbar}">
<f:else>
<f:cObject typoscriptObjectPath="lib.searchBar"/>
</f:else>
</f:if>
</header>
<main id="main-content">
<f:cObject typoscriptObjectPath="lib.breadcrumb"/>
<f:render section="Header" optional="true"/>
<div class="container grid grid-cols-3 gap-8">
<div class="col-span-3 lg:col-span-1 order-last lg:order-none">
<f:render section="Sidebar"/>
</div>
<div class="col-span-3 lg:col-span-2">
<f:render section="Content"/>
</div>
</div>
<f:render section="Teasers"/>
</main>
<footer>
<f:render partial="Footer" arguments="{_all}"/>
</footer>
<f:render partial="ContactBar" arguments="{_all}"/>
<f:render partial="Topnav" arguments="{_all}"/>
<f:render partial="Mobilenav" section="Main" arguments="{_all}"/>
<f:render partial="Search/MobileSearch" arguments="{_all}"/>
<f:render partial="Config" arguments="{_all}" />
</html>
@@ -1,29 +0,0 @@
<html data-namespace-typo3-fluid="true" lang="en"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">
<f:render partial="Mainnav" section="Main" arguments="{_all}"/>
<header>
<f:render partial="HeaderSliderSmall" arguments="{_all}"/>
</header>
<main id="main-content">
<f:cObject typoscriptObjectPath="lib.breadcrumb"/>
<f:render section="Header" optional="true"/>
<div class="container grid grid-cols-3 gap-8">
<div class="col-span-3 lg:col-span-1 order-last lg:order-none">
<f:render section="Sidebar"/>
</div>
<div class="col-span-3 lg:col-span-2">
<f:render section="Content"/>
</div>
</div>
<f:render section="Teasers"/>
</main>
<footer>
<f:render partial="Footer" arguments="{_all}"/>
</footer>
<f:render partial="ContactBar" arguments="{_all}"/>
<f:render partial="Topnav" arguments="{_all}"/>
<f:render partial="Mobilenav" section="Main" arguments="{_all}"/>
<f:render partial="Config" arguments="{_all}" />
</html>
@@ -1,29 +0,0 @@
<html data-namespace-typo3-fluid="true" lang="en"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">
<f:render partial="Mainnav" section="Main" arguments="{_all}"/>
<header>
<f:render partial="HeaderSliderSmall" arguments="{_all}"/>
<f:cObject typoscriptObjectPath="lib.breadcrumb"/>
</header>
<main id="main-content">
<f:render section="Header" optional="true"/>
<div class="container grid grid-cols-3 gap-8">
<div class="col-span-3 lg:col-span-2">
<f:render section="Content"/>
</div>
<div class="col-span-3 lg:col-span-1">
<f:render section="Sidebar"/>
</div>
</div>
<f:render section="Teasers"/>
</main>
<footer>
<f:render partial="Footer" arguments="{_all}"/>
</footer>
<f:render partial="ContactBar" arguments="{_all}"/>
<f:render partial="Topnav" arguments="{_all}"/>
<f:render partial="Mobilenav" section="Main" arguments="{_all}"/>
<f:render partial="Config" arguments="{_all}" />
</html>
@@ -1,28 +0,0 @@
<html data-namespace-typo3-fluid="true" lang="en"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:ep="http://typo3.org/ns/EP/EpTheme/ViewHelpers"
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">
<header class="container bg-white flex items-center justify-between">
<f:link.typolink parameter="{f:if(condition: settings.logoLink, then: settings.logoLink, else: settings.defaultHomeUid)}"
class="block lg:pb-4"
title="zur Startseite">
<f:image src="{settings.logoImage}"
class="block w-auto {ep:themeClasses(classes: '{ep: \'h-10 lg:h-12\', sbw: \'h-14 lg:h-24\', snz: \'h-14 lg:h-24\', suz: \'h-14 lg:h-24\', uch: \'h-12 lg:h-20\', ser: \'h-10 lg:h-12\'}', key: settings.themekey)}"
alt="Bildmarke"/>
</f:link.typolink>
<f:link.typolink parameter="{settings.myEpPageUid}"
title="My E&P"
class="block px-4 py-3 lg:px-8 lg:py-4 bg-badge-gradient text-white uppercase text-center">
<div class="text-xl lg:text-2xl font-light leading-none">Login</div>
<div class="text-lg lg:text-xl font-medium leading-none">My E&P</div>
</f:link.typolink>
</header>
<main id="main-content">
<f:render section="Content"/>
</main>
<footer>
<f:render partial="Footer" arguments="{_all}"/>
</footer>
<f:render partial="Config" arguments="{_all}" />
</html>
@@ -1,52 +0,0 @@
<html data-namespace-typo3-fluid="true" lang="en"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:ep="http://typo3.org/ns/EP/EpTheme/ViewHelpers"
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">
<f:section name="Teaser">
<div class="relative flex flex-col">
<div class="relative">
{ep:icon(icon: 'flag-{city.country.code -> f:format.case(mode: \'lower\')}', class: 'w-8 h-6 absolute top-0 left-0')}
<f:alias map="{teaserImage: city.teaserImage, defaultImage: city.images.0}">
<f:if condition="{teaserImage}">
<f:then>
<f:variable name="image" value="{teaserImage}"/>
</f:then>
<f:else>
<f:variable name="image" value="{defaultImage}"/>
</f:else>
</f:if>
<f:if condition="{image}">
<f:then>
<f:image image="{image}"
loading="lazy"
class="block w-full h-full object-cover"
width="400c"
height="300c"
alt="{city.name}" />
</f:then>
<f:else>
<f:image src="EXT:ep_theme/Resources/Public/images/lazy.png"
width="400c"
height="300c"
alt="{city.name}"/>
</f:else>
</f:if>
</f:alias>
</div>
<div class="flex-1 flex flex-col pt-4 bg-white border border-t-0 border-zinc-200">
<a href="{f:uri.typolink(parameter: city.detailPage)}" class="px-2 peer headline--3 mb-4 no-underline">
{city.name}
<span class="absolute inset-0"></span>
</a>
<div class="flex-1 px-2 text-zinc-800" data-rte-content>
{city.teaser -> f:format.crop(maxCharacters: settings.teaserTextMaxChars) -> f:format.html()}
</div>
<div class="button teaser-button">
{f:translate(key: 'tx_eptheme.label.teaserbutton.default', extensionName: 'ep_theme')}
</div>
</div>
</div>
</f:section>
</html>
@@ -1,51 +0,0 @@
<html data-namespace-typo3-fluid="true" lang="en"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">
<f:section name="Teaser">
<f:if condition="{concept}">
<div class="relative flex flex-col">
<div class="relative">
<f:alias map="{teaserImage: concept.teaserImage, defaultImage: concept.headerImage}">
<f:if condition="{teaserImage}">
<f:then>
<f:variable name="image" value="{teaserImage}"/>
</f:then>
<f:else>
<f:variable name="image" value="{defaultImage}"/>
</f:else>
</f:if>
<f:if condition="{image}">
<f:then>
<f:image image="{image}"
loading="lazy"
class="block w-full h-full object-cover"
width="400c"
height="300c"
alt="{concept.name}" />
</f:then>
<f:else>
<f:image src="EXT:ep_theme/Resources/Public/images/lazy.png"
width="400c"
height="300c"
alt="{concept.name}"/>
</f:else>
</f:if>
</f:alias>
<div class="absolute z-10 inset-0 bg-concept-{concept.code}/70">
<f:link.typolink parameter="{concept.detailPage}"
class="flex h-full w-full p-4 items-end headline--3 text-white">
{concept.name}
<span class="absolute inset-0"></span>
</f:link.typolink>
</div>
</div>
<div class="p-4 flex-1">
{concept.teaser -> f:format.crop(maxCharacters: settings.teaserTextMaxChars) -> f:format.html()}
</div>
<div class="bg-concept-{concept.code} h-1 w-20"></div>
</div>
</f:if>
</f:section>
</html>
@@ -1,18 +0,0 @@
<html data-namespace-typo3-fluid="true" lang="en"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">
<div class="form__success">
<p>
Es ist ein Problem aufgetreten. Bitte versucht es noch einmal.
</p>
<p>
<button type="button"
class="button bg-button button--small"
data-action="contactform#reset">
Neue Anfrage
</button>
</p>
</div>
</html>
@@ -1,19 +0,0 @@
<html data-namespace-typo3-fluid="true" lang="en"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">
<div class="form__success">
<p>
Vielen Dank für Eure Anfrage. Wir werden uns schnellstmöglich mit Euch in Verbindung
setzen.
</p>
<p>
<button type="button"
class="button bg-button button--small"
data-action="contactform#reset">
Neue Anfrage
</button>
</p>
</div>
</html>
@@ -1,63 +0,0 @@
<html data-namespace-typo3-fluid="true" lang="en"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:ep="http://typo3.org/ns/EP/EpTheme/ViewHelpers"
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">
<div class="{ep:themeClasses(classes: '{ep: \'bg-ep-primary-dark\', sbw: \'bg-sbw-primary/80\', snz: \'bg-snz-primary/80\', suz: \'bg-suz-primary/80\', uch: \'bg-uch-primary/80\'}', key: settings.themekey)} my-2">
<f:if condition="{settings.themeKey} == 'ep'">
<f:render partial="Disrupter/Outlines"
section="Top1"
arguments="{classes: 'hidden md:block -translate-y-2 {f:if(condition: \'{data.tx_eptheme_background} == 1 || {data.tx_eptheme_background} == 3\', then: \'text-ep-primary-bg\', else: \'text-white\')}'}"/>
</f:if>
<div class="relative container grid grid-cols-2 gap-8 py-4">
<div class="col-span-2 md:col-span-1">
<div class="relative max-w-md mx-auto mb-8">
<f:if condition="{image}">
<f:image image="{image}"
loading="lazy"
class="block w-full h-auto rounded-full"
width="400"
height="400c"
alt="{image.alternative}" />
</f:if>
<a href="tel:{settings.phoneNumber -> v:format.pregReplace(pattern: '/[\-\s]/', replacement: '')}"
rel="nofollow"
class="absolute bottom-0 left-1/2 -translate-x-1/2 -mb-8 rounded-full py-4 px-6 flex items-center space-x-2 {ep:themeClasses(classes: '{ep: \'bg-ep-secondary\', sbw: \'bg-sbw-secondary\', snz: \'bg-snz-secondary\', suz: \'bg-suz-secondary\', uch: \'bg-uch-secondary\'}', key: settings.themekey)}">
{ep:icon(icon: 'phone', class: 'w-10 h-10 text-white')}
<div class="text-center text-white">
<span class="block whitespace-nowrap">
Ihr habt Fragen?
</span>
<span class="block whitespace-nowrap">
Wir helfen euch gerne!
</span>
</div>
</a>
</div>
</div>
<div class="col-span-2 md:col-span-1">
<span class="headline--secondary font-light text-white">{data.subheadline}</span>
<span class="headline--secondary uppercase font-light text-white mb-4">{data.headline}</span>
<div class="text-white" data-rte-content>
{data.bodytext -> f:format.html()}
</div>
<f:if condition="{data.flexForm.buttons}">
<div class="grid grid-cols-1 sm:grid-cols-2 gap-4 lg:gap-8">
<f:for each="{data.flexForm.buttons}" as="button">
<f:link.typolink parameter="{button.container.link}"
class="button bg-button--secondary shadow-lg">
{button.container.label}
</f:link.typolink>
</f:for>
</div>
</f:if>
</div>
</div>
<f:if condition="{settings.themeKey} == 'ep'">
<f:render partial="Disrupter/Outlines"
section="Bottom1"
arguments="{classes: 'hidden md:block translate-y-2 {f:if(condition: \'{data.tx_eptheme_background} == 2 || {data.tx_eptheme_background} == 3\', then: \'text-ep-primary-bg\', else: \'text-white\')}'}"/>
</f:if>
</div>
</html>
@@ -1,29 +0,0 @@
<html data-namespace-typo3-fluid="true" lang="en"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:v="http://typo3.org/ns/FluidTYPO3/Vhs/ViewHelpers"
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">
<div class="bg-ep-primary-dark my-2">
<f:render partial="Disrupter/Outlines"
section="Top1"
arguments="{classes: 'hidden md:block -translate-y-2 {f:if(condition: \'{data.tx_eptheme_background} == 1 || {data.tx_eptheme_background} == 3\', then: \'text-ep-primary-bg\', else: \'text-white\')}'}"/>
<div class="max-w-screen-lg mx-auto" data-rte-content>
<div>
{data.headline}
</div>
<div>
{data.text -> f:format.html()}
</div>
<div>
{data.flexForm.buttons -> v:iterator.first() -> v:variable.set(name: 'button')}
<a href="{f:uri.typolink(parameter: button.container.link)}" class="btn btn-info">
{button.container.label -> f:format.raw()}
</a>
</div>
</div>
<f:render partial="Disrupter/Outlines"
section="Bottom1"
arguments="{classes: 'hidden md:block translate-y-2 {f:if(condition: \'{data.tx_eptheme_background} == 2 || {data.tx_eptheme_background} == 3\', then: \'text-ep-primary-bg\', else: \'text-white\')}'}"/>
</div>
</html>
@@ -1,30 +0,0 @@
<html data-namespace-typo3-fluid="true" lang="en"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">
<f:alias map="{button: data.flexForm.buttons.0}">
<div class="container-fluid ep-disturber-reminder">
<div data-rte-content>
{data.headline}
</div>
<div class="col-md-6">
<a href="{f:uri.typolink(parameter: button.container.link)}" title="{button.container.label -> f:format.raw()}">
<f:if condition="{image}">
<f:image image="{image}"
loading="lazy"
class="block w-full h-auto rounded-full"
width="400"
alt="{image.alternative}" />
</f:if>
</a>
</div>
<div class="col-md-6" data-rte-content>
{data.text -> f:format.html()}
</div>
<a href="{f:uri.typolink(parameter: button.container.link)}" class="btn btn-info">
{button.container.label -> f:format.raw()}
</a>
</div>
</f:alias>
</html>
Loaded 100 of 331 files, more files were not shown because too many files have changed in this diff. Show more