1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,85 +0,0 @@ |
1 |
-<?php |
|
2 |
- |
|
3 |
-/** |
|
4 |
- * Pagelist for Contao |
|
5 |
- * |
|
6 |
- * Copyright (c) 2015 Benjamin Roth |
|
7 |
- * |
|
8 |
- * @license LGPL-3.0+ |
|
9 |
- */ |
|
10 |
- |
|
11 |
-use Contao\CoreBundle\DataContainer\PaletteManipulator; |
|
12 |
- |
|
13 |
-/** |
|
14 |
- * Palettes |
|
15 |
- */ |
|
16 |
- |
|
17 |
-PaletteManipulator::create() |
|
18 |
- ->addLegend('sec_dl_legend', 'publish_legend', PaletteManipulator::POSITION_BEFORE) |
|
19 |
- ->addField('secureDownloadsEnabled', 'sec_dl_legend', PaletteManipulator::POSITION_APPEND) |
|
20 |
- ->applyToPalette('root', 'tl_page') |
|
21 |
- ->applyToPalette('rootfallback', 'tl_page'); |
|
22 |
- |
|
23 |
-$GLOBALS['TL_DCA']['tl_page']['palettes']['__selector__'][] = 'secureDownloadsEnabled'; |
|
24 |
-$GLOBALS['TL_DCA']['tl_page']['palettes']['__selector__'][] = 'sd_nc_enable'; |
|
25 |
-$GLOBALS['TL_DCA']['tl_page']['subpalettes']['secureDownloadsEnabled'] = 'secureDownloadsSRC,secureDownloadsTarget,secureDownloadsRegExp,secureDownloadsFields,sd_nc_enable'; |
|
26 |
-$GLOBALS['TL_DCA']['tl_page']['subpalettes']['sd_nc_enable'] = 'sd_nc_notification'; |
|
27 |
- |
|
28 |
- |
|
29 |
-/** |
|
30 |
- * Fields |
|
31 |
- */ |
|
32 |
-$GLOBALS['TL_DCA']['tl_page']['fields']['secureDownloadsEnabled'] = array |
|
33 |
-( |
|
34 |
- 'exclude' => true, |
|
35 |
- 'inputType' => 'checkbox', |
|
36 |
- 'eval' => array('submitOnChange' => true), |
|
37 |
- 'sql' => "char(1) NOT NULL default ''" |
|
38 |
-); |
|
39 |
-$GLOBALS['TL_DCA']['tl_page']['fields']['secureDownloadsSRC'] = array |
|
40 |
-( |
|
41 |
- 'exclude' => true, |
|
42 |
- 'inputType' => 'fileTree', |
|
43 |
- 'eval' => array('mandatory' => true, 'fieldType' => 'radio', 'tl_class' => 'clr'), |
|
44 |
- 'sql' => 'binary(16) NULL' |
|
45 |
-); |
|
46 |
- |
|
47 |
-$GLOBALS['TL_DCA']['tl_page']['fields']['secureDownloadsTarget'] = array |
|
48 |
-( |
|
49 |
- 'exclude' => true, |
|
50 |
- 'inputType' => 'fileTree', |
|
51 |
- 'eval' => array('mandatory' => true, 'fieldType' => 'radio', 'tl_class' => 'clr'), |
|
52 |
- 'sql' => 'binary(16) NULL' |
|
53 |
-); |
|
54 |
- |
|
55 |
-$GLOBALS['TL_DCA']['tl_page']['fields']['secureDownloadsRegExp'] = array |
|
56 |
-( |
|
57 |
- 'exclude' => true, |
|
58 |
- 'inputType' => 'text', |
|
59 |
- 'eval' => array('mandatory' => true, 'maxlength' => 64, 'preserveTags' => true, 'decodeEntities' => true), |
|
60 |
- 'sql' => 'varchar(64) NULL' |
|
61 |
-); |
|
62 |
- |
|
63 |
-$GLOBALS['TL_DCA']['tl_page']['fields']['secureDownloadsFields'] = array |
|
64 |
-( |
|
65 |
- 'exclude' => true, |
|
66 |
- 'inputType' => 'checkboxWizard', |
|
67 |
- 'eval' => array('mandatory' => true, 'multiple' => true), |
|
68 |
- 'sql' => 'varchar(255) NULL' |
|
69 |
-); |
|
70 |
- |
|
71 |
-$GLOBALS['TL_DCA']['tl_page']['fields']['sd_nc_enable'] = array |
|
72 |
-( |
|
73 |
- 'exclude' => true, |
|
74 |
- 'inputType' => 'checkbox', |
|
75 |
- 'eval' => array('tl_class' => 'w50 m12', 'submitOnChange' => true), |
|
76 |
- 'sql' => "char(1) NOT NULL default ''" |
|
77 |
-); |
|
78 |
- |
|
79 |
-$GLOBALS['TL_DCA']['tl_page']['fields']['sd_nc_notification'] = array |
|
80 |
-( |
|
81 |
- 'exclude' => true, |
|
82 |
- 'inputType' => 'select', |
|
83 |
- 'eval' => array('mandatory' => true, 'includeBlankOption' => true, 'chosen' => true, 'tl_class' => 'w50'), |
|
84 |
- 'sql' => "int(10) unsigned NOT NULL default '0'" |
|
85 |
-); |
86 | 0 |
deleted file mode 100644 |
... | ... |
@@ -1,32 +0,0 @@ |
1 |
-<?php |
|
2 |
- |
|
3 |
-/** |
|
4 |
- * Memberfiles for Contao |
|
5 |
- * |
|
6 |
- * Copyright (c) 2017 Benjamin Roth |
|
7 |
- * |
|
8 |
- * @license commercial |
|
9 |
- */ |
|
10 |
- |
|
11 |
-/** |
|
12 |
- * Files |
|
13 |
- */ |
|
14 |
-$GLOBALS['TL_LANG']['tl_page']['secureDownloadsEnabled'][0] = 'Sichere Mitglieder-Downloads aktivieren'; |
|
15 |
-$GLOBALS['TL_LANG']['tl_page']['secureDownloadsEnabled'][1] = 'Erlaubt es automatisiert abgesicherte Dateien für Mitglieder zu importieren.'; |
|
16 |
-$GLOBALS['TL_LANG']['tl_page']['secureDownloadsSRC'][0] = 'Import-Ordner'; |
|
17 |
-$GLOBALS['TL_LANG']['tl_page']['secureDownloadsSRC'][1] = 'Dateien in diesem Ordner werden zyklisch automatisiert verarbeitet.'; |
|
18 |
-$GLOBALS['TL_LANG']['tl_page']['secureDownloadsTarget'][0] = 'Ziel-Ordner'; |
|
19 |
-$GLOBALS['TL_LANG']['tl_page']['secureDownloadsTarget'][1] = 'Die verarbeiteten Dateien werden unterhalb dieses Ordners gespeichert.'; |
|
20 |
-$GLOBALS['TL_LANG']['tl_page']['secureDownloadsRegExp'][0] = 'Automatisierungs-Fragment RegExp(PCRE)'; |
|
21 |
-$GLOBALS['TL_LANG']['tl_page']['secureDownloadsRegExp'][1] = 'Regulärer Ausdruck um ein oder mehrere Zuordnungsfragmente aus dem Dateinamen zu extrahieren.'; |
|
22 |
-$GLOBALS['TL_LANG']['tl_page']['secureDownloadsFields'][0] = 'Fragment-Felder'; |
|
23 |
-$GLOBALS['TL_LANG']['tl_page']['secureDownloadsFields'][1] = 'Felder welche den Fragmenten zugeordnet werden.'; |
|
24 |
-$GLOBALS['TL_LANG']['tl_page']['sd_nc_enable'][0] = 'Benachrichtigung senden'; |
|
25 |
-$GLOBALS['TL_LANG']['tl_page']['sd_nc_enable'][1] = 'Sendet eine Benachrichtigung bei neuen Dateien.'; |
|
26 |
-$GLOBALS['TL_LANG']['tl_page']['sd_nc_notification*'][0] = 'Benachrichtigung'; |
|
27 |
-$GLOBALS['TL_LANG']['tl_page']['sd_nc_notification*'][1] = 'Die Benachrichtigung, welche gesendet werden soll.'; |
|
28 |
- |
|
29 |
-/** |
|
30 |
- * Legends |
|
31 |
- */ |
|
32 |
-$GLOBALS['TL_LANG']['tl_page']['sec_dl_legend'] = 'Sichere Mitglieder-Downloads'; |