Browse code

Change wording and add missing labels

Benjamin Roth authored on11/01/2023 11:37:46
Showing1 changed files
... ...
@@ -15,7 +15,7 @@ use vonRotenberg\ModalBundle\Controller\ContentElement\ModalElementController;
15 15
 
16 16
 $GLOBALS['TL_LANG']['MOD']['modals'][0] = 'PopUp-Fenster';
17 17
 $GLOBALS['TL_LANG']['MOD']['modals'][1] = 'Verwalten von Popup-Konfigurationen';
18
-$GLOBALS['TL_LANG']['FMD'][ModalModuleController::TYPE][0] = 'Pop-Up';
19
-$GLOBALS['TL_LANG']['FMD'][ModalModuleController::TYPE][1] = 'Gibt eine Pop-Up Konfiguration aus.';
20
-$GLOBALS['TL_LANG']['CTE'][ModalElementController::TYPE][0] = 'Pop-Up';
21
-$GLOBALS['TL_LANG']['CTE'][ModalElementController::TYPE][1] = 'Gibt eine Pop-Up Konfiguration aus.';
18
+$GLOBALS['TL_LANG']['FMD'][ModalModuleController::TYPE][0] = 'PopUp';
19
+$GLOBALS['TL_LANG']['FMD'][ModalModuleController::TYPE][1] = 'Gibt eine PopUp Konfiguration aus.';
20
+$GLOBALS['TL_LANG']['CTE'][ModalElementController::TYPE][0] = 'PopUp';
21
+$GLOBALS['TL_LANG']['CTE'][ModalElementController::TYPE][1] = 'Gibt eine PopUp Konfiguration aus.';
Browse code

Finalize module and also provide content element

Benjamin Roth authored on10/01/2023 21:52:20
Showing1 changed files
... ...
@@ -11,8 +11,11 @@ declare(strict_types=1);
11 11
  */
12 12
 
13 13
 use vonRotenberg\ModalBundle\Controller\FrontendModule\ModalModuleController;
14
+use vonRotenberg\ModalBundle\Controller\ContentElement\ModalElementController;
14 15
 
15 16
 $GLOBALS['TL_LANG']['MOD']['modals'][0] = 'PopUp-Fenster';
16 17
 $GLOBALS['TL_LANG']['MOD']['modals'][1] = 'Verwalten von Popup-Konfigurationen';
17 18
 $GLOBALS['TL_LANG']['FMD'][ModalModuleController::TYPE][0] = 'Pop-Up';
18 19
 $GLOBALS['TL_LANG']['FMD'][ModalModuleController::TYPE][1] = 'Gibt eine Pop-Up Konfiguration aus.';
20
+$GLOBALS['TL_LANG']['CTE'][ModalElementController::TYPE][0] = 'Pop-Up';
21
+$GLOBALS['TL_LANG']['CTE'][ModalElementController::TYPE][1] = 'Gibt eine Pop-Up Konfiguration aus.';
Browse code

Change directory structure of bundle and add first draft of fragment controller module

Benjamin Roth authored on10/01/2023 14:11:33
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,18 @@
1
+<?php
2
+
3
+declare(strict_types=1);
4
+
5
+/*
6
+ * This file is part of modal bundle for Contao.
7
+ *
8
+ * (c) Benjamin Roth
9
+ *
10
+ * @license LGPL-3.0-or-later
11
+ */
12
+
13
+use vonRotenberg\ModalBundle\Controller\FrontendModule\ModalModuleController;
14
+
15
+$GLOBALS['TL_LANG']['MOD']['modals'][0] = 'PopUp-Fenster';
16
+$GLOBALS['TL_LANG']['MOD']['modals'][1] = 'Verwalten von Popup-Konfigurationen';
17
+$GLOBALS['TL_LANG']['FMD'][ModalModuleController::TYPE][0] = 'Pop-Up';
18
+$GLOBALS['TL_LANG']['FMD'][ModalModuleController::TYPE][1] = 'Gibt eine Pop-Up Konfiguration aus.';