/
tl_c4g_export.php
executable file
·75 lines (63 loc) · 3.71 KB
/
tl_c4g_export.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<?php
/*
* This file is part of con4gis,
* the gis-kit for Contao CMS.
*
* @package con4gis
* @version 6
* @author con4gis contributors (see "authors.txt")
* @license LGPL-3.0-or-later
* @copyright Küstenschmiede GmbH Software & Design
* @link https://www.con4gis.org
*/
/**
* Set Tablename
*/
$strName = 'tl_c4g_export';
/**
* Set Elementname
*/
$strElement = 'Export';
/**
* Fields
*/
$GLOBALS['TL_LANG'][$strName]['title'] = array('Title', 'Please enter the title.');
$GLOBALS['TL_LANG'][$strName]['srcdb'] = array('Database', 'Please choose the source database.');
$GLOBALS['TL_LANG'][$strName]['srctable'] = array('Table', 'Please choose the source table.');
$GLOBALS['TL_LANG'][$strName]['srcfields'] = array('Fields', 'Please choose the fields for export.');
$GLOBALS['TL_LANG'][$strName]['sendpermail'] = array('Send Export', 'Please choose whether to send the export via email.');
$GLOBALS['TL_LANG'][$strName]['mailaddress'] = array('Email Address', 'Please enter the email address.');
$GLOBALS['TL_LANG'][$strName]['saveexport'] = array('Save Export', 'Please choose whether to save the export.');
$GLOBALS['TL_LANG'][$strName]['savefolder'] = array('Save Location', '.Please choose the save location.');
$GLOBALS['TL_LANG'][$strName]['filterstring'] = array('Conditions', 'Enter additional conditions that will be attached to the WHERE-clause of the generated SQl statement.');
$GLOBALS['TL_LANG'][$strName]['exportheadlines']= array('Export Column Names', 'Please choose whether to write the column names into the first column in the export file.');
$GLOBALS['TL_LANG'][$strName]['usequeue'] = array('Process via Queue', 'Process task via queue.');
$GLOBALS['TL_LANG'][$strName]['useinterval'] = array('Interval Execution', 'Please choose whether to repeat the task in a set interval.');
$GLOBALS['TL_LANG'][$strName]['intervalkind'] = array('Interval', 'Please choose the interval in which to repeat the task.');
$GLOBALS['TL_LANG'][$strName]['intervalcount'] = array('Maximum Number of Executions', 'Please choose whether the task should finish after a set number of executions. Leave empty for infinite executions.');
/**
* Legends
*/
$GLOBALS['TL_LANG'][$strName]['title_legend'] = 'Title';
$GLOBALS['TL_LANG'][$strName]['srcdb_legend'] = 'Database';
$GLOBALS['TL_LANG'][$strName]['srctable_legend'] = 'Table';
$GLOBALS['TL_LANG'][$strName]['srcfields_legend'] = 'Fields';
$GLOBALS['TL_LANG'][$strName]['mail_legend'] = 'Mail Settingsw';
$GLOBALS['TL_LANG'][$strName]['save_legend'] = 'Save Location';
$GLOBALS['TL_LANG'][$strName]['filterstring_legend'] = 'Expert Settings';
$GLOBALS['TL_LANG'][$strName]['usequeue_legend'] = 'Queue Settings';
/**
* Reference
*/
$GLOBALS['TL_LANG'][$strName]['intervalkind_ref'] = array('hourly' => 'hourly', 'daily' => 'daily', 'weekly' => 'weekly', 'monthly' => 'monthly', 'yearly' => 'yearly');
/**
* Buttons
*/
$GLOBALS['TL_LANG'][$strName]['new'] = array('New ' . $strElement, 'New ' . $strElement . '');
$GLOBALS['TL_LANG'][$strName]['edit'] = array('Edit ' . $strElement, 'Edit ' . $strElement . ' with ID %s');
$GLOBALS['TL_LANG'][$strName]['copy'] = array('Copy ' . $strElement, 'Copy ' . $strElement . ' with ID %s');
$GLOBALS['TL_LANG'][$strName]['delete'] = array('Delete ' . $strElement, 'Delete ' . $strElement . ' with ID %s');
$GLOBALS['TL_LANG'][$strName]['show'] = array('Show ' . $strElement, 'Show details of the ' . $strElement . 'with ID %s');
$GLOBALS['TL_LANG'][$strName]['runexport'] = ["Run export", "Run the export with ID %s."];
/** Options */
$GLOBALS['TL_LANG'][$strName]['contaodb'] = 'Contao Database';