From 1b1283a0da43a8ddeb7cf44fbe9121080cf34a1c Mon Sep 17 00:00:00 2001 From: fritzmg Date: Tue, 30 Sep 2025 19:21:24 +0100 Subject: [PATCH 1/2] Remove more Contao 5 references --- docs/dev/reference/services.md | 77 -------- .../back-end-keyboard-shortcuts.de.md | 15 -- .../back-end-keyboard-shortcuts.en.md | 17 +- .../content-elements/file-elements.de.md | 46 ----- .../content-elements/file-elements.en.md | 46 ----- .../content-elements/link-elements.de.md | 45 ----- .../content-elements/link-elements.en.md | 45 ----- .../content-elements/media-elements.de.md | 129 -------------- .../content-elements/media-elements.en.md | 130 -------------- .../content-elements/text-elements.de.md | 165 ----------------- .../content-elements/text-elements.en.md | 166 ------------------ 11 files changed, 1 insertion(+), 880 deletions(-) diff --git a/docs/dev/reference/services.md b/docs/dev/reference/services.md index 865ff4255..d2ba1bb43 100644 --- a/docs/dev/reference/services.md +++ b/docs/dev/reference/services.md @@ -262,8 +262,6 @@ class Example Not directly related to Contao, but this helper service from Symfony lets you retrieve the current Contao front end or back end user from the firewall. -{{< tabs groupid="services-contao4-contao5" style="code" >}} -{{% tab title="Contao 4" %}} ```php use Contao\BackendUser; use Contao\FrontendUser; @@ -304,50 +302,6 @@ class Example } } ``` -{{% /tab %}} -{{% tab title="Contao 5" %}} -```php -use Contao\BackendUser; -use Contao\FrontendUser; -use Symfony\Bundle\SecurityBundle\Security; - -class Example -{ - public function __construct(private readonly Security $security) - { - } - - public function execute() - { - // Check for admin back end user role - if ($this->security->isGranted('ROLE_ADMIN')) { - // … - } - - // Check for regular back end user role - if ($this->security->isGranted('ROLE_USER')) { - // … - } - - // Check for front end user role - if ($this->security->isGranted('ROLE_MEMBER')) { - // … - } - - // Get current back end user - if (($user = $this->security->getUser()) instanceof BackendUser) { - // … - } - - // Get current front end user - if (($user = $this->security->getUser()) instanceof FrontendUser) { - // … - } - } -} -``` -{{% /tab %}} -{{< /tabs >}} If you only need to check the authorization you can inject the `AuthorizationCheckerInterface` instead: @@ -426,8 +380,6 @@ class Example This service allows parsing *simple tokens*. See the [usage examples][SimpleTokenUsage] from the tests for more details. -{{< tabs groupid="services-contao4-contao5-simple-token-parser" style="code" >}} -{{% tab title="Contao 4" %}} ```php use Contao\CoreBundle\Util\SimpleTokenParser; @@ -453,35 +405,6 @@ class Example } } ``` -{{% /tab %}} -{{% tab title="Contao 5" %}} -```php -use Contao\CoreBundle\String\SimpleTokenParser; - -class Example -{ - public function __construct(private readonly SimpleTokenParser $parser) - { - } - - public function execute() - { - // Token replacement - $output = $this->parser->parse( - 'I like ##cms##.', - ['cms' => 'Contao'] - ); - - // Conditional expressions - $output = $this->parser->parse( - 'This is {if value>=10}big{else}small{endif}', - ['value' => 20] - ); - } -} -``` -{{% /tab %}} -{{< /tabs >}} ### Extending the parser diff --git a/docs/manual/administration-area/back-end-keyboard-shortcuts.de.md b/docs/manual/administration-area/back-end-keyboard-shortcuts.de.md index 8513bd6b6..e7550bb59 100644 --- a/docs/manual/administration-area/back-end-keyboard-shortcuts.de.md +++ b/docs/manual/administration-area/back-end-keyboard-shortcuts.de.md @@ -67,19 +67,6 @@ Im Modus »Mehrere bearbeiten« kommen weitere Kürzel hinzu: Elemente können durch Anklicken in den Bearbeitungsmodus geschaltet werden, ohne dass dazu das Bearbeiten-Icon verwendet werden muss. Folgende Aktionen werden unterstützt: -{{< tabs >}} -{{% tab title="Contao 5+" %}} -Windows: -- `[Ctrl] + Klick`: das Element bearbeiten -- `[Ctrl] + [Shift] + Klick`: die Kinder-Elemente bearbeiten - -macOS: - -- `[Cmd] + Klick`: das Element bearbeiten -- `[Cmd] + [Shift] + Klick`: die Kinder-Elemente bearbeiten -{{% /tab %}} - -{{% tab title="Contao 4" %}} Windows: - `[Ctrl] + Klick`: das Element bearbeiten - `[Ctrl] + [Shift] + Klick`: die Elementeinstellungen bearbeiten @@ -88,8 +75,6 @@ macOS: - `[Cmd] + Klick`: das Element bearbeiten - `[Cmd] + [Shift] + Klick`: die Elementeinstellungen bearbeiten -{{% /tab %}} -{{< /tabs >}} ## Tastaturkürzel unter Windows, Linux und Mac {#tastaturkuerzel-unter-windows-linux-und-mac} diff --git a/docs/manual/administration-area/back-end-keyboard-shortcuts.en.md b/docs/manual/administration-area/back-end-keyboard-shortcuts.en.md index bac7e5603..5024bc653 100644 --- a/docs/manual/administration-area/back-end-keyboard-shortcuts.en.md +++ b/docs/manual/administration-area/back-end-keyboard-shortcuts.en.md @@ -64,20 +64,6 @@ Further abbreviations are added in "Edit multiple" mode: You can edit elements by clicking them, without having to use the edit icon. The following actions are supported: -{{< tabs >}} -{{% tab title="Contao 5+" %}} -Windows: - -- `[Ctrl] + click`: edit the element -- `[Ctrl] + [Shift] + click`: edit the element's children - -macOS: - -- `[Cmd] + click`: edit the element -- `[Cmd] + [Shift] + click`: edit the element's children -{{% /tab %}} - -{{% tab title="Contao 4" %}} Windows: - `[Ctrl] + click`: edit the element @@ -87,8 +73,7 @@ macOS: - `[Cmd] + click`: edit the element - `[Cmd] + [Shift] + click`: edit the element settings -{{% /tab %}} -{{< /tabs >}} + ## Keyboard shortcuts under Windows, Linux and Mac diff --git a/docs/manual/article-management/content-elements/file-elements.de.md b/docs/manual/article-management/content-elements/file-elements.de.md index a318d1054..2de360da4 100644 --- a/docs/manual/article-management/content-elements/file-elements.de.md +++ b/docs/manual/article-management/content-elements/file-elements.de.md @@ -67,8 +67,6 @@ Download-Dateitypen« festgelegt hast. ### Template-Einstellungen -{{< tabs groupid="contao-version" style="code" >}} -{{% tab title="Contao 4" %}} **Inhaltselement-Template:** Hier kannst du das Inhaltselement-Template `ce_download` überschreiben. **HTML-Ausgabe** @@ -86,25 +84,6 @@ Das Element generiert folgenden HTML-Code:

