Passed
Branch oai_solr (423cc8)
by Erik
09:50 queued 02:55
created
dlf/Configuration/TCA/tx_dlf_structures.php 1 patch
Spacing   +39 added lines, -39 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 );
Please login to merge, or discard this patch.
dlf/Configuration/TCA/tx_dlf_mail.php 1 patch
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
dlf/Configuration/TCA/tx_dlf_documents.php 1 patch
Spacing   +73 added lines, -73 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 );
Please login to merge, or discard this patch.
dlf/Configuration/TCA/tx_dlf_basket.php 1 patch
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
dlf/Configuration/TCA/tx_dlf_metadataformat.php 1 patch
Spacing   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 );
Please login to merge, or discard this patch.
dlf/Configuration/TCA/tx_dlf_formats.php 1 patch
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 );
Please login to merge, or discard this patch.
dlf/modules/newclient/index.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -21,11 +21,11 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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',
Please login to merge, or discard this patch.
dlf/modules/newclient/metadata.inc.php 1 patch
Spacing   +54 added lines, -54 removed lines patch added patch discarded remove patch
@@ -11,9 +11,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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' => '',
Please login to merge, or discard this patch.
dlf/modules/newclient/structures.inc.php 1 patch
Spacing   +88 added lines, -88 removed lines patch added patch discarded remove patch
@@ -11,352 +11,352 @@
 block discarded – undo
11 11
 
12 12
 // Define structure elements.
13 13
 // @see http://dfg-viewer.de/en/structural-data-set/
