~slub.team/goobi-presentation/old-bzr-trunk

« back to all changes in this revision

Viewing changes to dlf/tca.php

  • Committer: Sebastian Meyer
  • Date: 2012-09-13 17:53:13 UTC
  • mfrom: (84.1.21 F404M)
  • Revision ID: sebastian.meyer@slub-dresden.de-20120913175313-3mrnzcpff0ugqbqy
Fix Bug #956155: Add preview image to listview

Show diffs side-by-side

added added

removed removed

Lines of Context:
201
201
                                'eval' => 'trim',
202
202
                        ),
203
203
                ),
 
204
                'thumbnail' => array (
 
205
                        'exclude' => 1,
 
206
                        'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.thumbnail',
 
207
                        'config' => array (
 
208
                                'type' => 'user',
 
209
                                'userFunc' => 'EXT:dlf/hooks/class.tx_dlf_tceforms.php:tx_dlf_tceforms->displayThumbnail',
 
210
                        ),
 
211
                ),
204
212
                'metadata' => array (
205
213
                        'config' => array (
206
214
                                'type' => 'passthrough',
312
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'),
313
321
        ),
314
322
        'palettes' => array (
315
 
                '1' => array ('showitem' => 'title_sorting', 'canNotCollapse' => 1),
 
323
                '1' => array ('showitem' => 'title_sorting', 'thumbnail', 'canNotCollapse' => 1),
316
324
                '2' => array ('showitem' => 'partof, --linebreak--, volume, volume_sorting', 'canNotCollapse' => 1),
317
325
                '3' => array ('showitem' => 'starttime, endtime', 'canNotCollapse' => 1),
318
326
        ),
402
410
                                'eval' => 'trim',
403
411
                        ),
404
412
                ),
 
413
                'thumbnail' => array (
 
414
                        'exclude' => 1,
 
415
                        'displayCond' => 'FIELD:toplevel:REQ:true',
 
416
                        'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.thumbnail',
 
417
                        'config' => array (
 
418
                                'type' => 'check',
 
419
                                'default' => 0,
 
420
                        ),
 
421
                ),
 
422
                'thumbnail_strct' => array (
 
423
                        'exclude' => 1,
 
424
                        'displayCond' => 'FIELD:thumbnail:REQ:true',
 
425
                        'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.thumbnail_strct',
 
426
                        'config' => array (
 
427
                                'type' => 'select',
 
428
                                'items' => array (
 
429
                                        array ('LLL:EXT:dlf/locallang.xml:tx_dlf_structures.thumbnail_strct.self', 0),
 
430
                                ),
 
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 ',
 
433
                        ),
 
434
                        'minitems' => 0,
 
435
                        'maxitems' => 1,
 
436
                        'default' => 0,
 
437
                ),
405
438
                'status' => array (
406
439
                        'exclude' => 1,
407
440
                        'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.status',
418
451
                ),
419
452
        ),
420
453
        'types' => array (
421
 
                '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_structures.tab1, toplevel;;;;1-1-1, label;;1, --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'),
 
454
                '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_structures.tab1, toplevel;;;;1-1-1, label;;1, thumbnail;;2, --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'),
422
455
        ),
423
456
        'palettes' => array (
424
457
                '1' => array ('showitem' => 'index_name, --linebreak--, oai_name', 'canNotCollapse' => 1),
 
458
                '2' => array ('showitem' => 'thumbnail_source'),
425
459
        ),
426
460
);
427
461