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:
1 parent
a46918de9d
commit
b890a55115
331 files changed
+18
-23190
No files matched your search
@@ -1,46 +0,0 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
|
||||
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">
|
||||
|
||||
<f:layout name="Default"/>
|
||||
|
||||
<f:section name="Main">
|
||||
<div class="container">
|
||||
<f:switch expression="{result}">
|
||||
<f:case value="cancel_success">
|
||||
<div class="alert alert-success">Du hast Deine E-Mail-Adresse erfolgreich abgemeldet und erhältst in
|
||||
Zukunft von uns keinen Newsletter mehr.</div>
|
||||
</f:case>
|
||||
<f:case value="cancel_error">
|
||||
<div class="alert alert-danger">Parameterfehler - Deine E-Mail-Adresse konnte leider nicht
|
||||
abgemeldet werden.<br />Sollte dieser Fehler weiterhin auftreten, setze Dich bitte telefonisch mit
|
||||
uns in Verbindung.</div>
|
||||
</f:case>
|
||||
<f:case value="confirm_success">
|
||||
<div class="alert alert-success">Vielen Dank - Du hast Deine E-Mail-Adresse erfolgreich für
|
||||
unseren Newsletter registriert.</div>
|
||||
</f:case>
|
||||
<f:case value="register_error">
|
||||
<div class="alert alert-danger">Parameterfehler - Deine E-Mail-Adresse konnte leider nicht
|
||||
korrekt registriert werden.<br />Sollte dieser Fehler weiterhin auftreten, setze Dich bitte
|
||||
telefonisch mit uns in Verbindung.</div>
|
||||
</f:case>
|
||||
<f:case value="register_success">
|
||||
<div class="alert alert-success">Vielen Dank für Dein Interesse - Du erhältst in Kürze
|
||||
eine Mail mit einem Bestätigungslink an Deine E-Mail-Adresse geschickt.</div>
|
||||
</f:case>
|
||||
<f:case value="register_pending">
|
||||
<div class="alert alert-warning">Deine E-Mail-Adresse ist bereits für unseren Newsletter
|
||||
vorgemerkt - es fehlt nur noch Deine Bestätigung. Solltest Du noch keine Mail erhalten haben, prüfe
|
||||
bitte auch die Spam-Einstellungen Deines Posteingangs.</div>
|
||||
</f:case>
|
||||
<f:case value="register_existing">
|
||||
<div class="alert alert-danger">Diese E-Mail-Adresse ist bereits für unseren Newsletter registriert.</div>
|
||||
</f:case>
|
||||
<f:defaultCase>
|
||||
<div class="alert alert-danger">Ein Problem ist aufgetreten. Bitte versuche es erneut.</div>
|
||||
</f:defaultCase>
|
||||
</f:switch>
|
||||
</div>
|
||||
</f:section>
|
||||
|
||||
</html>
|
||||
@@ -1,104 +0,0 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
|
||||
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">
|
||||
|
||||
<f:layout name="Default"/>
|
||||
|
||||
<f:section name="Main">
|
||||
<a id="newsletter-form" class="anchor"></a>
|
||||
<div class="container">
|
||||
<f:form method="post" action="subscriptionFormSubmit" name="subscriptionRequest" section="newsletter-form" object="{subscriptionRequest}">
|
||||
<div class="grid lg:grid-cols-2 lg:gap-x-8 items-start">
|
||||
<div>
|
||||
<f:render section="Field" arguments="{property: 'firstName', label: 'Vorname'}"/>
|
||||
<f:render section="Field" arguments="{property: 'lastName', label: 'Nachname'}"/>
|
||||
<f:render section="Field" arguments="{property: 'email', label: 'E-Mail'}"/>
|
||||
<div class="mb-4">
|
||||
<f:form.validationResults for="subscriptionRequest.consent">
|
||||
<label class="inline-flex items-center">
|
||||
<f:form.checkbox property="consent" value="1" class="form-checkbox{f:if(condition: validationResults.errors.0, then: ' form-checkbox--has-error')}"/>
|
||||
<span class="block ml-2">Ich akzeptiere die <f:link.typolink parameter="{settings.dataProtectionPageUid}" class="underline" target="_blank">Datenschutzbestimmungen</f:link.typolink>*</span>
|
||||
</label>
|
||||
<f:if condition="{validationResults.flattenedErrors}">
|
||||
<div class="text-red-500 mt-2" role="alert">
|
||||
<f:for each="{validationResults.errors}" as="error">
|
||||
{f:translate(key: 'tx_eptheme.message.newsletter.consent.{error.code}', extensionName: 'ep_theme')}
|
||||
<br />
|
||||
</f:for>
|
||||
</div>
|
||||
</f:if>
|
||||
</f:form.validationResults>
|
||||
</div>
|
||||
<div class="hidden lg:block">
|
||||
<button type="submit" class="button bg-button">
|
||||
Anmelden
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div>
|
||||
<f:form.validationResults for="subscriptionRequest.listIds">
|
||||
<f:for each="{lists}" as="list" iteration="iteration">
|
||||
<f:comment><!-- show different headline for first newsletter in list --></f:comment>
|
||||
<f:if condition="{iteration.isFirst}">
|
||||
<f:then>
|
||||
<h3>
|
||||
News & Angebote per Mail
|
||||
</h3>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<f:comment><!-- show headline only once --></f:comment>
|
||||
<f:if condition="{alertHeadline}">
|
||||
<f:else>
|
||||
<f:variable name="alertHeadline" value="1"/>
|
||||
<h3 class="pt-4">
|
||||
Benachrichtige mich bei Verfügbarkeit
|
||||
</h3>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</f:else>
|
||||
</f:if>
|
||||
<label for="list-{list.id}" class="flex items-center">
|
||||
<f:form.checkbox property="listIds" multiple="1" value="{list.id}" class="form-checkbox"/>
|
||||
<span class="block ml-2">{list.label}</span>
|
||||
</label>
|
||||
</f:for>
|
||||
<f:if condition="{validationResults.flattenedErrors}">
|
||||
<div class="text-red-500 mt-2" role="alert">
|
||||
<f:for each="{validationResults.errors}" as="error">
|
||||
{f:translate(key: 'tx_eptheme.message.newsletter.listIds.{error.code}', extensionName: 'ep_theme')}
|
||||
<br />
|
||||
</f:for>
|
||||
</div>
|
||||
</f:if>
|
||||
</f:form.validationResults>
|
||||
</div>
|
||||
</div>
|
||||
<div class="lg:hidden mt-4">
|
||||
<button type="submit" class="button bg-button">
|
||||
Anmelden
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</f:form>
|
||||
</div>
|
||||
</f:section>
|
||||
|
||||
<f:section name="Field">
|
||||
<f:form.validationResults for="subscriptionRequest.{property}">
|
||||
<f:variable name="hasErrors" value="{validationResults.errors.0}"/>
|
||||
<label class="block mb-4">
|
||||
<span class="{f:if(condition: hasErrors, then: 'text-red-500', else: 'text-zinc-700')}">{label}*</span>
|
||||
<f:form.textfield property="{property}" class="form-field {f:if(condition: hasErrors, then: 'form-field--has-error')}"/>
|
||||
<f:if condition="{validationResults.flattenedErrors}">
|
||||
<div class="text-red-500 mt-2" role="alert">
|
||||
<f:for each="{validationResults.errors}" as="error">
|
||||
{f:translate(key: 'tx_eptheme.message.contactForm.{property}.{error.code}', extensionName: 'ep_theme')}
|
||||
<br />
|
||||
</f:for>
|
||||
</div>
|
||||
</f:if>
|
||||
</label>
|
||||
</f:form.validationResults>
|
||||
</f:section>
|
||||
|
||||
</html>
|
||||
@@ -1,23 +0,0 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
|
||||
xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">
|
||||
|
||||
<f:layout name="Default"/>
|
||||
|
||||
<f:section name="Main">
|
||||
<div class="container">
|
||||
<div class="bg-ep-primary-light text-white p-4">
|
||||
<h2>
|
||||
Vielen Dank für dein Interesse
|
||||
</h2>
|
||||
<p>
|
||||
Deine Anmeldung muss noch bestätigt werden. Bitte nutze den Link aus der Bestätigungs-E-Mail, die in
|
||||
Kürze bei dir eintreffen sollte.
|
||||
</p>
|
||||
<p class="text-sm">
|
||||
Sieh am besten auch im Spam-Ordner nach.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</f:section>
|
||||
|
||||
</html>
|
||||
Reference in new issue
Block a user