Browse code

Make permissions more granular

Benjamin Roth authored on02/08/2023 22:20:40
Showing1 changed files
... ...
@@ -13,6 +13,8 @@ declare(strict_types=1);
13 13
 use Contao\DC_Table;
14 14
 use Contao\DataContainer;
15 15
 
16
+$GLOBALS['TL_LANG']['tl_user_group']['modals'][0] = 'PopUps';
17
+$GLOBALS['TL_LANG']['tl_user_group']['modals'][1] = 'Hier können Sie den Zugriff auf ein oder mehrere PopUps erlauben.';
16 18
 $GLOBALS['TL_LANG']['tl_user_group']['modalp'][0] = 'PopUp-Rechte';
17 19
 $GLOBALS['TL_LANG']['tl_user_group']['modalp'][1] = 'Hier können Sie PopUp-Rechte festlegen.';
18 20
 
Browse code

Add popup user privileges

Benjamin Roth authored on12/01/2023 22:23:51
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,19 @@
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 Contao\DC_Table;
14
+use Contao\DataContainer;
15
+
16
+$GLOBALS['TL_LANG']['tl_user_group']['modalp'][0] = 'PopUp-Rechte';
17
+$GLOBALS['TL_LANG']['tl_user_group']['modalp'][1] = 'Hier können Sie PopUp-Rechte festlegen.';
18
+
19
+$GLOBALS['TL_LANG']['tl_user_group']['modal_legend'] = 'PopUp-Rechte';