14
-$structures = array (
15
-	'act' => array (
14
+$structures = array(
15
+	'act' => array(
16 16
 		'toplevel' => 1,
17 17
 		'oai_name' => '',
18 18
 	),
19
-	'additional' => array (
19
+	'additional' => array(
20 20
 		'toplevel' => 0,
21 21
 		'oai_name' => ''
22 22
 	),
23
-	'address' => array (
23
+	'address' => array(
24 24
 		'toplevel' => 0,
25 25
 		'oai_name' => ''
26 26
 	),
27
-	'album' => array (
27
+	'album' => array(
28 28
 		'toplevel' => 1,
29 29
 		'oai_name' => '',
30 30
 	),
31
-	'annotation' => array (
31
+	'annotation' => array(
32 32
 		'toplevel' => 0,
33 33
 		'oai_name' => ''
34 34
 	),
35
-	'article' => array (
35
+	'article' => array(
36 36
 		'toplevel' => 0,
37 37
 		'oai_name' => ''
38 38
 	),
39
-	'atlas' => array (
39
+	'atlas' => array(
40 40
 		'toplevel' => 1,
41 41
 		'oai_name' => '',
42 42
 	),
43
-	'bachelor_thesis' => array (
43
+	'bachelor_thesis' => array(
44 44
 		'toplevel' => 1,
45 45
 		'oai_name' => '',
46 46
 	),
47
-	'binding' => array (
47
+	'binding' => array(
48 48
 		'toplevel' => 0,
49 49
 		'oai_name' => ''
50 50
 	),
51
-	'bookplate' => array (
51
+	'bookplate' => array(
52 52
 		'toplevel' => 0,
53 53
 		'oai_name' => ''
54 54
 	),
55
-	'cartulary' => array (
55
+	'cartulary' => array(
56 56
 		'toplevel' => 1,
57 57
 		'oai_name' => '',
58 58
 	),
59
-	'chapter' => array (
59
+	'chapter' => array(
60 60
 		'toplevel' => 0,
61 61
 		'oai_name' => ''
62 62
 	),
63
-	'collation' => array (
63
+	'collation' => array(
64 64
 		'toplevel' => 0,
65 65
 		'oai_name' => ''
66 66
 	),
67
-	'colophon' => array (
67
+	'colophon' => array(
68 68
 		'toplevel' => 0,
69 69
 		'oai_name' => ''
70 70
 	),
71
-	'contained_work' => array (
71
+	'contained_work' => array(
72 72
 		'toplevel' => 0,
73 73
 		'oai_name' => ''
74 74
 	),
75
-	'contents' => array (
75
+	'contents' => array(
76 76
 		'toplevel' => 0,
77 77
 		'oai_name' => ''
78 78
 	),
79
-	'corrigenda' => array (
79
+	'corrigenda' => array(
80 80
 		'toplevel' => 0,
81 81
 		'oai_name' => ''
82 82
 	),
83
-	'cover' => array (
83
+	'cover' => array(
84 84
 		'toplevel' => 0,
85 85
 		'oai_name' => ''
86 86
 	),
87
-	'cover_front' => array (
87
+	'cover_front' => array(
88 88
 		'toplevel' => 0,
89 89
 		'oai_name' => ''
90 90
 	),
91
-	'cover_back' => array (
91
+	'cover_back' => array(
92 92
 		'toplevel' => 0,
93 93
 		'oai_name' => ''
94 94
 	),
95
-	'day' => array (
95
+	'day' => array(
96 96
 		'toplevel' => 0,
97 97
 		'oai_name' => ''
98 98
 	),
99
-	'dedication' => array (
99
+	'dedication' => array(
100 100
 		'toplevel' => 0,
101 101
 		'oai_name' => ''
102 102
 	),
103
-	'diploma_thesis' => array (
103
+	'diploma_thesis' => array(
104 104
 		'toplevel' => 1,
105 105
 		'oai_name' => '',
106 106
 	),
107
-	'doctoral_thesis' => array (
107
+	'doctoral_thesis' => array(
108 108
 		'toplevel' => 1,
109 109
 		'oai_name' => '',
110 110
 	),
111
-	'document' => array (
111
+	'document' => array(
112 112
 		'toplevel' => 1,
113 113
 		'oai_name' => '',
114 114
 	),
115
-	'dossier' => array (
115
+	'dossier' => array(
116 116
 		'toplevel' => 1,
117 117
 		'oai_name' => '',
118 118
 	),
119
-	'edge' => array (
119
+	'edge' => array(
120 120
 		'toplevel' => 0,
121 121
 		'oai_name' => ''
122 122
 	),
123
-	'endsheet' => array (
123
+	'endsheet' => array(
124 124
 		'toplevel' => 0,
125 125
 		'oai_name' => ''
126 126
 	),
127
-	'engraved_titlepage' => array (
127
+	'engraved_titlepage' => array(
128 128
 		'toplevel' => 0,
129 129
 		'oai_name' => ''
130 130
 	),
131
-	'entry' => array (
131
+	'entry' => array(
132 132
 		'toplevel' => 0,
133 133
 		'oai_name' => ''
134 134
 	),
135
-	'fascicle' => array (
135
+	'fascicle' => array(
136 136
 		'toplevel' => 0,
137 137
 		'oai_name' => ''
138 138
 	),
139
-	'file' => array (
139
+	'file' => array(
140 140
 		'toplevel' => 1,
141 141
 		'oai_name' => '',
142 142
 	),
143
-	'folder' => array (
143
+	'folder' => array(
144 144
 		'toplevel' => 1,
145 145
 		'oai_name' => '',
146 146
 	),
147
-	'fragment' => array (
147
+	'fragment' => array(
148 148
 		'toplevel' => 1,
149 149
 		'oai_name' => ''
150 150
 	),
151
-	'ground_plan' => array (
151
+	'ground_plan' => array(
152 152
 		'toplevel' => 1,
153 153
 		'oai_name' => '',
154 154
 	),
155
-	'habilitation_thesis' => array (
155
+	'habilitation_thesis' => array(
156 156
 		'toplevel' => 1,
157 157
 		'oai_name' => '',
158 158
 	),
159
-	'illustration' => array (
159
+	'illustration' => array(
160 160
 		'toplevel' => 0,
161 161
 		'oai_name' => ''
162 162
 	),
163
-	'image' => array (
163
+	'image' => array(
164 164
 		'toplevel' => 1,
165 165
 		'oai_name' => '',
166 166
 	),
167
-	'imprint' => array (
167
+	'imprint' => array(
168 168
 		'toplevel' => 0,
169 169
 		'oai_name' => ''
170 170
 	),
171
-	'index' => array (
171
+	'index' => array(
172 172
 		'toplevel' => 0,
173 173
 		'oai_name' => ''
174 174
 	),
175
-	'initial_decoration' => array (
175
+	'initial_decoration' => array(
176 176
 		'toplevel' => 0,
177 177
 		'oai_name' => ''
178 178
 	),
179
-	'issue' => array (
179
+	'issue' => array(
180 180
 		'toplevel' => 0,
181 181
 		'oai_name' => ''
182 182
 	),
183
-	'judgement' => array (
183
+	'judgement' => array(
184 184
 		'toplevel' => 1,
185 185
 		'oai_name' => '',
186 186
 	),
187
-	'land_register' => array (
187
+	'land_register' => array(
188 188
 		'toplevel' => 1,
189 189
 		'oai_name' => '',
190 190
 	),
191
-	'leaflet' => array (
191
+	'leaflet' => array(
192 192
 		'toplevel' => 1,
193 193
 		'oai_name' => '',
194 194
 	),
195
-	'lecture' => array (
195
+	'lecture' => array(
196 196
 		'toplevel' => 1,
197 197
 		'oai_name' => '',
198 198
 	),
199
-	'letter' => array (
199
+	'letter' => array(
200 200
 		'toplevel' => 0,
201 201
 		'oai_name' => '',
202 202
 	),
203
-	'magister_thesis' => array (
203
+	'magister_thesis' => array(
204 204
 		'toplevel' => 1,
205 205
 		'oai_name' => '',
206 206
 	),
207
-	'master_thesis' => array (
207
+	'master_thesis' => array(
208 208
 		'toplevel' => 1,
209 209
 		'oai_name' => '',
210 210
 	),
211
-	'manuscript' => array (
211
+	'manuscript' => array(
212 212
 		'toplevel' => 1,
213 213
 		'oai_name' => ''
214 214
 	),
215
-	'map' => array (
215
+	'map' => array(
216 216
 		'toplevel' => 0,
217 217
 		'oai_name' => ''
218 218
 	),
219
-	'monograph' => array (
219
+	'monograph' => array(
220 220
 		'toplevel' => 1,
221 221
 		'oai_name' => ''
222 222
 	),
223
-	'month' => array (
223
+	'month' => array(
224 224
 		'toplevel' => 0,
225 225
 		'oai_name' => ''
226 226
 	),
227
-	'multivolume_work' => array (
227
+	'multivolume_work' => array(
228 228
 		'toplevel' => 1,
229 229
 		'oai_name' => ''
230 230
 	),
231
-	'musical_notation' => array (
231
+	'musical_notation' => array(
232 232
 		'toplevel' => 0,
233 233
 		'oai_name' => ''
234 234
 	),
235
-	'newspaper' => array (
235
+	'newspaper' => array(
236 236
 		'toplevel' => 1,
237 237
 		'oai_name' => ''
238 238
 	),
239
-	'note' => array (
239
+	'note' => array(
240 240
 		'toplevel' => 0,
241 241
 		'oai_name' => '',
242 242
 	),
243
-	'official_notification' => array (
243
+	'official_notification' => array(
244 244
 		'toplevel' => 1,
245 245
 		'oai_name' => '',
246 246
 	),
247
-	'ornament' => array (
247
+	'ornament' => array(
248 248
 		'toplevel' => 0,
249 249
 		'oai_name' => ''
250 250
 	),
251
-	'paper' => array (
251
+	'paper' => array(
252 252
 		'toplevel' => 1,
253 253
 		'oai_name' => '',
254 254
 	),
255
-	'paste_down' => array (
255
+	'paste_down' => array(
256 256
 		'toplevel' => 0,
257 257
 		'oai_name' => ''
258 258
 	),
259
-	'periodical' => array (
259
+	'periodical' => array(
260 260
 		'toplevel' => 1,
261 261
 		'oai_name' => ''
262 262
 	),
263
-	'photograph' => array (
263
+	'photograph' => array(
264 264
 		'toplevel' => 1,
265 265
 		'oai_name' => '',
266 266
 	),
267
-	'plan' => array (
267
+	'plan' => array(
268 268
 		'toplevel' => 1,
269 269
 		'oai_name' => '',
270 270
 	),
271
-	'poster' => array (
271
+	'poster' => array(
272 272
 		'toplevel' => 1,
273 273
 		'oai_name' => '',
274 274
 	),
275
-	'preface' => array (
275
+	'preface' => array(
276 276
 		'toplevel' => 0,
277 277
 		'oai_name' => ''
278 278
 	),
279
-	'preprint' => array (
279
+	'preprint' => array(
280 280
 		'toplevel' => 1,
281 281
 		'oai_name' => '',
282 282
 	),
283
-	'printed_archives' => array (
283
+	'printed_archives' => array(
284 284
 		'toplevel' => 1,
285 285
 		'oai_name' => '',
286 286
 	),
287
-	'printers_mark' => array (
287
+	'printers_mark' => array(
288 288
 		'toplevel' => 0,
289 289
 		'oai_name' => ''
290 290
 	),
291
-	'privileges' => array (
291
+	'privileges' => array(
292 292
 		'toplevel' => 0,
293 293
 		'oai_name' => ''
294 294
 	),
295
-	'proceeding' => array (
295
+	'proceeding' => array(
296 296
 		'toplevel' => 1,
297 297
 		'oai_name' => '',
298 298
 	),
299
-	'provenance' => array (
299
+	'provenance' => array(
300 300
 		'toplevel' => 0,
301 301
 		'oai_name' => ''
302 302
 	),
303
-	'register' => array (
303
+	'register' => array(
304 304
 		'toplevel' => 1,
305 305
 		'oai_name' => '',
306 306
 	),
307
-	'report' => array (
307
+	'report' => array(
308 308
 		'toplevel' => 1,
309 309
 		'oai_name' => '',
310 310
 	),
311
-	'research_paper' => array (
311
+	'research_paper' => array(
312 312
 		'toplevel' => 1,
313 313
 		'oai_name' => '',
314 314
 	),
315
-	'scheme' => array (
315
+	'scheme' => array(
316 316
 		'toplevel' => 0,
317 317
 		'oai_name' => ''
318 318
 	),
319
-	'seal' => array (
319
+	'seal' => array(
320 320
 		'toplevel' => 0,
321 321
 		'oai_name' => '',
322 322
 	),
323
-	'section' => array (
323
+	'section' => array(
324 324
 		'toplevel' => 0,
325 325
 		'oai_name' => ''
326 326
 	),
327
-	'spine' => array (
327
+	'spine' => array(
328 328
 		'toplevel' => 0,
329 329
 		'oai_name' => ''
330 330
 	),
331
-	'stamp' => array (
331
+	'stamp' => array(
332 332
 		'toplevel' => 0,
333 333
 		'oai_name' => ''
334 334
 	),
335
-	'study' => array (
335
+	'study' => array(
336 336
 		'toplevel' => 1,
337 337
 		'oai_name' => '',
338 338
 	),
339
-	'table' => array (
339
+	'table' => array(
340 340
 		'toplevel' => 0,
341 341
 		'oai_name' => ''
342 342
 	),
343
-	'text' => array (
343
+	'text' => array(
344 344
 		'toplevel' => 0,
345 345
 		'oai_name' => ''
346 346
 	),
347
-	'title_page' => array (
347
+	'title_page' => array(
348 348
 		'toplevel' => 0,
349 349
 		'oai_name' => ''
350 350
 	),
351
-	'verse' => array (
351
+	'verse' => array(
352 352
 		'toplevel' => 0,
353 353
 		'oai_name' => ''
354 354
 	),
355
-	'volume' => array (
355
+	'volume' => array(
356 356
 		'toplevel' => 1,
357 357
 		'oai_name' => ''
358 358
 	),
359
-	'year' => array (
359
+	'year' => array(
360 360
 		'toplevel' => 1,
361 361
 		'oai_name' => ''
362 362
 	)
Please login to merge, or discard this patch.