28
28
'ctrl' => $TCA['tx_dlf_documents']['ctrl'],
29
29
'interface' => array (
30
30
'showRecordFieldList' => 'title,volume,author,year,place,uid,prod_id,location,oai_id,opac_id,union_id,urn',
31
'maxDBListItems' => 25,
32
'maxSingleDBListItems' => 50,
31
'maxDBListItems' => 50,
32
'maxSingleDBListItems' => 250,
34
34
'feInterface' => $TCA['tx_dlf_documents']['feInterface'],
35
35
'columns' => array (
201
199
'eval' => 'trim',
204
'thumbnail' => array (
202
'place_sorting' => array (
206
'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.thumbnail',
209
'userFunc' => 'EXT:dlf/hooks/class.tx_dlf_tceforms.php:tx_dlf_tceforms->displayThumbnail',
204
'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.place_sorting',
212
212
'metadata' => array (
213
213
'config' => array (
214
214
'type' => 'passthrough',
217
'metadata_sorting' => array (
219
'type' => 'passthrough',
222
217
'structure' => array (
224
219
'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.structure',
234
229
'partof' => array (
235
'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.partof',
236
230
'config' => array (
238
'internal_type' => 'db',
239
'allowed' => 'tx_dlf_documents',
240
'prepend_tname' => 0,
242
'selectedListStyle' => 'width:400px;',
245
'disable_controls' => 'browser,delete',
231
'type' => 'passthrough',
233
// This results in really long loading times because a list of all available documents is rendered.
235
// 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.partof',
236
// 'config' => array (
237
// 'type' => 'select',
238
// 'items' => array (
239
// array ('LLL:EXT:dlf/locallang.xml:tx_dlf_documents.partof.none', 0),
241
// 'foreign_table' => 'tx_dlf_documents',
242
// 'foreign_table_where' => 'AND tx_dlf_documents.pid=###CURRENT_PID### ORDER BY tx_dlf_documents.title_sorting',
250
249
'volume' => array (
317
'thumbnail' => array (
320
'type' => 'passthrough',
319
324
'types' => array (
320
'0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_documents.tab1, title;;1;;1-1-1, author, year, place, structure;;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;;3;;1-1-1, fe_group;;;;2-2-2, status;;;;3-3-3, owner;;;;4-4-4'),
325
'0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_documents.tab1, title;;1;;1-1-1, author;;2, year;;3, place;;4, structure;;5;;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;;;;1-1-1, fe_group;;;;2-2-2, status;;;;3-3-3, owner;;;;4-4-4'),
322
327
'palettes' => array (
323
'1' => array ('showitem' => 'title_sorting', 'thumbnail', 'canNotCollapse' => 1),
324
'2' => array ('showitem' => 'partof, --linebreak--, volume, volume_sorting', 'canNotCollapse' => 1),
325
'3' => array ('showitem' => 'starttime, endtime', 'canNotCollapse' => 1),
328
'1' => array ('showitem' => 'title_sorting', 'canNotCollapse' => 1),
329
'2' => array ('showitem' => 'author_sorting', 'canNotCollapse' => 1),
330
'3' => array ('showitem' => 'year_sorting', 'canNotCollapse' => 1),
331
'4' => array ('showitem' => 'place_sorting', 'canNotCollapse' => 1),
332
'5' => array ('showitem' => 'partof, --linebreak--, volume, volume_sorting', 'canNotCollapse' => 1),
397
404
'type' => 'input',
400
'eval' => 'required,nospace,alphanum_x,uniqueInPid',
407
'eval' => 'required,nospace,alphanum_x',
403
410
'oai_name' => array (
413
420
'thumbnail' => array (
415
'displayCond' => 'FIELD:toplevel:REQ:true',
416
'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.thumbnail',
422
'label' => 'Show Thumbnail',
422
'thumbnail_strct' => array (
424
'displayCond' => 'FIELD:thumbnail:REQ:true',
425
'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.thumbnail_strct',
429
array ('LLL:EXT:dlf/locallang.xml:tx_dlf_structures.thumbnail_strct.self', 0),
431
'foreign_table' => 'tx_dlf_structures',
432
'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 ',
428
'thumbnail_source' => array (
430
'label' => 'Thumbnail Source',
434
array ('[This Element]', 0),
436
'foreign_table' => 'tx_dlf_structures',
437
'foreign_table_where' => 'AND tx_dlf_structures.pid=###CURRENT_PID### AND tx_dlf_structures.toplevel=0',
438
440
'status' => array (
522
524
'type' => 'input',
525
'eval' => 'required,nospace,alphanum_x,uniqueInPid',
527
'eval' => 'required,nospace,alphanum_x',
528
530
'encoded' => array (
584
'default' => "key.wrap = <dt>|</dt>\nvalue.required = 1\nvalue.wrap = <dd>|</dd>",
585
'eval' => 'required,trim',
586
'default' => "key.wrap = <dt>|</dt>\nvalue.wrap = <dd>|</dd>",
586
588
'defaultExtras' => 'nowrap:fixed-font:enable-tab',
671
665
'0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.tab1, label;;1;;1-1-1, encoded;;;;2-2-2, xpath, xpath_sorting, default_value;;;;3-3-3, wrap, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.tab2, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.tab3, hidden;;;;1-1-1, status;;;;2-2-2'),
673
667
'palettes' => array (
674
'1' => array ('showitem' => 'index_name, --linebreak--, tokenized, stored, indexed, boost, --linebreak--, is_sortable, is_facet, is_listed, autocomplete', 'canNotCollapse' => 1),
668
'1' => array ('showitem' => 'index_name, --linebreak--, tokenized, stored, indexed, boost, --linebreak--, is_sortable, is_facet, is_listed', 'canNotCollapse' => 1),
691
685
'eval' => 'required,nospace,alphanum_x,unique',
688
'other_type' => array (
689
'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats.other_type',
694
695
'root' => array (
695
696
'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats.root',
696
697
'config' => array (
715
716
'type' => 'input',
718
'eval' => 'nospace,alphanum_x,unique',
719
'eval' => 'required,nospace,alphanum_x,unique',
722
723
'types' => array (
723
'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'),
724
'0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_formats.tab1, type;;;;1-1-1, other, root;;;;2-2-2, namespace, class;;;;3-3-3'),
725
726
'palettes' => array (
726
727
'1' => array ('showitem' => ''),