@@ -402,7 +402,7 @@ |
||
402 | 402 | |
403 | 403 | foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['dlf/plugins/toolbox/tools'] as $class => $label) { |
404 | 404 | |
405 | - $params['items'][] = array ($GLOBALS['LANG']->sL($label), $class); |
|
405 | + $params['items'][] = array($GLOBALS['LANG']->sL($label), $class); |
|
406 | 406 | |
407 | 407 | } |
408 | 408 |
@@ -131,8 +131,8 @@ discard block |
||
131 | 131 | // Trim path and append trailing slash. |
132 | 132 | $path = (trim($conf['solrPath'], '/') ? trim($conf['solrPath'], '/').'/' : ''); |
133 | 133 | |
134 | - $context = stream_context_create(array ( |
|
135 | - 'http' => array ( |
|
134 | + $context = stream_context_create(array( |
|
135 | + 'http' => array( |
|
136 | 136 | 'method' => 'GET', |
137 | 137 | 'user_agent' => ($conf['useragent'] ? $conf['useragent'] : ini_get('user_agent')) |
138 | 138 | ) |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | } |
167 | 167 | |
168 | 168 | // Solr core could not be created, thus unset field array. |
169 | - $fieldArray = array (); |
|
169 | + $fieldArray = array(); |
|
170 | 170 | |
171 | 171 | break; |
172 | 172 | |
@@ -244,7 +244,7 @@ discard block |
||
244 | 244 | if (count($fieldArray) < 2) { |
245 | 245 | |
246 | 246 | // Unset the whole field array. |
247 | - $fieldArray = array (); |
|
247 | + $fieldArray = array(); |
|
248 | 248 | |
249 | 249 | } else { |
250 | 250 | |
@@ -337,7 +337,7 @@ discard block |
||
337 | 337 | } else { |
338 | 338 | |
339 | 339 | // Reindex document. |
340 | - $doc =& tx_dlf_document::getInstance($id); |
|
340 | + $doc = & tx_dlf_document::getInstance($id); |
|
341 | 341 | |
342 | 342 | if ($doc->ready) { |
343 | 343 | |
@@ -382,7 +382,7 @@ discard block |
||
382 | 382 | */ |
383 | 383 | public function processCmdmap_postProcess($command, $table, $id, $value, $pObj) { |
384 | 384 | |
385 | - if (in_array($command, array ('move', 'delete', 'undelete')) && $table == 'tx_dlf_documents') { |
|
385 | + if (in_array($command, array('move', 'delete', 'undelete')) && $table == 'tx_dlf_documents') { |
|
386 | 386 | |
387 | 387 | // Get Solr core. |
388 | 388 | $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery( |
@@ -422,7 +422,7 @@ discard block |
||
422 | 422 | case 'undelete': |
423 | 423 | |
424 | 424 | // Reindex document. |
425 | - $doc =& tx_dlf_document::getInstance($id); |
|
425 | + $doc = & tx_dlf_document::getInstance($id); |
|
426 | 426 | |
427 | 427 | if ($doc->ready) { |
428 | 428 |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | * @var array |
26 | 26 | * @access protected |
27 | 27 | */ |
28 | - protected $conf = array (); |
|
28 | + protected $conf = array(); |
|
29 | 29 | |
30 | 30 | /** |
31 | 31 | * This holds the output ready to return |
@@ -67,8 +67,8 @@ discard block |
||
67 | 67 | // Build request URI. |
68 | 68 | $url = 'http://'.$host.':'.$port.'/'.$path.'admin/cores?wt=xml'; |
69 | 69 | |
70 | - $context = stream_context_create(array ( |
|
71 | - 'http' => array ( |
|
70 | + $context = stream_context_create(array( |
|
71 | + 'http' => array( |
|
72 | 72 | 'method' => 'GET', |
73 | 73 | 'user_agent' => (!empty($this->conf['useragent']) ? $this->conf['useragent'] : ini_get('user_agent')) |
74 | 74 | ) |
@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | ); |
152 | 152 | |
153 | 153 | // Check if user is configured properly. |
154 | - if (count(array_diff(array ($groupUid), $resArray['usergroup'])) == 0 |
|
154 | + if (count(array_diff(array($groupUid), $resArray['usergroup'])) == 0 |
|
155 | 155 | && !$resArray['admin'] |
156 | 156 | && $GLOBALS['TYPO3_DB']->sql_num_rows($result2) > 0) { |
157 | 157 | |
@@ -170,11 +170,11 @@ discard block |
||
170 | 170 | if (!$checkOnly && $groupUid) { |
171 | 171 | |
172 | 172 | // Keep exisiting values and add the new ones. |
173 | - $usergroup = array_unique(array_merge(array ($groupUid), $resArray['usergroup'])); |
|
173 | + $usergroup = array_unique(array_merge(array($groupUid), $resArray['usergroup'])); |
|
174 | 174 | |
175 | 175 | // Try to configure user. |
176 | 176 | $data = array(); |
177 | - $data['be_users'][$resArray['uid']] = array ( |
|
177 | + $data['be_users'][$resArray['uid']] = array( |
|
178 | 178 | 'admin' => 0, |
179 | 179 | 'usergroup' => implode(',', $usergroup), |
180 | 180 | $GLOBALS['TCA']['be_users']['ctrl']['enablecolumns']['disabled'] => 0, |
@@ -231,7 +231,7 @@ discard block |
||
231 | 231 | $tempUid = uniqid('NEW'); |
232 | 232 | |
233 | 233 | $data = array(); |
234 | - $data['be_users'][$tempUid] = array ( |
|
234 | + $data['be_users'][$tempUid] = array( |
|
235 | 235 | 'pid' => 0, |
236 | 236 | 'username' => '_cli_dlf', |
237 | 237 | 'password' => md5($tempUid), |
@@ -296,7 +296,7 @@ discard block |
||
296 | 296 | * |
297 | 297 | * @return integer UID of usergroup or 0 if something is wrong |
298 | 298 | */ |
299 | - protected function checkCliGroup($checkOnly, $settings = array ()) { |
|
299 | + protected function checkCliGroup($checkOnly, $settings = array()) { |
|
300 | 300 | |
301 | 301 | // Set default return value. |
302 | 302 | $grpUid = 0; |
@@ -304,9 +304,9 @@ discard block |
||
304 | 304 | // Set default configuration for usergroup. |
305 | 305 | if (empty($settings)) { |
306 | 306 | |
307 | - $settings = array ( |
|
308 | - 'non_exclude_fields' => array (), |
|
309 | - 'tables_select' => array ( |
|
307 | + $settings = array( |
|
308 | + 'non_exclude_fields' => array(), |
|
309 | + 'tables_select' => array( |
|
310 | 310 | 'tx_dlf_documents', |
311 | 311 | 'tx_dlf_collections', |
312 | 312 | 'tx_dlf_libraries', |
@@ -316,7 +316,7 @@ discard block |
||
316 | 316 | 'tx_dlf_formats', |
317 | 317 | 'tx_dlf_solrcores' |
318 | 318 | ), |
319 | - 'tables_modify' => array ( |
|
319 | + 'tables_modify' => array( |
|
320 | 320 | 'tx_dlf_documents', |
321 | 321 | 'tx_dlf_collections', |
322 | 322 | 'tx_dlf_libraries' |
@@ -342,10 +342,10 @@ discard block |
||
342 | 342 | |
343 | 343 | // Check if group "_cli_dlf" exists and is not disabled. |
344 | 344 | $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery( |
345 | - 'uid,non_exclude_fields,tables_select,tables_modify,' . |
|
345 | + 'uid,non_exclude_fields,tables_select,tables_modify,'. |
|
346 | 346 | $GLOBALS['TCA']['be_groups']['ctrl']['enablecolumns']['disabled'], |
347 | 347 | 'be_groups', |
348 | - 'title=' . $GLOBALS['TYPO3_DB']->fullQuoteStr('_cli_dlf', 'be_groups') . |
|
348 | + 'title='.$GLOBALS['TYPO3_DB']->fullQuoteStr('_cli_dlf', 'be_groups'). |
|
349 | 349 | \TYPO3\CMS\Backend\Utility\BackendUtility::deleteClause('be_groups') |
350 | 350 | ); |
351 | 351 | |
@@ -566,7 +566,7 @@ discard block |
||
566 | 566 | */ |
567 | 567 | public function checkMetadataFormats(&$params, &$pObj) { |
568 | 568 | |
569 | - $nsDefined = array ( |
|
569 | + $nsDefined = array( |
|
570 | 570 | 'MODS' => FALSE, |
571 | 571 | 'TEIHDR' => FALSE |
572 | 572 | ); |
@@ -585,12 +585,12 @@ discard block |
||
585 | 585 | } |
586 | 586 | |
587 | 587 | // Build data array. |
588 | - $data = array (); |
|
588 | + $data = array(); |
|
589 | 589 | |
590 | 590 | // Add MODS namespace. |
591 | 591 | if (!$nsDefined['MODS']) { |
592 | 592 | |
593 | - $data['tx_dlf_formats'][uniqid('NEW')] = array ( |
|
593 | + $data['tx_dlf_formats'][uniqid('NEW')] = array( |
|
594 | 594 | 'pid' => 0, |
595 | 595 | 'type' => 'MODS', |
596 | 596 | 'root' => 'mods', |
@@ -603,7 +603,7 @@ discard block |
||
603 | 603 | // Add TEIHDR namespace. |
604 | 604 | if (!$nsDefined['TEIHDR']) { |
605 | 605 | |
606 | - $data['tx_dlf_formats'][uniqid('NEW')] = array ( |
|
606 | + $data['tx_dlf_formats'][uniqid('NEW')] = array( |
|
607 | 607 | 'pid' => 0, |
608 | 608 | 'type' => 'TEIHDR', |
609 | 609 | 'root' => 'teiHeader', |
@@ -31,7 +31,7 @@ |
||
31 | 31 | * |
32 | 32 | * @return void |
33 | 33 | */ |
34 | - public function construct_postProcessRecordId(SimpleXMLElement &$xml, &$record_id) { |
|
34 | + public function construct_postProcessRecordId(SimpleXMLElement&$xml, &$record_id) { |
|
35 | 35 | |
36 | 36 | if (!$record_id) { |
37 | 37 |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | * @var array |
44 | 44 | * @access protected |
45 | 45 | */ |
46 | - protected $piVars = array (); |
|
46 | + protected $piVars = array(); |
|
47 | 47 | |
48 | 48 | /** |
49 | 49 | * This holds the DLF parameter prefix |
@@ -161,7 +161,7 @@ discard block |
||
161 | 161 | if (!empty($this->piVars['id'])) { |
162 | 162 | |
163 | 163 | // Get instance of tx_dlf_document. |
164 | - $this->doc =& tx_dlf_document::getInstance($this->piVars['id']); |
|
164 | + $this->doc = & tx_dlf_document::getInstance($this->piVars['id']); |
|
165 | 165 | |
166 | 166 | if (!$this->doc->ready) { |
167 | 167 |
@@ -10,46 +10,46 @@ |
||
10 | 10 | */ |
11 | 11 | |
12 | 12 | return array ( |
13 | - 'ctrl' => array ( |
|
14 | - 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_printer', |
|
15 | - 'label' => 'label', |
|
16 | - 'default_sortby' => 'ORDER BY label', |
|
17 | - 'delete' => 'deleted', |
|
18 | - 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfprinter.png', |
|
19 | - 'rootLevel' => 0, |
|
20 | - 'dividers2tabs' => 2, |
|
21 | - 'searchFields' => 'label,print', |
|
22 | - ), |
|
23 | - 'interface' => array ( |
|
24 | - 'showRecordFieldList' => 'label,name,address', |
|
25 | - ), |
|
26 | - 'feInterface' => array ( |
|
27 | - 'fe_admin_fieldList' => '', |
|
28 | - ), |
|
29 | - 'columns' => array ( |
|
30 | - 'label' => array ( |
|
31 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_printer.label', |
|
32 | - 'config' => array ( |
|
33 | - 'type' => 'input', |
|
34 | - 'size' => 30, |
|
35 | - 'max' => 255, |
|
36 | - 'eval' => 'required,trim', |
|
37 | - ), |
|
38 | - ), |
|
39 | - 'print' => array ( |
|
40 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_printer.printcommand', |
|
41 | - 'config' => array ( |
|
42 | - 'type' => 'input', |
|
43 | - 'size' => 30, |
|
44 | - 'max' => 255, |
|
45 | - 'eval' => 'required', |
|
46 | - ), |
|
47 | - ), |
|
48 | - ), |
|
49 | - 'types' => array ( |
|
50 | - '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_printer.tab1, label;;;;1-1-1, print;;;;2-2-2'), |
|
51 | - ), |
|
52 | - 'palettes' => array ( |
|
53 | - '1' => array ('showitem' => ''), |
|
54 | - ), |
|
13 | + 'ctrl' => array ( |
|
14 | + 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_printer', |
|
15 | + 'label' => 'label', |
|
16 | + 'default_sortby' => 'ORDER BY label', |
|
17 | + 'delete' => 'deleted', |
|
18 | + 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfprinter.png', |
|
19 | + 'rootLevel' => 0, |
|
20 | + 'dividers2tabs' => 2, |
|
21 | + 'searchFields' => 'label,print', |
|
22 | + ), |
|
23 | + 'interface' => array ( |
|
24 | + 'showRecordFieldList' => 'label,name,address', |
|
25 | + ), |
|
26 | + 'feInterface' => array ( |
|
27 | + 'fe_admin_fieldList' => '', |
|
28 | + ), |
|
29 | + 'columns' => array ( |
|
30 | + 'label' => array ( |
|
31 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_printer.label', |
|
32 | + 'config' => array ( |
|
33 | + 'type' => 'input', |
|
34 | + 'size' => 30, |
|
35 | + 'max' => 255, |
|
36 | + 'eval' => 'required,trim', |
|
37 | + ), |
|
38 | + ), |
|
39 | + 'print' => array ( |
|
40 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_printer.printcommand', |
|
41 | + 'config' => array ( |
|
42 | + 'type' => 'input', |
|
43 | + 'size' => 30, |
|
44 | + 'max' => 255, |
|
45 | + 'eval' => 'required', |
|
46 | + ), |
|
47 | + ), |
|
48 | + ), |
|
49 | + 'types' => array ( |
|
50 | + '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_printer.tab1, label;;;;1-1-1, print;;;;2-2-2'), |
|
51 | + ), |
|
52 | + 'palettes' => array ( |
|
53 | + '1' => array ('showitem' => ''), |
|
54 | + ), |
|
55 | 55 | ); |
56 | 56 | \ 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_printer', |
15 | 15 | 'label' => 'label', |
16 | 16 | 'default_sortby' => 'ORDER BY label', |
@@ -20,25 +20,25 @@ discard block |
||
20 | 20 | 'dividers2tabs' => 2, |
21 | 21 | 'searchFields' => 'label,print', |
22 | 22 | ), |
23 | - 'interface' => array ( |
|
23 | + 'interface' => array( |
|
24 | 24 | 'showRecordFieldList' => 'label,name,address', |
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_printer.label', |
32 | - 'config' => array ( |
|
32 | + 'config' => array( |
|
33 | 33 | 'type' => 'input', |
34 | 34 | 'size' => 30, |
35 | 35 | 'max' => 255, |
36 | 36 | 'eval' => 'required,trim', |
37 | 37 | ), |
38 | 38 | ), |
39 | - 'print' => array ( |
|
39 | + 'print' => array( |
|
40 | 40 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_printer.printcommand', |
41 | - 'config' => array ( |
|
41 | + 'config' => array( |
|
42 | 42 | 'type' => 'input', |
43 | 43 | 'size' => 30, |
44 | 44 | 'max' => 255, |
@@ -46,10 +46,10 @@ discard block |
||
46 | 46 | ), |
47 | 47 | ), |
48 | 48 | ), |
49 | - 'types' => array ( |
|
50 | - '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_printer.tab1, label;;;;1-1-1, print;;;;2-2-2'), |
|
49 | + 'types' => array( |
|
50 | + '0' => array('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_printer.tab1, label;;;;1-1-1, print;;;;2-2-2'), |
|
51 | 51 | ), |
52 | - 'palettes' => array ( |
|
53 | - '1' => array ('showitem' => ''), |
|
52 | + 'palettes' => array( |
|
53 | + '1' => array('showitem' => ''), |
|
54 | 54 | ), |
55 | 55 | ); |
56 | 56 | \ 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_collections', |
15 | 15 | 'label' => 'label', |
16 | 16 | 'tstamp' => 'tstamp', |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | 'transOrigDiffSourceField' => 'l18n_diffsource', |
24 | 24 | 'default_sortby' => 'ORDER BY label', |
25 | 25 | 'delete' => 'deleted', |
26 | - 'enablecolumns' => array ( |
|
26 | + 'enablecolumns' => array( |
|
27 | 27 | 'disabled' => 'hidden', |
28 | 28 | 'fe_group' => 'fe_group', |
29 | 29 | ), |
@@ -33,65 +33,65 @@ discard block |
||
33 | 33 | 'searchFields' => 'label,index_name,oai_name,fe_cruser_id', |
34 | 34 | 'requestUpdate' => 'sys_language_uid', |
35 | 35 | ), |
36 | - 'feInterface' => array ( |
|
36 | + 'feInterface' => array( |
|
37 | 37 | 'fe_admin_fieldList' => 'label,description,thumbnail,documents', |
38 | 38 | ), |
39 | - 'interface' => array ( |
|
39 | + 'interface' => array( |
|
40 | 40 | 'showRecordFieldList' => 'label,index_name,oai_name,fe_cruser_id', |
41 | 41 | ), |
42 | - 'columns' => array ( |
|
43 | - 'sys_language_uid' => array ( |
|
42 | + 'columns' => array( |
|
43 | + 'sys_language_uid' => array( |
|
44 | 44 | 'exclude' => 1, |
45 | 45 | 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.language', |
46 | - 'config' => array ( |
|
46 | + 'config' => array( |
|
47 | 47 | 'type' => 'select', |
48 | 48 | 'renderType' => 'selectSingle', |
49 | 49 | 'foreign_table' => 'sys_language', |
50 | 50 | 'foreign_table_where' => 'ORDER BY sys_language.title', |
51 | - 'items' => array ( |
|
52 | - array ('LLL:EXT:lang/locallang_general.xml:LGL.allLanguages', -1), |
|
53 | - array ('LLL:EXT:lang/locallang_general.xml:LGL.default_value', 0), |
|
51 | + 'items' => array( |
|
52 | + array('LLL:EXT:lang/locallang_general.xml:LGL.allLanguages', -1), |
|
53 | + array('LLL:EXT:lang/locallang_general.xml:LGL.default_value', 0), |
|
54 | 54 | ), |
55 | 55 | 'default' => 0, |
56 | 56 | ), |
57 | 57 | ), |
58 | - 'l18n_parent' => array ( |
|
58 | + 'l18n_parent' => array( |
|
59 | 59 | 'displayCond' => 'FIELD:sys_language_uid:>:0', |
60 | 60 | 'exclude' => 1, |
61 | 61 | 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.l18n_parent', |
62 | - 'config' => array ( |
|
62 | + 'config' => array( |
|
63 | 63 | 'type' => 'select', |
64 | 64 | 'renderType' => 'selectSingle', |
65 | - 'items' => array ( |
|
66 | - array ('', 0), |
|
65 | + 'items' => array( |
|
66 | + array('', 0), |
|
67 | 67 | ), |
68 | 68 | 'foreign_table' => 'tx_dlf_collections', |
69 | 69 | 'foreign_table_where' => 'AND tx_dlf_collections.pid=###CURRENT_PID### AND tx_dlf_collections.sys_language_uid IN (-1,0)', |
70 | 70 | ), |
71 | 71 | ), |
72 | - 'l18n_diffsource' => array ( |
|
73 | - 'config' => array ( |
|
72 | + 'l18n_diffsource' => array( |
|
73 | + 'config' => array( |
|
74 | 74 | 'type' => 'passthrough' |
75 | 75 | ), |
76 | 76 | ), |
77 | - 'hidden' => array ( |
|
77 | + 'hidden' => array( |
|
78 | 78 | 'exclude' => 1, |
79 | 79 | 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden', |
80 | - 'config' => array ( |
|
80 | + 'config' => array( |
|
81 | 81 | 'type' => 'check', |
82 | 82 | 'default' => 0, |
83 | 83 | ), |
84 | 84 | ), |
85 | - 'fe_group' => array ( |
|
85 | + 'fe_group' => array( |
|
86 | 86 | 'exclude' => 1, |
87 | 87 | 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.fe_group', |
88 | - 'config' => array ( |
|
88 | + 'config' => array( |
|
89 | 89 | 'type' => 'select', |
90 | 90 | 'renderType' => 'selectMultipleSideBySide', |
91 | - 'items' => array ( |
|
92 | - array ('LLL:EXT:lang/locallang_general.xml:LGL.hide_at_login', -1), |
|
93 | - array ('LLL:EXT:lang/locallang_general.xml:LGL.any_login', -2), |
|
94 | - array ('LLL:EXT:lang/locallang_general.xml:LGL.usergroups', '--div--'), |
|
91 | + 'items' => array( |
|
92 | + array('LLL:EXT:lang/locallang_general.xml:LGL.hide_at_login', -1), |
|
93 | + array('LLL:EXT:lang/locallang_general.xml:LGL.any_login', -2), |
|
94 | + array('LLL:EXT:lang/locallang_general.xml:LGL.usergroups', '--div--'), |
|
95 | 95 | ), |
96 | 96 | 'foreign_table' => 'fe_groups', |
97 | 97 | 'size' => 5, |
@@ -101,51 +101,51 @@ discard block |
||
101 | 101 | 'exclusiveKeys' => '-1,-2', |
102 | 102 | ), |
103 | 103 | ), |
104 | - 'label' => array ( |
|
104 | + 'label' => array( |
|
105 | 105 | 'exclude' => 1, |
106 | 106 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.label', |
107 | - 'config' => array ( |
|
107 | + 'config' => array( |
|
108 | 108 | 'type' => 'input', |
109 | 109 | 'size' => 30, |
110 | 110 | 'max' => 255, |
111 | 111 | 'eval' => 'required,trim', |
112 | 112 | ), |
113 | 113 | ), |
114 | - 'index_name' => array ( |
|
114 | + 'index_name' => array( |
|
115 | 115 | 'displayCond' => 'FIELD:index_search:REQ:FALSE', |
116 | 116 | 'exclude' => 1, |
117 | 117 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.index_name', |
118 | - 'config' => array ( |
|
118 | + 'config' => array( |
|
119 | 119 | 'type' => 'none', |
120 | 120 | 'size' => 30, |
121 | 121 | 'max' => 255, |
122 | 122 | 'eval' => 'required,uniqueInPid', |
123 | 123 | ), |
124 | 124 | ), |
125 | - 'index_search' => array ( |
|
125 | + 'index_search' => array( |
|
126 | 126 | 'exclude' => 1, |
127 | 127 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.index_search', |
128 | - 'config' => array ( |
|
128 | + 'config' => array( |
|
129 | 129 | 'type' => 'text', |
130 | 130 | 'cols' => 30, |
131 | 131 | 'rows' => 5, |
132 | 132 | 'eval' => '', |
133 | 133 | ), |
134 | 134 | ), |
135 | - 'oai_name' => array ( |
|
135 | + 'oai_name' => array( |
|
136 | 136 | 'exclude' => 1, |
137 | 137 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.oai_name', |
138 | - 'config' => array ( |
|
138 | + 'config' => array( |
|
139 | 139 | 'type' => 'input', |
140 | 140 | 'size' => 30, |
141 | 141 | 'max' => 255, |
142 | 142 | 'eval' => 'nospace,alphanum_x,uniqueInPid', |
143 | 143 | ), |
144 | 144 | ), |
145 | - 'description' => array ( |
|
145 | + 'description' => array( |
|
146 | 146 | 'exclude' => 1, |
147 | 147 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.description', |
148 | - 'config' => array ( |
|
148 | + 'config' => array( |
|
149 | 149 | 'type' => 'text', |
150 | 150 | 'cols' => 30, |
151 | 151 | 'rows' => 10, |
@@ -153,10 +153,10 @@ discard block |
||
153 | 153 | ), |
154 | 154 | 'defaultExtras' => 'richtext[undo,redo,cut,copy,paste,link,image,line,acronym,chMode,blockstylelabel,formatblock,blockstyle,textstylelabel,textstyle,bold,italic,unorderedlist,orderedlist]:rte_transform[mode=ts_css]', |
155 | 155 | ), |
156 | - 'thumbnail' => array ( |
|
156 | + 'thumbnail' => array( |
|
157 | 157 | 'exclude' => 1, |
158 | 158 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.thumbnail', |
159 | - 'config' => array ( |
|
159 | + 'config' => array( |
|
160 | 160 | 'type' => 'group', |
161 | 161 | 'internal_type' => 'file_reference', |
162 | 162 | 'allowed' => 'gif,jpg,png', |
@@ -165,18 +165,18 @@ discard block |
||
165 | 165 | 'maxitems' => 1, |
166 | 166 | ), |
167 | 167 | ), |
168 | - 'priority' => array ( |
|
168 | + 'priority' => array( |
|
169 | 169 | 'exclude' => 1, |
170 | 170 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.priority', |
171 | - 'config' => array ( |
|
171 | + 'config' => array( |
|
172 | 172 | 'type' => 'select', |
173 | 173 | 'renderType' => 'selectSingle', |
174 | - 'items' => array ( |
|
175 | - array ('1', 1), |
|
176 | - array ('2', 2), |
|
177 | - array ('3', 3), |
|
178 | - array ('4', 4), |
|
179 | - array ('5', 5), |
|
174 | + 'items' => array( |
|
175 | + array('1', 1), |
|
176 | + array('2', 2), |
|
177 | + array('3', 3), |
|
178 | + array('4', 4), |
|
179 | + array('5', 5), |
|
180 | 180 | ), |
181 | 181 | 'size' => 1, |
182 | 182 | 'minitems' => 1, |
@@ -184,10 +184,10 @@ discard block |
||
184 | 184 | 'default' => 3, |
185 | 185 | ), |
186 | 186 | ), |
187 | - 'documents' => array ( |
|
187 | + 'documents' => array( |
|
188 | 188 | 'exclude' => 1, |
189 | 189 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.documents', |
190 | - 'config' => array ( |
|
190 | + 'config' => array( |
|
191 | 191 | 'type' => 'select', |
192 | 192 | 'renderType' => 'selectSingleBox', |
193 | 193 | 'foreign_table' => 'tx_dlf_documents', |
@@ -197,20 +197,20 @@ discard block |
||
197 | 197 | 'minitems' => 0, |
198 | 198 | 'maxitems' => 1048576, |
199 | 199 | 'MM' => 'tx_dlf_relations', |
200 | - 'MM_match_fields' => array ( |
|
200 | + 'MM_match_fields' => array( |
|
201 | 201 | 'ident' => 'docs_colls', |
202 | 202 | ), |
203 | 203 | 'MM_opposite_field' => 'collections', |
204 | 204 | ), |
205 | 205 | ), |
206 | - 'owner' => array ( |
|
206 | + 'owner' => array( |
|
207 | 207 | 'exclude' => 1, |
208 | 208 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.owner', |
209 | - 'config' => array ( |
|
209 | + 'config' => array( |
|
210 | 210 | 'type' => 'select', |
211 | 211 | 'renderType' => 'selectSingle', |
212 | - 'items' => array ( |
|
213 | - array ('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.owner.none', 0), |
|
212 | + 'items' => array( |
|
213 | + array('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.owner.none', 0), |
|
214 | 214 | ), |
215 | 215 | 'foreign_table' => 'tx_dlf_libraries', |
216 | 216 | 'foreign_table_where' => 'AND tx_dlf_libraries.sys_language_uid IN (-1,0) ORDER BY tx_dlf_libraries.label', |
@@ -219,14 +219,14 @@ discard block |
||
219 | 219 | 'maxitems' => 1, |
220 | 220 | ), |
221 | 221 | ), |
222 | - 'fe_cruser_id' => array ( |
|
222 | + 'fe_cruser_id' => array( |
|
223 | 223 | 'exclude' => 1, |
224 | 224 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.fe_cruser_id', |
225 | - 'config' => array ( |
|
225 | + 'config' => array( |
|
226 | 226 | 'type' => 'select', |
227 | 227 | 'renderType' => 'selectSingle', |
228 | - 'items' => array ( |
|
229 | - array ('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.fe_cruser_id.none', 0), |
|
228 | + 'items' => array( |
|
229 | + array('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.fe_cruser_id.none', 0), |
|
230 | 230 | ), |
231 | 231 | 'foreign_table' => 'fe_users', |
232 | 232 | 'foreign_table_where' => 'ORDER BY fe_users.username', |
@@ -235,22 +235,22 @@ discard block |
||
235 | 235 | 'maxitems' => 1, |
236 | 236 | ), |
237 | 237 | ), |
238 | - 'fe_admin_lock' => array ( |
|
238 | + 'fe_admin_lock' => array( |
|
239 | 239 | 'exclude' => 1, |
240 | 240 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.fe_admin_lock', |
241 | - 'config' => array ( |
|
241 | + 'config' => array( |
|
242 | 242 | 'type' => 'check', |
243 | 243 | 'default' => 0, |
244 | 244 | ), |
245 | 245 | ), |
246 | - 'status' => array ( |
|
246 | + 'status' => array( |
|
247 | 247 | 'exclude' => 1, |
248 | 248 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.status', |
249 | - 'config' => array ( |
|
249 | + 'config' => array( |
|
250 | 250 | 'type' => 'select', |
251 | 251 | 'renderType' => 'selectSingle', |
252 | - 'items' => array ( |
|
253 | - array ('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.status.default', 0), |
|
252 | + 'items' => array( |
|
253 | + array('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.status.default', 0), |
|
254 | 254 | ), |
255 | 255 | 'size' => 1, |
256 | 256 | 'minitems' => 1, |
@@ -259,12 +259,12 @@ discard block |
||
259 | 259 | ), |
260 | 260 | ), |
261 | 261 | ), |
262 | - 'types' => array ( |
|
263 | - '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_collections.tab1, label,--palette--;;1;;1-1-1, description,--palette--;;2;;2-2-2, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_collections.tab2, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_collections.tab3, hidden;;;;1-1-1, fe_group;;;;2-2-2, status;;;;3-3-3, owner;;;;4-4-4, fe_cruser_id,--palette--;;3'), |
|
262 | + 'types' => array( |
|
263 | + '0' => array('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_collections.tab1, label,--palette--;;1;;1-1-1, description,--palette--;;2;;2-2-2, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_collections.tab2, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_collections.tab3, hidden;;;;1-1-1, fe_group;;;;2-2-2, status;;;;3-3-3, owner;;;;4-4-4, fe_cruser_id,--palette--;;3'), |
|
264 | 264 | ), |
265 | - 'palettes' => array ( |
|
266 | - '1' => array ('showitem' => 'index_name, --linebreak--, index_search, --linebreak--, oai_name', 'canNotCollapse' => 1), |
|
267 | - '2' => array ('showitem' => 'thumbnail, priority', 'canNotCollapse' => 1), |
|
268 | - '3' => array ('showitem' => 'fe_admin_lock', 'canNotCollapse' => 1), |
|
265 | + 'palettes' => array( |
|
266 | + '1' => array('showitem' => 'index_name, --linebreak--, index_search, --linebreak--, oai_name', 'canNotCollapse' => 1), |
|
267 | + '2' => array('showitem' => 'thumbnail, priority', 'canNotCollapse' => 1), |
|
268 | + '3' => array('showitem' => 'fe_admin_lock', 'canNotCollapse' => 1), |
|
269 | 269 | ), |
270 | 270 | ); |
@@ -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_libraries', |
15 | 15 | 'label' => 'label', |
16 | 16 | 'tstamp' => 'tstamp', |
@@ -26,91 +26,91 @@ discard block |
||
26 | 26 | 'dividers2tabs' => 2, |
27 | 27 | 'searchFields' => 'label,website,contact', |
28 | 28 | ), |
29 | - 'feInterface' => array ( |
|
29 | + 'feInterface' => array( |
|
30 | 30 | 'fe_admin_fieldList' => '', |
31 | 31 | ), |
32 | - 'interface' => array ( |
|
32 | + 'interface' => array( |
|
33 | 33 | 'showRecordFieldList' => 'label,website,contact', |
34 | 34 | ), |
35 | - 'columns' => array ( |
|
36 | - 'sys_language_uid' => array ( |
|
35 | + 'columns' => array( |
|
36 | + 'sys_language_uid' => array( |
|
37 | 37 | 'exclude' => 1, |
38 | 38 | 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.language', |
39 | - 'config' => array ( |
|
39 | + 'config' => array( |
|
40 | 40 | 'type' => 'select', |
41 | 41 | 'renderType' => 'selectSingle', |
42 | 42 | 'foreign_table' => 'sys_language', |
43 | 43 | 'foreign_table_where' => 'ORDER BY sys_language.title', |
44 | - 'items' => array ( |
|
45 | - array ('LLL:EXT:lang/locallang_general.xml:LGL.allLanguages', -1), |
|
46 | - array ('LLL:EXT:lang/locallang_general.xml:LGL.default_value', 0), |
|
44 | + 'items' => array( |
|
45 | + array('LLL:EXT:lang/locallang_general.xml:LGL.allLanguages', -1), |
|
46 | + array('LLL:EXT:lang/locallang_general.xml:LGL.default_value', 0), |
|
47 | 47 | ), |
48 | 48 | 'default' => 0 |
49 | 49 | ), |
50 | 50 | ), |
51 | - 'l18n_parent' => array ( |
|
51 | + 'l18n_parent' => array( |
|
52 | 52 | 'displayCond' => 'FIELD:sys_language_uid:>:0', |
53 | 53 | 'exclude' => 1, |
54 | 54 | 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.l18n_parent', |
55 | - 'config' => array ( |
|
55 | + 'config' => array( |
|
56 | 56 | 'type' => 'select', |
57 | 57 | 'renderType' => 'selectSingle', |
58 | - 'items' => array ( |
|
59 | - array ('', 0), |
|
58 | + 'items' => array( |
|
59 | + array('', 0), |
|
60 | 60 | ), |
61 | 61 | 'foreign_table' => 'tx_dlf_libraries', |
62 | 62 | 'foreign_table_where' => 'AND tx_dlf_libraries.pid=###CURRENT_PID### AND tx_dlf_libraries.sys_language_uid IN (-1,0)', |
63 | 63 | ), |
64 | 64 | ), |
65 | - 'l18n_diffsource' => array ( |
|
66 | - 'config' => array ( |
|
65 | + 'l18n_diffsource' => array( |
|
66 | + 'config' => array( |
|
67 | 67 | 'type' => 'passthrough' |
68 | 68 | ), |
69 | 69 | ), |
70 | - 'label' => array ( |
|
70 | + 'label' => array( |
|
71 | 71 | 'exclude' => 1, |
72 | 72 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.label', |
73 | - 'config' => array ( |
|
73 | + 'config' => array( |
|
74 | 74 | 'type' => 'input', |
75 | 75 | 'size' => 30, |
76 | 76 | 'max' => 255, |
77 | 77 | 'eval' => 'required,trim', |
78 | 78 | ), |
79 | 79 | ), |
80 | - 'index_name' => array ( |
|
80 | + 'index_name' => array( |
|
81 | 81 | 'exclude' => 1, |
82 | 82 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.index_name', |
83 | - 'config' => array ( |
|
83 | + 'config' => array( |
|
84 | 84 | 'type' => 'none', |
85 | 85 | 'size' => 30, |
86 | 86 | 'max' => 255, |
87 | 87 | 'eval' => 'required,uniqueInPid', |
88 | 88 | ), |
89 | 89 | ), |
90 | - 'website' => array ( |
|
90 | + 'website' => array( |
|
91 | 91 | 'exclude' => 1, |
92 | 92 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.website', |
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 | - 'contact' => array ( |
|
100 | + 'contact' => array( |
|
101 | 101 | 'exclude' => 1, |
102 | 102 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.contact', |
103 | - 'config' => array ( |
|
103 | + 'config' => array( |
|
104 | 104 | 'type' => 'input', |
105 | 105 | 'size' => 30, |
106 | 106 | 'max' => 255, |
107 | 107 | 'eval' => 'nospace', |
108 | 108 | ), |
109 | 109 | ), |
110 | - 'image' => array ( |
|
110 | + 'image' => array( |
|
111 | 111 | 'exclude' => 1, |
112 | 112 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.image', |
113 | - 'config' => array ( |
|
113 | + 'config' => array( |
|
114 | 114 | 'type' => 'group', |
115 | 115 | 'internal_type' => 'file', |
116 | 116 | 'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'], |
@@ -122,19 +122,19 @@ discard block |
||
122 | 122 | 'maxitems' => 1, |
123 | 123 | ), |
124 | 124 | ), |
125 | - 'oai_label' => array ( |
|
125 | + 'oai_label' => array( |
|
126 | 126 | 'exclude' => 1, |
127 | 127 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.oai_label', |
128 | - 'config' => array ( |
|
128 | + 'config' => array( |
|
129 | 129 | 'type' => 'input', |
130 | 130 | 'size' => 30, |
131 | 131 | 'max' => 255, |
132 | 132 | ), |
133 | 133 | ), |
134 | - 'oai_base' => array ( |
|
134 | + 'oai_base' => array( |
|
135 | 135 | 'exclude' => 1, |
136 | 136 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.oai_base', |
137 | - 'config' => array ( |
|
137 | + 'config' => array( |
|
138 | 138 | 'type' => 'group', |
139 | 139 | 'internal_type' => 'db', |
140 | 140 | 'allowed' => 'pages', |
@@ -143,38 +143,38 @@ discard block |
||
143 | 143 | 'maxitems' => 1, |
144 | 144 | ), |
145 | 145 | ), |
146 | - 'opac_label' => array ( |
|
146 | + 'opac_label' => array( |
|
147 | 147 | 'exclude' => 1, |
148 | 148 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.opac_label', |
149 | - 'config' => array ( |
|
149 | + 'config' => array( |
|
150 | 150 | 'type' => 'input', |
151 | 151 | 'size' => 30, |
152 | 152 | 'max' => 255, |
153 | 153 | ), |
154 | 154 | ), |
155 | - 'opac_base' => array ( |
|
155 | + 'opac_base' => array( |
|
156 | 156 | 'exclude' => 1, |
157 | 157 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.opac_base', |
158 | - 'config' => array ( |
|
158 | + 'config' => array( |
|
159 | 159 | 'type' => 'input', |
160 | 160 | 'size' => 30, |
161 | 161 | 'max' => 255, |
162 | 162 | 'eval' => 'nospace', |
163 | 163 | ), |
164 | 164 | ), |
165 | - 'union_label' => array ( |
|
165 | + 'union_label' => array( |
|
166 | 166 | 'exclude' => 1, |
167 | 167 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.union_label', |
168 | - 'config' => array ( |
|
168 | + 'config' => array( |
|
169 | 169 | 'type' => 'input', |
170 | 170 | 'size' => 30, |
171 | 171 | 'max' => 255, |
172 | 172 | ), |
173 | 173 | ), |
174 | - 'union_base' => array ( |
|
174 | + 'union_base' => array( |
|
175 | 175 | 'exclude' => 1, |
176 | 176 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.union_base', |
177 | - 'config' => array ( |
|
177 | + 'config' => array( |
|
178 | 178 | 'type' => 'input', |
179 | 179 | 'size' => 30, |
180 | 180 | 'max' => 255, |
@@ -182,13 +182,13 @@ discard block |
||
182 | 182 | ), |
183 | 183 | ), |
184 | 184 | ), |
185 | - 'types' => array ( |
|
186 | - '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.tab1, label,--palette--;;1;;1-1-1, website;;;;2-2-2, contact, image;;;;3-3-3, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.tab2, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.tab3, oai_label,--palette--;;2;;1-1-1, opac_label,--palette--;;3;;2-2-2, union_label,--palette--;;4;;3-3-3'), |
|
185 | + 'types' => array( |
|
186 | + '0' => array('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.tab1, label,--palette--;;1;;1-1-1, website;;;;2-2-2, contact, image;;;;3-3-3, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.tab2, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.tab3, oai_label,--palette--;;2;;1-1-1, opac_label,--palette--;;3;;2-2-2, union_label,--palette--;;4;;3-3-3'), |
|
187 | 187 | ), |
188 | - 'palettes' => array ( |
|
189 | - '1' => array ('showitem' => 'index_name', 'canNotCollapse' => 1), |
|
190 | - '2' => array ('showitem' => 'oai_base', 'canNotCollapse' => 1), |
|
191 | - '3' => array ('showitem' => 'opac_base', 'canNotCollapse' => 1), |
|
192 | - '4' => array ('showitem' => 'union_base', 'canNotCollapse' => 1), |
|
188 | + 'palettes' => array( |
|
189 | + '1' => array('showitem' => 'index_name', 'canNotCollapse' => 1), |
|
190 | + '2' => array('showitem' => 'oai_base', 'canNotCollapse' => 1), |
|
191 | + '3' => array('showitem' => 'opac_base', 'canNotCollapse' => 1), |
|
192 | + '4' => array('showitem' => 'union_base', 'canNotCollapse' => 1), |
|
193 | 193 | ), |
194 | 194 | ); |
@@ -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_solrcores', |
15 | 15 | 'label' => 'label', |
16 | 16 | 'tstamp' => 'tstamp', |
@@ -23,25 +23,25 @@ discard block |
||
23 | 23 | 'dividers2tabs' => 2, |
24 | 24 | 'searchFields' => 'label,index_name', |
25 | 25 | ), |
26 | - 'feInterface' => array ( |
|
26 | + 'feInterface' => array( |
|
27 | 27 | 'fe_admin_fieldList' => '', |
28 | 28 | ), |
29 | - 'interface' => array ( |
|
29 | + 'interface' => array( |
|
30 | 30 | 'showRecordFieldList' => 'label,index_name', |
31 | 31 | ), |
32 | - 'columns' => array ( |
|
33 | - 'label' => array ( |
|
32 | + 'columns' => array( |
|
33 | + 'label' => array( |
|
34 | 34 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_solrcores.label', |
35 | - 'config' => array ( |
|
35 | + 'config' => array( |
|
36 | 36 | 'type' => 'input', |
37 | 37 | 'size' => 30, |
38 | 38 | 'max' => 255, |
39 | 39 | 'eval' => 'required,trim', |
40 | 40 | ), |
41 | 41 | ), |
42 | - 'index_name' => array ( |
|
42 | + 'index_name' => array( |
|
43 | 43 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_solrcores.index_name', |
44 | - 'config' => array ( |
|
44 | + 'config' => array( |
|
45 | 45 | 'type' => 'input', |
46 | 46 | 'size' => 30, |
47 | 47 | 'max' => 255, |
@@ -49,10 +49,10 @@ discard block |
||
49 | 49 | ), |
50 | 50 | ), |
51 | 51 | ), |
52 | - 'types' => array ( |
|
53 | - '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_solrcores.tab1, label;;;;1-1-1, index_name;;;;2-2-2'), |
|
52 | + 'types' => array( |
|
53 | + '0' => array('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_solrcores.tab1, label;;;;1-1-1, index_name;;;;2-2-2'), |
|
54 | 54 | ), |
55 | - 'palettes' => array ( |
|
56 | - '1' => array ('showitem' => ''), |
|
55 | + 'palettes' => array( |
|
56 | + '1' => array('showitem' => ''), |
|
57 | 57 | ), |
58 | 58 | ); |