``` -{{% /tab %}} -{{% tab title="Contao 5" %}} -**Inhaltselement-Template:** Hier kannst du das Inhaltselement-Template `content_element/download` überschreiben. - -**HTML-Ausgabe** -Das Element generiert folgenden HTML-Code: - -```html -
- -
- - - -
-
-``` -{{% /tab %}} -{{}} ## Downloads @@ -178,8 +157,6 @@ Download-Dateitypen« festgelegt hast. ### Template-Einstellungen -{{< tabs groupid="contao-version" style="code" >}} -{{% tab title="Contao 4" %}} **Inhaltselement-Template:** Hier kannst du das Inhaltselement-Template `ce_downloads` überschreiben. **HTML-Ausgabe** @@ -199,26 +176,3 @@ Das Element generiert folgenden HTML-Code: ``` -{{% /tab %}} -{{% tab title="Contao 5" %}} -**Inhaltselement-Template:** Hier kannst du das Inhaltselement-Template `content_elements/downloads` überschreiben. - -**HTML-Ausgabe** -Das Element generiert folgenden HTML-Code: - -```html -
- -
-``` -{{% /tab %}} -{{}} diff --git a/docs/manual/article-management/content-elements/file-elements.en.md b/docs/manual/article-management/content-elements/file-elements.en.md index 83693db69..17d2e4663 100644 --- a/docs/manual/article-management/content-elements/file-elements.en.md +++ b/docs/manual/article-management/content-elements/file-elements.en.md @@ -64,8 +64,6 @@ file types". ### Template settings -{{< tabs groupid="contao-version" style="code" >}} -{{% tab title="Contao 4" %}} **Content element template:** Here you can overwrite the content element `ce_download` template. **HTML Output** @@ -83,25 +81,6 @@ The element generates the following HTML code:

