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,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"
xmlns:ep="http://typo3.org/ns/EP/EpTheme/ViewHelpers">
<f:layout name="Default"/>
<f:section name="Main">
<div class="container">
<h2>Belegungskalender {hotel.0.data.name}</h2>
<div data-controller="calendar"
data-calendar-uri-value="{ep:uri.ajax(action: 'range', controller: 'AjaxCalendar', extensionName: 'epproducts', pageUid: settings.defaultAjaxUid, format: 'html')}"
data-calendar-hotel-uid-value="{product.calendarHotel.uid}">
<select class="w-full border-zinc-400 focus:border-zinc-400"
data-calendar-target="field"
data-action="calendar#select">
</select>
<div class="mt-4"
data-calendar-target="container"></div>
<div class="absolute top-0 left-0 inset-0 w-full h-full bg-white/85"
data-calendar-target="loadingIndicator">
<svg class="w-6 h-6 text-zinc-800 absolute top-1/2 left-1/2 transform -translate-xy-1/2">
<use href="{f:uri.image(src: 'EXT:ep_theme/Resources/Public/images/icons_sprite.svg')}#icon-spinner"></use>
</svg>
</div>
</div>
</div>
</f:section>
</html>
@@ -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"
xmlns:ep="http://typo3.org/ns/EP/EpTheme/ViewHelpers"
xmlns:v="http://typo3.org/ns/FluidTYPO3/Vhs/ViewHelpers">
<f:layout name="Default"/>
<f:section name="Main">
<div class="bg-zinc-50 p-4 mb-8">
<div class="grid grid-cols-3 gap-4">
<div class="col-span-1">
<f:if condition="{contact.0.image.0}">
<f:image
image="{contact.0.image.0}"
width="120"
class="block w-full h-auto"
alt="{contact.0.data.name}" />
</f:if>
</div>
<div class="col-span-2">
<strong>{contact.0.data.name}</strong>
<f:if condition="{contact.0.data.tasks}"><br>{contact.0.data.tasks -> f:format.nl2br()}</f:if>
<f:if condition="{contact.0.data.phone}"><br><i class="fa fa-phone"></i> {contact.0.data.phone}</f:if>
<f:if condition="{contact.0.data.email}"><br><i class="fa fa-envelope-o"></i> <f:link.email email="{contact.0.data.email}" title="E-Mail an {contact.0.data.name}">E-Mail</f:link.email></f:if>
</div>
</div>
</div>
</f:section>
</html>
@@ -1,47 +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:layout name="Default"/>
<f:section name="Main">
<div class="bg-winter my-2">
<div class="bg-ep-primary/80">
<f:render partial="Disrupter/Outlines"
section="Top1"
arguments="{classes: 'hidden md:block transform -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="container grid grid-cols-3 gap-8 py-8">
<div class="col-span-3 md:col-span-1 left-content">
<span class="headline--primary text-white">
SchneEPchen
</span>
</div>
<div class="col-span-3 md:col-span-2 right-content">
<div class="w-full md:w-1/4 text-white">
<div class="uppercase text-2xl font-bold mb-2">
Angebot
</div>
<span class="headline headline--4 text-white mb-2 pb-2 border-b-2 border-white">
{data.header}
</span>
<div class="mb-4" data-rte-content>
{data.bodytext -> f:format.nl2br()}
</div>
<f:if condition="{data.header_link}">
<a class="btn btn-warning"
href="{f:uri.typolink(parameter: data.header_link)}"
title="{product.name}">
Details
</a>
</f:if>
</div>
</div>
</div>
<f:render partial="Disrupter/Outlines"
section="Bottom1"
arguments="{classes: 'hidden md:block transform 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>
</div>
</f:section>
</html>
@@ -1,26 +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:layout name="Default"/>
<f:section name="Main">
<f:alias map="{data: disrupter.0.data, image: disrupter.0.image.0, background: data.tx_eptheme_background}">
<f:switch expression="{data.layout}">
<f:case value="0">
<f:render partial="Disrupter/Small" arguments="{_all}"/>
</f:case>
<f:case value="1">
<f:render partial="Disrupter/Large" arguments="{_all}"/>
</f:case>
<f:case value="2">
<f:render partial="Disrupter/LastChance" arguments="{_all}"/>
</f:case>
<f:case value="3">
<f:render partial="Disrupter/Reminder" arguments="{_all}"/>
</f:case>
</f:switch>
</f:alias>
</f:section>
</html>
@@ -1,25 +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">
<f:layout name="Default"/>
<f:section name="Main">
<f:switch expression="{data.layout}">
<f:case value="0">
<f:render partial="Disturber/Small" arguments="{_all}"/>
</f:case>
<f:case value="1">
<f:render partial="Disturber/Large" arguments="{_all}"/>
</f:case>
<f:case value="2">
<f:render partial="Disturber/LastChance" arguments="{_all}"/>
</f:case>
<f:case value="3">
<f:render partial="Disturber/Reminder" arguments="{_all}"/>
</f:case>
</f:switch>
</f:section>
</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"
xmlns:ep="http://typo3.org/ns/EP/EpTheme/ViewHelpers"
xmlns:v="http://typo3.org/ns/FluidTYPO3/Vhs/ViewHelpers">
<f:layout name="Default"/>
<f:section name="Main">
<event-pricetable
uri="{ep:uri.ajax(extensionName: 'epproducts', action: 'eventPricetable', controller: 'AjaxTable', pageUid: settings.defaultAjaxUid, arguments: '{product: data.tx_eptheme_context_product}', format: 'html')}"
loader-uri="{f:uri.image(src: 'EXT:ep_theme/Resources/Public/images/ajax-loader-white.gif')}"
:force-partnerid-select="{forcePartnerIdSelect}"
:partner-ids='{
1: { id: "PA0020", label: "E&amp;P Reisen und Events" },
2: { id: "PA0034", label: "Headis" },
3: { id: "PA0211", label: "RWTH Aachen" },
4: { id: "PA0216", label: "Hochschulsport Uni Tübingen" },
5: { id: "PA0210", label: "Hamburg" },
6: { id: "PA0214", label: "Unisport Köln" },
7: { id: "PA0213", label: "Uni Konstanz" },
8: { id: "PA0218", label: "Hochschulsport Darmstadt" },
9: { id: "PA0020", label: "Sonstige" }
}'
label="{partnerIdSelectLabel}"
></event-pricetable>
</f:section>
</html>
@@ -1,41 +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"
xmlns:ep="http://typo3.org/ns/EP/EpTheme/ViewHelpers">
<f:layout name="Default"/>
<f:section name="Main">
<f:if condition="{faqs}">
<div class="py-8 bg-ep-primary-bg">
<div class="container"
data-controller="faq">
<div class="relative mb-4 max-w-screen-md">
<input type="text"
aria-label="Suchbegriff"
data-action="faq#filter"
class="form-field"
placeholder="Suchbegriff">
{ep:icon(icon: 'search', class: 'w-6 h-6 absolute top-2 right-2')}
</div>
<f:groupedFor each="{faqs}" as="groupFaqs" groupBy="data.category" groupKey="categoryName">
<f:render partial="FaqGroup" arguments="{faqs: groupFaqs, category: categoryName}"/>
</f:groupedFor>
<div class="hidden py-4"
data-faq-target="empty">
Keine Treffer gefunden. Bitte ändere deinen Suchbegriff.
</div>
<f:if condition="{settings.infoPageUid}">
<div class="flex items-center space-x-2 text-sm">
{ep:icon(icon: 'info-circle', class: 'w-4 h-4')}
<a href="{f:uri.typolink(parameter: settings.infoPageUid)}" class="underline">
Weitere Reiseinfos findet ihr hier
</a>
</div>
</f:if>
</div>
</div>
</f:if>
</f:section>
</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">
<f:layout name="Default"/>
<f:section name="Main">
<f:if condition="{hotel}">
<f:variable name="latitude" value="{hotel.0.data.latitude}"/>
<f:variable name="longitude" value="{hotel.0.data.longitude}"/>
</f:if>
<f:if condition="{region}">
<f:variable name="latitude" value="{region.0.data.latitude}"/>
<f:variable name="longitude" value="{region.0.data.longitude}"/>
</f:if>
<f:render partial="Map/Osm" arguments="{settings: settings, class: 'mb-8', zoom: 17, lat: latitude, lng: longitude}"/>
</f:section>
</html>
@@ -1,71 +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"
xmlns:ep="http://typo3.org/ns/EP/EpTheme/ViewHelpers">
<f:layout name="Default" />
<f:section name="Main">
<div class="max-w-screen-xl mx-auto">
<f:for each="{items}" as="item" iteration="iteration">
<div class="lg:flex odd:flex-row-reverse justify-between items-end mb-16">
<div class="mb-4 lg:mb-0 lg:w-1/2">
<f:image image="{item.image.0}"
loading="lazy"
class="block w-full h-auto"
width="768"
alt="{item.data.name}"/>
</div>
<div class="lg:w-1/2">
<div class="px-4 {f:if(condition: iteration.isEven, then: 'lg:pl-12', else: 'lg:pr-12')}">
<span class="headline headline--secondary headline--underlined">
{item.data.name -> f:format.raw()}
</span>
<div data-rte-content>
{item.data.description -> f:format.html()}
</div>
<div class="flex items-center space-x-6">
<f:if condition="{item.data.facebook_url}">
<a href="{item.data.facebook_url}" target="_blank" title="{item.data.name} bei Facebook">
<svg class="w-8 h-8 {ep:themeClasses(classes: '{sbw: \'text-sbw-primary\', snz: \'text-snz-primary\', suz: \'text-suz-primary\', uch: \'text-uch-primary\'}', key: settings.themekey)}">
<use href="{f:uri.image(src: 'EXT:ep_theme/Resources/Public/images/icons_sprite.svg')}#icon-facebook"></use>
</svg>
</a>
</f:if>
<f:if condition="{item.data.twitter_url}">
<a href="{item.data.twitter_url}" target="_blank" title="{item.data.name} bei Twitter">
<svg class="w-8 h-8 {ep:themeClasses(classes: '{sbw: \'text-sbw-primary\', snz: \'text-snz-primary\', suz: \'text-suz-primary\', uch: \'text-uch-primary\'}', key: settings.themekey)}">
<use href="{f:uri.image(src: 'EXT:ep_theme/Resources/Public/images/icons_sprite.svg')}#icon-twitter"></use>
</svg>
</a>
</f:if>
<f:if condition="{item.data.instagram_url}">
<a href="{item.data.instagram_url}" target="_blank" title="{item.data.name} bei Instagram">
<svg class="w-8 h-8 {ep:themeClasses(classes: '{sbw: \'text-sbw-primary\', snz: \'text-snz-primary\', suz: \'text-suz-primary\', uch: \'text-uch-primary\'}', key: settings.themekey)}">
<use href="{f:uri.image(src: 'EXT:ep_theme/Resources/Public/images/icons_sprite.svg')}#icon-instagram"></use>
</svg>
</a>
</f:if>
<f:if condition="{item.data.youtube_url}">
<a href="{item.data.youtube_url}" target="_blank" title="{item.data.name} bei YouTube">
<svg class="w-8 h-8 {ep:themeClasses(classes: '{sbw: \'text-sbw-primary\', snz: \'text-snz-primary\', suz: \'text-suz-primary\', uch: \'text-uch-primary\'}', key: settings.themekey)}">
<use href="{f:uri.image(src: 'EXT:ep_theme/Resources/Public/images/icons_sprite.svg')}#icon-youtube"></use>
</svg>
</a>
</f:if>
<f:if condition="{item.data.soundcloud_url}">
<a href="{item.data.soundcloud_url}" target="_blank" title="{item.data.name} bei Soundcloud">
<svg class="w-8 h-8 {ep:themeClasses(classes: '{sbw: \'text-sbw-primary\', snz: \'text-snz-primary\', suz: \'text-suz-primary\', uch: \'text-uch-primary\'}', key: settings.themekey)}">
<use href="{f:uri.image(src: 'EXT:ep_theme/Resources/Public/images/icons_sprite.svg')}#icon-soundcloud"></use>
</svg>
</a>
</f:if>
</div>
</div>
</div>
</div>
</f:for>
</div>
</f:section>
</html>
@@ -1,34 +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:layout name="Default" />
<f:section name="Main">
<f:spaceless>
<f:if condition="{menu}">
<ep:container data="{data}">
<div class="flex flex-col space-y-2 max-w-screen-sm">
<f:for each="{menu}" as="page">
<f:if condition="{page.content}">
<f:for each="{page.content}" as="element">
<f:if condition="{element.data.header}">
<button type="button"
class="button bg-button"
data-controller="scroll-to"
data-scroll-to-target-value="c{element.data.uid}"
data-action="scroll-to#scroll">
{element.data.header}
</button>
</f:if>
</f:for>
</f:if>
</f:for>
</div>
</ep:container>
</f:if>
</f:spaceless>
</f:section>
</html>
@@ -1,35 +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:layout name="Default" />
<f:section name="Main">
<f:if condition="{menu}">
<ep:container data="{data}">
<div class="flex flex-col space-y-2 max-w-screen-sm">
<f:for each="{menu}" as="page">
<a href="{page.link}"{f:if(condition: page.target, then: ' target="{page.target}"')} title="{page.title}" class="button bg-button">
{page.title}
</a>
<f:if condition="{page.content}">
<ul>
<f:for each="{page.content}" as="element">
<li>
<a href="{page.link}#c{element.data.uid}"{f:if(condition: page.target, then: ' target="{page.target}"')} title="{element.data.header}" class="button bg-button">
{element.data.header}
</a>
</li>
</f:for>
</ul>
</f:if>
</f:for>
</div>
</ep:container>
</f:if>
</f:section>
</html>
@@ -1,13 +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:layout name="Default"/>
<f:section name="Main">
<iframe class="border-0 h-96"
src="{formUrl}"
width="100%" height="100"></iframe>
</f:section>
</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"
xmlns:ep="http://typo3.org/ns/EP/EpTheme/ViewHelpers">
<f:layout name="Bare"/>
<f:section name="Main">
<f:switch expression="{data.layout}">
<f:case value="0">
<f:render partial="Teaser/OneColumn" section="Teaser" arguments="{_all}"/>
</f:case>
<f:case value="1">
<f:render partial="Teaser/TwoColumn" section="Teaser" arguments="{_all}"/>
</f:case>
</f:switch>
</f:section>
</html>
@@ -1,13 +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"
xmlns:ep="http://typo3.org/ns/EP/EpTheme/ViewHelpers"
xmlns:v="http://typo3.org/ns/FluidTYPO3/Vhs/ViewHelpers">
<f:layout name="Bare"/>
<f:section name="Main">
<f:render partial="City/Teaser" section="Teaser" arguments="{_all}"/>
</f:section>
</html>
@@ -1,13 +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"
xmlns:ep="http://typo3.org/ns/EP/EpTheme/ViewHelpers"
xmlns:v="http://typo3.org/ns/FluidTYPO3/Vhs/ViewHelpers">
<f:layout name="Bare"/>
<f:section name="Main">
<f:render partial="Concept/Teaser" section="Teaser" arguments="{_all}"/>
</f:section>
</html>
@@ -1,37 +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:layout name="Bare"/>
<f:section name="Main">
<div class="relative flex flex-col">
<div class="relative">
<svg class="w-8 h-6 absolute top-0 left-0">
<use href="{f:uri.image(src: 'EXT:ep_theme/Resources/Public/images/icons_sprite.svg')}#icon-flag-{country.code -> f:format.case(mode: 'lower')}"></use>
</svg>
<f:if condition="{country.teaserImages}">
<f:image image="{country.teaserImages.0}"
loading="lazy"
class="block w-full h-full object-cover"
width="400c"
height="300c"
alt="{country.name}" />
</f:if>
</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: country.detailPage)}" class="px-2 peer headline--3 mb-4 no-underline">
{country.name}
<span class="absolute inset-0"></span>
</a>
<div class="flex-1 px-2 text-zinc-800" data-rte-content>
{country.teaser -> f:format.crop(maxCharacters: settings.teaserTextMaxChars) -> f:format.html()}
</div>
<div class="button teaser-button w-full">
{data.button -> v:or(alternative: 'Details')}
</div>
</div>
</div>
</f:section>
</html>
@@ -1,13 +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"
xmlns:ep="http://typo3.org/ns/EP/EpTheme/ViewHelpers"
xmlns:v="http://typo3.org/ns/FluidTYPO3/Vhs/ViewHelpers">
<f:layout name="Bare"/>
<f:section name="Main">
<f:render partial="Region/Teaser" section="Teaser" arguments="{_all}"/>
</f:section>
</html>
@@ -1,30 +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:layout name="Default"/>
<f:section name="Main">
<f:switch expression="{data.layout}">
<f:case value="2">
<f:render partial="ImageGallery" arguments="{images: files, thumbnails: 1, id: data.uid}"/>
</f:case>
<f:case value="4">
<f:render partial="ImageGallery" arguments="{images: files, thumbnails: 0, id: data.uid}"/>
</f:case>
<f:case value="3">
<f:render partial="Textmedia/LinkPanel" section="Content" arguments="{images: files}"/>
</f:case>
<f:case value="5">
<f:render partial="Textmedia/Partnerlogos" section="Content" arguments="{_all}"/>
</f:case>
<f:defaultCase>
<ep:container rteContent="true" data="{data}">
<f:render partial="Textmedia/Default" section="Content" arguments="{_all}"/>
</ep:container>
</f:defaultCase>
</f:switch>
</f:section>
</html>
@@ -1,25 +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:layout name="Default"/>
<f:section name="Main">
<div class="relative w-full aspect-w-16 aspect-h-9 bg-cover bg-center"
style="background-image: url({f:uri.image(src: 'EXT:ep_theme/Resources/Public/images/lazy.png')})">
<iframe class="absolute top-0 left-0 w-full h-full"
width="640" height="360" allowfullscreen
title="eingebettetes Video"
data-src="{ep:uri.video(value: data.header_link, layout: data.layout)}"
referrerpolicy="strict-origin-when-cross-origin"
data-cookiefirst-category="advertising"></iframe>
<div class="cookiefirst-disabled-resource">
<div class="absolute top-1/2 left-1/2 tranform -translate-xy-1/2">
Bitte <a href="#" onclick="CookieFirst.acceptCategory('advertising'); return false" class="underline">Marketing-Cookies akzeptieren</a>, um dieses Video anzusehen.
</div>
</div>
</div>
</f:section>
</html>