@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | * @var array |
35 | 35 | * @access protected |
36 | 36 | */ |
37 | - protected static $locallang = array (); |
|
37 | + protected static $locallang = array(); |
|
38 | 38 | |
39 | 39 | /** |
40 | 40 | * Adds a message to the message queue. |
@@ -349,7 +349,7 @@ discard block |
||
349 | 349 | |
350 | 350 | $hash = $salt.substr(sha1($salt.$string), -10); |
351 | 351 | |
352 | - return array ('encrypted' => $encrypted, 'hash' => $hash); |
|
352 | + return array('encrypted' => $encrypted, 'hash' => $hash); |
|
353 | 353 | |
354 | 354 | } |
355 | 355 | |
@@ -438,7 +438,7 @@ discard block |
||
438 | 438 | */ |
439 | 439 | public static function getHookObjects($scriptRelPath) { |
440 | 440 | |
441 | - $hookObjects = array (); |
|
441 | + $hookObjects = array(); |
|
442 | 442 | |
443 | 443 | if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][self::$extKey.'/'.$scriptRelPath]['hookClass'])) { |
444 | 444 | |
@@ -475,7 +475,7 @@ discard block |
||
475 | 475 | // Sanitize input. |
476 | 476 | $uid = max(intval($uid), 0); |
477 | 477 | |
478 | - if (!$uid || !in_array($table, array ('tx_dlf_collections', 'tx_dlf_libraries', 'tx_dlf_metadata', 'tx_dlf_structures', 'tx_dlf_solrcores'))) { |
|
478 | + if (!$uid || !in_array($table, array('tx_dlf_collections', 'tx_dlf_libraries', 'tx_dlf_metadata', 'tx_dlf_structures', 'tx_dlf_solrcores'))) { |
|
479 | 479 | |
480 | 480 | if (TYPO3_DLOG) { |
481 | 481 | |
@@ -546,7 +546,7 @@ discard block |
||
546 | 546 | |
547 | 547 | $_pid = $pid; |
548 | 548 | |
549 | - if (!$index_name || !in_array($table, array ('tx_dlf_collections', 'tx_dlf_libraries', 'tx_dlf_metadata', 'tx_dlf_structures', 'tx_dlf_solrcores'))) { |
|
549 | + if (!$index_name || !in_array($table, array('tx_dlf_collections', 'tx_dlf_libraries', 'tx_dlf_metadata', 'tx_dlf_structures', 'tx_dlf_solrcores'))) { |
|
550 | 550 | |
551 | 551 | if (TYPO3_DLOG) { |
552 | 552 | |
@@ -757,7 +757,7 @@ discard block |
||
757 | 757 | */ |
758 | 758 | public static function getURN($base, $id) { |
759 | 759 | |
760 | - $concordance = array ( |
|
760 | + $concordance = array( |
|
761 | 761 | '0' => 1, |
762 | 762 | '1' => 2, |
763 | 763 | '2' => 3, |
@@ -913,7 +913,7 @@ discard block |
||
913 | 913 | * |
914 | 914 | * @return array Array of substituted "NEW..." identifiers and their actual UIDs. |
915 | 915 | */ |
916 | - public static function processDB(array $data = array (), array $cmd = array (), $reverseOrder = FALSE, $be_user = FALSE) { |
|
916 | + public static function processDB(array $data = array(), array $cmd = array(), $reverseOrder = FALSE, $be_user = FALSE) { |
|
917 | 917 | |
918 | 918 | // Instantiate TYPO3 core engine. |
919 | 919 | $tce = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\DataHandling\\DataHandler'); |
@@ -971,7 +971,7 @@ discard block |
||
971 | 971 | * |
972 | 972 | * @return array Array of substituted "NEW..." identifiers and their actual UIDs. |
973 | 973 | */ |
974 | - public static function processDBasAdmin(array $data = array (), array $cmd = array (), $reverseOrder = FALSE) { |
|
974 | + public static function processDBasAdmin(array $data = array(), array $cmd = array(), $reverseOrder = FALSE) { |
|
975 | 975 | |
976 | 976 | if (TYPO3_MODE === 'BE' && $GLOBALS['BE_USER']->isAdmin()) { |
977 | 977 | |
@@ -981,11 +981,11 @@ discard block |
||
981 | 981 | |
982 | 982 | if (TYPO3_DLOG) { |
983 | 983 | |
984 | - \TYPO3\CMS\Core\Utility\GeneralUtility::devLog('[tx_dlf_helper->processDBasAdmin([data->data], [data->cmd], ['.($reverseOrder ? 'TRUE' : 'FALSE').'])] Current backend user has no admin privileges', self::$extKey, SYSLOG_SEVERITY_ERROR, array ('data' => $data, 'cmd' => $cmd)); |
|
984 | + \TYPO3\CMS\Core\Utility\GeneralUtility::devLog('[tx_dlf_helper->processDBasAdmin([data->data], [data->cmd], ['.($reverseOrder ? 'TRUE' : 'FALSE').'])] Current backend user has no admin privileges', self::$extKey, SYSLOG_SEVERITY_ERROR, array('data' => $data, 'cmd' => $cmd)); |
|
985 | 985 | |
986 | 986 | } |
987 | 987 | |
988 | - return array (); |
|
988 | + return array(); |
|
989 | 989 | |
990 | 990 | } |
991 | 991 | |
@@ -1124,7 +1124,7 @@ discard block |
||
1124 | 1124 | $_pid = $pid; |
1125 | 1125 | |
1126 | 1126 | // Load labels into static variable for future use. |
1127 | - static $labels = array (); |
|
1127 | + static $labels = array(); |
|
1128 | 1128 | |
1129 | 1129 | // Sanitize input. |
1130 | 1130 | $pid = max(intval($pid), 0); |
@@ -1191,7 +1191,7 @@ discard block |
||
1191 | 1191 | if (empty($labels[$table][$pid][$GLOBALS['TSFE']->sys_language_content][$index_name])) { |
1192 | 1192 | |
1193 | 1193 | // Check if this table is allowed for translation. |
1194 | - if (in_array($table, array ('tx_dlf_collections', 'tx_dlf_libraries', 'tx_dlf_metadata', 'tx_dlf_structures'))) { |
|
1194 | + if (in_array($table, array('tx_dlf_collections', 'tx_dlf_libraries', 'tx_dlf_metadata', 'tx_dlf_structures'))) { |
|
1195 | 1195 | |
1196 | 1196 | $additionalWhere = ' AND sys_language_uid IN (-1,0)'; |
1197 | 1197 |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | protected function init(array $conf) { |
61 | 61 | |
62 | 62 | // Read FlexForm configuration. |
63 | - $flexFormConf = array (); |
|
63 | + $flexFormConf = array(); |
|
64 | 64 | |
65 | 65 | $this->cObj->readFlexformIntoConf($this->cObj->data['pi_flexform'], $flexFormConf); |
66 | 66 | |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | $pid = (!empty($this->conf['excludeOther']) ? intval($this->conf['pages']) : 0); |
133 | 133 | |
134 | 134 | // Get instance of tx_dlf_document. |
135 | - $this->doc =& tx_dlf_document::getInstance($this->piVars['id'], $pid); |
|
135 | + $this->doc = & tx_dlf_document::getInstance($this->piVars['id'], $pid); |
|
136 | 136 | |
137 | 137 | if (!$this->doc->ready) { |
138 | 138 | |
@@ -246,7 +246,7 @@ discard block |
||
246 | 246 | |
247 | 247 | } |
248 | 248 | |
249 | - $this->piVars = tx_dlf_helper::array_merge_recursive_overrule($this->conf['_DEFAULT_PI_VARS.'], is_array($this->piVars) ? $this->piVars : array ()); |
|
249 | + $this->piVars = tx_dlf_helper::array_merge_recursive_overrule($this->conf['_DEFAULT_PI_VARS.'], is_array($this->piVars) ? $this->piVars : array()); |
|
250 | 250 | |
251 | 251 | } |
252 | 252 |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | * @var array() |
36 | 36 | * @access protected |
37 | 37 | */ |
38 | - protected $elements = array (); |
|
38 | + protected $elements = array(); |
|
39 | 39 | |
40 | 40 | /** |
41 | 41 | * This holds the list's metadata |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | * @var array |
44 | 44 | * @access protected |
45 | 45 | */ |
46 | - protected $metadata = array (); |
|
46 | + protected $metadata = array(); |
|
47 | 47 | |
48 | 48 | /** |
49 | 49 | * This holds the current list position |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | * @var array() |
61 | 61 | * @access protected |
62 | 62 | */ |
63 | - protected $records = array (); |
|
63 | + protected $records = array(); |
|
64 | 64 | |
65 | 65 | /** |
66 | 66 | * Instance of Apache_Solr_Service class |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | * @var array |
77 | 77 | * @access protected |
78 | 78 | */ |
79 | - protected $solrConfig = array (); |
|
79 | + protected $solrConfig = array(); |
|
80 | 80 | |
81 | 81 | /** |
82 | 82 | * This adds an array of elements at the given position to the list |
@@ -155,7 +155,7 @@ discard block |
||
155 | 155 | */ |
156 | 156 | protected function getRecord($element) { |
157 | 157 | |
158 | - if (is_array($element) && array_keys($element) == array ('u', 'h', 's', 'p')) { |
|
158 | + if (is_array($element) && array_keys($element) == array('u', 'h', 's', 'p')) { |
|
159 | 159 | |
160 | 160 | // Return already processed record if possible. |
161 | 161 | if (!empty($this->records[$element['u']])) { |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | |
165 | 165 | } |
166 | 166 | |
167 | - $record = array ( |
|
167 | + $record = array( |
|
168 | 168 | 'uid' => $element['u'], |
169 | 169 | 'page' => 1, |
170 | 170 | 'preview' => '', |
@@ -225,7 +225,7 @@ discard block |
||
225 | 225 | |
226 | 226 | } elseif (($key = tx_dlf_helper::array_search_recursive($resArray['uid'], $record['subparts'], TRUE)) !== FALSE) { |
227 | 227 | |
228 | - $record['subparts'][$key] = array ( |
|
228 | + $record['subparts'][$key] = array( |
|
229 | 229 | 'uid' => $resArray['uid'], |
230 | 230 | 'page' => 1, |
231 | 231 | 'preview' => (!empty($record['subparts'][$key]['h']) ? $record['subparts'][$key]['h'] : ''), |
@@ -248,13 +248,13 @@ discard block |
||
248 | 248 | foreach ($result->response->docs as $resArray) { |
249 | 249 | |
250 | 250 | // Prepare document's metadata. |
251 | - $metadata = array (); |
|
251 | + $metadata = array(); |
|
252 | 252 | |
253 | 253 | foreach ($this->solrConfig as $index_name => $solr_name) { |
254 | 254 | |
255 | 255 | if (!empty($resArray->$solr_name)) { |
256 | 256 | |
257 | - $metadata[$index_name] = (is_array($resArray->$solr_name) ? $resArray->$solr_name : array ($resArray->$solr_name)); |
|
257 | + $metadata[$index_name] = (is_array($resArray->$solr_name) ? $resArray->$solr_name : array($resArray->$solr_name)); |
|
258 | 258 | |
259 | 259 | } |
260 | 260 | |
@@ -269,7 +269,7 @@ discard block |
||
269 | 269 | |
270 | 270 | } elseif (($key = tx_dlf_helper::array_search_recursive($resArray->id, $record['subparts'], TRUE)) !== FALSE) { |
271 | 271 | |
272 | - $record['subparts'][$key] = array ( |
|
272 | + $record['subparts'][$key] = array( |
|
273 | 273 | 'uid' => $resArray->uid, |
274 | 274 | 'page' => $resArray->page, |
275 | 275 | 'preview' => (!empty($record['subparts'][$key]['h']) ? $record['subparts'][$key]['h'] : ''), |
@@ -369,7 +369,7 @@ discard block |
||
369 | 369 | |
370 | 370 | $element = $this->remove($position); |
371 | 371 | |
372 | - $this->add(array ($element), $position + $steps); |
|
372 | + $this->add(array($element), $position + $steps); |
|
373 | 373 | |
374 | 374 | } |
375 | 375 | |
@@ -573,11 +573,11 @@ discard block |
||
573 | 573 | */ |
574 | 574 | public function reset() { |
575 | 575 | |
576 | - $this->elements = array (); |
|
576 | + $this->elements = array(); |
|
577 | 577 | |
578 | - $this->records = array (); |
|
578 | + $this->records = array(); |
|
579 | 579 | |
580 | - $this->metadata = array (); |
|
580 | + $this->metadata = array(); |
|
581 | 581 | |
582 | 582 | $this->count = 0; |
583 | 583 | |
@@ -619,7 +619,7 @@ discard block |
||
619 | 619 | |
620 | 620 | } else { |
621 | 621 | |
622 | - tx_dlf_helper::saveToSession(array ($this->elements, $this->metadata), get_class($this)); |
|
622 | + tx_dlf_helper::saveToSession(array($this->elements, $this->metadata), get_class($this)); |
|
623 | 623 | |
624 | 624 | } |
625 | 625 | |
@@ -683,9 +683,9 @@ discard block |
||
683 | 683 | */ |
684 | 684 | public function sort($by, $asc = TRUE) { |
685 | 685 | |
686 | - $newOrder = array (); |
|
686 | + $newOrder = array(); |
|
687 | 687 | |
688 | - $nonSortable = array (); |
|
688 | + $nonSortable = array(); |
|
689 | 689 | |
690 | 690 | foreach ($this->elements as $num => $element) { |
691 | 691 | |
@@ -790,7 +790,7 @@ discard block |
||
790 | 790 | * |
791 | 791 | * @return void |
792 | 792 | */ |
793 | - protected function _setMetadata(array $metadata = array ()) { |
|
793 | + protected function _setMetadata(array $metadata = array()) { |
|
794 | 794 | |
795 | 795 | $this->metadata = $metadata; |
796 | 796 | |
@@ -806,7 +806,7 @@ discard block |
||
806 | 806 | * |
807 | 807 | * @return void |
808 | 808 | */ |
809 | - public function __construct(array $elements = array (), array $metadata = array ()) { |
|
809 | + public function __construct(array $elements = array(), array $metadata = array()) { |
|
810 | 810 | |
811 | 811 | if (empty($elements) && empty($metadata)) { |
812 | 812 | |
@@ -925,7 +925,7 @@ discard block |
||
925 | 925 | */ |
926 | 926 | public function __sleep() { |
927 | 927 | |
928 | - return array ('elements', 'metadata'); |
|
928 | + return array('elements', 'metadata'); |
|
929 | 929 | |
930 | 930 | } |
931 | 931 |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * LICENSE.txt file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -$EM_CONF[$_EXTKEY] = array ( |
|
12 | +$EM_CONF[$_EXTKEY] = array( |
|
13 | 13 | 'title' => 'Kitodo.Presentation', |
14 | 14 | 'description' => 'Base plugins, modules, services and API of the Digital Library Framework. It is part of the community-based Kitodo Digitization Suite.', |
15 | 15 | 'category' => 'fe', |
@@ -27,14 +27,14 @@ discard block |
||
27 | 27 | 'clearCacheOnLoad' => FALSE, |
28 | 28 | 'lockType' => '', |
29 | 29 | 'version' => '2.1.0', |
30 | - 'constraints' => array ( |
|
31 | - 'depends' => array ( |
|
30 | + 'constraints' => array( |
|
31 | + 'depends' => array( |
|
32 | 32 | 'php' => '5.3.7-', |
33 | 33 | 'typo3' => '6.2.0-7.9.99', |
34 | 34 | ), |
35 | - 'conflicts' => array ( |
|
35 | + 'conflicts' => array( |
|
36 | 36 | ), |
37 | - 'suggests' => array ( |
|
37 | + 'suggests' => array( |
|
38 | 38 | ), |
39 | 39 | ), |
40 | 40 | '_md5_values_when_last_written' => '', |
@@ -9,8 +9,8 @@ discard block |
||
9 | 9 | * LICENSE.txt file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -return array ( |
|
13 | - 'ctrl' => array ( |
|
12 | +return array( |
|
13 | + 'ctrl' => array( |
|
14 | 14 | 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadataformat', |
15 | 15 | 'label' => 'encoded', |
16 | 16 | 'tstamp' => 'tstamp', |
@@ -24,22 +24,22 @@ discard block |
||
24 | 24 | 'searchFields' => 'encoded', |
25 | 25 | 'hideTable' => 1, |
26 | 26 | ), |
27 | - 'feInterface' => array ( |
|
27 | + 'feInterface' => array( |
|
28 | 28 | 'fe_admin_fieldList' => '', |
29 | 29 | ), |
30 | - 'interface' => array ( |
|
30 | + 'interface' => array( |
|
31 | 31 | 'showRecordFieldList' => 'parent_id,encoded,xpath,xpath_sorting', |
32 | 32 | ), |
33 | - 'columns' => array ( |
|
34 | - 'parent_id' => array ( |
|
35 | - 'config' => array ( |
|
33 | + 'columns' => array( |
|
34 | + 'parent_id' => array( |
|
35 | + 'config' => array( |
|
36 | 36 | 'type' => 'passthrough', |
37 | 37 | ), |
38 | 38 | ), |
39 | - 'encoded' => array ( |
|
39 | + 'encoded' => array( |
|
40 | 40 | 'exclude' => 1, |
41 | 41 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadataformat.encoded', |
42 | - 'config' => array ( |
|
42 | + 'config' => array( |
|
43 | 43 | 'type' => 'select', |
44 | 44 | 'renderType' => 'selectSingle', |
45 | 45 | 'foreign_table' => 'tx_dlf_formats', |
@@ -49,39 +49,39 @@ discard block |
||
49 | 49 | 'maxitems' => 1, |
50 | 50 | ), |
51 | 51 | ), |
52 | - 'xpath' => array ( |
|
52 | + 'xpath' => array( |
|
53 | 53 | 'exclude' => 1, |
54 | 54 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadataformat.xpath', |
55 | - 'config' => array ( |
|
55 | + 'config' => array( |
|
56 | 56 | 'type' => 'input', |
57 | 57 | 'size' => 30, |
58 | 58 | 'max' => 1024, |
59 | 59 | 'eval' => 'required,trim', |
60 | 60 | ), |
61 | 61 | ), |
62 | - 'xpath_sorting' => array ( |
|
62 | + 'xpath_sorting' => array( |
|
63 | 63 | 'exclude' => 1, |
64 | 64 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadataformat.xpath_sorting', |
65 | - 'config' => array ( |
|
65 | + 'config' => array( |
|
66 | 66 | 'type' => 'input', |
67 | 67 | 'size' => 30, |
68 | 68 | 'max' => 1024, |
69 | 69 | 'eval' => 'trim', |
70 | 70 | ), |
71 | 71 | ), |
72 | - 'mandatory' => array ( |
|
72 | + 'mandatory' => array( |
|
73 | 73 | 'exclude' => 1, |
74 | 74 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadataformat.mandatory', |
75 | - 'config' => array ( |
|
75 | + 'config' => array( |
|
76 | 76 | 'type' => 'check', |
77 | 77 | 'default' => 0, |
78 | 78 | ), |
79 | 79 | ), |
80 | 80 | ), |
81 | - 'types' => array ( |
|
82 | - '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_metadataformat.tab1, encoded;;;;1-1-1, xpath;;;;2-2-2, xpath_sorting, mandatory;;;;3-3-3'), |
|
81 | + 'types' => array( |
|
82 | + '0' => array('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_metadataformat.tab1, encoded;;;;1-1-1, xpath;;;;2-2-2, xpath_sorting, mandatory;;;;3-3-3'), |
|
83 | 83 | ), |
84 | - 'palettes' => array ( |
|
85 | - '1' => array ('showitem' => ''), |
|
84 | + 'palettes' => array( |
|
85 | + '1' => array('showitem' => ''), |
|
86 | 86 | ), |
87 | 87 | ); |
@@ -9,8 +9,8 @@ discard block |
||
9 | 9 | * LICENSE.txt file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -return array ( |
|
13 | - 'ctrl' => array ( |
|
12 | +return array( |
|
13 | + 'ctrl' => array( |
|
14 | 14 | 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_basket', |
15 | 15 | 'label' => 'label', |
16 | 16 | 'tstamp' => 'tstamp', |
@@ -25,52 +25,52 @@ discard block |
||
25 | 25 | 'dividers2tabs' => 2, |
26 | 26 | 'searchFields' => '', |
27 | 27 | ), |
28 | - 'interface' => array ( |
|
28 | + 'interface' => array( |
|
29 | 29 | 'showRecordFieldList' => 'label,doc_ids,session_id', |
30 | 30 | ), |
31 | - 'feInterface' => array ( |
|
31 | + 'feInterface' => array( |
|
32 | 32 | 'fe_admin_fieldList' => '', |
33 | 33 | ), |
34 | - 'columns' => array ( |
|
35 | - 'label' => array ( |
|
34 | + 'columns' => array( |
|
35 | + 'label' => array( |
|
36 | 36 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_basket.label', |
37 | - 'config' => array ( |
|
37 | + 'config' => array( |
|
38 | 38 | 'type' => 'input', |
39 | 39 | 'size' => 30, |
40 | 40 | 'max' => 255, |
41 | 41 | 'eval' => 'required,trim', |
42 | 42 | ), |
43 | 43 | ), |
44 | - 'session_id' => array ( |
|
44 | + 'session_id' => array( |
|
45 | 45 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_basket.sessionId', |
46 | - 'config' => array ( |
|
46 | + 'config' => array( |
|
47 | 47 | 'type' => 'input', |
48 | 48 | 'size' => 30, |
49 | 49 | 'max' => 255, |
50 | 50 | 'eval' => 'alphanum,unique', |
51 | 51 | ), |
52 | 52 | ), |
53 | - 'doc_ids' => array ( |
|
53 | + 'doc_ids' => array( |
|
54 | 54 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_basket.docIds', |
55 | - 'config' => array ( |
|
55 | + 'config' => array( |
|
56 | 56 | 'type' => 'input', |
57 | 57 | 'size' => 30, |
58 | 58 | 'max' => 255, |
59 | 59 | 'eval' => 'alphanum_x', |
60 | 60 | ), |
61 | 61 | ), |
62 | - 'fe_user_id' => array ( |
|
62 | + 'fe_user_id' => array( |
|
63 | 63 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_basket.feUser', |
64 | - 'config' => array ( |
|
64 | + 'config' => array( |
|
65 | 65 | 'type' => 'input', |
66 | 66 | 'eval' => 'int,unique', |
67 | 67 | ), |
68 | 68 | ), |
69 | 69 | ), |
70 | - 'types' => array ( |
|
71 | - '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_basket.tab1, label;;;;1-1-1, session_id;;;;2-2-2, doc_ids;;;;2-2-2, fe_user_id;;;;2-2-2'), |
|
70 | + 'types' => array( |
|
71 | + '0' => array('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_basket.tab1, label;;;;1-1-1, session_id;;;;2-2-2, doc_ids;;;;2-2-2, fe_user_id;;;;2-2-2'), |
|
72 | 72 | ), |
73 | - 'palettes' => array ( |
|
74 | - '1' => array ('showitem' => ''), |
|
73 | + 'palettes' => array( |
|
74 | + '1' => array('showitem' => ''), |
|
75 | 75 | ), |
76 | 76 | ); |
77 | 77 | \ No newline at end of file |
@@ -9,8 +9,8 @@ discard block |
||
9 | 9 | * LICENSE.txt file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -return array ( |
|
13 | - 'ctrl' => array ( |
|
12 | +return array( |
|
13 | + 'ctrl' => array( |
|
14 | 14 | 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_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 | ), |
@@ -32,65 +32,65 @@ discard block |
||
32 | 32 | 'dividers2tabs' => 2, |
33 | 33 | 'searchFields' => 'label,index_name,oai_name,fe_cruser_id', |
34 | 34 | ), |
35 | - 'feInterface' => array ( |
|
35 | + 'feInterface' => array( |
|
36 | 36 | 'fe_admin_fieldList' => 'label,description,thumbnail,documents', |
37 | 37 | ), |
38 | - 'interface' => array ( |
|
38 | + 'interface' => array( |
|
39 | 39 | 'showRecordFieldList' => 'label,index_name,oai_name,fe_cruser_id', |
40 | 40 | ), |
41 | - 'columns' => array ( |
|
42 | - 'sys_language_uid' => array ( |
|
41 | + 'columns' => array( |
|
42 | + 'sys_language_uid' => array( |
|
43 | 43 | 'exclude' => 1, |
44 | 44 | 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.language', |
45 | - 'config' => array ( |
|
45 | + 'config' => array( |
|
46 | 46 | 'type' => 'select', |
47 | 47 | 'renderType' => 'selectSingle', |
48 | 48 | 'foreign_table' => 'sys_language', |
49 | 49 | 'foreign_table_where' => 'ORDER BY sys_language.title', |
50 | - 'items' => array ( |
|
51 | - array ('LLL:EXT:lang/locallang_general.xml:LGL.allLanguages', -1), |
|
52 | - array ('LLL:EXT:lang/locallang_general.xml:LGL.default_value', 0), |
|
50 | + 'items' => array( |
|
51 | + array('LLL:EXT:lang/locallang_general.xml:LGL.allLanguages', -1), |
|
52 | + array('LLL:EXT:lang/locallang_general.xml:LGL.default_value', 0), |
|
53 | 53 | ), |
54 | 54 | 'default' => 0, |
55 | 55 | ), |
56 | 56 | ), |
57 | - 'l18n_parent' => array ( |
|
57 | + 'l18n_parent' => array( |
|
58 | 58 | 'displayCond' => 'FIELD:sys_language_uid:>:0', |
59 | 59 | 'exclude' => 1, |
60 | 60 | 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.l18n_parent', |
61 | - 'config' => array ( |
|
61 | + 'config' => array( |
|
62 | 62 | 'type' => 'select', |
63 | 63 | 'renderType' => 'selectSingle', |
64 | - 'items' => array ( |
|
65 | - array ('', 0), |
|
64 | + 'items' => array( |
|
65 | + array('', 0), |
|
66 | 66 | ), |
67 | 67 | 'foreign_table' => 'tx_dlf_collections', |
68 | 68 | 'foreign_table_where' => 'AND tx_dlf_collections.pid=###CURRENT_PID### AND tx_dlf_collections.sys_language_uid IN (-1,0)', |
69 | 69 | ), |
70 | 70 | ), |
71 | - 'l18n_diffsource' => array ( |
|
72 | - 'config' => array ( |
|
71 | + 'l18n_diffsource' => array( |
|
72 | + 'config' => array( |
|
73 | 73 | 'type' => 'passthrough' |
74 | 74 | ), |
75 | 75 | ), |
76 | - 'hidden' => array ( |
|
76 | + 'hidden' => array( |
|
77 | 77 | 'exclude' => 1, |
78 | 78 | 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden', |
79 | - 'config' => array ( |
|
79 | + 'config' => array( |
|
80 | 80 | 'type' => 'check', |
81 | 81 | 'default' => 0, |
82 | 82 | ), |
83 | 83 | ), |
84 | - 'fe_group' => array ( |
|
84 | + 'fe_group' => array( |
|
85 | 85 | 'exclude' => 1, |
86 | 86 | 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.fe_group', |
87 | - 'config' => array ( |
|
87 | + 'config' => array( |
|
88 | 88 | 'type' => 'select', |
89 | 89 | 'renderType' => 'selectMultipleSideBySide', |
90 | - 'items' => array ( |
|
91 | - array ('LLL:EXT:lang/locallang_general.xml:LGL.hide_at_login', -1), |
|
92 | - array ('LLL:EXT:lang/locallang_general.xml:LGL.any_login', -2), |
|
93 | - array ('LLL:EXT:lang/locallang_general.xml:LGL.usergroups', '--div--'), |
|
90 | + 'items' => array( |
|
91 | + array('LLL:EXT:lang/locallang_general.xml:LGL.hide_at_login', -1), |
|
92 | + array('LLL:EXT:lang/locallang_general.xml:LGL.any_login', -2), |
|
93 | + array('LLL:EXT:lang/locallang_general.xml:LGL.usergroups', '--div--'), |
|
94 | 94 | ), |
95 | 95 | 'foreign_table' => 'fe_groups', |
96 | 96 | 'size' => 5, |
@@ -100,50 +100,50 @@ discard block |
||
100 | 100 | 'exclusiveKeys' => '-1,-2', |
101 | 101 | ), |
102 | 102 | ), |
103 | - 'label' => array ( |
|
103 | + 'label' => array( |
|
104 | 104 | 'exclude' => 1, |
105 | 105 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.label', |
106 | - 'config' => array ( |
|
106 | + 'config' => array( |
|
107 | 107 | 'type' => 'input', |
108 | 108 | 'size' => 30, |
109 | 109 | 'max' => 255, |
110 | 110 | 'eval' => 'required,trim', |
111 | 111 | ), |
112 | 112 | ), |
113 | - 'index_name' => array ( |
|
113 | + 'index_name' => array( |
|
114 | 114 | 'exclude' => 1, |
115 | 115 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.index_name', |
116 | - 'config' => array ( |
|
116 | + 'config' => array( |
|
117 | 117 | 'type' => 'none', |
118 | 118 | 'size' => 30, |
119 | 119 | 'max' => 255, |
120 | 120 | 'eval' => 'required,uniqueInPid', |
121 | 121 | ), |
122 | 122 | ), |
123 | - 'index_search' => array ( |
|
123 | + 'index_search' => array( |
|
124 | 124 | 'exclude' => 1, |
125 | 125 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.index_search', |
126 | - 'config' => array ( |
|
126 | + 'config' => array( |
|
127 | 127 | 'type' => 'text', |
128 | 128 | 'cols' => 30, |
129 | 129 | 'rows' => 5, |
130 | 130 | 'eval' => '', |
131 | 131 | ), |
132 | 132 | ), |
133 | - 'oai_name' => array ( |
|
133 | + 'oai_name' => array( |
|
134 | 134 | 'exclude' => 1, |
135 | 135 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.oai_name', |
136 | - 'config' => array ( |
|
136 | + 'config' => array( |
|
137 | 137 | 'type' => 'input', |
138 | 138 | 'size' => 30, |
139 | 139 | 'max' => 255, |
140 | 140 | 'eval' => 'nospace,alphanum_x,uniqueInPid', |
141 | 141 | ), |
142 | 142 | ), |
143 | - 'description' => array ( |
|
143 | + 'description' => array( |
|
144 | 144 | 'exclude' => 1, |
145 | 145 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.description', |
146 | - 'config' => array ( |
|
146 | + 'config' => array( |
|
147 | 147 | 'type' => 'text', |
148 | 148 | 'cols' => 30, |
149 | 149 | 'rows' => 10, |
@@ -151,10 +151,10 @@ discard block |
||
151 | 151 | ), |
152 | 152 | '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]', |
153 | 153 | ), |
154 | - 'thumbnail' => array ( |
|
154 | + 'thumbnail' => array( |
|
155 | 155 | 'exclude' => 1, |
156 | 156 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.thumbnail', |
157 | - 'config' => array ( |
|
157 | + 'config' => array( |
|
158 | 158 | 'type' => 'group', |
159 | 159 | 'internal_type' => 'file_reference', |
160 | 160 | 'allowed' => 'gif,jpg,png', |
@@ -163,18 +163,18 @@ discard block |
||
163 | 163 | 'maxitems' => 1, |
164 | 164 | ), |
165 | 165 | ), |
166 | - 'priority' => array ( |
|
166 | + 'priority' => array( |
|
167 | 167 | 'exclude' => 1, |
168 | 168 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.priority', |
169 | - 'config' => array ( |
|
169 | + 'config' => array( |
|
170 | 170 | 'type' => 'select', |
171 | 171 | 'renderType' => 'selectSingle', |
172 | - 'items' => array ( |
|
173 | - array ('1', 1), |
|
174 | - array ('2', 2), |
|
175 | - array ('3', 3), |
|
176 | - array ('4', 4), |
|
177 | - array ('5', 5), |
|
172 | + 'items' => array( |
|
173 | + array('1', 1), |
|
174 | + array('2', 2), |
|
175 | + array('3', 3), |
|
176 | + array('4', 4), |
|
177 | + array('5', 5), |
|
178 | 178 | ), |
179 | 179 | 'size' => 1, |
180 | 180 | 'minitems' => 1, |
@@ -182,10 +182,10 @@ discard block |
||
182 | 182 | 'default' => 3, |
183 | 183 | ), |
184 | 184 | ), |
185 | - 'documents' => array ( |
|
185 | + 'documents' => array( |
|
186 | 186 | 'exclude' => 1, |
187 | 187 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.documents', |
188 | - 'config' => array ( |
|
188 | + 'config' => array( |
|
189 | 189 | 'type' => 'select', |
190 | 190 | 'renderType' => 'selectSingleBox', |
191 | 191 | 'foreign_table' => 'tx_dlf_documents', |
@@ -195,20 +195,20 @@ discard block |
||
195 | 195 | 'minitems' => 0, |
196 | 196 | 'maxitems' => 1048576, |
197 | 197 | 'MM' => 'tx_dlf_relations', |
198 | - 'MM_match_fields' => array ( |
|
198 | + 'MM_match_fields' => array( |
|
199 | 199 | 'ident' => 'docs_colls', |
200 | 200 | ), |
201 | 201 | 'MM_opposite_field' => 'collections', |
202 | 202 | ), |
203 | 203 | ), |
204 | - 'owner' => array ( |
|
204 | + 'owner' => array( |
|
205 | 205 | 'exclude' => 1, |
206 | 206 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.owner', |
207 | - 'config' => array ( |
|
207 | + 'config' => array( |
|
208 | 208 | 'type' => 'select', |
209 | 209 | 'renderType' => 'selectSingle', |
210 | - 'items' => array ( |
|
211 | - array ('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.owner.none', 0), |
|
210 | + 'items' => array( |
|
211 | + array('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.owner.none', 0), |
|
212 | 212 | ), |
213 | 213 | 'foreign_table' => 'tx_dlf_libraries', |
214 | 214 | 'foreign_table_where' => 'AND tx_dlf_libraries.sys_language_uid IN (-1,0) ORDER BY tx_dlf_libraries.label', |
@@ -217,14 +217,14 @@ discard block |
||
217 | 217 | 'maxitems' => 1, |
218 | 218 | ), |
219 | 219 | ), |
220 | - 'fe_cruser_id' => array ( |
|
220 | + 'fe_cruser_id' => array( |
|
221 | 221 | 'exclude' => 1, |
222 | 222 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.fe_cruser_id', |
223 | - 'config' => array ( |
|
223 | + 'config' => array( |
|
224 | 224 | 'type' => 'select', |
225 | 225 | 'renderType' => 'selectSingle', |
226 | - 'items' => array ( |
|
227 | - array ('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.fe_cruser_id.none', 0), |
|
226 | + 'items' => array( |
|
227 | + array('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.fe_cruser_id.none', 0), |
|
228 | 228 | ), |
229 | 229 | 'foreign_table' => 'fe_users', |
230 | 230 | 'foreign_table_where' => 'ORDER BY fe_users.username', |
@@ -233,22 +233,22 @@ discard block |
||
233 | 233 | 'maxitems' => 1, |
234 | 234 | ), |
235 | 235 | ), |
236 | - 'fe_admin_lock' => array ( |
|
236 | + 'fe_admin_lock' => array( |
|
237 | 237 | 'exclude' => 1, |
238 | 238 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.fe_admin_lock', |
239 | - 'config' => array ( |
|
239 | + 'config' => array( |
|
240 | 240 | 'type' => 'check', |
241 | 241 | 'default' => 0, |
242 | 242 | ), |
243 | 243 | ), |
244 | - 'status' => array ( |
|
244 | + 'status' => array( |
|
245 | 245 | 'exclude' => 1, |
246 | 246 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.status', |
247 | - 'config' => array ( |
|
247 | + 'config' => array( |
|
248 | 248 | 'type' => 'select', |
249 | 249 | 'renderType' => 'selectSingle', |
250 | - 'items' => array ( |
|
251 | - array ('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.status.default', 0), |
|
250 | + 'items' => array( |
|
251 | + array('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.status.default', 0), |
|
252 | 252 | ), |
253 | 253 | 'size' => 1, |
254 | 254 | 'minitems' => 1, |
@@ -257,12 +257,12 @@ discard block |
||
257 | 257 | ), |
258 | 258 | ), |
259 | 259 | ), |
260 | - 'types' => array ( |
|
261 | - '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'), |
|
260 | + 'types' => array( |
|
261 | + '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 | 262 | ), |
263 | - 'palettes' => array ( |
|
264 | - '1' => array ('showitem' => 'index_name, --linebreak--, index_search, --linebreak--, oai_name', 'canNotCollapse' => 1), |
|
265 | - '2' => array ('showitem' => 'thumbnail, priority', 'canNotCollapse' => 1), |
|
266 | - '3' => array ('showitem' => 'fe_admin_lock', 'canNotCollapse' => 1), |
|
263 | + 'palettes' => array( |
|
264 | + '1' => array('showitem' => 'index_name, --linebreak--, index_search, --linebreak--, oai_name', 'canNotCollapse' => 1), |
|
265 | + '2' => array('showitem' => 'thumbnail, priority', 'canNotCollapse' => 1), |
|
266 | + '3' => array('showitem' => 'fe_admin_lock', 'canNotCollapse' => 1), |
|
267 | 267 | ), |
268 | 268 | ); |
@@ -9,8 +9,8 @@ discard block |
||
9 | 9 | * LICENSE.txt file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -return array ( |
|
13 | - 'ctrl' => array ( |
|
12 | +return array( |
|
13 | + 'ctrl' => array( |
|
14 | 14 | 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures', |
15 | 15 | 'label' => 'label', |
16 | 16 | 'tstamp' => 'tstamp', |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | 'transOrigDiffSourceField' => 'l18n_diffsource', |
22 | 22 | 'default_sortby' => 'ORDER BY label', |
23 | 23 | 'delete' => 'deleted', |
24 | - 'enablecolumns' => array ( |
|
24 | + 'enablecolumns' => array( |
|
25 | 25 | 'disabled' => 'hidden', |
26 | 26 | ), |
27 | 27 | 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfstructures.png', |
@@ -30,106 +30,106 @@ discard block |
||
30 | 30 | 'searchFields' => 'label,index_name,oai_name', |
31 | 31 | 'requestUpdate' => 'toplevel', |
32 | 32 | ), |
33 | - 'feInterface' => array ( |
|
33 | + 'feInterface' => array( |
|
34 | 34 | 'fe_admin_fieldList' => '', |
35 | 35 | ), |
36 | - 'interface' => array ( |
|
36 | + 'interface' => array( |
|
37 | 37 | 'showRecordFieldList' => 'label,index_name,oai_name,toplevel', |
38 | 38 | ), |
39 | - 'columns' => array ( |
|
40 | - 'sys_language_uid' => array ( |
|
39 | + 'columns' => array( |
|
40 | + 'sys_language_uid' => array( |
|
41 | 41 | 'exclude' => 1, |
42 | 42 | 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.language', |
43 | - 'config' => array ( |
|
43 | + 'config' => array( |
|
44 | 44 | 'type' => 'select', |
45 | 45 | 'renderType' => 'selectSingle', |
46 | 46 | 'foreign_table' => 'sys_language', |
47 | 47 | 'foreign_table_where' => 'ORDER BY sys_language.title', |
48 | - 'items' => array ( |
|
49 | - array ('LLL:EXT:lang/locallang_general.xml:LGL.allLanguages', -1), |
|
50 | - array ('LLL:EXT:lang/locallang_general.xml:LGL.default_value', 0), |
|
48 | + 'items' => array( |
|
49 | + array('LLL:EXT:lang/locallang_general.xml:LGL.allLanguages', -1), |
|
50 | + array('LLL:EXT:lang/locallang_general.xml:LGL.default_value', 0), |
|
51 | 51 | ), |
52 | 52 | 'default' => 0 |
53 | 53 | ), |
54 | 54 | ), |
55 | - 'l18n_parent' => array ( |
|
55 | + 'l18n_parent' => array( |
|
56 | 56 | 'displayCond' => 'FIELD:sys_language_uid:>:0', |
57 | 57 | 'exclude' => 1, |
58 | 58 | 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.l18n_parent', |
59 | - 'config' => array ( |
|
59 | + 'config' => array( |
|
60 | 60 | 'type' => 'select', |
61 | 61 | 'renderType' => 'selectSingle', |
62 | - 'items' => array ( |
|
63 | - array ('', 0), |
|
62 | + 'items' => array( |
|
63 | + array('', 0), |
|
64 | 64 | ), |
65 | 65 | 'foreign_table' => 'tx_dlf_structures', |
66 | 66 | 'foreign_table_where' => 'AND tx_dlf_structures.pid=###CURRENT_PID### AND tx_dlf_structures.sys_language_uid IN (-1,0) ORDER BY label ASC', |
67 | 67 | ), |
68 | 68 | ), |
69 | - 'l18n_diffsource' => array ( |
|
70 | - 'config' => array ( |
|
69 | + 'l18n_diffsource' => array( |
|
70 | + 'config' => array( |
|
71 | 71 | 'type' => 'passthrough', |
72 | 72 | ), |
73 | 73 | ), |
74 | - 'hidden' => array ( |
|
74 | + 'hidden' => array( |
|
75 | 75 | 'exclude' => 1, |
76 | 76 | 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden', |
77 | - 'config' => array ( |
|
77 | + 'config' => array( |
|
78 | 78 | 'type' => 'check', |
79 | 79 | 'default' => 0, |
80 | 80 | ), |
81 | 81 | ), |
82 | - 'toplevel' => array ( |
|
82 | + 'toplevel' => array( |
|
83 | 83 | 'exclude' => 1, |
84 | 84 | 'l10n_mode' => 'exclude', |
85 | 85 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.toplevel', |
86 | - 'config' => array ( |
|
86 | + 'config' => array( |
|
87 | 87 | 'type' => 'check', |
88 | 88 | 'default' => 0, |
89 | 89 | ), |
90 | 90 | ), |
91 | - 'label' => array ( |
|
91 | + 'label' => array( |
|
92 | 92 | 'exclude' => 1, |
93 | 93 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.label', |
94 | - 'config' => array ( |
|
94 | + 'config' => array( |
|
95 | 95 | 'type' => 'input', |
96 | 96 | 'size' => 30, |
97 | 97 | 'max' => 255, |
98 | 98 | 'eval' => 'required,trim', |
99 | 99 | ), |
100 | 100 | ), |
101 | - 'index_name' => array ( |
|
101 | + 'index_name' => array( |
|
102 | 102 | 'exclude' => 1, |
103 | 103 | 'l10n_mode' => 'exclude', |
104 | 104 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.index_name', |
105 | - 'config' => array ( |
|
105 | + 'config' => array( |
|
106 | 106 | 'type' => 'input', |
107 | 107 | 'size' => 30, |
108 | 108 | 'max' => 255, |
109 | 109 | 'eval' => 'required,nospace,alphanum_x,uniqueInPid', |
110 | 110 | ), |
111 | 111 | ), |
112 | - 'oai_name' => array ( |
|
112 | + 'oai_name' => array( |
|
113 | 113 | 'exclude' => 1, |
114 | 114 | 'l10n_mode' => 'exclude', |
115 | 115 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.oai_name', |
116 | - 'config' => array ( |
|
116 | + 'config' => array( |
|
117 | 117 | 'type' => 'input', |
118 | 118 | 'size' => 30, |
119 | 119 | 'max' => 255, |
120 | 120 | 'eval' => 'trim', |
121 | 121 | ), |
122 | 122 | ), |
123 | - 'thumbnail' => array ( |
|
123 | + 'thumbnail' => array( |
|
124 | 124 | 'exclude' => 1, |
125 | 125 | 'l10n_mode' => 'exclude', |
126 | 126 | 'displayCond' => 'FIELD:toplevel:REQ:true', |
127 | 127 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.thumbnail', |
128 | - 'config' => array ( |
|
128 | + 'config' => array( |
|
129 | 129 | 'type' => 'select', |
130 | 130 | 'renderType' => 'selectSingle', |
131 | - 'items' => array ( |
|
132 | - array ('LLL:EXT:dlf/locallang.xml:tx_dlf_structures.thumbnail.self', 0), |
|
131 | + 'items' => array( |
|
132 | + array('LLL:EXT:dlf/locallang.xml:tx_dlf_structures.thumbnail.self', 0), |
|
133 | 133 | ), |
134 | 134 | 'foreign_table' => 'tx_dlf_structures', |
135 | 135 | 'foreign_table_where' => 'AND tx_dlf_structures.pid=###CURRENT_PID### AND tx_dlf_structures.toplevel=0 AND tx_dlf_structures.sys_language_uid IN (-1,0) ORDER BY tx_dlf_structures.label', |
@@ -139,14 +139,14 @@ discard block |
||
139 | 139 | 'default' => 0, |
140 | 140 | ), |
141 | 141 | ), |
142 | - 'status' => array ( |
|
142 | + 'status' => array( |
|
143 | 143 | 'exclude' => 1, |
144 | 144 | 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.status', |
145 | - 'config' => array ( |
|
145 | + 'config' => array( |
|
146 | 146 | 'type' => 'select', |
147 | 147 | 'renderType' => 'selectSingle', |
148 | - 'items' => array ( |
|
149 | - array ('LLL:EXT:dlf/locallang.xml:tx_dlf_structures.status.default', 0), |
|
148 | + 'items' => array( |
|
149 | + array('LLL:EXT:dlf/locallang.xml:tx_dlf_structures.status.default', 0), |
|
150 | 150 | ), |
151 | 151 | 'size' => 1, |
152 | 152 | 'minitems' => 1, |
@@ -155,10 +155,10 @@ discard block |
||
155 | 155 | ), |
156 | 156 | ), |
157 | 157 | ), |
158 | - 'types' => array ( |
|
159 | - '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_structures.tab1, toplevel;;;;1-1-1, label,--palette--;;1, thumbnail, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_structures.tab2, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_structures.tab3, hidden;;;;1-1-1, status;;;;2-2-2'), |
|
158 | + 'types' => array( |
|
159 | + '0' => array('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_structures.tab1, toplevel;;;;1-1-1, label,--palette--;;1, thumbnail, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_structures.tab2, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_structures.tab3, hidden;;;;1-1-1, status;;;;2-2-2'), |
|
160 | 160 | ), |
161 | - 'palettes' => array ( |
|
162 | - '1' => array ('showitem' => 'index_name, --linebreak--, oai_name', 'canNotCollapse' => 1), |
|
161 | + 'palettes' => array( |
|
162 | + '1' => array('showitem' => 'index_name, --linebreak--, oai_name', 'canNotCollapse' => 1), |
|
163 | 163 | ), |
164 | 164 | ); |
@@ -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 | ); |