``` -{{% /tab %}} -{{% tab title="Contao 5" %}} -**Content element template:** Here you can overwrite the content element `content_element/download` template. - -**HTML Output** -The element generates the following HTML code: - -```html -
- -
- - - -
-
-``` -{{% /tab %}} -{{}} ## Downloads @@ -169,8 +148,6 @@ types". ### Template settings -{{< tabs groupid="contao-version" style="code" >}} -{{% tab title="Contao 4" %}} **Content element template:** Here you can overwrite the content element `ce_downloads` template. **HTML Output** @@ -190,26 +167,3 @@ The element generates the following HTML code: ``` -{{% /tab %}} -{{% tab title="Contao 5" %}} -**Content element template:** Here you can overwrite the content element `content_elements/downloads` template. - -**HTML Output** -The element generates the following HTML code: - -```html -
- -
-``` -{{% /tab %}} -{{}} \ No newline at end of file diff --git a/docs/manual/article-management/content-elements/link-elements.de.md b/docs/manual/article-management/content-elements/link-elements.de.md index 4c9455885..4c52bbb3b 100644 --- a/docs/manual/article-management/content-elements/link-elements.de.md +++ b/docs/manual/article-management/content-elements/link-elements.de.md @@ -61,8 +61,6 @@ Suchmaschinen ausgewertet und sind daher ein wichtiges Instrument der Onpage-Opt ### Template-Einstellungen -{{< tabs groupid="contao-version" style="code" >}} -{{% tab title="Contao 4" %}} **Inhaltselement-Template:** Hier kannst du das Inhaltselement-Template `ce_hyperlink` überschreiben. **HTML-Ausgabe** @@ -86,33 +84,6 @@ Wird ein Bildlink verwendet, sieht die HTML-Ausgabe wie folgt aus: ``` -{{% /tab %}} -{{% tab title="Contao 5" %}} -**Inhaltselement-Template:** Hier kannst du das Inhaltselement-Template `content_element/hyperlink` überschreiben. - -**HTML-Ausgabe** -Das Element generiert folgenden HTML-Code: - -```html - -``` - -Wird ein Bildlink verwendet, sieht die HTML-Ausgabe wie folgt aus: - -```html - -``` -{{% /tab %}} -{{}} ## Top-Link @@ -129,8 +100,6 @@ Standardbezeichnung »Nach oben« verwendet. ### Template-Einstellungen -{{< tabs groupid="contao-version" style="code" >}} -{{% tab title="Contao 4" %}} **Inhaltselement-Template:** Hier kannst du das Inhaltselement-Template `ce_toplink` überschreiben. **HTML-Ausgabe** @@ -141,17 +110,3 @@ Das Element generiert folgenden HTML-Code: Nach oben ``` -{{% /tab %}} -{{% tab title="Contao 5" %}} -**Inhaltselement-Template:** Hier kannst du das Inhaltselement-Template `content_element/toplink` überschreiben. - -**HTML-Ausgabe** -Das Element generiert folgenden HTML-Code: - -```html - -``` -{{% /tab %}} -{{}} \ No newline at end of file diff --git a/docs/manual/article-management/content-elements/link-elements.en.md b/docs/manual/article-management/content-elements/link-elements.en.md index 3f23d2a7c..03431df4d 100644 --- a/docs/manual/article-management/content-elements/link-elements.en.md +++ b/docs/manual/article-management/content-elements/link-elements.en.md @@ -60,8 +60,6 @@ tool for onpage optimization. ### Template settings -{{< tabs groupid="contao-version" style="code" >}} -{{% tab title="Contao 4" %}} **Content element template:** Here you can overwrite the standard `ce_hyperlink` template. **HTML Output** @@ -85,33 +83,6 @@ If an image link is used, the HTML output looks like this: ``` -{{% /tab %}} -{{% tab title="Contao 5" %}} -**Content element template:** Here you can overwrite the standard `content_element/hyperlink` template. - -**HTML Output** -The element generates the following HTML code: - -```html - -``` - -If an image link is used, the HTML output looks like this: - -```html - -``` -{{% /tab %}} -{{}} ## Top link @@ -125,8 +96,6 @@ The content element "Top-Link" adds a link to the article, with which you can ju ### Template settings -{{< tabs groupid="contao-version" style="code" >}} -{{% tab title="Contao 4" %}} **Content element template**: Here you can overwrite the content element `ce_toplink` template. **HTML output** @@ -137,17 +106,3 @@ The element generates the following HTML code: Nach oben ``` -{{% /tab %}} -{{% tab title="Contao 5" %}} -**Content element template**: Here you can overwrite the content element `content_element/toplink` template. - -**HTML output** -The element generates the following HTML code: - -```html - -``` -{{% /tab %}} -{{}} \ No newline at end of file diff --git a/docs/manual/article-management/content-elements/media-elements.de.md b/docs/manual/article-management/content-elements/media-elements.de.md index 1a9046b30..08ec89e7a 100644 --- a/docs/manual/article-management/content-elements/media-elements.de.md +++ b/docs/manual/article-management/content-elements/media-elements.de.md @@ -43,8 +43,6 @@ möglich ist. ### Template-Einstellungen -{{< tabs groupid="contao-version" style="code" >}} -{{% tab title="Contao 4" %}} **Inhaltselement-Template:** Hier kannst du das Inhaltselement-Template `ce_image` überschreiben. **HTML-Ausgabe** @@ -60,25 +58,6 @@ Das Element generiert folgenden HTML-Code: ``` -{{% /tab %}} -{{% tab title="Contao 5" %}} -**Inhaltselement-Template:** Hier kannst du das Inhaltselement-Template `content_element/image` überschreiben. - -**HTML-Ausgabe** -Das Element generiert folgenden HTML-Code: - -```html -
-
- - … - -
-
-
-``` -{{% /tab %}} -{{}} ## Galerie @@ -131,8 +110,6 @@ Lightbox geöffnet (dazu ist JavaScript erforderlich). **Galerietemplate:** Hier kannst du das Galerietemplate überschreiben. -{{< tabs groupid="contao-version" style="code" >}} -{{% tab title="Contao 4" %}} **Inhaltselement-Template:** Hier kannst du das Inhaltselement-Template `ce_gallery` überschreiben. **HTML-Ausgabe** @@ -168,41 +145,6 @@ Das Element generiert folgenden HTML-Code: ``` -{{% /tab %}} -{{% tab title="Contao 5" %}} -**Inhaltselement-Template:** Hier kannst du das Inhaltselement-Template `content_element/gallery` überschreiben. - -**HTML-Ausgabe** -Das Element generiert folgenden HTML-Code: - -```html - -``` -{{% /tab %}} -{{}} ## Video/Audio @@ -248,8 +190,6 @@ deaktivieren. ### Template-Einstellungen -{{< tabs groupid="contao-version" style="code" >}} -{{% tab title="Contao 4" %}} **Inhaltselement-Template:** Hier kannst du das Inhaltselement-Template `ce_player` überschreiben. **HTML-Ausgabe** @@ -265,25 +205,6 @@ Das Element generiert folgenden HTML-Code: ``` -{{% /tab %}} -{{% tab title="Contao 5" %}} -**Inhaltselement-Template:** Hier kannst du das Inhaltselement-Template `content_element/player` überschreiben. - -**HTML-Ausgabe** -Das Element generiert folgenden HTML-Code: - -```html -
-
- -
……
-
-
-``` -{{% /tab %}} -{{}} ## Vimeo @@ -333,8 +254,6 @@ Abschnitt [Text](/de/artikelverwaltung/inhaltselemente/text-elemente/#bildeinste ### Template-Einstellungen -{{< tabs groupid="contao-version" style="code" >}} -{{% tab title="Contao 4" %}} **Inhaltselement-Template:** Hier kannst du das Inhaltselement-Template `ce_vimeo` überschreiben. **HTML-Ausgabe** @@ -363,29 +282,6 @@ Das Element generiert folgenden HTML-Code: ``` -{{% /tab %}} -{{% tab title="Contao 5" %}} -**Inhaltselement-Template:** Hier kannst du das Inhaltselement-Template `content_element/vimeo` überschreiben. - -**HTML-Ausgabe** -Das Element generiert folgenden HTML-Code: - -```html -
-
- -
-
-
-``` -{{% /tab %}} -{{}} ## YouTube @@ -440,8 +336,6 @@ Abschnitt [Text](/de/artikelverwaltung/inhaltselemente/text-elemente/#bildeinste ### Template-Einstellungen -{{< tabs groupid="contao-version" style="code" >}} -{{% tab title="Contao 4" %}} **Inhaltselement-Template:** Hier kannst du das Inhaltselement-Template `ce_youtube` überschreiben. **HTML-Ausgabe** @@ -472,26 +366,3 @@ Das Element generiert folgenden HTML-Code: ``` -{{% /tab %}} -{{% tab title="Contao 5" %}} -**Inhaltselement-Template:** Hier kannst du das Inhaltselement-Template `content_element/youtube` überschreiben. - -**HTML-Ausgabe** -Das Element generiert folgenden HTML-Code: - -```html -
-
- -
-
-
-``` -{{% /tab %}} -{{}} diff --git a/docs/manual/article-management/content-elements/media-elements.en.md b/docs/manual/article-management/content-elements/media-elements.en.md index 831985d65..dac7269b8 100644 --- a/docs/manual/article-management/content-elements/media-elements.en.md +++ b/docs/manual/article-management/content-elements/media-elements.en.md @@ -41,8 +41,6 @@ to an image link). Please note that for a linked image a lightbox full view is n ### Template settings -{{< tabs groupid="contao-version" style="code" >}} -{{% tab title="Contao 4" %}} **Content element template:** Here you can overwrite the content element `ce_image` template. **HTML output** @@ -58,26 +56,6 @@ The element generates the following HTML code: ``` -{{% /tab %}} -{{% tab title="Contao 5" %}} -**Content element template:** Here you can overwrite the content element `content_element/image` template. - -**HTML output** -The element generates the following HTML code: - -```html -
-
- - … - -
-
-
-``` -{{% /tab %}} -{{}} - ## Gallery @@ -129,8 +107,6 @@ when clicked (JavaScript is required for this). **Gallery template**: Here you can overwrite the gallery template. -{{< tabs groupid="contao-version" style="code" >}} -{{% tab title="Contao 4" %}} **Content element template**: Here you can overwrite the content element `ce_gallery` template. **HTML Output** @@ -166,41 +142,6 @@ The element generates the following HTML code: ``` -{{% /tab %}} -{{% tab title="Contao 5" %}} -**Content element template**: Here you can overwrite the content element `content_element/gallery` template. - -**HTML Output** -The element generates the following HTML code: - -```html - -``` -{{% /tab %}} -{{}} ## Video/Audio @@ -242,8 +183,6 @@ entire video)", "Metadata (preload the metadata only)" and "None (do not preload ### Template settings -{{< tabs groupid="contao-version" style="code" >}} -{{% tab title="Contao 4" %}} **Content element template:** Here you can overwrite the content element `ce_player` template. **HTML Output** @@ -259,25 +198,6 @@ The element generates the following HTML code: ``` -{{% /tab %}} -{{% tab title="Contao 5" %}} -**Content element template:** Here you can overwrite the content element `content_element/player` template. - -**HTML Output** -The element generates the following HTML code: - -```html -
-
- -
……
-
-
-``` -{{% /tab %}} -{{}} ## Vimeo @@ -323,8 +243,6 @@ The content element "Vimeo" adds a Vimeo video to the article. ### Template settings -{{< tabs groupid="contao-version" style="code" >}} -{{% tab title="Contao 4" %}} **Content element template**: Here you can overwrite the content element `ce_vimeo` template. **HTML Output** @@ -353,29 +271,6 @@ The element generates the following HTML code: ``` -{{% /tab %}} -{{% tab title="Contao 5" %}} -**Content element template**: Here you can overwrite the content element `content_element/vimeo` template. - -**HTML Output** -The element generates the following HTML code: - -```html -
-
- -
-
-
-``` -{{% /tab %}} -{{}} ## YouTube @@ -426,8 +321,6 @@ The YouTube content element adds a YouTube video to the article. ### Template settings -{{< tabs groupid="contao-version" style="code" >}} -{{% tab title="Contao 4" %}} **Content element template**: Here you can overwrite the content element `ce_youtube` template. **HTML Output** @@ -458,26 +351,3 @@ The element generates the following HTML code: ``` -{{% /tab %}} -{{% tab title="Contao 5" %}} -**Content element template**: Here you can overwrite the content element `content_element/youtube` template. - -**HTML Output** -The element generates the following HTML code: - -```html -
-
- -
-
-
-``` -{{% /tab %}} -{{}} \ No newline at end of file diff --git a/docs/manual/article-management/content-elements/text-elements.de.md b/docs/manual/article-management/content-elements/text-elements.de.md index eaee28824..47d8462f8 100644 --- a/docs/manual/article-management/content-elements/text-elements.de.md +++ b/docs/manual/article-management/content-elements/text-elements.de.md @@ -49,8 +49,6 @@ Verfügung: ### Template-Einstellungen -{{< tabs groupid="contao-version" style="code" >}} -{{% tab title="Contao 4" %}} **Inhaltselement-Template:** Hier kannst du das Inhaltselement-Template `ce_code` überschreiben. **HTML-Ausgabe** @@ -63,22 +61,6 @@ Das Element generiert folgenden HTML-Code: ``` -{{% /tab %}} -{{% tab title="Contao 5" %}} -**Inhaltselement-Template:** Hier kannst du das Inhaltselement-Template `content_element/code` überschreiben. - -**HTML-Ausgabe** -Das Element generiert folgenden HTML-Code: - -```html -
-
-        
-    
-
-``` -{{% /tab %}} -{{}} ### Listeneinträge @@ -119,8 +101,6 @@ niedrigere Überschriften abbilden und natürlich mehrfach vorkommen. ### Template-Einstellungen -{{< tabs groupid="contao-version" style="code" >}} -{{% tab title="Contao 4" %}} **Inhaltselement-Template:** Hier kannst du das Inhaltselement-Template `ce_headline` überschreiben. **HTML-Ausgabe** @@ -129,19 +109,6 @@ Das Element generiert folgenden HTML-Code: ```html

