@@ -10,77 +10,77 @@ |
||
10 | 10 | */ |
11 | 11 | |
12 | 12 | return array ( |
13 | - 'ctrl' => array ( |
|
14 | - 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog', |
|
15 | - 'label' => 'label', |
|
16 | - 'crdate' => 'crdate', |
|
17 | - 'cruser_id' => 'user_id', |
|
18 | - 'default_sortby' => 'ORDER BY label', |
|
19 | - 'delete' => 'deleted', |
|
20 | - 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfreport.png', |
|
21 | - 'rootLevel' => 0, |
|
22 | - 'dividers2tabs' => 2, |
|
23 | - 'searchFields' => 'label,name,crdate', |
|
24 | - ), |
|
25 | - 'interface' => array ( |
|
26 | - 'showRecordFieldList' => 'label,name,crdate', |
|
27 | - 'maxDBListItems' => 25, |
|
28 | - 'maxSingleDBListItems' => 50, |
|
29 | - ), |
|
30 | - 'feInterface' => array ( |
|
31 | - 'fe_admin_fieldList' => '', |
|
32 | - ), |
|
33 | - 'columns' => array ( |
|
34 | - 'label' => array ( |
|
35 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.label', |
|
36 | - 'config' => array ( |
|
37 | - 'type' => 'input', |
|
38 | - 'size' => 30, |
|
39 | - 'max' => 255, |
|
40 | - 'eval' => 'required,trim', |
|
41 | - ), |
|
42 | - ), |
|
43 | - 'user_id' => array ( |
|
44 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.user_id', |
|
45 | - 'config' => array ( |
|
46 | - 'type' => 'input', |
|
47 | - 'size' => 30, |
|
48 | - 'max' => 255, |
|
49 | - 'eval' => 'alphanum,unique', |
|
50 | - ), |
|
51 | - ), |
|
52 | - 'file_name' => array ( |
|
53 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.file_name', |
|
54 | - 'config' => array ( |
|
55 | - 'type' => 'input', |
|
56 | - 'size' => 30, |
|
57 | - 'max' => 255, |
|
58 | - 'eval' => 'alphanum,unique', |
|
59 | - ), |
|
60 | - ), |
|
61 | - 'count_pages' => array ( |
|
62 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.count_pages', |
|
63 | - 'config' => array ( |
|
64 | - 'type' => 'input', |
|
65 | - 'size' => 30, |
|
66 | - 'max' => 255, |
|
67 | - 'eval' => 'trim', |
|
68 | - ), |
|
69 | - ), |
|
70 | - 'name' => array ( |
|
71 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.name', |
|
72 | - 'config' => array ( |
|
73 | - 'type' => 'input', |
|
74 | - 'size' => 30, |
|
75 | - 'max' => 255, |
|
76 | - 'eval' => 'trim', |
|
77 | - ), |
|
78 | - ) |
|
79 | - ), |
|
80 | - 'types' => array ( |
|
81 | - '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.tab1, label;;;;1-1-1, name;;;;2-2-2, file_name;;;;2-2-2, crdate;;;;2-2-2, count_pages;;;;2-2-2'), |
|
82 | - ), |
|
83 | - 'palettes' => array ( |
|
84 | - '1' => array ('showitem' => ''), |
|
85 | - ), |
|
13 | + 'ctrl' => array ( |
|
14 | + 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog', |
|
15 | + 'label' => 'label', |
|
16 | + 'crdate' => 'crdate', |
|
17 | + 'cruser_id' => 'user_id', |
|
18 | + 'default_sortby' => 'ORDER BY label', |
|
19 | + 'delete' => 'deleted', |
|
20 | + 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfreport.png', |
|
21 | + 'rootLevel' => 0, |
|
22 | + 'dividers2tabs' => 2, |
|
23 | + 'searchFields' => 'label,name,crdate', |
|
24 | + ), |
|
25 | + 'interface' => array ( |
|
26 | + 'showRecordFieldList' => 'label,name,crdate', |
|
27 | + 'maxDBListItems' => 25, |
|
28 | + 'maxSingleDBListItems' => 50, |
|
29 | + ), |
|
30 | + 'feInterface' => array ( |
|
31 | + 'fe_admin_fieldList' => '', |
|
32 | + ), |
|
33 | + 'columns' => array ( |
|
34 | + 'label' => array ( |
|
35 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.label', |
|
36 | + 'config' => array ( |
|
37 | + 'type' => 'input', |
|
38 | + 'size' => 30, |
|
39 | + 'max' => 255, |
|
40 | + 'eval' => 'required,trim', |
|
41 | + ), |
|
42 | + ), |
|
43 | + 'user_id' => array ( |
|
44 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.user_id', |
|
45 | + 'config' => array ( |
|
46 | + 'type' => 'input', |
|
47 | + 'size' => 30, |
|
48 | + 'max' => 255, |
|
49 | + 'eval' => 'alphanum,unique', |
|
50 | + ), |
|
51 | + ), |
|
52 | + 'file_name' => array ( |
|
53 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.file_name', |
|
54 | + 'config' => array ( |
|
55 | + 'type' => 'input', |
|
56 | + 'size' => 30, |
|
57 | + 'max' => 255, |
|
58 | + 'eval' => 'alphanum,unique', |
|
59 | + ), |
|
60 | + ), |
|
61 | + 'count_pages' => array ( |
|
62 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.count_pages', |
|
63 | + 'config' => array ( |
|
64 | + 'type' => 'input', |
|
65 | + 'size' => 30, |
|
66 | + 'max' => 255, |
|
67 | + 'eval' => 'trim', |
|
68 | + ), |
|
69 | + ), |
|
70 | + 'name' => array ( |
|
71 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.name', |
|
72 | + 'config' => array ( |
|
73 | + 'type' => 'input', |
|
74 | + 'size' => 30, |
|
75 | + 'max' => 255, |
|
76 | + 'eval' => 'trim', |
|
77 | + ), |
|
78 | + ) |
|
79 | + ), |
|
80 | + 'types' => array ( |
|
81 | + '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.tab1, label;;;;1-1-1, name;;;;2-2-2, file_name;;;;2-2-2, crdate;;;;2-2-2, count_pages;;;;2-2-2'), |
|
82 | + ), |
|
83 | + 'palettes' => array ( |
|
84 | + '1' => array ('showitem' => ''), |
|
85 | + ), |
|
86 | 86 | ); |
87 | 87 | \ No newline at end of file |
@@ -9,8 +9,8 @@ discard block |
||
9 | 9 | * LICENSE.txt file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -return array ( |
|
13 | - 'ctrl' => array ( |
|
12 | +return array( |
|
13 | + 'ctrl' => array( |
|
14 | 14 | 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog', |
15 | 15 | 'label' => 'label', |
16 | 16 | 'crdate' => 'crdate', |
@@ -22,54 +22,54 @@ discard block |
||
22 | 22 | 'dividers2tabs' => 2, |
23 | 23 | 'searchFields' => 'label,name,crdate', |
24 | 24 | ), |
25 | - 'interface' => array ( |
|
25 | + 'interface' => array( |
|
26 | 26 | 'showRecordFieldList' => 'label,name,crdate', |
27 | 27 | 'maxDBListItems' => 25, |
28 | 28 | 'maxSingleDBListItems' => 50, |
29 | 29 | ), |
30 | - 'feInterface' => array ( |
|
30 | + 'feInterface' => array( |
|
31 | 31 | 'fe_admin_fieldList' => '', |
32 | 32 | ), |
33 | - 'columns' => array ( |
|
34 | - 'label' => array ( |
|
33 | + 'columns' => array( |
|
34 | + 'label' => array( |
|
35 | 35 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.label', |
36 | - 'config' => array ( |
|
36 | + 'config' => array( |
|
37 | 37 | 'type' => 'input', |
38 | 38 | 'size' => 30, |
39 | 39 | 'max' => 255, |
40 | 40 | 'eval' => 'required,trim', |
41 | 41 | ), |
42 | 42 | ), |
43 | - 'user_id' => array ( |
|
43 | + 'user_id' => array( |
|
44 | 44 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.user_id', |
45 | - 'config' => array ( |
|
45 | + 'config' => array( |
|
46 | 46 | 'type' => 'input', |
47 | 47 | 'size' => 30, |
48 | 48 | 'max' => 255, |
49 | 49 | 'eval' => 'alphanum,unique', |
50 | 50 | ), |
51 | 51 | ), |
52 | - 'file_name' => array ( |
|
52 | + 'file_name' => array( |
|
53 | 53 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.file_name', |
54 | - 'config' => array ( |
|
54 | + 'config' => array( |
|
55 | 55 | 'type' => 'input', |
56 | 56 | 'size' => 30, |
57 | 57 | 'max' => 255, |
58 | 58 | 'eval' => 'alphanum,unique', |
59 | 59 | ), |
60 | 60 | ), |
61 | - 'count_pages' => array ( |
|
61 | + 'count_pages' => array( |
|
62 | 62 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.count_pages', |
63 | - 'config' => array ( |
|
63 | + 'config' => array( |
|
64 | 64 | 'type' => 'input', |
65 | 65 | 'size' => 30, |
66 | 66 | 'max' => 255, |
67 | 67 | 'eval' => 'trim', |
68 | 68 | ), |
69 | 69 | ), |
70 | - 'name' => array ( |
|
70 | + 'name' => array( |
|
71 | 71 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.name', |
72 | - 'config' => array ( |
|
72 | + 'config' => array( |
|
73 | 73 | 'type' => 'input', |
74 | 74 | 'size' => 30, |
75 | 75 | 'max' => 255, |
@@ -77,10 +77,10 @@ discard block |
||
77 | 77 | ), |
78 | 78 | ) |
79 | 79 | ), |
80 | - 'types' => array ( |
|
81 | - '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.tab1, label;;;;1-1-1, name;;;;2-2-2, file_name;;;;2-2-2, crdate;;;;2-2-2, count_pages;;;;2-2-2'), |
|
80 | + 'types' => array( |
|
81 | + '0' => array('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_actionlog.tab1, label;;;;1-1-1, name;;;;2-2-2, file_name;;;;2-2-2, crdate;;;;2-2-2, count_pages;;;;2-2-2'), |
|
82 | 82 | ), |
83 | - 'palettes' => array ( |
|
84 | - '1' => array ('showitem' => ''), |
|
83 | + 'palettes' => array( |
|
84 | + '1' => array('showitem' => ''), |
|
85 | 85 | ), |
86 | 86 | ); |
87 | 87 | \ No newline at end of file |
@@ -9,8 +9,8 @@ discard block |
||
9 | 9 | * LICENSE.txt file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -return array ( |
|
13 | - 'ctrl' => array ( |
|
12 | +return array( |
|
13 | + 'ctrl' => array( |
|
14 | 14 | 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures', |
15 | 15 | 'label' => 'label', |
16 | 16 | 'tstamp' => 'tstamp', |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | 'transOrigDiffSourceField' => 'l18n_diffsource', |
22 | 22 | 'default_sortby' => 'ORDER BY label', |
23 | 23 | 'delete' => 'deleted', |
24 | - 'enablecolumns' => array ( |
|
24 | + 'enablecolumns' => array( |
|
25 | 25 | 'disabled' => 'hidden', |
26 | 26 | ), |
27 | 27 | 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfstructures.png', |
@@ -30,106 +30,106 @@ discard block |
||
30 | 30 | 'searchFields' => 'label,index_name,oai_name', |
31 | 31 | 'requestUpdate' => 'toplevel', |
32 | 32 | ), |
33 | - 'feInterface' => array ( |
|
33 | + 'feInterface' => array( |
|
34 | 34 | 'fe_admin_fieldList' => '', |
35 | 35 | ), |
36 | - 'interface' => array ( |
|
36 | + 'interface' => array( |
|
37 | 37 | 'showRecordFieldList' => 'label,index_name,oai_name,toplevel', |
38 | 38 | ), |
39 | - 'columns' => array ( |
|
40 | - 'sys_language_uid' => array ( |
|
39 | + 'columns' => array( |
|
40 | + 'sys_language_uid' => array( |
|
41 | 41 | 'exclude' => 1, |
42 | 42 | 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.language', |
43 | - 'config' => array ( |
|
43 | + 'config' => array( |
|
44 | 44 | 'type' => 'select', |
45 | 45 | 'renderType' => 'selectSingle', |
46 | 46 | 'foreign_table' => 'sys_language', |
47 | 47 | 'foreign_table_where' => 'ORDER BY sys_language.title', |
48 | - 'items' => array ( |
|
49 | - array ('LLL:EXT:lang/locallang_general.xml:LGL.allLanguages', -1), |
|
50 | - array ('LLL:EXT:lang/locallang_general.xml:LGL.default_value', 0), |
|
48 | + 'items' => array( |
|
49 | + array('LLL:EXT:lang/locallang_general.xml:LGL.allLanguages', -1), |
|
50 | + array('LLL:EXT:lang/locallang_general.xml:LGL.default_value', 0), |
|
51 | 51 | ), |
52 | 52 | 'default' => 0 |
53 | 53 | ), |
54 | 54 | ), |
55 | - 'l18n_parent' => array ( |
|
55 | + 'l18n_parent' => array( |
|
56 | 56 | 'displayCond' => 'FIELD:sys_language_uid:>:0', |
57 | 57 | 'exclude' => 1, |
58 | 58 | 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.l18n_parent', |
59 | - 'config' => array ( |
|
59 | + 'config' => array( |
|
60 | 60 | 'type' => 'select', |
61 | 61 | 'renderType' => 'selectSingle', |
62 | - 'items' => array ( |
|
63 | - array ('', 0), |
|
62 | + 'items' => array( |
|
63 | + array('', 0), |
|
64 | 64 | ), |
65 | 65 | 'foreign_table' => 'tx_dlf_structures', |
66 | 66 | 'foreign_table_where' => 'AND tx_dlf_structures.pid=###CURRENT_PID### AND tx_dlf_structures.sys_language_uid IN (-1,0) ORDER BY label ASC', |
67 | 67 | ), |
68 | 68 | ), |
69 | - 'l18n_diffsource' => array ( |
|
70 | - 'config' => array ( |
|
69 | + 'l18n_diffsource' => array( |
|
70 | + 'config' => array( |
|
71 | 71 | 'type' => 'passthrough', |
72 | 72 | ), |
73 | 73 | ), |
74 | - 'hidden' => array ( |
|
74 | + 'hidden' => array( |
|
75 | 75 | 'exclude' => 1, |
76 | 76 | 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden', |
77 | - 'config' => array ( |
|
77 | + 'config' => array( |
|
78 | 78 | 'type' => 'check', |
79 | 79 | 'default' => 0, |
80 | 80 | ), |
81 | 81 | ), |
82 | - 'toplevel' => array ( |
|
82 | + 'toplevel' => array( |
|
83 | 83 | 'exclude' => 1, |
84 | 84 | 'l10n_mode' => 'exclude', |
85 | 85 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.toplevel', |
86 | - 'config' => array ( |
|
86 | + 'config' => array( |
|
87 | 87 | 'type' => 'check', |
88 | 88 | 'default' => 0, |
89 | 89 | ), |
90 | 90 | ), |
91 | - 'label' => array ( |
|
91 | + 'label' => array( |
|
92 | 92 | 'exclude' => 1, |
93 | 93 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.label', |
94 | - 'config' => array ( |
|
94 | + 'config' => array( |
|
95 | 95 | 'type' => 'input', |
96 | 96 | 'size' => 30, |
97 | 97 | 'max' => 255, |
98 | 98 | 'eval' => 'required,trim', |
99 | 99 | ), |
100 | 100 | ), |
101 | - 'index_name' => array ( |
|
101 | + 'index_name' => array( |
|
102 | 102 | 'exclude' => 1, |
103 | 103 | 'l10n_mode' => 'exclude', |
104 | 104 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.index_name', |
105 | - 'config' => array ( |
|
105 | + 'config' => array( |
|
106 | 106 | 'type' => 'input', |
107 | 107 | 'size' => 30, |
108 | 108 | 'max' => 255, |
109 | 109 | 'eval' => 'required,nospace,alphanum_x,uniqueInPid', |
110 | 110 | ), |
111 | 111 | ), |
112 | - 'oai_name' => array ( |
|
112 | + 'oai_name' => array( |
|
113 | 113 | 'exclude' => 1, |
114 | 114 | 'l10n_mode' => 'exclude', |
115 | 115 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.oai_name', |
116 | - 'config' => array ( |
|
116 | + 'config' => array( |
|
117 | 117 | 'type' => 'input', |
118 | 118 | 'size' => 30, |
119 | 119 | 'max' => 255, |
120 | 120 | 'eval' => 'trim', |
121 | 121 | ), |
122 | 122 | ), |
123 | - 'thumbnail' => array ( |
|
123 | + 'thumbnail' => array( |
|
124 | 124 | 'exclude' => 1, |
125 | 125 | 'l10n_mode' => 'exclude', |
126 | 126 | 'displayCond' => 'FIELD:toplevel:REQ:true', |
127 | 127 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.thumbnail', |
128 | - 'config' => array ( |
|
128 | + 'config' => array( |
|
129 | 129 | 'type' => 'select', |
130 | 130 | 'renderType' => 'selectSingle', |
131 | - 'items' => array ( |
|
132 | - array ('LLL:EXT:dlf/locallang.xml:tx_dlf_structures.thumbnail.self', 0), |
|
131 | + 'items' => array( |
|
132 | + array('LLL:EXT:dlf/locallang.xml:tx_dlf_structures.thumbnail.self', 0), |
|
133 | 133 | ), |
134 | 134 | 'foreign_table' => 'tx_dlf_structures', |
135 | 135 | 'foreign_table_where' => 'AND tx_dlf_structures.pid=###CURRENT_PID### AND tx_dlf_structures.toplevel=0 AND tx_dlf_structures.sys_language_uid IN (-1,0) ORDER BY tx_dlf_structures.label', |
@@ -139,14 +139,14 @@ discard block |
||
139 | 139 | 'default' => 0, |
140 | 140 | ), |
141 | 141 | ), |
142 | - 'status' => array ( |
|
142 | + 'status' => array( |
|
143 | 143 | 'exclude' => 1, |
144 | 144 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.status', |
145 | - 'config' => array ( |
|
145 | + 'config' => array( |
|
146 | 146 | 'type' => 'select', |
147 | 147 | 'renderType' => 'selectSingle', |
148 | - 'items' => array ( |
|
149 | - array ('LLL:EXT:dlf/locallang.xml:tx_dlf_structures.status.default', 0), |
|
148 | + 'items' => array( |
|
149 | + array('LLL:EXT:dlf/locallang.xml:tx_dlf_structures.status.default', 0), |
|
150 | 150 | ), |
151 | 151 | 'size' => 1, |
152 | 152 | 'minitems' => 1, |
@@ -155,10 +155,10 @@ discard block |
||
155 | 155 | ), |
156 | 156 | ), |
157 | 157 | ), |
158 | - 'types' => array ( |
|
159 | - '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_structures.tab1, toplevel;;;;1-1-1, label,--palette--;;1, thumbnail, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_structures.tab2, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_structures.tab3, hidden;;;;1-1-1, status;;;;2-2-2'), |
|
158 | + 'types' => array( |
|
159 | + '0' => array('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_structures.tab1, toplevel;;;;1-1-1, label,--palette--;;1, thumbnail, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_structures.tab2, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_structures.tab3, hidden;;;;1-1-1, status;;;;2-2-2'), |
|
160 | 160 | ), |
161 | - 'palettes' => array ( |
|
162 | - '1' => array ('showitem' => 'index_name, --linebreak--, oai_name', 'canNotCollapse' => 1), |
|
161 | + 'palettes' => array( |
|
162 | + '1' => array('showitem' => 'index_name, --linebreak--, oai_name', 'canNotCollapse' => 1), |
|
163 | 163 | ), |
164 | 164 | ); |
@@ -10,55 +10,55 @@ |
||
10 | 10 | */ |
11 | 11 | |
12 | 12 | return array ( |
13 | - 'ctrl' => array ( |
|
14 | - 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_mail', |
|
15 | - 'label' => 'label', |
|
16 | - 'default_sortby' => 'ORDER BY label', |
|
17 | - 'delete' => 'deleted', |
|
18 | - 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfemail.png', |
|
19 | - 'rootLevel' => 0, |
|
20 | - 'dividers2tabs' => 2, |
|
21 | - 'searchFields' => 'label,name,mail', |
|
22 | - ), |
|
23 | - 'interface' => array ( |
|
24 | - 'showRecordFieldList' => 'label,name,mail', |
|
25 | - ), |
|
26 | - 'feInterface' => array ( |
|
27 | - 'fe_admin_fieldList' => '', |
|
28 | - ), |
|
29 | - 'columns' => array ( |
|
30 | - 'label' => array ( |
|
31 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_mail', |
|
32 | - 'config' => array ( |
|
33 | - 'type' => 'input', |
|
34 | - 'size' => 30, |
|
35 | - 'max' => 255, |
|
36 | - 'eval' => 'required', |
|
37 | - ), |
|
38 | - ), |
|
39 | - 'name' => array ( |
|
40 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_mail.name', |
|
41 | - 'config' => array ( |
|
42 | - 'type' => 'input', |
|
43 | - 'size' => 30, |
|
44 | - 'max' => 255, |
|
45 | - 'eval' => '', |
|
46 | - ), |
|
47 | - ), |
|
48 | - 'mail' => array ( |
|
49 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_mail.mail', |
|
50 | - 'config' => array ( |
|
51 | - 'type' => 'input', |
|
52 | - 'size' => 30, |
|
53 | - 'max' => 255, |
|
54 | - 'eval' => 'unique', |
|
55 | - ), |
|
56 | - ), |
|
57 | - ), |
|
58 | - 'types' => array ( |
|
59 | - '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_mail.tab1, label;;;;1-1-1, name;;;;2-2-2, mail;;;;2-2-2'), |
|
60 | - ), |
|
61 | - 'palettes' => array ( |
|
62 | - '1' => array ('showitem' => ''), |
|
63 | - ), |
|
13 | + 'ctrl' => array ( |
|
14 | + 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_mail', |
|
15 | + 'label' => 'label', |
|
16 | + 'default_sortby' => 'ORDER BY label', |
|
17 | + 'delete' => 'deleted', |
|
18 | + 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfemail.png', |
|
19 | + 'rootLevel' => 0, |
|
20 | + 'dividers2tabs' => 2, |
|
21 | + 'searchFields' => 'label,name,mail', |
|
22 | + ), |
|
23 | + 'interface' => array ( |
|
24 | + 'showRecordFieldList' => 'label,name,mail', |
|
25 | + ), |
|
26 | + 'feInterface' => array ( |
|
27 | + 'fe_admin_fieldList' => '', |
|
28 | + ), |
|
29 | + 'columns' => array ( |
|
30 | + 'label' => array ( |
|
31 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_mail', |
|
32 | + 'config' => array ( |
|
33 | + 'type' => 'input', |
|
34 | + 'size' => 30, |
|
35 | + 'max' => 255, |
|
36 | + 'eval' => 'required', |
|
37 | + ), |
|
38 | + ), |
|
39 | + 'name' => array ( |
|
40 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_mail.name', |
|
41 | + 'config' => array ( |
|
42 | + 'type' => 'input', |
|
43 | + 'size' => 30, |
|
44 | + 'max' => 255, |
|
45 | + 'eval' => '', |
|
46 | + ), |
|
47 | + ), |
|
48 | + 'mail' => array ( |
|
49 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_mail.mail', |
|
50 | + 'config' => array ( |
|
51 | + 'type' => 'input', |
|
52 | + 'size' => 30, |
|
53 | + 'max' => 255, |
|
54 | + 'eval' => 'unique', |
|
55 | + ), |
|
56 | + ), |
|
57 | + ), |
|
58 | + 'types' => array ( |
|
59 | + '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_mail.tab1, label;;;;1-1-1, name;;;;2-2-2, mail;;;;2-2-2'), |
|
60 | + ), |
|
61 | + 'palettes' => array ( |
|
62 | + '1' => array ('showitem' => ''), |
|
63 | + ), |
|
64 | 64 | ); |
65 | 65 | \ No newline at end of file |
@@ -9,8 +9,8 @@ discard block |
||
9 | 9 | * LICENSE.txt file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -return array ( |
|
13 | - 'ctrl' => array ( |
|
12 | +return array( |
|
13 | + 'ctrl' => array( |
|
14 | 14 | 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_mail', |
15 | 15 | 'label' => 'label', |
16 | 16 | 'default_sortby' => 'ORDER BY label', |
@@ -20,34 +20,34 @@ discard block |
||
20 | 20 | 'dividers2tabs' => 2, |
21 | 21 | 'searchFields' => 'label,name,mail', |
22 | 22 | ), |
23 | - 'interface' => array ( |
|
23 | + 'interface' => array( |
|
24 | 24 | 'showRecordFieldList' => 'label,name,mail', |
25 | 25 | ), |
26 | - 'feInterface' => array ( |
|
26 | + 'feInterface' => array( |
|
27 | 27 | 'fe_admin_fieldList' => '', |
28 | 28 | ), |
29 | - 'columns' => array ( |
|
30 | - 'label' => array ( |
|
29 | + 'columns' => array( |
|
30 | + 'label' => array( |
|
31 | 31 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_mail', |
32 | - 'config' => array ( |
|
32 | + 'config' => array( |
|
33 | 33 | 'type' => 'input', |
34 | 34 | 'size' => 30, |
35 | 35 | 'max' => 255, |
36 | 36 | 'eval' => 'required', |
37 | 37 | ), |
38 | 38 | ), |
39 | - 'name' => array ( |
|
39 | + 'name' => array( |
|
40 | 40 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_mail.name', |
41 | - 'config' => array ( |
|
41 | + 'config' => array( |
|
42 | 42 | 'type' => 'input', |
43 | 43 | 'size' => 30, |
44 | 44 | 'max' => 255, |
45 | 45 | 'eval' => '', |
46 | 46 | ), |
47 | 47 | ), |
48 | - 'mail' => array ( |
|
48 | + 'mail' => array( |
|
49 | 49 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_mail.mail', |
50 | - 'config' => array ( |
|
50 | + 'config' => array( |
|
51 | 51 | 'type' => 'input', |
52 | 52 | 'size' => 30, |
53 | 53 | 'max' => 255, |
@@ -55,10 +55,10 @@ discard block |
||
55 | 55 | ), |
56 | 56 | ), |
57 | 57 | ), |
58 | - 'types' => array ( |
|
59 | - '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_mail.tab1, label;;;;1-1-1, name;;;;2-2-2, mail;;;;2-2-2'), |
|
58 | + 'types' => array( |
|
59 | + '0' => array('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_mail.tab1, label;;;;1-1-1, name;;;;2-2-2, mail;;;;2-2-2'), |
|
60 | 60 | ), |
61 | - 'palettes' => array ( |
|
62 | - '1' => array ('showitem' => ''), |
|
61 | + 'palettes' => array( |
|
62 | + '1' => array('showitem' => ''), |
|
63 | 63 | ), |
64 | 64 | ); |
65 | 65 | \ No newline at end of file |
@@ -9,8 +9,8 @@ discard block |
||
9 | 9 | * LICENSE.txt file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -return array ( |
|
13 | - 'ctrl' => array ( |
|
12 | +return array( |
|
13 | + 'ctrl' => array( |
|
14 | 14 | 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents', |
15 | 15 | 'label' => 'title', |
16 | 16 | 'tstamp' => 'tstamp', |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | 'cruser_id' => 'cruser_id', |
19 | 19 | 'default_sortby' => 'ORDER BY title_sorting', |
20 | 20 | 'delete' => 'deleted', |
21 | - 'enablecolumns' => array ( |
|
21 | + 'enablecolumns' => array( |
|
22 | 22 | 'disabled' => 'hidden', |
23 | 23 | 'starttime' => 'starttime', |
24 | 24 | 'endtime' => 'endtime', |
@@ -29,27 +29,27 @@ discard block |
||
29 | 29 | 'dividers2tabs' => 2, |
30 | 30 | 'searchFields' => 'title,volume,author,year,place,uid,prod_id,location,oai_id,opac_id,union_id,urn', |
31 | 31 | ), |
32 | - 'feInterface' => array ( |
|
32 | + 'feInterface' => array( |
|
33 | 33 | 'fe_admin_fieldList' => '', |
34 | 34 | ), |
35 | - 'interface' => array ( |
|
35 | + 'interface' => array( |
|
36 | 36 | 'showRecordFieldList' => 'title,volume,author,year,place,uid,prod_id,location,oai_id,opac_id,union_id,urn', |
37 | 37 | 'maxDBListItems' => 25, |
38 | 38 | 'maxSingleDBListItems' => 50, |
39 | 39 | ), |
40 | - 'columns' => array ( |
|
41 | - 'hidden' => array ( |
|
40 | + 'columns' => array( |
|
41 | + 'hidden' => array( |
|
42 | 42 | 'exclude' => 1, |
43 | 43 | 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden', |
44 | - 'config' => array ( |
|
44 | + 'config' => array( |
|
45 | 45 | 'type' => 'check', |
46 | 46 | 'default' => 0, |
47 | 47 | ), |
48 | 48 | ), |
49 | - 'starttime' => array ( |
|
49 | + 'starttime' => array( |
|
50 | 50 | 'exclude' => 1, |
51 | 51 | 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.starttime', |
52 | - 'config' => array ( |
|
52 | + 'config' => array( |
|
53 | 53 | 'type' => 'input', |
54 | 54 | 'size' => '13', |
55 | 55 | 'max' => '20', |
@@ -57,10 +57,10 @@ discard block |
||
57 | 57 | 'default' => '0', |
58 | 58 | ), |
59 | 59 | ), |
60 | - 'endtime' => array ( |
|
60 | + 'endtime' => array( |
|
61 | 61 | 'exclude' => 1, |
62 | 62 | 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.endtime', |
63 | - 'config' => array ( |
|
63 | + 'config' => array( |
|
64 | 64 | 'type' => 'input', |
65 | 65 | 'size' => '13', |
66 | 66 | 'max' => '20', |
@@ -68,16 +68,16 @@ discard block |
||
68 | 68 | 'default' => '0', |
69 | 69 | ), |
70 | 70 | ), |
71 | - 'fe_group' => array ( |
|
71 | + 'fe_group' => array( |
|
72 | 72 | 'exclude' => 1, |
73 | 73 | 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.fe_group', |
74 | - 'config' => array ( |
|
74 | + 'config' => array( |
|
75 | 75 | 'type' => 'select', |
76 | 76 | 'renderType' => 'selectMultipleSideBySide', |
77 | - 'items' => array ( |
|
78 | - array ('LLL:EXT:lang/locallang_general.xml:LGL.hide_at_login', -1), |
|
79 | - array ('LLL:EXT:lang/locallang_general.xml:LGL.any_login', -2), |
|
80 | - array ('LLL:EXT:lang/locallang_general.xml:LGL.usergroups', '--div--'), |
|
77 | + 'items' => array( |
|
78 | + array('LLL:EXT:lang/locallang_general.xml:LGL.hide_at_login', -1), |
|
79 | + array('LLL:EXT:lang/locallang_general.xml:LGL.any_login', -2), |
|
80 | + array('LLL:EXT:lang/locallang_general.xml:LGL.usergroups', '--div--'), |
|
81 | 81 | ), |
82 | 82 | 'foreign_table' => 'fe_groups', |
83 | 83 | 'size' => 5, |
@@ -87,148 +87,148 @@ discard block |
||
87 | 87 | 'exclusiveKeys' => '-1,-2', |
88 | 88 | ), |
89 | 89 | ), |
90 | - 'prod_id' => array ( |
|
90 | + 'prod_id' => array( |
|
91 | 91 | 'exclude' => 1, |
92 | 92 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.prod_id', |
93 | - 'config' => array ( |
|
93 | + 'config' => array( |
|
94 | 94 | 'type' => 'input', |
95 | 95 | 'size' => 30, |
96 | 96 | 'max' => 255, |
97 | 97 | 'eval' => 'nospace', |
98 | 98 | ), |
99 | 99 | ), |
100 | - 'location' => array ( |
|
100 | + 'location' => array( |
|
101 | 101 | 'exclude' => 1, |
102 | 102 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.location', |
103 | - 'config' => array ( |
|
103 | + 'config' => array( |
|
104 | 104 | 'type' => 'input', |
105 | 105 | 'size' => 30, |
106 | 106 | 'max' => 1024, |
107 | 107 | 'eval' => 'required,uniqueInPid', |
108 | 108 | ), |
109 | 109 | ), |
110 | - 'record_id' => array ( |
|
110 | + 'record_id' => array( |
|
111 | 111 | 'exclude' => 1, |
112 | 112 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.record_id', |
113 | - 'config' => array ( |
|
113 | + 'config' => array( |
|
114 | 114 | 'type' => 'input', |
115 | 115 | 'size' => 30, |
116 | 116 | 'max' => 255, |
117 | 117 | 'eval' => 'nospace,uniqueInPid', |
118 | 118 | ), |
119 | 119 | ), |
120 | - 'opac_id' => array ( |
|
120 | + 'opac_id' => array( |
|
121 | 121 | 'exclude' => 1, |
122 | 122 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.opac_id', |
123 | - 'config' => array ( |
|
123 | + 'config' => array( |
|
124 | 124 | 'type' => 'input', |
125 | 125 | 'size' => 30, |
126 | 126 | 'max' => 255, |
127 | 127 | 'eval' => 'nospace', |
128 | 128 | ), |
129 | 129 | ), |
130 | - 'union_id' => array ( |
|
130 | + 'union_id' => array( |
|
131 | 131 | 'exclude' => 1, |
132 | 132 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.union_id', |
133 | - 'config' => array ( |
|
133 | + 'config' => array( |
|
134 | 134 | 'type' => 'input', |
135 | 135 | 'size' => 30, |
136 | 136 | 'max' => 255, |
137 | 137 | 'eval' => 'nospace', |
138 | 138 | ), |
139 | 139 | ), |
140 | - 'urn' => array ( |
|
140 | + 'urn' => array( |
|
141 | 141 | 'exclude' => 1, |
142 | 142 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.urn', |
143 | - 'config' => array ( |
|
143 | + 'config' => array( |
|
144 | 144 | 'type' => 'input', |
145 | 145 | 'size' => 30, |
146 | 146 | 'max' => 255, |
147 | 147 | 'eval' => 'nospace', |
148 | 148 | ), |
149 | 149 | ), |
150 | - 'purl' => array ( |
|
150 | + 'purl' => array( |
|
151 | 151 | 'exclude' => 1, |
152 | 152 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.purl', |
153 | - 'config' => array ( |
|
153 | + 'config' => array( |
|
154 | 154 | 'type' => 'input', |
155 | 155 | 'size' => 30, |
156 | 156 | 'max' => 255, |
157 | 157 | 'eval' => 'nospace', |
158 | 158 | ), |
159 | 159 | ), |
160 | - 'title' => array ( |
|
160 | + 'title' => array( |
|
161 | 161 | 'exclude' => 1, |
162 | 162 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.title', |
163 | - 'config' => array ( |
|
163 | + 'config' => array( |
|
164 | 164 | 'type' => 'input', |
165 | 165 | 'size' => 30, |
166 | 166 | 'max' => 1024, |
167 | 167 | 'eval' => 'trim', |
168 | 168 | ), |
169 | 169 | ), |
170 | - 'title_sorting' => array ( |
|
170 | + 'title_sorting' => array( |
|
171 | 171 | 'exclude' => 1, |
172 | 172 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.title_sorting', |
173 | - 'config' => array ( |
|
173 | + 'config' => array( |
|
174 | 174 | 'type' => 'input', |
175 | 175 | 'size' => 30, |
176 | 176 | 'max' => 1024, |
177 | 177 | 'eval' => 'trim', |
178 | 178 | ), |
179 | 179 | ), |
180 | - 'author' => array ( |
|
180 | + 'author' => array( |
|
181 | 181 | 'exclude' => 1, |
182 | 182 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.author', |
183 | - 'config' => array ( |
|
183 | + 'config' => array( |
|
184 | 184 | 'type' => 'input', |
185 | 185 | 'size' => 30, |
186 | 186 | 'max' => 255, |
187 | 187 | 'eval' => 'trim', |
188 | 188 | ), |
189 | 189 | ), |
190 | - 'year' => array ( |
|
190 | + 'year' => array( |
|
191 | 191 | 'exclude' => 1, |
192 | 192 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.year', |
193 | - 'config' => array ( |
|
193 | + 'config' => array( |
|
194 | 194 | 'type' => 'input', |
195 | 195 | 'size' => 30, |
196 | 196 | 'max' => 255, |
197 | 197 | 'eval' => 'trim', |
198 | 198 | ), |
199 | 199 | ), |
200 | - 'place' => array ( |
|
200 | + 'place' => array( |
|
201 | 201 | 'exclude' => 1, |
202 | 202 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.place', |
203 | - 'config' => array ( |
|
203 | + 'config' => array( |
|
204 | 204 | 'type' => 'input', |
205 | 205 | 'size' => 30, |
206 | 206 | 'max' => 255, |
207 | 207 | 'eval' => 'trim', |
208 | 208 | ), |
209 | 209 | ), |
210 | - 'thumbnail' => array ( |
|
210 | + 'thumbnail' => array( |
|
211 | 211 | 'exclude' => 1, |
212 | 212 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.thumbnail', |
213 | - 'config' => array ( |
|
213 | + 'config' => array( |
|
214 | 214 | 'type' => 'user', |
215 | 215 | 'userFunc' => 'EXT:dlf/hooks/class.tx_dlf_tceforms.php:tx_dlf_tceforms->displayThumbnail', |
216 | 216 | ), |
217 | 217 | ), |
218 | - 'metadata' => array ( |
|
219 | - 'config' => array ( |
|
218 | + 'metadata' => array( |
|
219 | + 'config' => array( |
|
220 | 220 | 'type' => 'passthrough', |
221 | 221 | ), |
222 | 222 | ), |
223 | - 'metadata_sorting' => array ( |
|
224 | - 'config' => array ( |
|
223 | + 'metadata_sorting' => array( |
|
224 | + 'config' => array( |
|
225 | 225 | 'type' => 'passthrough', |
226 | 226 | ), |
227 | 227 | ), |
228 | - 'structure' => array ( |
|
228 | + 'structure' => array( |
|
229 | 229 | 'exclude' => 1, |
230 | 230 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.structure', |
231 | - 'config' => array ( |
|
231 | + 'config' => array( |
|
232 | 232 | 'type' => 'select', |
233 | 233 | 'renderType' => 'selectSingle', |
234 | 234 | 'foreign_table' => 'tx_dlf_structures', |
@@ -238,9 +238,9 @@ discard block |
||
238 | 238 | 'maxitems' => 1, |
239 | 239 | ), |
240 | 240 | ), |
241 | - 'partof' => array ( |
|
241 | + 'partof' => array( |
|
242 | 242 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.partof', |
243 | - 'config' => array ( |
|
243 | + 'config' => array( |
|
244 | 244 | 'type' => 'group', |
245 | 245 | 'internal_type' => 'db', |
246 | 246 | 'allowed' => 'tx_dlf_documents', |
@@ -254,30 +254,30 @@ discard block |
||
254 | 254 | 'readOnly' => 1, |
255 | 255 | ), |
256 | 256 | ), |
257 | - 'volume' => array ( |
|
257 | + 'volume' => array( |
|
258 | 258 | 'exclude' => 1, |
259 | 259 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.volume', |
260 | - 'config' => array ( |
|
260 | + 'config' => array( |
|
261 | 261 | 'type' => 'input', |
262 | 262 | 'size' => 30, |
263 | 263 | 'max' => 255, |
264 | 264 | 'eval' => 'trim', |
265 | 265 | ), |
266 | 266 | ), |
267 | - 'volume_sorting' => array ( |
|
267 | + 'volume_sorting' => array( |
|
268 | 268 | 'exclude' => 1, |
269 | 269 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.volume_sorting', |
270 | - 'config' => array ( |
|
270 | + 'config' => array( |
|
271 | 271 | 'type' => 'input', |
272 | 272 | 'size' => 30, |
273 | 273 | 'max' => 255, |
274 | 274 | 'eval' => 'trim', |
275 | 275 | ), |
276 | 276 | ), |
277 | - 'collections' => array ( |
|
277 | + 'collections' => array( |
|
278 | 278 | 'exclude' => 1, |
279 | 279 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.collections', |
280 | - 'config' => array ( |
|
280 | + 'config' => array( |
|
281 | 281 | 'type' => 'select', |
282 | 282 | 'renderType' => 'selectMultipleSideBySide', |
283 | 283 | 'foreign_table' => 'tx_dlf_collections', |
@@ -287,15 +287,15 @@ discard block |
||
287 | 287 | 'minitems' => 1, |
288 | 288 | 'maxitems' => 1024, |
289 | 289 | 'MM' => 'tx_dlf_relations', |
290 | - 'MM_match_fields' => array ( |
|
290 | + 'MM_match_fields' => array( |
|
291 | 291 | 'ident' => 'docs_colls', |
292 | 292 | ), |
293 | 293 | ), |
294 | 294 | ), |
295 | - 'owner' => array ( |
|
295 | + 'owner' => array( |
|
296 | 296 | 'exclude' => 1, |
297 | 297 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.owner', |
298 | - 'config' => array ( |
|
298 | + 'config' => array( |
|
299 | 299 | 'type' => 'select', |
300 | 300 | 'renderType' => 'selectSingle', |
301 | 301 | 'foreign_table' => 'tx_dlf_libraries', |
@@ -305,19 +305,19 @@ discard block |
||
305 | 305 | 'maxitems' => 1, |
306 | 306 | ), |
307 | 307 | ), |
308 | - 'solrcore' => array ( |
|
309 | - 'config' => array ( |
|
308 | + 'solrcore' => array( |
|
309 | + 'config' => array( |
|
310 | 310 | 'type' => 'passthrough', |
311 | 311 | ), |
312 | 312 | ), |
313 | - 'status' => array ( |
|
313 | + 'status' => array( |
|
314 | 314 | 'exclude' => 1, |
315 | 315 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.status', |
316 | - 'config' => array ( |
|
316 | + 'config' => array( |
|
317 | 317 | 'type' => 'select', |
318 | 318 | 'renderType' => 'selectSingle', |
319 | - 'items' => array ( |
|
320 | - array ('LLL:EXT:dlf/locallang.xml:tx_dlf_documents.status.default', 0), |
|
319 | + 'items' => array( |
|
320 | + array('LLL:EXT:dlf/locallang.xml:tx_dlf_documents.status.default', 0), |
|
321 | 321 | ), |
322 | 322 | 'size' => 1, |
323 | 323 | 'minitems' => 1, |
@@ -326,12 +326,12 @@ discard block |
||
326 | 326 | ), |
327 | 327 | ), |
328 | 328 | ), |
329 | - 'types' => array ( |
|
330 | - '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_documents.tab1, title,--palette--;;1;;1-1-1, author, year, place, structure,--palette--;;2;;2-2-2, collections;;;;3-3-3, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_documents.tab2, location;;;;1-1-1, record_id, prod_id;;;;2-2-2, oai_id;;;;3-3-3, opac_id, union_id, urn, purl;;;;4-4-4, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_documents.tab3, hidden,--palette--;;3;;1-1-1, fe_group;;;;2-2-2, status;;;;3-3-3, owner;;;;4-4-4'), |
|
329 | + 'types' => array( |
|
330 | + '0' => array('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_documents.tab1, title,--palette--;;1;;1-1-1, author, year, place, structure,--palette--;;2;;2-2-2, collections;;;;3-3-3, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_documents.tab2, location;;;;1-1-1, record_id, prod_id;;;;2-2-2, oai_id;;;;3-3-3, opac_id, union_id, urn, purl;;;;4-4-4, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_documents.tab3, hidden,--palette--;;3;;1-1-1, fe_group;;;;2-2-2, status;;;;3-3-3, owner;;;;4-4-4'), |
|
331 | 331 | ), |
332 | - 'palettes' => array ( |
|
333 | - '1' => array ('showitem' => 'title_sorting', 'canNotCollapse' => 1), |
|
334 | - '2' => array ('showitem' => 'partof, thumbnail, --linebreak--, volume, volume_sorting', 'canNotCollapse' => 1), |
|
335 | - '3' => array ('showitem' => 'starttime, endtime', 'canNotCollapse' => 1), |
|
332 | + 'palettes' => array( |
|
333 | + '1' => array('showitem' => 'title_sorting', 'canNotCollapse' => 1), |
|
334 | + '2' => array('showitem' => 'partof, thumbnail, --linebreak--, volume, volume_sorting', 'canNotCollapse' => 1), |
|
335 | + '3' => array('showitem' => 'starttime, endtime', 'canNotCollapse' => 1), |
|
336 | 336 | ) |
337 | 337 | ); |
@@ -10,67 +10,67 @@ |
||
10 | 10 | */ |
11 | 11 | |
12 | 12 | return array ( |
13 | - 'ctrl' => array ( |
|
14 | - 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_basket', |
|
15 | - 'label' => 'label', |
|
16 | - 'tstamp' => 'tstamp', |
|
17 | - 'fe_user_id' => 'fe_user_id', |
|
18 | - 'languageField' => 'sys_language_uid', |
|
19 | - 'transOrigPointerField' => 'l18n_parent', |
|
20 | - 'transOrigDiffSourceField' => 'l18n_diffsource', |
|
21 | - 'default_sortby' => 'ORDER BY label', |
|
22 | - 'delete' => 'deleted', |
|
23 | - 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfbasket.png', |
|
24 | - 'rootLevel' => 0, |
|
25 | - 'dividers2tabs' => 2, |
|
26 | - 'searchFields' => '', |
|
27 | - ), |
|
28 | - 'interface' => array ( |
|
29 | - 'showRecordFieldList' => 'label,doc_ids,session_id', |
|
30 | - ), |
|
31 | - 'feInterface' => array ( |
|
32 | - 'fe_admin_fieldList' => '', |
|
33 | - ), |
|
34 | - 'columns' => array ( |
|
35 | - 'label' => array ( |
|
36 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_basket.label', |
|
37 | - 'config' => array ( |
|
38 | - 'type' => 'input', |
|
39 | - 'size' => 30, |
|
40 | - 'max' => 255, |
|
41 | - 'eval' => 'required,trim', |
|
42 | - ), |
|
43 | - ), |
|
44 | - 'session_id' => array ( |
|
45 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_basket.sessionId', |
|
46 | - 'config' => array ( |
|
47 | - 'type' => 'input', |
|
48 | - 'size' => 30, |
|
49 | - 'max' => 255, |
|
50 | - 'eval' => 'alphanum,unique', |
|
51 | - ), |
|
52 | - ), |
|
53 | - 'doc_ids' => array ( |
|
54 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_basket.docIds', |
|
55 | - 'config' => array ( |
|
56 | - 'type' => 'input', |
|
57 | - 'size' => 30, |
|
58 | - 'max' => 255, |
|
59 | - 'eval' => 'alphanum_x', |
|
60 | - ), |
|
61 | - ), |
|
62 | - 'fe_user_id' => array ( |
|
63 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_basket.feUser', |
|
64 | - 'config' => array ( |
|
65 | - 'type' => 'input', |
|
66 | - 'eval' => 'int,unique', |
|
67 | - ), |
|
68 | - ), |
|
69 | - ), |
|
70 | - 'types' => array ( |
|
71 | - '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_basket.tab1, label;;;;1-1-1, session_id;;;;2-2-2, doc_ids;;;;2-2-2, fe_user_id;;;;2-2-2'), |
|
72 | - ), |
|
73 | - 'palettes' => array ( |
|
74 | - '1' => array ('showitem' => ''), |
|
75 | - ), |
|
13 | + 'ctrl' => array ( |
|
14 | + 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_basket', |
|
15 | + 'label' => 'label', |
|
16 | + 'tstamp' => 'tstamp', |
|
17 | + 'fe_user_id' => 'fe_user_id', |
|
18 | + 'languageField' => 'sys_language_uid', |
|
19 | + 'transOrigPointerField' => 'l18n_parent', |
|
20 | + 'transOrigDiffSourceField' => 'l18n_diffsource', |
|
21 | + 'default_sortby' => 'ORDER BY label', |
|
22 | + 'delete' => 'deleted', |
|
23 | + 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfbasket.png', |
|
24 | + 'rootLevel' => 0, |
|
25 | + 'dividers2tabs' => 2, |
|
26 | + 'searchFields' => '', |
|
27 | + ), |
|
28 | + 'interface' => array ( |
|
29 | + 'showRecordFieldList' => 'label,doc_ids,session_id', |
|
30 | + ), |
|
31 | + 'feInterface' => array ( |
|
32 | + 'fe_admin_fieldList' => '', |
|
33 | + ), |
|
34 | + 'columns' => array ( |
|
35 | + 'label' => array ( |
|
36 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_basket.label', |
|
37 | + 'config' => array ( |
|
38 | + 'type' => 'input', |
|
39 | + 'size' => 30, |
|
40 | + 'max' => 255, |
|
41 | + 'eval' => 'required,trim', |
|
42 | + ), |
|
43 | + ), |
|
44 | + 'session_id' => array ( |
|
45 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_basket.sessionId', |
|
46 | + 'config' => array ( |
|
47 | + 'type' => 'input', |
|
48 | + 'size' => 30, |
|
49 | + 'max' => 255, |
|
50 | + 'eval' => 'alphanum,unique', |
|
51 | + ), |
|
52 | + ), |
|
53 | + 'doc_ids' => array ( |
|
54 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_basket.docIds', |
|
55 | + 'config' => array ( |
|
56 | + 'type' => 'input', |
|
57 | + 'size' => 30, |
|
58 | + 'max' => 255, |
|
59 | + 'eval' => 'alphanum_x', |
|
60 | + ), |
|
61 | + ), |
|
62 | + 'fe_user_id' => array ( |
|
63 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_basket.feUser', |
|
64 | + 'config' => array ( |
|
65 | + 'type' => 'input', |
|
66 | + 'eval' => 'int,unique', |
|
67 | + ), |
|
68 | + ), |
|
69 | + ), |
|
70 | + 'types' => array ( |
|
71 | + '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_basket.tab1, label;;;;1-1-1, session_id;;;;2-2-2, doc_ids;;;;2-2-2, fe_user_id;;;;2-2-2'), |
|
72 | + ), |
|
73 | + 'palettes' => array ( |
|
74 | + '1' => array ('showitem' => ''), |
|
75 | + ), |
|
76 | 76 | ); |
77 | 77 | \ No newline at end of file |
@@ -9,8 +9,8 @@ discard block |
||
9 | 9 | * LICENSE.txt file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -return array ( |
|
13 | - 'ctrl' => array ( |
|
12 | +return array( |
|
13 | + 'ctrl' => array( |
|
14 | 14 | 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_basket', |
15 | 15 | 'label' => 'label', |
16 | 16 | 'tstamp' => 'tstamp', |
@@ -25,52 +25,52 @@ discard block |
||
25 | 25 | 'dividers2tabs' => 2, |
26 | 26 | 'searchFields' => '', |
27 | 27 | ), |
28 | - 'interface' => array ( |
|
28 | + 'interface' => array( |
|
29 | 29 | 'showRecordFieldList' => 'label,doc_ids,session_id', |
30 | 30 | ), |
31 | - 'feInterface' => array ( |
|
31 | + 'feInterface' => array( |
|
32 | 32 | 'fe_admin_fieldList' => '', |
33 | 33 | ), |
34 | - 'columns' => array ( |
|
35 | - 'label' => array ( |
|
34 | + 'columns' => array( |
|
35 | + 'label' => array( |
|
36 | 36 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_basket.label', |
37 | - 'config' => array ( |
|
37 | + 'config' => array( |
|
38 | 38 | 'type' => 'input', |
39 | 39 | 'size' => 30, |
40 | 40 | 'max' => 255, |
41 | 41 | 'eval' => 'required,trim', |
42 | 42 | ), |
43 | 43 | ), |
44 | - 'session_id' => array ( |
|
44 | + 'session_id' => array( |
|
45 | 45 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_basket.sessionId', |
46 | - 'config' => array ( |
|
46 | + 'config' => array( |
|
47 | 47 | 'type' => 'input', |
48 | 48 | 'size' => 30, |
49 | 49 | 'max' => 255, |
50 | 50 | 'eval' => 'alphanum,unique', |
51 | 51 | ), |
52 | 52 | ), |
53 | - 'doc_ids' => array ( |
|
53 | + 'doc_ids' => array( |
|
54 | 54 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_basket.docIds', |
55 | - 'config' => array ( |
|
55 | + 'config' => array( |
|
56 | 56 | 'type' => 'input', |
57 | 57 | 'size' => 30, |
58 | 58 | 'max' => 255, |
59 | 59 | 'eval' => 'alphanum_x', |
60 | 60 | ), |
61 | 61 | ), |
62 | - 'fe_user_id' => array ( |
|
62 | + 'fe_user_id' => array( |
|
63 | 63 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_basket.feUser', |
64 | - 'config' => array ( |
|
64 | + 'config' => array( |
|
65 | 65 | 'type' => 'input', |
66 | 66 | 'eval' => 'int,unique', |
67 | 67 | ), |
68 | 68 | ), |
69 | 69 | ), |
70 | - 'types' => array ( |
|
71 | - '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_basket.tab1, label;;;;1-1-1, session_id;;;;2-2-2, doc_ids;;;;2-2-2, fe_user_id;;;;2-2-2'), |
|
70 | + 'types' => array( |
|
71 | + '0' => array('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_basket.tab1, label;;;;1-1-1, session_id;;;;2-2-2, doc_ids;;;;2-2-2, fe_user_id;;;;2-2-2'), |
|
72 | 72 | ), |
73 | - 'palettes' => array ( |
|
74 | - '1' => array ('showitem' => ''), |
|
73 | + 'palettes' => array( |
|
74 | + '1' => array('showitem' => ''), |
|
75 | 75 | ), |
76 | 76 | ); |
77 | 77 | \ No newline at end of file |
@@ -9,8 +9,8 @@ discard block |
||
9 | 9 | * LICENSE.txt file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -return array ( |
|
13 | - 'ctrl' => array ( |
|
12 | +return array( |
|
13 | + 'ctrl' => array( |
|
14 | 14 | 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadataformat', |
15 | 15 | 'label' => 'encoded', |
16 | 16 | 'tstamp' => 'tstamp', |
@@ -24,22 +24,22 @@ discard block |
||
24 | 24 | 'searchFields' => 'encoded', |
25 | 25 | 'hideTable' => 1, |
26 | 26 | ), |
27 | - 'feInterface' => array ( |
|
27 | + 'feInterface' => array( |
|
28 | 28 | 'fe_admin_fieldList' => '', |
29 | 29 | ), |
30 | - 'interface' => array ( |
|
30 | + 'interface' => array( |
|
31 | 31 | 'showRecordFieldList' => 'parent_id,encoded,xpath,xpath_sorting', |
32 | 32 | ), |
33 | - 'columns' => array ( |
|
34 | - 'parent_id' => array ( |
|
35 | - 'config' => array ( |
|
33 | + 'columns' => array( |
|
34 | + 'parent_id' => array( |
|
35 | + 'config' => array( |
|
36 | 36 | 'type' => 'passthrough', |
37 | 37 | ), |
38 | 38 | ), |
39 | - 'encoded' => array ( |
|
39 | + 'encoded' => array( |
|
40 | 40 | 'exclude' => 1, |
41 | 41 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadataformat.encoded', |
42 | - 'config' => array ( |
|
42 | + 'config' => array( |
|
43 | 43 | 'type' => 'select', |
44 | 44 | 'renderType' => 'selectSingle', |
45 | 45 | 'foreign_table' => 'tx_dlf_formats', |
@@ -49,39 +49,39 @@ discard block |
||
49 | 49 | 'maxitems' => 1, |
50 | 50 | ), |
51 | 51 | ), |
52 | - 'xpath' => array ( |
|
52 | + 'xpath' => array( |
|
53 | 53 | 'exclude' => 1, |
54 | 54 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadataformat.xpath', |
55 | - 'config' => array ( |
|
55 | + 'config' => array( |
|
56 | 56 | 'type' => 'input', |
57 | 57 | 'size' => 30, |
58 | 58 | 'max' => 1024, |
59 | 59 | 'eval' => 'required,trim', |
60 | 60 | ), |
61 | 61 | ), |
62 | - 'xpath_sorting' => array ( |
|
62 | + 'xpath_sorting' => array( |
|
63 | 63 | 'exclude' => 1, |
64 | 64 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadataformat.xpath_sorting', |
65 | - 'config' => array ( |
|
65 | + 'config' => array( |
|
66 | 66 | 'type' => 'input', |
67 | 67 | 'size' => 30, |
68 | 68 | 'max' => 1024, |
69 | 69 | 'eval' => 'trim', |
70 | 70 | ), |
71 | 71 | ), |
72 | - 'mandatory' => array ( |
|
72 | + 'mandatory' => array( |
|
73 | 73 | 'exclude' => 1, |
74 | 74 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadataformat.mandatory', |
75 | - 'config' => array ( |
|
75 | + 'config' => array( |
|
76 | 76 | 'type' => 'check', |
77 | 77 | 'default' => 0, |
78 | 78 | ), |
79 | 79 | ), |
80 | 80 | ), |
81 | - 'types' => array ( |
|
82 | - '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_metadataformat.tab1, encoded;;;;1-1-1, xpath;;;;2-2-2, xpath_sorting, mandatory;;;;3-3-3'), |
|
81 | + 'types' => array( |
|
82 | + '0' => array('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_metadataformat.tab1, encoded;;;;1-1-1, xpath;;;;2-2-2, xpath_sorting, mandatory;;;;3-3-3'), |
|
83 | 83 | ), |
84 | - 'palettes' => array ( |
|
85 | - '1' => array ('showitem' => ''), |
|
84 | + 'palettes' => array( |
|
85 | + '1' => array('showitem' => ''), |
|
86 | 86 | ), |
87 | 87 | ); |
@@ -9,8 +9,8 @@ discard block |
||
9 | 9 | * LICENSE.txt file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -return array ( |
|
13 | - 'ctrl' => array ( |
|
12 | +return array( |
|
13 | + 'ctrl' => array( |
|
14 | 14 | 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats', |
15 | 15 | 'label' => 'type', |
16 | 16 | 'tstamp' => 'tstamp', |
@@ -23,43 +23,43 @@ discard block |
||
23 | 23 | 'dividers2tabs' => 2, |
24 | 24 | 'searchFields' => 'type,class', |
25 | 25 | ), |
26 | - 'feInterface' => array ( |
|
26 | + 'feInterface' => array( |
|
27 | 27 | 'fe_admin_fieldList' => '', |
28 | 28 | ), |
29 | - 'interface' => array ( |
|
29 | + 'interface' => array( |
|
30 | 30 | 'showRecordFieldList' => 'type,class', |
31 | 31 | ), |
32 | - 'columns' => array ( |
|
33 | - 'type' => array ( |
|
32 | + 'columns' => array( |
|
33 | + 'type' => array( |
|
34 | 34 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats.type', |
35 | - 'config' => array ( |
|
35 | + 'config' => array( |
|
36 | 36 | 'type' => 'input', |
37 | 37 | 'size' => 30, |
38 | 38 | 'max' => 255, |
39 | 39 | 'eval' => 'required,nospace,alphanum_x,unique', |
40 | 40 | ), |
41 | 41 | ), |
42 | - 'root' => array ( |
|
42 | + 'root' => array( |
|
43 | 43 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats.root', |
44 | - 'config' => array ( |
|
44 | + 'config' => array( |
|
45 | 45 | 'type' => 'input', |
46 | 46 | 'size' => 30, |
47 | 47 | 'max' => 255, |
48 | 48 | 'eval' => 'required,nospace,alphanum_x,unique', |
49 | 49 | ), |
50 | 50 | ), |
51 | - 'namespace' => array ( |
|
51 | + 'namespace' => array( |
|
52 | 52 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats.namespace', |
53 | - 'config' => array ( |
|
53 | + 'config' => array( |
|
54 | 54 | 'type' => 'input', |
55 | 55 | 'size' => 30, |
56 | 56 | 'max' => 1024, |
57 | 57 | 'eval' => 'required,nospace,unique', |
58 | 58 | ), |
59 | 59 | ), |
60 | - 'class' => array ( |
|
60 | + 'class' => array( |
|
61 | 61 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats.class', |
62 | - 'config' => array ( |
|
62 | + 'config' => array( |
|
63 | 63 | 'type' => 'input', |
64 | 64 | 'size' => 30, |
65 | 65 | 'max' => 1024, |
@@ -67,10 +67,10 @@ discard block |
||
67 | 67 | ), |
68 | 68 | ), |
69 | 69 | ), |
70 | - 'types' => array ( |
|
71 | - '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_formats.tab1, type;;;;1-1-1, root;;;;2-2-2, namespace, class;;;;3-3-3'), |
|
70 | + 'types' => array( |
|
71 | + '0' => array('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_formats.tab1, type;;;;1-1-1, root;;;;2-2-2, namespace, class;;;;3-3-3'), |
|
72 | 72 | ), |
73 | - 'palettes' => array ( |
|
74 | - '1' => array ('showitem' => ''), |
|
73 | + 'palettes' => array( |
|
74 | + '1' => array('showitem' => ''), |
|
75 | 75 | ), |
76 | 76 | ); |
@@ -21,11 +21,11 @@ discard block |
||
21 | 21 | |
22 | 22 | protected $modPath = 'newclient/'; |
23 | 23 | |
24 | - protected $buttonArray = array ( |
|
24 | + protected $buttonArray = array( |
|
25 | 25 | 'SHORTCUT' => '', |
26 | 26 | ); |
27 | 27 | |
28 | - protected $markerArray = array ( |
|
28 | + protected $markerArray = array( |
|
29 | 29 | 'CSH' => '', |
30 | 30 | 'MOD_MENU' => '', |
31 | 31 | 'CONTENT' => '', |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | // Build data array. |
93 | 93 | foreach ($metadata as $index_name => $values) { |
94 | 94 | |
95 | - $formatIds = array (); |
|
95 | + $formatIds = array(); |
|
96 | 96 | |
97 | 97 | foreach ($values['format'] as $format) { |
98 | 98 | |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | |
107 | 107 | } |
108 | 108 | |
109 | - $data['tx_dlf_metadata'][uniqid('NEW')] = array ( |
|
109 | + $data['tx_dlf_metadata'][uniqid('NEW')] = array( |
|
110 | 110 | 'pid' => intval($this->id), |
111 | 111 | 'label' => $GLOBALS['LANG']->getLL($index_name), |
112 | 112 | 'index_name' => $index_name, |
@@ -168,7 +168,7 @@ discard block |
||
168 | 168 | protected function cmdAddSolrCore() { |
169 | 169 | |
170 | 170 | // Build data array. |
171 | - $data['tx_dlf_solrcores'][uniqid('NEW')] = array ( |
|
171 | + $data['tx_dlf_solrcores'][uniqid('NEW')] = array( |
|
172 | 172 | 'pid' => intval($this->id), |
173 | 173 | 'label' => $GLOBALS['LANG']->getLL('solrcore').' (PID '.$this->id.')', |
174 | 174 | 'index_name' => '', |
@@ -220,7 +220,7 @@ discard block |
||
220 | 220 | // Build data array. |
221 | 221 | foreach ($structures as $index_name => $values) { |
222 | 222 | |
223 | - $data['tx_dlf_structures'][uniqid('NEW')] = array ( |
|
223 | + $data['tx_dlf_structures'][uniqid('NEW')] = array( |
|
224 | 224 | 'pid' => intval($this->id), |
225 | 225 | 'toplevel' => $values['toplevel'], |
226 | 226 | 'label' => $GLOBALS['LANG']->getLL($index_name), |
@@ -335,7 +335,7 @@ discard block |
||
335 | 335 | } else { |
336 | 336 | |
337 | 337 | // Configuration missing. |
338 | - $_url = \TYPO3\CMS\Core\Utility\GeneralUtility::locationHeaderUrl(\TYPO3\CMS\Core\Utility\GeneralUtility::linkThisScript(array ('id' => $this->id, 'CMD' => 'addStructure'))); |
|
338 | + $_url = \TYPO3\CMS\Core\Utility\GeneralUtility::locationHeaderUrl(\TYPO3\CMS\Core\Utility\GeneralUtility::linkThisScript(array('id' => $this->id, 'CMD' => 'addStructure'))); |
|
339 | 339 | |
340 | 340 | $_message = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance( |
341 | 341 | 'TYPO3\\CMS\\Core\\Messaging\\FlashMessage', |
@@ -370,7 +370,7 @@ discard block |
||
370 | 370 | } else { |
371 | 371 | |
372 | 372 | // Configuration missing. |
373 | - $_url = \TYPO3\CMS\Core\Utility\GeneralUtility::locationHeaderUrl(\TYPO3\CMS\Core\Utility\GeneralUtility::linkThisScript(array ('id' => $this->id, 'CMD' => 'addMetadata'))); |
|
373 | + $_url = \TYPO3\CMS\Core\Utility\GeneralUtility::locationHeaderUrl(\TYPO3\CMS\Core\Utility\GeneralUtility::linkThisScript(array('id' => $this->id, 'CMD' => 'addMetadata'))); |
|
374 | 374 | |
375 | 375 | $_message = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance( |
376 | 376 | 'TYPO3\\CMS\\Core\\Messaging\\FlashMessage', |
@@ -409,7 +409,7 @@ discard block |
||
409 | 409 | } else { |
410 | 410 | |
411 | 411 | // Configuration missing. |
412 | - $_url = \TYPO3\CMS\Core\Utility\GeneralUtility::locationHeaderUrl(\TYPO3\CMS\Core\Utility\GeneralUtility::linkThisScript(array ('id' => $this->id, 'CMD' => 'addAccessRights'))); |
|
412 | + $_url = \TYPO3\CMS\Core\Utility\GeneralUtility::locationHeaderUrl(\TYPO3\CMS\Core\Utility\GeneralUtility::linkThisScript(array('id' => $this->id, 'CMD' => 'addAccessRights'))); |
|
413 | 413 | |
414 | 414 | $_message = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance( |
415 | 415 | 'TYPO3\\CMS\\Core\\Messaging\\FlashMessage', |
@@ -461,7 +461,7 @@ discard block |
||
461 | 461 | } else { |
462 | 462 | |
463 | 463 | // Default core available, but this is deprecated. |
464 | - $_url = \TYPO3\CMS\Core\Utility\GeneralUtility::locationHeaderUrl(\TYPO3\CMS\Core\Utility\GeneralUtility::linkThisScript(array ('id' => $this->id, 'CMD' => 'addSolrcore'))); |
|
464 | + $_url = \TYPO3\CMS\Core\Utility\GeneralUtility::locationHeaderUrl(\TYPO3\CMS\Core\Utility\GeneralUtility::linkThisScript(array('id' => $this->id, 'CMD' => 'addSolrcore'))); |
|
465 | 465 | |
466 | 466 | $_message = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance( |
467 | 467 | 'TYPO3\\CMS\\Core\\Messaging\\FlashMessage', |
@@ -476,7 +476,7 @@ discard block |
||
476 | 476 | } else { |
477 | 477 | |
478 | 478 | // Solr core missing. |
479 | - $_url = \TYPO3\CMS\Core\Utility\GeneralUtility::locationHeaderUrl(\TYPO3\CMS\Core\Utility\GeneralUtility::linkThisScript(array ('id' => $this->id, 'CMD' => 'addSolrcore'))); |
|
479 | + $_url = \TYPO3\CMS\Core\Utility\GeneralUtility::locationHeaderUrl(\TYPO3\CMS\Core\Utility\GeneralUtility::linkThisScript(array('id' => $this->id, 'CMD' => 'addSolrcore'))); |
|
480 | 480 | |
481 | 481 | $_message = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance( |
482 | 482 | 'TYPO3\\CMS\\Core\\Messaging\\FlashMessage', |
@@ -11,9 +11,9 @@ discard block |
||
11 | 11 | |
12 | 12 | // Define metadata elements. |
13 | 13 | // @see http://dfg-viewer.de/en/profile-of-the-metadata/ |
14 | -$metadata = array ( |
|
15 | - 'type' => array ( |
|
16 | - 'format' => array (), |
|
14 | +$metadata = array( |
|
15 | + 'type' => array( |
|
16 | + 'format' => array(), |
|
17 | 17 | 'default_value' => '', |
18 | 18 | 'wrap' => '', |
19 | 19 | 'tokenized' => 0, |
@@ -25,14 +25,14 @@ discard block |
||
25 | 25 | 'is_listed' => 1, |
26 | 26 | 'autocomplete' => 0, |
27 | 27 | ), |
28 | - 'title' => array ( |
|
29 | - 'format' => array ( |
|
30 | - array ( |
|
28 | + 'title' => array( |
|
29 | + 'format' => array( |
|
30 | + array( |
|
31 | 31 | 'encoded' => 1, |
32 | 32 | 'xpath' => 'concat(./mods:titleInfo/mods:nonSort," ",./mods:titleInfo/mods:title)', |
33 | 33 | 'xpath_sorting' => './mods:titleInfo/mods:title', |
34 | 34 | ), |
35 | - array ( |
|
35 | + array( |
|
36 | 36 | 'encoded' => 2, |
37 | 37 | 'xpath' => './teihdr:fileDesc/teihdr:sourceDesc/teihdr:msDesc/teihdr:head/teihdr:note[@type="caption"]', |
38 | 38 | 'xpath_sorting' => '', |
@@ -49,9 +49,9 @@ discard block |
||
49 | 49 | 'is_listed' => 1, |
50 | 50 | 'autocomplete' => 1, |
51 | 51 | ), |
52 | - 'volume' => array ( |
|
53 | - 'format' => array ( |
|
54 | - array ( |
|
52 | + 'volume' => array( |
|
53 | + 'format' => array( |
|
54 | + array( |
|
55 | 55 | 'encoded' => 1, |
56 | 56 | 'xpath' => './mods:part/mods:detail/mods:number', |
57 | 57 | 'xpath_sorting' => './mods:part[@type="host"]/@order', |
@@ -68,9 +68,9 @@ discard block |
||
68 | 68 | 'is_listed' => 1, |
69 | 69 | 'autocomplete' => 0, |
70 | 70 | ), |
71 | - 'author' => array ( |
|
72 | - 'format' => array ( |
|
73 | - array ( |
|
71 | + 'author' => array( |
|
72 | + 'format' => array( |
|
73 | + array( |
|
74 | 74 | 'encoded' => 2, |
75 | 75 | 'xpath' => './teihdr:fileDesc/teihdr:sourceDesc/teihdr:msDesc/teihdr:head/teihdr:name', |
76 | 76 | 'xpath_sorting' => '', |
@@ -87,9 +87,9 @@ discard block |
||
87 | 87 | 'is_listed' => 1, |
88 | 88 | 'autocomplete' => 1, |
89 | 89 | ), |
90 | - 'place' => array ( |
|
91 | - 'format' => array ( |
|
92 | - array ( |
|
90 | + 'place' => array( |
|
91 | + 'format' => array( |
|
92 | + array( |
|
93 | 93 | 'encoded' => 2, |
94 | 94 | 'xpath' => './teihdr:fileDesc/teihdr:sourceDesc/teihdr:msDesc/teihdr:head/teihdr:origPlace', |
95 | 95 | 'xpath_sorting' => '', |
@@ -106,9 +106,9 @@ discard block |
||
106 | 106 | 'is_listed' => 1, |
107 | 107 | 'autocomplete' => 0, |
108 | 108 | ), |
109 | - 'year' => array ( |
|
110 | - 'format' => array ( |
|
111 | - array ( |
|
109 | + 'year' => array( |
|
110 | + 'format' => array( |
|
111 | + array( |
|
112 | 112 | 'encoded' => 2, |
113 | 113 | 'xpath' => './teihdr:fileDesc/teihdr:sourceDesc/teihdr:msDesc/teihdr:head/teihdr:origDate', |
114 | 114 | 'xpath_sorting' => './teihdr:fileDesc/teihdr:sourceDesc/teihdr:msDesc/teihdr:head/teihdr:origDate/@when', |
@@ -125,9 +125,9 @@ discard block |
||
125 | 125 | 'is_listed' => 1, |
126 | 126 | 'autocomplete' => 0, |
127 | 127 | ), |
128 | - 'language' => array ( |
|
129 | - 'format' => array ( |
|
130 | - array ( |
|
128 | + 'language' => array( |
|
129 | + 'format' => array( |
|
130 | + array( |
|
131 | 131 | 'encoded' => 1, |
132 | 132 | 'xpath' => './mods:language/mods:languageTerm', |
133 | 133 | 'xpath_sorting' => '', |
@@ -144,14 +144,14 @@ discard block |
||
144 | 144 | 'is_listed' => 0, |
145 | 145 | 'autocomplete' => 0, |
146 | 146 | ), |
147 | - 'collection' => array ( |
|
148 | - 'format' => array ( |
|
149 | - array ( |
|
147 | + 'collection' => array( |
|
148 | + 'format' => array( |
|
149 | + array( |
|
150 | 150 | 'encoded' => 1, |
151 | 151 | 'xpath' => './mods:classification', |
152 | 152 | 'xpath_sorting' => '', |
153 | 153 | ), |
154 | - array ( |
|
154 | + array( |
|
155 | 155 | 'encoded' => 2, |
156 | 156 | 'xpath' => './teihdr:fileDesc/teihdr:sourceDesc/teihdr:msDesc/teihdr:msIdentifier/teihdr:collection', |
157 | 157 | 'xpath_sorting' => '', |
@@ -168,14 +168,14 @@ discard block |
||
168 | 168 | 'is_listed' => 0, |
169 | 169 | 'autocomplete' => 0, |
170 | 170 | ), |
171 | - 'owner' => array ( |
|
172 | - 'format' => array ( |
|
173 | - array ( |
|
171 | + 'owner' => array( |
|
172 | + 'format' => array( |
|
173 | + array( |
|
174 | 174 | 'encoded' => 1, |
175 | 175 | 'xpath' => './mods:name[./mods:role/mods:roleTerm="own"]/mods:displayForm', |
176 | 176 | 'xpath_sorting' => '', |
177 | 177 | ), |
178 | - array ( |
|
178 | + array( |
|
179 | 179 | 'encoded' => 2, |
180 | 180 | 'xpath' => './teihdr:fileDesc/teihdr:publicationStmt/teihdr:publisher', |
181 | 181 | 'xpath_sorting' => '', |
@@ -192,14 +192,14 @@ discard block |
||
192 | 192 | 'is_listed' => 0, |
193 | 193 | 'autocomplete' => 0, |
194 | 194 | ), |
195 | - 'purl' => array ( |
|
196 | - 'format' => array ( |
|
197 | - array ( |
|
195 | + 'purl' => array( |
|
196 | + 'format' => array( |
|
197 | + array( |
|
198 | 198 | 'encoded' => 1, |
199 | 199 | 'xpath' => './mods:identifier[@type="purl"]', |
200 | 200 | 'xpath_sorting' => '', |
201 | 201 | ), |
202 | - array ( |
|
202 | + array( |
|
203 | 203 | 'encoded' => 2, |
204 | 204 | 'xpath' => './teihdr:fileDesc/teihdr:publicationStmt/teihdr:idno[@type="purl"]', |
205 | 205 | 'xpath_sorting' => '', |
@@ -216,14 +216,14 @@ discard block |
||
216 | 216 | 'is_listed' => 0, |
217 | 217 | 'autocomplete' => 0, |
218 | 218 | ), |
219 | - 'urn' => array ( |
|
220 | - 'format' => array ( |
|
221 | - array ( |
|
219 | + 'urn' => array( |
|
220 | + 'format' => array( |
|
221 | + array( |
|
222 | 222 | 'encoded' => 1, |
223 | 223 | 'xpath' => './mods:identifier[@type="urn"]', |
224 | 224 | 'xpath_sorting' => '', |
225 | 225 | ), |
226 | - array ( |
|
226 | + array( |
|
227 | 227 | 'encoded' => 2, |
228 | 228 | 'xpath' => './teihdr:fileDesc/teihdr:publicationStmt/teihdr:idno[@type="urn"]', |
229 | 229 | 'xpath_sorting' => '', |
@@ -240,14 +240,14 @@ discard block |
||
240 | 240 | 'is_listed' => 0, |
241 | 241 | 'autocomplete' => 0, |
242 | 242 | ), |
243 | - 'opac_id' => array ( |
|
244 | - 'format' => array ( |
|
245 | - array ( |
|
243 | + 'opac_id' => array( |
|
244 | + 'format' => array( |
|
245 | + array( |
|
246 | 246 | 'encoded' => 1, |
247 | 247 | 'xpath' => './mods:identifier[@type="opac"]', |
248 | 248 | 'xpath_sorting' => '', |
249 | 249 | ), |
250 | - array ( |
|
250 | + array( |
|
251 | 251 | 'encoded' => 2, |
252 | 252 | 'xpath' => './teihdr:fileDesc/teihdr:publicationStmt/teihdr:idno[@type="opac"]', |
253 | 253 | 'xpath_sorting' => '', |
@@ -264,14 +264,14 @@ discard block |
||
264 | 264 | 'is_listed' => 0, |
265 | 265 | 'autocomplete' => 0, |
266 | 266 | ), |
267 | - 'union_id' => array ( |
|
268 | - 'format' => array ( |
|
269 | - array ( |
|
267 | + 'union_id' => array( |
|
268 | + 'format' => array( |
|
269 | + array( |
|
270 | 270 | 'encoded' => 1, |
271 | 271 | 'xpath' => './mods:identifier[@type="ppn"]', |
272 | 272 | 'xpath_sorting' => '', |
273 | 273 | ), |
274 | - array ( |
|
274 | + array( |
|
275 | 275 | 'encoded' => 2, |
276 | 276 | 'xpath' => './teihdr:fileDesc/teihdr:publicationStmt/teihdr:idno[@type="mmid"]', |
277 | 277 | 'xpath_sorting' => '', |
@@ -288,14 +288,14 @@ discard block |
||
288 | 288 | 'is_listed' => 0, |
289 | 289 | 'autocomplete' => 0, |
290 | 290 | ), |
291 | - 'record_id' => array ( |
|
292 | - 'format' => array ( |
|
293 | - array ( |
|
291 | + 'record_id' => array( |
|
292 | + 'format' => array( |
|
293 | + array( |
|
294 | 294 | 'encoded' => 1, |
295 | 295 | 'xpath' => './mods:recordInfo/mods:recordIdentifier', |
296 | 296 | 'xpath_sorting' => '', |
297 | 297 | ), |
298 | - array ( |
|
298 | + array( |
|
299 | 299 | 'encoded' => 2, |
300 | 300 | 'xpath' => './teihdr:fileDesc/teihdr:publicationStmt/teihdr:idno[@type="recordIdentifier"]', |
301 | 301 | 'xpath_sorting' => '', |
@@ -312,14 +312,14 @@ discard block |
||
312 | 312 | 'is_listed' => 0, |
313 | 313 | 'autocomplete' => 0, |
314 | 314 | ), |
315 | - 'prod_id' => array ( |
|
316 | - 'format' => array ( |
|
317 | - array ( |
|
315 | + 'prod_id' => array( |
|
316 | + 'format' => array( |
|
317 | + array( |
|
318 | 318 | 'encoded' => 1, |
319 | 319 | 'xpath' => './mods:identifier[@type="goobi"]', |
320 | 320 | 'xpath_sorting' => '', |
321 | 321 | ), |
322 | - array ( |
|
322 | + array( |
|
323 | 323 | 'encoded' => 2, |
324 | 324 | 'xpath' => './teihdr:fileDesc/teihdr:publicationStmt/teihdr:idno[@type="goobi"]', |
325 | 325 | 'xpath_sorting' => '', |