``` -{{% /tab %}} -{{% tab title="Contao 5" %}} -**Inhaltselement-Template:** Hier kannst du das Inhaltselement-Template `content_element/headline` überschreiben. - -**HTML-Ausgabe** -Das Element generiert folgenden HTML-Code: - -```html -

-``` -{{% /tab %}} -{{}} - ## HTML @@ -157,19 +124,11 @@ erlaubt sind. Die Liste der erlaubten Tags findest du in den Backend-Einstellung ### Template-Einstellungen -{{< tabs groupid="contao-version" style="code" >}} -{{% tab title="Contao 4" %}} **Inhaltselement-Template:** Hier kannst du das Inhaltselement-Template `ce_html` überschreiben. -{{% /tab %}} -{{% tab title="Contao 5" %}} -**Inhaltselement-Template:** Hier kannst du das Inhaltselement-Template `content_element/html` überschreiben. -{{% /tab %}} -{{}} Das Inhaltselement hat kein umschließenden HTML-Markup. - ## Aufzählung {#aufzaehlung} Das Inhaltselement »Aufzählung« fügt dem Artikel eine nicht verschachtelte Liste hinzu. Du kannst zwischen einer @@ -192,8 +151,6 @@ importieren kannst. Die CSV-Datei musst du vorher in das Upload-Verzeichnis übe ### Template-Einstellungen -{{< tabs groupid="contao-version" style="code" >}} -{{% tab title="Contao 4" %}} **Inhaltselement-Template:** Hier kannst du das Inhaltselement-Template `ce_list` überschreiben. **HTML-Ausgabe** @@ -208,24 +165,6 @@ Das Element generiert folgenden HTML-Code: ``` -{{% /tab %}} -{{% tab title="Contao 5" %}} -**Inhaltselement-Template:** Hier kannst du das Inhaltselement-Template `content_element/list` überschreiben. - -**HTML-Ausgabe** -Das Element generiert folgenden HTML-Code: - -```html -
- -
-``` -{{% /tab %}} -{{}} Eine nummerierte Aufzählung verwendet das `
    `-Tag statt des ` ``` -{{% /tab %}} -{{% tab title="Contao 5" %}} -**Content element template:** Here you can overwrite the content element `content_element/list` template. - -**HTML Output** -The element generates the following HTML code: - -```html -
    -
      -
    • -
    • -
    • -
    -
    -``` -{{% /tab %}} -{{}} A numbered enumeration uses the `
      ` tag instead of the `
        ` tag. @@ -246,8 +185,6 @@ The content element "Markdown" is used to generate HTML code from a markdown tex ### Template settings -{{< tabs groupid="contao-version" style="code" >}} -{{% tab title="Contao 4" %}} **Content element template:** Here you can `ce_markdown` overwrite the content element template. **HTML Output** @@ -261,22 +198,6 @@ The element generates the following HTML code: ``` -{{% /tab %}} -{{% tab title="Contao 5" %}} -**Content element template:** Here you can `content_element/markdown` overwrite the content element template. - -**HTML Output** -The element generates the following HTML code: - -```html -
        -

        -

        -
        -``` -{{% /tab %}} -{{}} - Below are some examples of Markdown syntax: @@ -543,8 +464,6 @@ The count starts at 0. ### Template settings -{{< tabs groupid="contao-version" style="code" >}} -{{% tab title="Contao 4" %}} **Content element template:** Here you can overwrite the content element `ce_table` template. **HTML Output** @@ -591,57 +510,6 @@ The element generates the following HTML code: ``` -{{% /tab %}} -{{% tab title="Contao 5" %}} -**Content element template:** Here you can overwrite the content element `content_element/table` template. - -**HTML Output** -The element generates the following HTML code: - -```html -
        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        -
        -``` -{{% /tab %}} -{{}} - ## Text @@ -710,8 +578,6 @@ texts are also evaluated by search engines and are therefore an important tool f ### Template settings -{{< tabs groupid="contao-version" style="code" >}} -{{% tab title="Contao 4" %}} **Content element template:** Here you can overwrite the content element `ce_text` template. **HTML Output** @@ -736,38 +602,6 @@ If an image was added to the text, the HTML output looks like this:

        ``` -{{% /tab %}} -{{% tab title="Contao 5" %}} -**Content element template:** Here you can overwrite the content element `content_element/text` template. - -**HTML Output** -The element generates the following HTML code: - -```html -
        -

        -
        -

        -
        -
        -``` - -If an image was added to the text, the HTML output looks like this: - -```html -
        -

        -
        - … -
        -
        -
        -

        -
        -
        -``` -{{% /tab %}} -{{}} ### Template settings From bc14293c581554de7f08c8fa728a6eb4910dca79 Mon Sep 17 00:00:00 2001 From: fritzmg Date: Tue, 30 Sep 2025 19:33:18 +0100 Subject: [PATCH 2/2] Remove more Contao 5 refs --- .../core-extensions/news/news-management.de.md | 17 ----------------- .../core-extensions/news/news-management.en.md | 16 ---------------- .../layout/module-management/user-modules.de.md | 8 -------- .../layout/module-management/user-modules.en.md | 8 -------- 4 files changed, 49 deletions(-) diff --git a/docs/manual/core-extensions/news/news-management.de.md b/docs/manual/core-extensions/news/news-management.de.md index 83dae0e84..897244476 100644 --- a/docs/manual/core-extensions/news/news-management.de.md +++ b/docs/manual/core-extensions/news/news-management.de.md @@ -92,8 +92,6 @@ Seit Contao 4.4 wird diese Frage nur noch den Spambots »angezeigt«. ## RSS-Feeds -{{< tabs groupid="contaoVersion">}} -{{% tab title="Contao 4" %}} Jedes News- bzw. Blog-Archiv kann auf Wunsch als RSS/Atom-Feed exportiert werden. RSS-Feeds sind XML-Dateien mit deinen Beiträgen, die mit einem RSS-Reader abonniert und z. B. in eine andere Webseite eingebunden werden können. @@ -148,21 +146,6 @@ auswählen: | Proportional | Die längere Seite des Bildes wird an die vorgegebenen Abmessungen angepasst und das Bild proportional verkleinert. | | An Rahmen anpassen | Die kürzere Seite des Bildes wird an die vorgegebenen Abmessungen angepasst und das Bild proportional verkleinert. | -{{% /tab %}} -{{% tab title="Contao 5" %}} -Jedes News- bzw. Blog-Archiv kann auf Wunsch als RSS-, Atom- oder JSON-Feed exportiert werden. Feeds sind XML- und -JSON-Dateien mit deinen Beiträgen, die mit einem RSS-Reader abonniert und z. B. in eine andere Webseite eingebunden -werden können. - -Um einen News-Feed zu erstellen, wähle im Bereich »Seiten« den Seitentyp »[News-Feed](/de/seitenstruktur/news-feed/)« -aus und nehme die gewünschten Einstellungen für deinen Feed vor. - -Die Feeds können über das [Seitenlayout](/de/layout/theme-manager/seitenlayouts-verwalten/#rss-atom-feeds) im Kopfbereich -der Seite eingebaut werden. Mit »Kopfbereich« ist dabei nicht die Kopfzeile deines Seitenlayouts gemeint, sondern das -`head`-Tag des HTML-Quelltextes. -{{% /tab %}} -{{< /tabs >}} - ## Nachrichtenbeiträge {#nachrichtenbeitraege} diff --git a/docs/manual/core-extensions/news/news-management.en.md b/docs/manual/core-extensions/news/news-management.en.md index 50496fa2f..4d5497328 100644 --- a/docs/manual/core-extensions/news/news-management.en.md +++ b/docs/manual/core-extensions/news/news-management.en.md @@ -86,8 +86,6 @@ comment, you can disable the security question here. Since Contao 4.4, this ques ## RSS feeds -{{< tabs groupid="contaoVersion">}} -{{% tab title="Contao 4" %}} Every news or blog archive can be exported as RSS/Atom feed if desired. RSS feeds are XML files containing your news contributions, which can be subscribed to with an RSS reader and integrated into another website, for example. @@ -139,20 +137,6 @@ Contao installation. To make sure that the feed links to the correct domain, you | Proportional | The longer side of the image is adjusted to the given dimensions and the image is resized proportionally. | | Fit the box | The shorter side of the image is adjusted to the given dimensions and the image is resized proportionally. | -{{% /tab %}} -{{% tab title="Contao 5" %}} -Every news or blog archive can be exported as RSS/Atom or JSON feed if desired. RSS feeds are XML files containing your -news contributions, which can be subscribed to with an RSS reader and integrated into another website, for example. - -To create a news feed, select the page type [news feed](/en/site-structure/news-feed/) in the "Pages" area and make the -desired settings for your feed. - -The feeds can be integrated via the [page layout](/en/layout/theme-manager/manage-page-layouts/#rss-atom-feeds) in the -header of the page. The "header" is not the header of your page layout, but the tag `head` of the HTML source code. -{{% /tab %}} -{{< /tabs >}} - - ## News items diff --git a/docs/manual/layout/module-management/user-modules.de.md b/docs/manual/layout/module-management/user-modules.de.md index 6c3c178c4..77c496f33 100644 --- a/docs/manual/layout/module-management/user-modules.de.md +++ b/docs/manual/layout/module-management/user-modules.de.md @@ -134,8 +134,6 @@ Das Frontend-Modul generiert folgenden HTML-Code: ## Automatischer Logout -{{< tabs groupid="contaoVersion">}} -{{% tab title="Contao 4" %}} Das Frontend-Modul »Automatischer Logout« fügt der Webseite ein unsichtbares Modul hinzu, das einen angemeldeten Frontend-Benutzer automatisch abmeldet. @@ -152,12 +150,6 @@ wird. zur Weiterleitungsseite weitergeleitet. Das Modul erzeugt keine HTML-Ausgabe. -{{% /tab %}} -{{% tab title="Contao 5" %}} -Dieses Modul wurde durch den Seitentyp »[Abmelden](/de/seitenstruktur/abmelden/)« ersetzt, welches einen Abmelde-Link für -einen geschützten Bereich erstellt. -{{% /tab %}} -{{< /tabs >}} ## Personendaten diff --git a/docs/manual/layout/module-management/user-modules.en.md b/docs/manual/layout/module-management/user-modules.en.md index f4aae4abe..2a5f3818d 100644 --- a/docs/manual/layout/module-management/user-modules.en.md +++ b/docs/manual/layout/module-management/user-modules.en.md @@ -124,8 +124,6 @@ The front end module generates the following HTML code: ## Automatic logout -{{< tabs groupid="contaoVersion">}} -{{% tab title="Contao 4" %}} The front end module "Automatic logout" adds an invisible module to the website that automatically logs out a logged in front end user. @@ -141,12 +139,6 @@ which contain the login and the logout module. instead of the redirection page. The module does not generate HTML output. -{{% /tab %}} -{{% tab title="Contao 5" %}} -This module has been replaced by the "[Logout](/en/site-structure/logout/)" page type, which creates a logout link for -a protected area. -{{% /tab %}} -{{< /tabs >}} ## Personal data