We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -10,328 +10,328 @@ |
||
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | 12 | return array ( |
| 13 | - 'ctrl' => array ( |
|
| 14 | - 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents', |
|
| 15 | - 'label' => 'title', |
|
| 16 | - 'tstamp' => 'tstamp', |
|
| 17 | - 'crdate' => 'crdate', |
|
| 18 | - 'cruser_id' => 'cruser_id', |
|
| 19 | - 'default_sortby' => 'ORDER BY title_sorting', |
|
| 20 | - 'delete' => 'deleted', |
|
| 21 | - 'enablecolumns' => array ( |
|
| 22 | - 'disabled' => 'hidden', |
|
| 23 | - 'starttime' => 'starttime', |
|
| 24 | - 'endtime' => 'endtime', |
|
| 25 | - 'fe_group' => 'fe_group', |
|
| 26 | - ), |
|
| 27 | - 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfdocuments.png', |
|
| 28 | - 'rootLevel' => 0, |
|
| 29 | - 'dividers2tabs' => 2, |
|
| 30 | - 'searchFields' => 'title,volume,author,year,place,uid,prod_id,location,oai_id,opac_id,union_id,urn', |
|
| 31 | - ), |
|
| 32 | - 'feInterface' => array ( |
|
| 33 | - 'fe_admin_fieldList' => '', |
|
| 34 | - ), |
|
| 35 | - 'interface' => array ( |
|
| 36 | - 'showRecordFieldList' => 'title,volume,author,year,place,uid,prod_id,location,oai_id,opac_id,union_id,urn', |
|
| 37 | - 'maxDBListItems' => 25, |
|
| 38 | - 'maxSingleDBListItems' => 50, |
|
| 39 | - ), |
|
| 40 | - 'columns' => array ( |
|
| 41 | - 'hidden' => array ( |
|
| 42 | - 'exclude' => 1, |
|
| 43 | - 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden', |
|
| 44 | - 'config' => array ( |
|
| 45 | - 'type' => 'check', |
|
| 46 | - 'default' => 0, |
|
| 47 | - ), |
|
| 48 | - ), |
|
| 49 | - 'starttime' => array ( |
|
| 50 | - 'exclude' => 1, |
|
| 51 | - 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.starttime', |
|
| 52 | - 'config' => array ( |
|
| 53 | - 'type' => 'input', |
|
| 54 | - 'size' => '13', |
|
| 55 | - 'max' => '20', |
|
| 56 | - 'eval' => 'datetime', |
|
| 57 | - 'default' => '0', |
|
| 58 | - ), |
|
| 59 | - ), |
|
| 60 | - 'endtime' => array ( |
|
| 61 | - 'exclude' => 1, |
|
| 62 | - 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.endtime', |
|
| 63 | - 'config' => array ( |
|
| 64 | - 'type' => 'input', |
|
| 65 | - 'size' => '13', |
|
| 66 | - 'max' => '20', |
|
| 67 | - 'eval' => 'datetime', |
|
| 68 | - 'default' => '0', |
|
| 69 | - ), |
|
| 70 | - ), |
|
| 71 | - 'fe_group' => array ( |
|
| 72 | - 'exclude' => 1, |
|
| 73 | - 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.fe_group', |
|
| 74 | - 'config' => array ( |
|
| 75 | - 'type' => 'select', |
|
| 76 | - 'renderType' => 'selectMultipleSideBySide', |
|
| 77 | - 'items' => array ( |
|
| 78 | - array ('LLL:EXT:lang/locallang_general.xml:LGL.hide_at_login', -1), |
|
| 79 | - array ('LLL:EXT:lang/locallang_general.xml:LGL.any_login', -2), |
|
| 80 | - array ('LLL:EXT:lang/locallang_general.xml:LGL.usergroups', '--div--'), |
|
| 81 | - ), |
|
| 82 | - 'foreign_table' => 'fe_groups', |
|
| 83 | - 'size' => 5, |
|
| 84 | - 'autoSizeMax' => 15, |
|
| 85 | - 'minitems' => 0, |
|
| 86 | - 'maxitems' => 20, |
|
| 87 | - 'exclusiveKeys' => '-1,-2', |
|
| 88 | - ), |
|
| 89 | - ), |
|
| 90 | - 'prod_id' => array ( |
|
| 91 | - 'exclude' => 1, |
|
| 92 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.prod_id', |
|
| 93 | - 'config' => array ( |
|
| 94 | - 'type' => 'input', |
|
| 95 | - 'size' => 30, |
|
| 96 | - 'max' => 255, |
|
| 97 | - 'eval' => 'nospace', |
|
| 98 | - ), |
|
| 99 | - ), |
|
| 100 | - 'location' => array ( |
|
| 101 | - 'exclude' => 1, |
|
| 102 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.location', |
|
| 103 | - 'config' => array ( |
|
| 104 | - 'type' => 'input', |
|
| 105 | - 'size' => 30, |
|
| 106 | - 'max' => 1024, |
|
| 107 | - 'eval' => 'required,uniqueInPid', |
|
| 108 | - ), |
|
| 109 | - ), |
|
| 110 | - 'record_id' => array ( |
|
| 111 | - 'exclude' => 1, |
|
| 112 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.record_id', |
|
| 113 | - 'config' => array ( |
|
| 114 | - 'type' => 'input', |
|
| 115 | - 'size' => 30, |
|
| 116 | - 'max' => 255, |
|
| 117 | - 'eval' => 'nospace,uniqueInPid', |
|
| 118 | - ), |
|
| 119 | - ), |
|
| 120 | - 'opac_id' => array ( |
|
| 121 | - 'exclude' => 1, |
|
| 122 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.opac_id', |
|
| 123 | - 'config' => array ( |
|
| 124 | - 'type' => 'input', |
|
| 125 | - 'size' => 30, |
|
| 126 | - 'max' => 255, |
|
| 127 | - 'eval' => 'nospace', |
|
| 128 | - ), |
|
| 129 | - ), |
|
| 130 | - 'union_id' => array ( |
|
| 131 | - 'exclude' => 1, |
|
| 132 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.union_id', |
|
| 133 | - 'config' => array ( |
|
| 134 | - 'type' => 'input', |
|
| 135 | - 'size' => 30, |
|
| 136 | - 'max' => 255, |
|
| 137 | - 'eval' => 'nospace', |
|
| 138 | - ), |
|
| 139 | - ), |
|
| 140 | - 'urn' => array ( |
|
| 141 | - 'exclude' => 1, |
|
| 142 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.urn', |
|
| 143 | - 'config' => array ( |
|
| 144 | - 'type' => 'input', |
|
| 145 | - 'size' => 30, |
|
| 146 | - 'max' => 255, |
|
| 147 | - 'eval' => 'nospace', |
|
| 148 | - ), |
|
| 149 | - ), |
|
| 150 | - 'purl' => array ( |
|
| 151 | - 'exclude' => 1, |
|
| 152 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.purl', |
|
| 153 | - 'config' => array ( |
|
| 154 | - 'type' => 'input', |
|
| 155 | - 'size' => 30, |
|
| 156 | - 'max' => 255, |
|
| 157 | - 'eval' => 'nospace', |
|
| 158 | - ), |
|
| 159 | - ), |
|
| 160 | - 'title' => array ( |
|
| 161 | - 'exclude' => 1, |
|
| 162 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.title', |
|
| 163 | - 'config' => array ( |
|
| 164 | - 'type' => 'input', |
|
| 165 | - 'size' => 30, |
|
| 166 | - 'max' => 1024, |
|
| 167 | - 'eval' => 'trim', |
|
| 168 | - ), |
|
| 169 | - ), |
|
| 170 | - 'title_sorting' => array ( |
|
| 171 | - 'exclude' => 1, |
|
| 172 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.title_sorting', |
|
| 173 | - 'config' => array ( |
|
| 174 | - 'type' => 'input', |
|
| 175 | - 'size' => 30, |
|
| 176 | - 'max' => 1024, |
|
| 177 | - 'eval' => 'trim', |
|
| 178 | - ), |
|
| 179 | - ), |
|
| 180 | - 'author' => array ( |
|
| 181 | - 'exclude' => 1, |
|
| 182 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.author', |
|
| 183 | - 'config' => array ( |
|
| 184 | - 'type' => 'input', |
|
| 185 | - 'size' => 30, |
|
| 186 | - 'max' => 255, |
|
| 187 | - 'eval' => 'trim', |
|
| 188 | - ), |
|
| 189 | - ), |
|
| 190 | - 'year' => array ( |
|
| 191 | - 'exclude' => 1, |
|
| 192 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.year', |
|
| 193 | - 'config' => array ( |
|
| 194 | - 'type' => 'input', |
|
| 195 | - 'size' => 30, |
|
| 196 | - 'max' => 255, |
|
| 197 | - 'eval' => 'trim', |
|
| 198 | - ), |
|
| 199 | - ), |
|
| 200 | - 'place' => array ( |
|
| 201 | - 'exclude' => 1, |
|
| 202 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.place', |
|
| 203 | - 'config' => array ( |
|
| 204 | - 'type' => 'input', |
|
| 205 | - 'size' => 30, |
|
| 206 | - 'max' => 255, |
|
| 207 | - 'eval' => 'trim', |
|
| 208 | - ), |
|
| 209 | - ), |
|
| 210 | - 'thumbnail' => array ( |
|
| 211 | - 'exclude' => 1, |
|
| 212 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.thumbnail', |
|
| 213 | - 'config' => array ( |
|
| 214 | - 'type' => 'user', |
|
| 215 | - 'userFunc' => 'EXT:dlf/hooks/class.tx_dlf_tceforms.php:tx_dlf_tceforms->displayThumbnail', |
|
| 216 | - ), |
|
| 217 | - ), |
|
| 218 | - 'metadata' => array ( |
|
| 219 | - 'config' => array ( |
|
| 220 | - 'type' => 'passthrough', |
|
| 221 | - ), |
|
| 222 | - ), |
|
| 223 | - 'metadata_sorting' => array ( |
|
| 224 | - 'config' => array ( |
|
| 225 | - 'type' => 'passthrough', |
|
| 226 | - ), |
|
| 227 | - ), |
|
| 228 | - 'structure' => array ( |
|
| 229 | - 'exclude' => 1, |
|
| 230 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.structure', |
|
| 231 | - 'config' => array ( |
|
| 232 | - 'type' => 'select', |
|
| 233 | - 'renderType' => 'selectSingle', |
|
| 234 | - 'foreign_table' => 'tx_dlf_structures', |
|
| 235 | - 'foreign_table_where' => 'AND tx_dlf_structures.pid=###CURRENT_PID### AND tx_dlf_structures.sys_language_uid IN (-1,0) AND tx_dlf_structures.toplevel=1 ORDER BY tx_dlf_structures.label', |
|
| 236 | - 'size' => 1, |
|
| 237 | - 'minitems' => 1, |
|
| 238 | - 'maxitems' => 1, |
|
| 239 | - ), |
|
| 240 | - ), |
|
| 241 | - 'partof' => array ( |
|
| 242 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.partof', |
|
| 243 | - 'config' => array ( |
|
| 244 | - 'type' => 'group', |
|
| 245 | - 'internal_type' => 'db', |
|
| 246 | - 'allowed' => 'tx_dlf_documents', |
|
| 247 | - 'prepend_tname' => 0, |
|
| 248 | - 'size' => 1, |
|
| 249 | - 'selectedListStyle' => 'width:400px;', |
|
| 250 | - 'minitems' => 0, |
|
| 251 | - 'maxitems' => 1, |
|
| 252 | - 'disable_controls' => 'browser,delete', |
|
| 253 | - 'default' => 0, |
|
| 254 | - 'readOnly' => 1, |
|
| 255 | - ), |
|
| 256 | - ), |
|
| 257 | - 'volume' => array ( |
|
| 258 | - 'exclude' => 1, |
|
| 259 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.volume', |
|
| 260 | - 'config' => array ( |
|
| 261 | - 'type' => 'input', |
|
| 262 | - 'size' => 30, |
|
| 263 | - 'max' => 255, |
|
| 264 | - 'eval' => 'trim', |
|
| 265 | - ), |
|
| 266 | - ), |
|
| 267 | - 'volume_sorting' => array ( |
|
| 268 | - 'exclude' => 1, |
|
| 269 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.volume_sorting', |
|
| 270 | - 'config' => array ( |
|
| 271 | - 'type' => 'input', |
|
| 272 | - 'size' => 30, |
|
| 273 | - 'max' => 255, |
|
| 274 | - 'eval' => 'trim', |
|
| 275 | - ), |
|
| 276 | - ), |
|
| 277 | - 'collections' => array ( |
|
| 278 | - 'exclude' => 1, |
|
| 279 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.collections', |
|
| 280 | - 'config' => array ( |
|
| 281 | - 'type' => 'select', |
|
| 282 | - 'renderType' => 'selectMultipleSideBySide', |
|
| 283 | - 'foreign_table' => 'tx_dlf_collections', |
|
| 284 | - 'foreign_table_where' => 'AND tx_dlf_collections.pid=###CURRENT_PID### AND tx_dlf_collections.sys_language_uid IN (-1,0) ORDER BY tx_dlf_collections.label', |
|
| 285 | - 'size' => 5, |
|
| 286 | - 'autoSizeMax' => 15, |
|
| 287 | - 'minitems' => 1, |
|
| 288 | - 'maxitems' => 1024, |
|
| 289 | - 'MM' => 'tx_dlf_relations', |
|
| 290 | - 'MM_match_fields' => array ( |
|
| 291 | - 'ident' => 'docs_colls', |
|
| 292 | - ), |
|
| 293 | - ), |
|
| 294 | - ), |
|
| 295 | - 'owner' => array ( |
|
| 296 | - 'exclude' => 1, |
|
| 297 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.owner', |
|
| 298 | - 'config' => array ( |
|
| 299 | - 'type' => 'select', |
|
| 300 | - 'renderType' => 'selectSingle', |
|
| 301 | - 'foreign_table' => 'tx_dlf_libraries', |
|
| 302 | - 'foreign_table_where' => 'AND tx_dlf_libraries.sys_language_uid IN (-1,0) ORDER BY tx_dlf_libraries.label', |
|
| 303 | - 'size' => 1, |
|
| 304 | - 'minitems' => 0, |
|
| 305 | - 'maxitems' => 1, |
|
| 306 | - ), |
|
| 307 | - ), |
|
| 308 | - 'solrcore' => array ( |
|
| 309 | - 'config' => array ( |
|
| 310 | - 'type' => 'passthrough', |
|
| 311 | - ), |
|
| 312 | - ), |
|
| 313 | - 'status' => array ( |
|
| 314 | - 'exclude' => 1, |
|
| 315 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.status', |
|
| 316 | - 'config' => array ( |
|
| 317 | - 'type' => 'select', |
|
| 318 | - 'renderType' => 'selectSingle', |
|
| 319 | - 'items' => array ( |
|
| 320 | - array ('LLL:EXT:dlf/locallang.xml:tx_dlf_documents.status.default', 0), |
|
| 321 | - ), |
|
| 322 | - 'size' => 1, |
|
| 323 | - 'minitems' => 1, |
|
| 324 | - 'maxitems' => 1, |
|
| 325 | - 'default' => 0, |
|
| 326 | - ), |
|
| 327 | - ), |
|
| 328 | - ), |
|
| 329 | - 'types' => array ( |
|
| 330 | - '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_documents.tab1, title,--palette--;;1;;1-1-1, author, year, place, structure,--palette--;;2;;2-2-2, collections;;;;3-3-3, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_documents.tab2, location;;;;1-1-1, record_id, prod_id;;;;2-2-2, oai_id;;;;3-3-3, opac_id, union_id, urn, purl;;;;4-4-4, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_documents.tab3, hidden,--palette--;;3;;1-1-1, fe_group;;;;2-2-2, status;;;;3-3-3, owner;;;;4-4-4'), |
|
| 331 | - ), |
|
| 332 | - 'palettes' => array ( |
|
| 333 | - '1' => array ('showitem' => 'title_sorting', 'canNotCollapse' => 1), |
|
| 334 | - '2' => array ('showitem' => 'partof, thumbnail, --linebreak--, volume, volume_sorting', 'canNotCollapse' => 1), |
|
| 335 | - '3' => array ('showitem' => 'starttime, endtime', 'canNotCollapse' => 1), |
|
| 336 | - ) |
|
| 13 | + 'ctrl' => array ( |
|
| 14 | + 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents', |
|
| 15 | + 'label' => 'title', |
|
| 16 | + 'tstamp' => 'tstamp', |
|
| 17 | + 'crdate' => 'crdate', |
|
| 18 | + 'cruser_id' => 'cruser_id', |
|
| 19 | + 'default_sortby' => 'ORDER BY title_sorting', |
|
| 20 | + 'delete' => 'deleted', |
|
| 21 | + 'enablecolumns' => array ( |
|
| 22 | + 'disabled' => 'hidden', |
|
| 23 | + 'starttime' => 'starttime', |
|
| 24 | + 'endtime' => 'endtime', |
|
| 25 | + 'fe_group' => 'fe_group', |
|
| 26 | + ), |
|
| 27 | + 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfdocuments.png', |
|
| 28 | + 'rootLevel' => 0, |
|
| 29 | + 'dividers2tabs' => 2, |
|
| 30 | + 'searchFields' => 'title,volume,author,year,place,uid,prod_id,location,oai_id,opac_id,union_id,urn', |
|
| 31 | + ), |
|
| 32 | + 'feInterface' => array ( |
|
| 33 | + 'fe_admin_fieldList' => '', |
|
| 34 | + ), |
|
| 35 | + 'interface' => array ( |
|
| 36 | + 'showRecordFieldList' => 'title,volume,author,year,place,uid,prod_id,location,oai_id,opac_id,union_id,urn', |
|
| 37 | + 'maxDBListItems' => 25, |
|
| 38 | + 'maxSingleDBListItems' => 50, |
|
| 39 | + ), |
|
| 40 | + 'columns' => array ( |
|
| 41 | + 'hidden' => array ( |
|
| 42 | + 'exclude' => 1, |
|
| 43 | + 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden', |
|
| 44 | + 'config' => array ( |
|
| 45 | + 'type' => 'check', |
|
| 46 | + 'default' => 0, |
|
| 47 | + ), |
|
| 48 | + ), |
|
| 49 | + 'starttime' => array ( |
|
| 50 | + 'exclude' => 1, |
|
| 51 | + 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.starttime', |
|
| 52 | + 'config' => array ( |
|
| 53 | + 'type' => 'input', |
|
| 54 | + 'size' => '13', |
|
| 55 | + 'max' => '20', |
|
| 56 | + 'eval' => 'datetime', |
|
| 57 | + 'default' => '0', |
|
| 58 | + ), |
|
| 59 | + ), |
|
| 60 | + 'endtime' => array ( |
|
| 61 | + 'exclude' => 1, |
|
| 62 | + 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.endtime', |
|
| 63 | + 'config' => array ( |
|
| 64 | + 'type' => 'input', |
|
| 65 | + 'size' => '13', |
|
| 66 | + 'max' => '20', |
|
| 67 | + 'eval' => 'datetime', |
|
| 68 | + 'default' => '0', |
|
| 69 | + ), |
|
| 70 | + ), |
|
| 71 | + 'fe_group' => array ( |
|
| 72 | + 'exclude' => 1, |
|
| 73 | + 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.fe_group', |
|
| 74 | + 'config' => array ( |
|
| 75 | + 'type' => 'select', |
|
| 76 | + 'renderType' => 'selectMultipleSideBySide', |
|
| 77 | + 'items' => array ( |
|
| 78 | + array ('LLL:EXT:lang/locallang_general.xml:LGL.hide_at_login', -1), |
|
| 79 | + array ('LLL:EXT:lang/locallang_general.xml:LGL.any_login', -2), |
|
| 80 | + array ('LLL:EXT:lang/locallang_general.xml:LGL.usergroups', '--div--'), |
|
| 81 | + ), |
|
| 82 | + 'foreign_table' => 'fe_groups', |
|
| 83 | + 'size' => 5, |
|
| 84 | + 'autoSizeMax' => 15, |
|
| 85 | + 'minitems' => 0, |
|
| 86 | + 'maxitems' => 20, |
|
| 87 | + 'exclusiveKeys' => '-1,-2', |
|
| 88 | + ), |
|
| 89 | + ), |
|
| 90 | + 'prod_id' => array ( |
|
| 91 | + 'exclude' => 1, |
|
| 92 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.prod_id', |
|
| 93 | + 'config' => array ( |
|
| 94 | + 'type' => 'input', |
|
| 95 | + 'size' => 30, |
|
| 96 | + 'max' => 255, |
|
| 97 | + 'eval' => 'nospace', |
|
| 98 | + ), |
|
| 99 | + ), |
|
| 100 | + 'location' => array ( |
|
| 101 | + 'exclude' => 1, |
|
| 102 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.location', |
|
| 103 | + 'config' => array ( |
|
| 104 | + 'type' => 'input', |
|
| 105 | + 'size' => 30, |
|
| 106 | + 'max' => 1024, |
|
| 107 | + 'eval' => 'required,uniqueInPid', |
|
| 108 | + ), |
|
| 109 | + ), |
|
| 110 | + 'record_id' => array ( |
|
| 111 | + 'exclude' => 1, |
|
| 112 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.record_id', |
|
| 113 | + 'config' => array ( |
|
| 114 | + 'type' => 'input', |
|
| 115 | + 'size' => 30, |
|
| 116 | + 'max' => 255, |
|
| 117 | + 'eval' => 'nospace,uniqueInPid', |
|
| 118 | + ), |
|
| 119 | + ), |
|
| 120 | + 'opac_id' => array ( |
|
| 121 | + 'exclude' => 1, |
|
| 122 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.opac_id', |
|
| 123 | + 'config' => array ( |
|
| 124 | + 'type' => 'input', |
|
| 125 | + 'size' => 30, |
|
| 126 | + 'max' => 255, |
|
| 127 | + 'eval' => 'nospace', |
|
| 128 | + ), |
|
| 129 | + ), |
|
| 130 | + 'union_id' => array ( |
|
| 131 | + 'exclude' => 1, |
|
| 132 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.union_id', |
|
| 133 | + 'config' => array ( |
|
| 134 | + 'type' => 'input', |
|
| 135 | + 'size' => 30, |
|
| 136 | + 'max' => 255, |
|
| 137 | + 'eval' => 'nospace', |
|
| 138 | + ), |
|
| 139 | + ), |
|
| 140 | + 'urn' => array ( |
|
| 141 | + 'exclude' => 1, |
|
| 142 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.urn', |
|
| 143 | + 'config' => array ( |
|
| 144 | + 'type' => 'input', |
|
| 145 | + 'size' => 30, |
|
| 146 | + 'max' => 255, |
|
| 147 | + 'eval' => 'nospace', |
|
| 148 | + ), |
|
| 149 | + ), |
|
| 150 | + 'purl' => array ( |
|
| 151 | + 'exclude' => 1, |
|
| 152 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.purl', |
|
| 153 | + 'config' => array ( |
|
| 154 | + 'type' => 'input', |
|
| 155 | + 'size' => 30, |
|
| 156 | + 'max' => 255, |
|
| 157 | + 'eval' => 'nospace', |
|
| 158 | + ), |
|
| 159 | + ), |
|
| 160 | + 'title' => array ( |
|
| 161 | + 'exclude' => 1, |
|
| 162 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.title', |
|
| 163 | + 'config' => array ( |
|
| 164 | + 'type' => 'input', |
|
| 165 | + 'size' => 30, |
|
| 166 | + 'max' => 1024, |
|
| 167 | + 'eval' => 'trim', |
|
| 168 | + ), |
|
| 169 | + ), |
|
| 170 | + 'title_sorting' => array ( |
|
| 171 | + 'exclude' => 1, |
|
| 172 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.title_sorting', |
|
| 173 | + 'config' => array ( |
|
| 174 | + 'type' => 'input', |
|
| 175 | + 'size' => 30, |
|
| 176 | + 'max' => 1024, |
|
| 177 | + 'eval' => 'trim', |
|
| 178 | + ), |
|
| 179 | + ), |
|
| 180 | + 'author' => array ( |
|
| 181 | + 'exclude' => 1, |
|
| 182 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.author', |
|
| 183 | + 'config' => array ( |
|
| 184 | + 'type' => 'input', |
|
| 185 | + 'size' => 30, |
|
| 186 | + 'max' => 255, |
|
| 187 | + 'eval' => 'trim', |
|
| 188 | + ), |
|
| 189 | + ), |
|
| 190 | + 'year' => array ( |
|
| 191 | + 'exclude' => 1, |
|
| 192 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.year', |
|
| 193 | + 'config' => array ( |
|
| 194 | + 'type' => 'input', |
|
| 195 | + 'size' => 30, |
|
| 196 | + 'max' => 255, |
|
| 197 | + 'eval' => 'trim', |
|
| 198 | + ), |
|
| 199 | + ), |
|
| 200 | + 'place' => array ( |
|
| 201 | + 'exclude' => 1, |
|
| 202 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.place', |
|
| 203 | + 'config' => array ( |
|
| 204 | + 'type' => 'input', |
|
| 205 | + 'size' => 30, |
|
| 206 | + 'max' => 255, |
|
| 207 | + 'eval' => 'trim', |
|
| 208 | + ), |
|
| 209 | + ), |
|
| 210 | + 'thumbnail' => array ( |
|
| 211 | + 'exclude' => 1, |
|
| 212 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.thumbnail', |
|
| 213 | + 'config' => array ( |
|
| 214 | + 'type' => 'user', |
|
| 215 | + 'userFunc' => 'EXT:dlf/hooks/class.tx_dlf_tceforms.php:tx_dlf_tceforms->displayThumbnail', |
|
| 216 | + ), |
|
| 217 | + ), |
|
| 218 | + 'metadata' => array ( |
|
| 219 | + 'config' => array ( |
|
| 220 | + 'type' => 'passthrough', |
|
| 221 | + ), |
|
| 222 | + ), |
|
| 223 | + 'metadata_sorting' => array ( |
|
| 224 | + 'config' => array ( |
|
| 225 | + 'type' => 'passthrough', |
|
| 226 | + ), |
|
| 227 | + ), |
|
| 228 | + 'structure' => array ( |
|
| 229 | + 'exclude' => 1, |
|
| 230 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.structure', |
|
| 231 | + 'config' => array ( |
|
| 232 | + 'type' => 'select', |
|
| 233 | + 'renderType' => 'selectSingle', |
|
| 234 | + 'foreign_table' => 'tx_dlf_structures', |
|
| 235 | + 'foreign_table_where' => 'AND tx_dlf_structures.pid=###CURRENT_PID### AND tx_dlf_structures.sys_language_uid IN (-1,0) AND tx_dlf_structures.toplevel=1 ORDER BY tx_dlf_structures.label', |
|
| 236 | + 'size' => 1, |
|
| 237 | + 'minitems' => 1, |
|
| 238 | + 'maxitems' => 1, |
|
| 239 | + ), |
|
| 240 | + ), |
|
| 241 | + 'partof' => array ( |
|
| 242 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.partof', |
|
| 243 | + 'config' => array ( |
|
| 244 | + 'type' => 'group', |
|
| 245 | + 'internal_type' => 'db', |
|
| 246 | + 'allowed' => 'tx_dlf_documents', |
|
| 247 | + 'prepend_tname' => 0, |
|
| 248 | + 'size' => 1, |
|
| 249 | + 'selectedListStyle' => 'width:400px;', |
|
| 250 | + 'minitems' => 0, |
|
| 251 | + 'maxitems' => 1, |
|
| 252 | + 'disable_controls' => 'browser,delete', |
|
| 253 | + 'default' => 0, |
|
| 254 | + 'readOnly' => 1, |
|
| 255 | + ), |
|
| 256 | + ), |
|
| 257 | + 'volume' => array ( |
|
| 258 | + 'exclude' => 1, |
|
| 259 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.volume', |
|
| 260 | + 'config' => array ( |
|
| 261 | + 'type' => 'input', |
|
| 262 | + 'size' => 30, |
|
| 263 | + 'max' => 255, |
|
| 264 | + 'eval' => 'trim', |
|
| 265 | + ), |
|
| 266 | + ), |
|
| 267 | + 'volume_sorting' => array ( |
|
| 268 | + 'exclude' => 1, |
|
| 269 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.volume_sorting', |
|
| 270 | + 'config' => array ( |
|
| 271 | + 'type' => 'input', |
|
| 272 | + 'size' => 30, |
|
| 273 | + 'max' => 255, |
|
| 274 | + 'eval' => 'trim', |
|
| 275 | + ), |
|
| 276 | + ), |
|
| 277 | + 'collections' => array ( |
|
| 278 | + 'exclude' => 1, |
|
| 279 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.collections', |
|
| 280 | + 'config' => array ( |
|
| 281 | + 'type' => 'select', |
|
| 282 | + 'renderType' => 'selectMultipleSideBySide', |
|
| 283 | + 'foreign_table' => 'tx_dlf_collections', |
|
| 284 | + 'foreign_table_where' => 'AND tx_dlf_collections.pid=###CURRENT_PID### AND tx_dlf_collections.sys_language_uid IN (-1,0) ORDER BY tx_dlf_collections.label', |
|
| 285 | + 'size' => 5, |
|
| 286 | + 'autoSizeMax' => 15, |
|
| 287 | + 'minitems' => 1, |
|
| 288 | + 'maxitems' => 1024, |
|
| 289 | + 'MM' => 'tx_dlf_relations', |
|
| 290 | + 'MM_match_fields' => array ( |
|
| 291 | + 'ident' => 'docs_colls', |
|
| 292 | + ), |
|
| 293 | + ), |
|
| 294 | + ), |
|
| 295 | + 'owner' => array ( |
|
| 296 | + 'exclude' => 1, |
|
| 297 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.owner', |
|
| 298 | + 'config' => array ( |
|
| 299 | + 'type' => 'select', |
|
| 300 | + 'renderType' => 'selectSingle', |
|
| 301 | + 'foreign_table' => 'tx_dlf_libraries', |
|
| 302 | + 'foreign_table_where' => 'AND tx_dlf_libraries.sys_language_uid IN (-1,0) ORDER BY tx_dlf_libraries.label', |
|
| 303 | + 'size' => 1, |
|
| 304 | + 'minitems' => 0, |
|
| 305 | + 'maxitems' => 1, |
|
| 306 | + ), |
|
| 307 | + ), |
|
| 308 | + 'solrcore' => array ( |
|
| 309 | + 'config' => array ( |
|
| 310 | + 'type' => 'passthrough', |
|
| 311 | + ), |
|
| 312 | + ), |
|
| 313 | + 'status' => array ( |
|
| 314 | + 'exclude' => 1, |
|
| 315 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_documents.status', |
|
| 316 | + 'config' => array ( |
|
| 317 | + 'type' => 'select', |
|
| 318 | + 'renderType' => 'selectSingle', |
|
| 319 | + 'items' => array ( |
|
| 320 | + array ('LLL:EXT:dlf/locallang.xml:tx_dlf_documents.status.default', 0), |
|
| 321 | + ), |
|
| 322 | + 'size' => 1, |
|
| 323 | + 'minitems' => 1, |
|
| 324 | + 'maxitems' => 1, |
|
| 325 | + 'default' => 0, |
|
| 326 | + ), |
|
| 327 | + ), |
|
| 328 | + ), |
|
| 329 | + 'types' => array ( |
|
| 330 | + '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_documents.tab1, title,--palette--;;1;;1-1-1, author, year, place, structure,--palette--;;2;;2-2-2, collections;;;;3-3-3, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_documents.tab2, location;;;;1-1-1, record_id, prod_id;;;;2-2-2, oai_id;;;;3-3-3, opac_id, union_id, urn, purl;;;;4-4-4, --div--;LLL:EXT:dlf/locallang.xml:tx_dlf_documents.tab3, hidden,--palette--;;3;;1-1-1, fe_group;;;;2-2-2, status;;;;3-3-3, owner;;;;4-4-4'), |
|
| 331 | + ), |
|
| 332 | + 'palettes' => array ( |
|
| 333 | + '1' => array ('showitem' => 'title_sorting', 'canNotCollapse' => 1), |
|
| 334 | + '2' => array ('showitem' => 'partof, thumbnail, --linebreak--, volume, volume_sorting', 'canNotCollapse' => 1), |
|
| 335 | + '3' => array ('showitem' => 'starttime, endtime', 'canNotCollapse' => 1), |
|
| 336 | + ) |
|
| 337 | 337 | ); |
@@ -10,185 +10,185 @@ |
||
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | 12 | return array ( |
| 13 | - 'ctrl' => array ( |
|
| 14 | - 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries', |
|
| 15 | - 'label' => 'label', |
|
| 16 | - 'tstamp' => 'tstamp', |
|
| 17 | - 'crdate' => 'crdate', |
|
| 18 | - 'cruser_id' => 'cruser_id', |
|
| 19 | - 'languageField' => 'sys_language_uid', |
|
| 20 | - 'transOrigPointerField' => 'l18n_parent', |
|
| 21 | - 'transOrigDiffSourceField' => 'l18n_diffsource', |
|
| 22 | - 'default_sortby' => 'ORDER BY label', |
|
| 23 | - 'delete' => 'deleted', |
|
| 24 | - 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlflibraries.png', |
|
| 25 | - 'rootLevel' => 0, |
|
| 26 | - 'dividers2tabs' => 2, |
|
| 27 | - 'searchFields' => 'label,website,contact', |
|
| 28 | - ), |
|
| 29 | - 'feInterface' => array ( |
|
| 30 | - 'fe_admin_fieldList' => '', |
|
| 31 | - ), |
|
| 32 | - 'interface' => array ( |
|
| 33 | - 'showRecordFieldList' => 'label,website,contact', |
|
| 34 | - ), |
|
| 35 | - 'columns' => array ( |
|
| 36 | - 'sys_language_uid' => array ( |
|
| 37 | - 'exclude' => 1, |
|
| 38 | - 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.language', |
|
| 39 | - 'config' => array ( |
|
| 40 | - 'type' => 'select', |
|
| 41 | - 'renderType' => 'selectSingle', |
|
| 42 | - 'foreign_table' => 'sys_language', |
|
| 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), |
|
| 47 | - ), |
|
| 48 | - 'default' => 0 |
|
| 49 | - ), |
|
| 50 | - ), |
|
| 51 | - 'l18n_parent' => array ( |
|
| 52 | - 'displayCond' => 'FIELD:sys_language_uid:>:0', |
|
| 53 | - 'exclude' => 1, |
|
| 54 | - 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.l18n_parent', |
|
| 55 | - 'config' => array ( |
|
| 56 | - 'type' => 'select', |
|
| 57 | - 'renderType' => 'selectSingle', |
|
| 58 | - 'items' => array ( |
|
| 59 | - array ('', 0), |
|
| 60 | - ), |
|
| 61 | - 'foreign_table' => 'tx_dlf_libraries', |
|
| 62 | - 'foreign_table_where' => 'AND tx_dlf_libraries.pid=###CURRENT_PID### AND tx_dlf_libraries.sys_language_uid IN (-1,0)', |
|
| 63 | - ), |
|
| 64 | - ), |
|
| 65 | - 'l18n_diffsource' => array ( |
|
| 66 | - 'config' => array ( |
|
| 67 | - 'type' => 'passthrough' |
|
| 68 | - ), |
|
| 69 | - ), |
|
| 70 | - 'label' => array ( |
|
| 71 | - 'exclude' => 1, |
|
| 72 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.label', |
|
| 73 | - 'config' => array ( |
|
| 74 | - 'type' => 'input', |
|
| 75 | - 'size' => 30, |
|
| 76 | - 'max' => 255, |
|
| 77 | - 'eval' => 'required,trim', |
|
| 78 | - ), |
|
| 79 | - ), |
|
| 80 | - 'index_name' => array ( |
|
| 81 | - 'exclude' => 1, |
|
| 82 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.index_name', |
|
| 83 | - 'config' => array ( |
|
| 84 | - 'type' => 'none', |
|
| 85 | - 'size' => 30, |
|
| 86 | - 'max' => 255, |
|
| 87 | - 'eval' => 'required,uniqueInPid', |
|
| 88 | - ), |
|
| 89 | - ), |
|
| 90 | - 'website' => array ( |
|
| 91 | - 'exclude' => 1, |
|
| 92 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.website', |
|
| 93 | - 'config' => array ( |
|
| 94 | - 'type' => 'input', |
|
| 95 | - 'size' => 30, |
|
| 96 | - 'max' => 255, |
|
| 97 | - 'eval' => 'nospace', |
|
| 98 | - ), |
|
| 99 | - ), |
|
| 100 | - 'contact' => array ( |
|
| 101 | - 'exclude' => 1, |
|
| 102 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.contact', |
|
| 103 | - 'config' => array ( |
|
| 104 | - 'type' => 'input', |
|
| 105 | - 'size' => 30, |
|
| 106 | - 'max' => 255, |
|
| 107 | - 'eval' => 'nospace', |
|
| 108 | - ), |
|
| 109 | - ), |
|
| 110 | - 'image' => array ( |
|
| 111 | - 'exclude' => 1, |
|
| 112 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.image', |
|
| 113 | - 'config' => array ( |
|
| 114 | - 'type' => 'group', |
|
| 115 | - 'internal_type' => 'file', |
|
| 116 | - 'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'], |
|
| 117 | - 'max_size' => 256, |
|
| 118 | - 'uploadfolder' => 'uploads/tx_dlf', |
|
| 119 | - 'show_thumbs' => 1, |
|
| 120 | - 'size' => 1, |
|
| 121 | - 'minitems' => 0, |
|
| 122 | - 'maxitems' => 1, |
|
| 123 | - ), |
|
| 124 | - ), |
|
| 125 | - 'oai_label' => array ( |
|
| 126 | - 'exclude' => 1, |
|
| 127 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.oai_label', |
|
| 128 | - 'config' => array ( |
|
| 129 | - 'type' => 'input', |
|
| 130 | - 'size' => 30, |
|
| 131 | - 'max' => 255, |
|
| 132 | - ), |
|
| 133 | - ), |
|
| 134 | - 'oai_base' => array ( |
|
| 135 | - 'exclude' => 1, |
|
| 136 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.oai_base', |
|
| 137 | - 'config' => array ( |
|
| 138 | - 'type' => 'group', |
|
| 139 | - 'internal_type' => 'db', |
|
| 140 | - 'allowed' => 'pages', |
|
| 141 | - 'size' => 1, |
|
| 142 | - 'minitems' => 0, |
|
| 143 | - 'maxitems' => 1, |
|
| 144 | - ), |
|
| 145 | - ), |
|
| 146 | - 'opac_label' => array ( |
|
| 147 | - 'exclude' => 1, |
|
| 148 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.opac_label', |
|
| 149 | - 'config' => array ( |
|
| 150 | - 'type' => 'input', |
|
| 151 | - 'size' => 30, |
|
| 152 | - 'max' => 255, |
|
| 153 | - ), |
|
| 154 | - ), |
|
| 155 | - 'opac_base' => array ( |
|
| 156 | - 'exclude' => 1, |
|
| 157 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.opac_base', |
|
| 158 | - 'config' => array ( |
|
| 159 | - 'type' => 'input', |
|
| 160 | - 'size' => 30, |
|
| 161 | - 'max' => 255, |
|
| 162 | - 'eval' => 'nospace', |
|
| 163 | - ), |
|
| 164 | - ), |
|
| 165 | - 'union_label' => array ( |
|
| 166 | - 'exclude' => 1, |
|
| 167 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.union_label', |
|
| 168 | - 'config' => array ( |
|
| 169 | - 'type' => 'input', |
|
| 170 | - 'size' => 30, |
|
| 171 | - 'max' => 255, |
|
| 172 | - ), |
|
| 173 | - ), |
|
| 174 | - 'union_base' => array ( |
|
| 175 | - 'exclude' => 1, |
|
| 176 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.union_base', |
|
| 177 | - 'config' => array ( |
|
| 178 | - 'type' => 'input', |
|
| 179 | - 'size' => 30, |
|
| 180 | - 'max' => 255, |
|
| 181 | - 'eval' => 'nospace', |
|
| 182 | - ), |
|
| 183 | - ), |
|
| 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'), |
|
| 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), |
|
| 193 | - ), |
|
| 13 | + 'ctrl' => array ( |
|
| 14 | + 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries', |
|
| 15 | + 'label' => 'label', |
|
| 16 | + 'tstamp' => 'tstamp', |
|
| 17 | + 'crdate' => 'crdate', |
|
| 18 | + 'cruser_id' => 'cruser_id', |
|
| 19 | + 'languageField' => 'sys_language_uid', |
|
| 20 | + 'transOrigPointerField' => 'l18n_parent', |
|
| 21 | + 'transOrigDiffSourceField' => 'l18n_diffsource', |
|
| 22 | + 'default_sortby' => 'ORDER BY label', |
|
| 23 | + 'delete' => 'deleted', |
|
| 24 | + 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlflibraries.png', |
|
| 25 | + 'rootLevel' => 0, |
|
| 26 | + 'dividers2tabs' => 2, |
|
| 27 | + 'searchFields' => 'label,website,contact', |
|
| 28 | + ), |
|
| 29 | + 'feInterface' => array ( |
|
| 30 | + 'fe_admin_fieldList' => '', |
|
| 31 | + ), |
|
| 32 | + 'interface' => array ( |
|
| 33 | + 'showRecordFieldList' => 'label,website,contact', |
|
| 34 | + ), |
|
| 35 | + 'columns' => array ( |
|
| 36 | + 'sys_language_uid' => array ( |
|
| 37 | + 'exclude' => 1, |
|
| 38 | + 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.language', |
|
| 39 | + 'config' => array ( |
|
| 40 | + 'type' => 'select', |
|
| 41 | + 'renderType' => 'selectSingle', |
|
| 42 | + 'foreign_table' => 'sys_language', |
|
| 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), |
|
| 47 | + ), |
|
| 48 | + 'default' => 0 |
|
| 49 | + ), |
|
| 50 | + ), |
|
| 51 | + 'l18n_parent' => array ( |
|
| 52 | + 'displayCond' => 'FIELD:sys_language_uid:>:0', |
|
| 53 | + 'exclude' => 1, |
|
| 54 | + 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.l18n_parent', |
|
| 55 | + 'config' => array ( |
|
| 56 | + 'type' => 'select', |
|
| 57 | + 'renderType' => 'selectSingle', |
|
| 58 | + 'items' => array ( |
|
| 59 | + array ('', 0), |
|
| 60 | + ), |
|
| 61 | + 'foreign_table' => 'tx_dlf_libraries', |
|
| 62 | + 'foreign_table_where' => 'AND tx_dlf_libraries.pid=###CURRENT_PID### AND tx_dlf_libraries.sys_language_uid IN (-1,0)', |
|
| 63 | + ), |
|
| 64 | + ), |
|
| 65 | + 'l18n_diffsource' => array ( |
|
| 66 | + 'config' => array ( |
|
| 67 | + 'type' => 'passthrough' |
|
| 68 | + ), |
|
| 69 | + ), |
|
| 70 | + 'label' => array ( |
|
| 71 | + 'exclude' => 1, |
|
| 72 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.label', |
|
| 73 | + 'config' => array ( |
|
| 74 | + 'type' => 'input', |
|
| 75 | + 'size' => 30, |
|
| 76 | + 'max' => 255, |
|
| 77 | + 'eval' => 'required,trim', |
|
| 78 | + ), |
|
| 79 | + ), |
|
| 80 | + 'index_name' => array ( |
|
| 81 | + 'exclude' => 1, |
|
| 82 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.index_name', |
|
| 83 | + 'config' => array ( |
|
| 84 | + 'type' => 'none', |
|
| 85 | + 'size' => 30, |
|
| 86 | + 'max' => 255, |
|
| 87 | + 'eval' => 'required,uniqueInPid', |
|
| 88 | + ), |
|
| 89 | + ), |
|
| 90 | + 'website' => array ( |
|
| 91 | + 'exclude' => 1, |
|
| 92 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.website', |
|
| 93 | + 'config' => array ( |
|
| 94 | + 'type' => 'input', |
|
| 95 | + 'size' => 30, |
|
| 96 | + 'max' => 255, |
|
| 97 | + 'eval' => 'nospace', |
|
| 98 | + ), |
|
| 99 | + ), |
|
| 100 | + 'contact' => array ( |
|
| 101 | + 'exclude' => 1, |
|
| 102 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.contact', |
|
| 103 | + 'config' => array ( |
|
| 104 | + 'type' => 'input', |
|
| 105 | + 'size' => 30, |
|
| 106 | + 'max' => 255, |
|
| 107 | + 'eval' => 'nospace', |
|
| 108 | + ), |
|
| 109 | + ), |
|
| 110 | + 'image' => array ( |
|
| 111 | + 'exclude' => 1, |
|
| 112 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.image', |
|
| 113 | + 'config' => array ( |
|
| 114 | + 'type' => 'group', |
|
| 115 | + 'internal_type' => 'file', |
|
| 116 | + 'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'], |
|
| 117 | + 'max_size' => 256, |
|
| 118 | + 'uploadfolder' => 'uploads/tx_dlf', |
|
| 119 | + 'show_thumbs' => 1, |
|
| 120 | + 'size' => 1, |
|
| 121 | + 'minitems' => 0, |
|
| 122 | + 'maxitems' => 1, |
|
| 123 | + ), |
|
| 124 | + ), |
|
| 125 | + 'oai_label' => array ( |
|
| 126 | + 'exclude' => 1, |
|
| 127 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.oai_label', |
|
| 128 | + 'config' => array ( |
|
| 129 | + 'type' => 'input', |
|
| 130 | + 'size' => 30, |
|
| 131 | + 'max' => 255, |
|
| 132 | + ), |
|
| 133 | + ), |
|
| 134 | + 'oai_base' => array ( |
|
| 135 | + 'exclude' => 1, |
|
| 136 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.oai_base', |
|
| 137 | + 'config' => array ( |
|
| 138 | + 'type' => 'group', |
|
| 139 | + 'internal_type' => 'db', |
|
| 140 | + 'allowed' => 'pages', |
|
| 141 | + 'size' => 1, |
|
| 142 | + 'minitems' => 0, |
|
| 143 | + 'maxitems' => 1, |
|
| 144 | + ), |
|
| 145 | + ), |
|
| 146 | + 'opac_label' => array ( |
|
| 147 | + 'exclude' => 1, |
|
| 148 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.opac_label', |
|
| 149 | + 'config' => array ( |
|
| 150 | + 'type' => 'input', |
|
| 151 | + 'size' => 30, |
|
| 152 | + 'max' => 255, |
|
| 153 | + ), |
|
| 154 | + ), |
|
| 155 | + 'opac_base' => array ( |
|
| 156 | + 'exclude' => 1, |
|
| 157 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.opac_base', |
|
| 158 | + 'config' => array ( |
|
| 159 | + 'type' => 'input', |
|
| 160 | + 'size' => 30, |
|
| 161 | + 'max' => 255, |
|
| 162 | + 'eval' => 'nospace', |
|
| 163 | + ), |
|
| 164 | + ), |
|
| 165 | + 'union_label' => array ( |
|
| 166 | + 'exclude' => 1, |
|
| 167 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.union_label', |
|
| 168 | + 'config' => array ( |
|
| 169 | + 'type' => 'input', |
|
| 170 | + 'size' => 30, |
|
| 171 | + 'max' => 255, |
|
| 172 | + ), |
|
| 173 | + ), |
|
| 174 | + 'union_base' => array ( |
|
| 175 | + 'exclude' => 1, |
|
| 176 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_libraries.union_base', |
|
| 177 | + 'config' => array ( |
|
| 178 | + 'type' => 'input', |
|
| 179 | + 'size' => 30, |
|
| 180 | + 'max' => 255, |
|
| 181 | + 'eval' => 'nospace', |
|
| 182 | + ), |
|
| 183 | + ), |
|
| 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'), |
|
| 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), |
|
| 193 | + ), |
|
| 194 | 194 | ); |
@@ -10,49 +10,49 @@ |
||
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | 12 | return array ( |
| 13 | - 'ctrl' => array ( |
|
| 14 | - 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_solrcores', |
|
| 15 | - 'label' => 'label', |
|
| 16 | - 'tstamp' => 'tstamp', |
|
| 17 | - 'crdate' => 'crdate', |
|
| 18 | - 'cruser_id' => 'cruser_id', |
|
| 19 | - 'default_sortby' => 'ORDER BY label', |
|
| 20 | - 'delete' => 'deleted', |
|
| 21 | - 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfsolrcores.png', |
|
| 22 | - 'rootLevel' => -1, |
|
| 23 | - 'dividers2tabs' => 2, |
|
| 24 | - 'searchFields' => 'label,index_name', |
|
| 25 | - ), |
|
| 26 | - 'feInterface' => array ( |
|
| 27 | - 'fe_admin_fieldList' => '', |
|
| 28 | - ), |
|
| 29 | - 'interface' => array ( |
|
| 30 | - 'showRecordFieldList' => 'label,index_name', |
|
| 31 | - ), |
|
| 32 | - 'columns' => array ( |
|
| 33 | - 'label' => array ( |
|
| 34 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_solrcores.label', |
|
| 35 | - 'config' => array ( |
|
| 36 | - 'type' => 'input', |
|
| 37 | - 'size' => 30, |
|
| 38 | - 'max' => 255, |
|
| 39 | - 'eval' => 'required,trim', |
|
| 40 | - ), |
|
| 41 | - ), |
|
| 42 | - 'index_name' => array ( |
|
| 43 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_solrcores.index_name', |
|
| 44 | - 'config' => array ( |
|
| 45 | - 'type' => 'none', |
|
| 46 | - 'size' => 30, |
|
| 47 | - 'max' => 255, |
|
| 48 | - 'eval' => 'alphanum,unique', |
|
| 49 | - ), |
|
| 50 | - ), |
|
| 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'), |
|
| 54 | - ), |
|
| 55 | - 'palettes' => array ( |
|
| 56 | - '1' => array ('showitem' => ''), |
|
| 57 | - ), |
|
| 13 | + 'ctrl' => array ( |
|
| 14 | + 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_solrcores', |
|
| 15 | + 'label' => 'label', |
|
| 16 | + 'tstamp' => 'tstamp', |
|
| 17 | + 'crdate' => 'crdate', |
|
| 18 | + 'cruser_id' => 'cruser_id', |
|
| 19 | + 'default_sortby' => 'ORDER BY label', |
|
| 20 | + 'delete' => 'deleted', |
|
| 21 | + 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfsolrcores.png', |
|
| 22 | + 'rootLevel' => -1, |
|
| 23 | + 'dividers2tabs' => 2, |
|
| 24 | + 'searchFields' => 'label,index_name', |
|
| 25 | + ), |
|
| 26 | + 'feInterface' => array ( |
|
| 27 | + 'fe_admin_fieldList' => '', |
|
| 28 | + ), |
|
| 29 | + 'interface' => array ( |
|
| 30 | + 'showRecordFieldList' => 'label,index_name', |
|
| 31 | + ), |
|
| 32 | + 'columns' => array ( |
|
| 33 | + 'label' => array ( |
|
| 34 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_solrcores.label', |
|
| 35 | + 'config' => array ( |
|
| 36 | + 'type' => 'input', |
|
| 37 | + 'size' => 30, |
|
| 38 | + 'max' => 255, |
|
| 39 | + 'eval' => 'required,trim', |
|
| 40 | + ), |
|
| 41 | + ), |
|
| 42 | + 'index_name' => array ( |
|
| 43 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_solrcores.index_name', |
|
| 44 | + 'config' => array ( |
|
| 45 | + 'type' => 'none', |
|
| 46 | + 'size' => 30, |
|
| 47 | + 'max' => 255, |
|
| 48 | + 'eval' => 'alphanum,unique', |
|
| 49 | + ), |
|
| 50 | + ), |
|
| 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'), |
|
| 54 | + ), |
|
| 55 | + 'palettes' => array ( |
|
| 56 | + '1' => array ('showitem' => ''), |
|
| 57 | + ), |
|
| 58 | 58 | ); |
@@ -10,78 +10,78 @@ |
||
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | 12 | return array ( |
| 13 | - 'ctrl' => array ( |
|
| 14 | - 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadataformat', |
|
| 15 | - 'label' => 'encoded', |
|
| 16 | - 'tstamp' => 'tstamp', |
|
| 17 | - 'crdate' => 'crdate', |
|
| 18 | - 'cruser_id' => 'cruser_id', |
|
| 19 | - 'default_sortby' => 'ORDER BY encoded', |
|
| 20 | - 'delete' => 'deleted', |
|
| 21 | - 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfmetadata.png', |
|
| 22 | - 'rootLevel' => 0, |
|
| 23 | - 'dividers2tabs' => 2, |
|
| 24 | - 'searchFields' => 'encoded', |
|
| 25 | - 'hideTable' => 1, |
|
| 26 | - ), |
|
| 27 | - 'feInterface' => array ( |
|
| 28 | - 'fe_admin_fieldList' => '', |
|
| 29 | - ), |
|
| 30 | - 'interface' => array ( |
|
| 31 | - 'showRecordFieldList' => 'parent_id,encoded,xpath,xpath_sorting', |
|
| 32 | - ), |
|
| 33 | - 'columns' => array ( |
|
| 34 | - 'parent_id' => array ( |
|
| 35 | - 'config' => array ( |
|
| 36 | - 'type' => 'passthrough', |
|
| 37 | - ), |
|
| 38 | - ), |
|
| 39 | - 'encoded' => array ( |
|
| 40 | - 'exclude' => 1, |
|
| 41 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadataformat.encoded', |
|
| 42 | - 'config' => array ( |
|
| 43 | - 'type' => 'select', |
|
| 44 | - 'renderType' => 'selectSingle', |
|
| 45 | - 'foreign_table' => 'tx_dlf_formats', |
|
| 46 | - 'foreign_table_where' => 'ORDER BY tx_dlf_formats.type', |
|
| 47 | - 'size' => 1, |
|
| 48 | - 'minitems' => 1, |
|
| 49 | - 'maxitems' => 1, |
|
| 50 | - ), |
|
| 51 | - ), |
|
| 52 | - 'xpath' => array ( |
|
| 53 | - 'exclude' => 1, |
|
| 54 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadataformat.xpath', |
|
| 55 | - 'config' => array ( |
|
| 56 | - 'type' => 'input', |
|
| 57 | - 'size' => 30, |
|
| 58 | - 'max' => 1024, |
|
| 59 | - 'eval' => 'required,trim', |
|
| 60 | - ), |
|
| 61 | - ), |
|
| 62 | - 'xpath_sorting' => array ( |
|
| 63 | - 'exclude' => 1, |
|
| 64 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadataformat.xpath_sorting', |
|
| 65 | - 'config' => array ( |
|
| 66 | - 'type' => 'input', |
|
| 67 | - 'size' => 30, |
|
| 68 | - 'max' => 1024, |
|
| 69 | - 'eval' => 'trim', |
|
| 70 | - ), |
|
| 71 | - ), |
|
| 72 | - 'mandatory' => array ( |
|
| 73 | - 'exclude' => 1, |
|
| 74 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadataformat.mandatory', |
|
| 75 | - 'config' => array ( |
|
| 76 | - 'type' => 'check', |
|
| 77 | - 'default' => 0, |
|
| 78 | - ), |
|
| 79 | - ), |
|
| 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'), |
|
| 83 | - ), |
|
| 84 | - 'palettes' => array ( |
|
| 85 | - '1' => array ('showitem' => ''), |
|
| 86 | - ), |
|
| 13 | + 'ctrl' => array ( |
|
| 14 | + 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadataformat', |
|
| 15 | + 'label' => 'encoded', |
|
| 16 | + 'tstamp' => 'tstamp', |
|
| 17 | + 'crdate' => 'crdate', |
|
| 18 | + 'cruser_id' => 'cruser_id', |
|
| 19 | + 'default_sortby' => 'ORDER BY encoded', |
|
| 20 | + 'delete' => 'deleted', |
|
| 21 | + 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfmetadata.png', |
|
| 22 | + 'rootLevel' => 0, |
|
| 23 | + 'dividers2tabs' => 2, |
|
| 24 | + 'searchFields' => 'encoded', |
|
| 25 | + 'hideTable' => 1, |
|
| 26 | + ), |
|
| 27 | + 'feInterface' => array ( |
|
| 28 | + 'fe_admin_fieldList' => '', |
|
| 29 | + ), |
|
| 30 | + 'interface' => array ( |
|
| 31 | + 'showRecordFieldList' => 'parent_id,encoded,xpath,xpath_sorting', |
|
| 32 | + ), |
|
| 33 | + 'columns' => array ( |
|
| 34 | + 'parent_id' => array ( |
|
| 35 | + 'config' => array ( |
|
| 36 | + 'type' => 'passthrough', |
|
| 37 | + ), |
|
| 38 | + ), |
|
| 39 | + 'encoded' => array ( |
|
| 40 | + 'exclude' => 1, |
|
| 41 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadataformat.encoded', |
|
| 42 | + 'config' => array ( |
|
| 43 | + 'type' => 'select', |
|
| 44 | + 'renderType' => 'selectSingle', |
|
| 45 | + 'foreign_table' => 'tx_dlf_formats', |
|
| 46 | + 'foreign_table_where' => 'ORDER BY tx_dlf_formats.type', |
|
| 47 | + 'size' => 1, |
|
| 48 | + 'minitems' => 1, |
|
| 49 | + 'maxitems' => 1, |
|
| 50 | + ), |
|
| 51 | + ), |
|
| 52 | + 'xpath' => array ( |
|
| 53 | + 'exclude' => 1, |
|
| 54 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadataformat.xpath', |
|
| 55 | + 'config' => array ( |
|
| 56 | + 'type' => 'input', |
|
| 57 | + 'size' => 30, |
|
| 58 | + 'max' => 1024, |
|
| 59 | + 'eval' => 'required,trim', |
|
| 60 | + ), |
|
| 61 | + ), |
|
| 62 | + 'xpath_sorting' => array ( |
|
| 63 | + 'exclude' => 1, |
|
| 64 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadataformat.xpath_sorting', |
|
| 65 | + 'config' => array ( |
|
| 66 | + 'type' => 'input', |
|
| 67 | + 'size' => 30, |
|
| 68 | + 'max' => 1024, |
|
| 69 | + 'eval' => 'trim', |
|
| 70 | + ), |
|
| 71 | + ), |
|
| 72 | + 'mandatory' => array ( |
|
| 73 | + 'exclude' => 1, |
|
| 74 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadataformat.mandatory', |
|
| 75 | + 'config' => array ( |
|
| 76 | + 'type' => 'check', |
|
| 77 | + 'default' => 0, |
|
| 78 | + ), |
|
| 79 | + ), |
|
| 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'), |
|
| 83 | + ), |
|
| 84 | + 'palettes' => array ( |
|
| 85 | + '1' => array ('showitem' => ''), |
|
| 86 | + ), |
|
| 87 | 87 | ); |
@@ -10,155 +10,155 @@ |
||
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | 12 | return array ( |
| 13 | - 'ctrl' => array ( |
|
| 14 | - 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures', |
|
| 15 | - 'label' => 'label', |
|
| 16 | - 'tstamp' => 'tstamp', |
|
| 17 | - 'crdate' => 'crdate', |
|
| 18 | - 'cruser_id' => 'cruser_id', |
|
| 19 | - 'languageField' => 'sys_language_uid', |
|
| 20 | - 'transOrigPointerField' => 'l18n_parent', |
|
| 21 | - 'transOrigDiffSourceField' => 'l18n_diffsource', |
|
| 22 | - 'default_sortby' => 'ORDER BY label', |
|
| 23 | - 'delete' => 'deleted', |
|
| 24 | - 'enablecolumns' => array ( |
|
| 25 | - 'disabled' => 'hidden', |
|
| 26 | - ), |
|
| 27 | - 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfstructures.png', |
|
| 28 | - 'rootLevel' => 0, |
|
| 29 | - 'dividers2tabs' => 2, |
|
| 30 | - 'searchFields' => 'label,index_name,oai_name', |
|
| 31 | - 'requestUpdate' => 'toplevel', |
|
| 32 | - ), |
|
| 33 | - 'feInterface' => array ( |
|
| 34 | - 'fe_admin_fieldList' => '', |
|
| 35 | - ), |
|
| 36 | - 'interface' => array ( |
|
| 37 | - 'showRecordFieldList' => 'label,index_name,oai_name,toplevel', |
|
| 38 | - ), |
|
| 39 | - 'columns' => array ( |
|
| 40 | - 'sys_language_uid' => array ( |
|
| 41 | - 'exclude' => 1, |
|
| 42 | - 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.language', |
|
| 43 | - 'config' => array ( |
|
| 44 | - 'type' => 'select', |
|
| 45 | - 'renderType' => 'selectSingle', |
|
| 46 | - 'foreign_table' => 'sys_language', |
|
| 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), |
|
| 51 | - ), |
|
| 52 | - 'default' => 0 |
|
| 53 | - ), |
|
| 54 | - ), |
|
| 55 | - 'l18n_parent' => array ( |
|
| 56 | - 'displayCond' => 'FIELD:sys_language_uid:>:0', |
|
| 57 | - 'exclude' => 1, |
|
| 58 | - 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.l18n_parent', |
|
| 59 | - 'config' => array ( |
|
| 60 | - 'type' => 'select', |
|
| 61 | - 'renderType' => 'selectSingle', |
|
| 62 | - 'items' => array ( |
|
| 63 | - array ('', 0), |
|
| 64 | - ), |
|
| 65 | - 'foreign_table' => 'tx_dlf_structures', |
|
| 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 | - ), |
|
| 68 | - ), |
|
| 69 | - 'l18n_diffsource' => array ( |
|
| 70 | - 'config' => array ( |
|
| 71 | - 'type' => 'passthrough', |
|
| 72 | - ), |
|
| 73 | - ), |
|
| 74 | - 'hidden' => array ( |
|
| 75 | - 'exclude' => 1, |
|
| 76 | - 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden', |
|
| 77 | - 'config' => array ( |
|
| 78 | - 'type' => 'check', |
|
| 79 | - 'default' => 0, |
|
| 80 | - ), |
|
| 81 | - ), |
|
| 82 | - 'toplevel' => array ( |
|
| 83 | - 'exclude' => 1, |
|
| 84 | - 'l10n_mode' => 'exclude', |
|
| 85 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.toplevel', |
|
| 86 | - 'config' => array ( |
|
| 87 | - 'type' => 'check', |
|
| 88 | - 'default' => 0, |
|
| 89 | - ), |
|
| 90 | - ), |
|
| 91 | - 'label' => array ( |
|
| 92 | - 'exclude' => 1, |
|
| 93 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.label', |
|
| 94 | - 'config' => array ( |
|
| 95 | - 'type' => 'input', |
|
| 96 | - 'size' => 30, |
|
| 97 | - 'max' => 255, |
|
| 98 | - 'eval' => 'required,trim', |
|
| 99 | - ), |
|
| 100 | - ), |
|
| 101 | - 'index_name' => array ( |
|
| 102 | - 'exclude' => 1, |
|
| 103 | - 'l10n_mode' => 'exclude', |
|
| 104 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.index_name', |
|
| 105 | - 'config' => array ( |
|
| 106 | - 'type' => 'input', |
|
| 107 | - 'size' => 30, |
|
| 108 | - 'max' => 255, |
|
| 109 | - 'eval' => 'required,nospace,alphanum_x,uniqueInPid', |
|
| 110 | - ), |
|
| 111 | - ), |
|
| 112 | - 'oai_name' => array ( |
|
| 113 | - 'exclude' => 1, |
|
| 114 | - 'l10n_mode' => 'exclude', |
|
| 115 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.oai_name', |
|
| 116 | - 'config' => array ( |
|
| 117 | - 'type' => 'input', |
|
| 118 | - 'size' => 30, |
|
| 119 | - 'max' => 255, |
|
| 120 | - 'eval' => 'trim', |
|
| 121 | - ), |
|
| 122 | - ), |
|
| 123 | - 'thumbnail' => array ( |
|
| 124 | - 'exclude' => 1, |
|
| 125 | - 'l10n_mode' => 'exclude', |
|
| 126 | - 'displayCond' => 'FIELD:toplevel:REQ:true', |
|
| 127 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.thumbnail', |
|
| 128 | - 'config' => array ( |
|
| 129 | - 'type' => 'select', |
|
| 130 | - 'renderType' => 'selectSingle', |
|
| 131 | - 'items' => array ( |
|
| 132 | - array ('LLL:EXT:dlf/locallang.xml:tx_dlf_structures.thumbnail.self', 0), |
|
| 133 | - ), |
|
| 134 | - 'foreign_table' => 'tx_dlf_structures', |
|
| 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', |
|
| 136 | - 'size' => 1, |
|
| 137 | - 'minitems' => 0, |
|
| 138 | - 'maxitems' => 1, |
|
| 139 | - 'default' => 0, |
|
| 140 | - ), |
|
| 141 | - ), |
|
| 142 | - 'status' => array ( |
|
| 143 | - 'exclude' => 1, |
|
| 144 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.status', |
|
| 145 | - 'config' => array ( |
|
| 146 | - 'type' => 'select', |
|
| 147 | - 'renderType' => 'selectSingle', |
|
| 148 | - 'items' => array ( |
|
| 149 | - array ('LLL:EXT:dlf/locallang.xml:tx_dlf_structures.status.default', 0), |
|
| 150 | - ), |
|
| 151 | - 'size' => 1, |
|
| 152 | - 'minitems' => 1, |
|
| 153 | - 'maxitems' => 1, |
|
| 154 | - 'default' => 0, |
|
| 155 | - ), |
|
| 156 | - ), |
|
| 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'), |
|
| 160 | - ), |
|
| 161 | - 'palettes' => array ( |
|
| 162 | - '1' => array ('showitem' => 'index_name, --linebreak--, oai_name', 'canNotCollapse' => 1), |
|
| 163 | - ), |
|
| 13 | + 'ctrl' => array ( |
|
| 14 | + 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures', |
|
| 15 | + 'label' => 'label', |
|
| 16 | + 'tstamp' => 'tstamp', |
|
| 17 | + 'crdate' => 'crdate', |
|
| 18 | + 'cruser_id' => 'cruser_id', |
|
| 19 | + 'languageField' => 'sys_language_uid', |
|
| 20 | + 'transOrigPointerField' => 'l18n_parent', |
|
| 21 | + 'transOrigDiffSourceField' => 'l18n_diffsource', |
|
| 22 | + 'default_sortby' => 'ORDER BY label', |
|
| 23 | + 'delete' => 'deleted', |
|
| 24 | + 'enablecolumns' => array ( |
|
| 25 | + 'disabled' => 'hidden', |
|
| 26 | + ), |
|
| 27 | + 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfstructures.png', |
|
| 28 | + 'rootLevel' => 0, |
|
| 29 | + 'dividers2tabs' => 2, |
|
| 30 | + 'searchFields' => 'label,index_name,oai_name', |
|
| 31 | + 'requestUpdate' => 'toplevel', |
|
| 32 | + ), |
|
| 33 | + 'feInterface' => array ( |
|
| 34 | + 'fe_admin_fieldList' => '', |
|
| 35 | + ), |
|
| 36 | + 'interface' => array ( |
|
| 37 | + 'showRecordFieldList' => 'label,index_name,oai_name,toplevel', |
|
| 38 | + ), |
|
| 39 | + 'columns' => array ( |
|
| 40 | + 'sys_language_uid' => array ( |
|
| 41 | + 'exclude' => 1, |
|
| 42 | + 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.language', |
|
| 43 | + 'config' => array ( |
|
| 44 | + 'type' => 'select', |
|
| 45 | + 'renderType' => 'selectSingle', |
|
| 46 | + 'foreign_table' => 'sys_language', |
|
| 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), |
|
| 51 | + ), |
|
| 52 | + 'default' => 0 |
|
| 53 | + ), |
|
| 54 | + ), |
|
| 55 | + 'l18n_parent' => array ( |
|
| 56 | + 'displayCond' => 'FIELD:sys_language_uid:>:0', |
|
| 57 | + 'exclude' => 1, |
|
| 58 | + 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.l18n_parent', |
|
| 59 | + 'config' => array ( |
|
| 60 | + 'type' => 'select', |
|
| 61 | + 'renderType' => 'selectSingle', |
|
| 62 | + 'items' => array ( |
|
| 63 | + array ('', 0), |
|
| 64 | + ), |
|
| 65 | + 'foreign_table' => 'tx_dlf_structures', |
|
| 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 | + ), |
|
| 68 | + ), |
|
| 69 | + 'l18n_diffsource' => array ( |
|
| 70 | + 'config' => array ( |
|
| 71 | + 'type' => 'passthrough', |
|
| 72 | + ), |
|
| 73 | + ), |
|
| 74 | + 'hidden' => array ( |
|
| 75 | + 'exclude' => 1, |
|
| 76 | + 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden', |
|
| 77 | + 'config' => array ( |
|
| 78 | + 'type' => 'check', |
|
| 79 | + 'default' => 0, |
|
| 80 | + ), |
|
| 81 | + ), |
|
| 82 | + 'toplevel' => array ( |
|
| 83 | + 'exclude' => 1, |
|
| 84 | + 'l10n_mode' => 'exclude', |
|
| 85 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.toplevel', |
|
| 86 | + 'config' => array ( |
|
| 87 | + 'type' => 'check', |
|
| 88 | + 'default' => 0, |
|
| 89 | + ), |
|
| 90 | + ), |
|
| 91 | + 'label' => array ( |
|
| 92 | + 'exclude' => 1, |
|
| 93 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.label', |
|
| 94 | + 'config' => array ( |
|
| 95 | + 'type' => 'input', |
|
| 96 | + 'size' => 30, |
|
| 97 | + 'max' => 255, |
|
| 98 | + 'eval' => 'required,trim', |
|
| 99 | + ), |
|
| 100 | + ), |
|
| 101 | + 'index_name' => array ( |
|
| 102 | + 'exclude' => 1, |
|
| 103 | + 'l10n_mode' => 'exclude', |
|
| 104 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.index_name', |
|
| 105 | + 'config' => array ( |
|
| 106 | + 'type' => 'input', |
|
| 107 | + 'size' => 30, |
|
| 108 | + 'max' => 255, |
|
| 109 | + 'eval' => 'required,nospace,alphanum_x,uniqueInPid', |
|
| 110 | + ), |
|
| 111 | + ), |
|
| 112 | + 'oai_name' => array ( |
|
| 113 | + 'exclude' => 1, |
|
| 114 | + 'l10n_mode' => 'exclude', |
|
| 115 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.oai_name', |
|
| 116 | + 'config' => array ( |
|
| 117 | + 'type' => 'input', |
|
| 118 | + 'size' => 30, |
|
| 119 | + 'max' => 255, |
|
| 120 | + 'eval' => 'trim', |
|
| 121 | + ), |
|
| 122 | + ), |
|
| 123 | + 'thumbnail' => array ( |
|
| 124 | + 'exclude' => 1, |
|
| 125 | + 'l10n_mode' => 'exclude', |
|
| 126 | + 'displayCond' => 'FIELD:toplevel:REQ:true', |
|
| 127 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.thumbnail', |
|
| 128 | + 'config' => array ( |
|
| 129 | + 'type' => 'select', |
|
| 130 | + 'renderType' => 'selectSingle', |
|
| 131 | + 'items' => array ( |
|
| 132 | + array ('LLL:EXT:dlf/locallang.xml:tx_dlf_structures.thumbnail.self', 0), |
|
| 133 | + ), |
|
| 134 | + 'foreign_table' => 'tx_dlf_structures', |
|
| 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', |
|
| 136 | + 'size' => 1, |
|
| 137 | + 'minitems' => 0, |
|
| 138 | + 'maxitems' => 1, |
|
| 139 | + 'default' => 0, |
|
| 140 | + ), |
|
| 141 | + ), |
|
| 142 | + 'status' => array ( |
|
| 143 | + 'exclude' => 1, |
|
| 144 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_structures.status', |
|
| 145 | + 'config' => array ( |
|
| 146 | + 'type' => 'select', |
|
| 147 | + 'renderType' => 'selectSingle', |
|
| 148 | + 'items' => array ( |
|
| 149 | + array ('LLL:EXT:dlf/locallang.xml:tx_dlf_structures.status.default', 0), |
|
| 150 | + ), |
|
| 151 | + 'size' => 1, |
|
| 152 | + 'minitems' => 1, |
|
| 153 | + 'maxitems' => 1, |
|
| 154 | + 'default' => 0, |
|
| 155 | + ), |
|
| 156 | + ), |
|
| 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'), |
|
| 160 | + ), |
|
| 161 | + 'palettes' => array ( |
|
| 162 | + '1' => array ('showitem' => 'index_name, --linebreak--, oai_name', 'canNotCollapse' => 1), |
|
| 163 | + ), |
|
| 164 | 164 | ); |
@@ -10,249 +10,249 @@ |
||
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | 12 | return array ( |
| 13 | - 'ctrl' => array ( |
|
| 14 | - 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections', |
|
| 15 | - 'label' => 'label', |
|
| 16 | - 'tstamp' => 'tstamp', |
|
| 17 | - 'crdate' => 'crdate', |
|
| 18 | - 'cruser_id' => 'cruser_id', |
|
| 19 | - 'fe_cruser_id' => 'fe_cruser_id', |
|
| 20 | - 'fe_admin_lock' => 'fe_admin_lock', |
|
| 21 | - 'languageField' => 'sys_language_uid', |
|
| 22 | - 'transOrigPointerField' => 'l18n_parent', |
|
| 23 | - 'transOrigDiffSourceField' => 'l18n_diffsource', |
|
| 24 | - 'default_sortby' => 'ORDER BY label', |
|
| 25 | - 'delete' => 'deleted', |
|
| 26 | - 'enablecolumns' => array ( |
|
| 27 | - 'disabled' => 'hidden', |
|
| 28 | - 'fe_group' => 'fe_group', |
|
| 29 | - ), |
|
| 30 | - 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfcollections.png', |
|
| 31 | - 'rootLevel' => 0, |
|
| 32 | - 'dividers2tabs' => 2, |
|
| 33 | - 'searchFields' => 'label,index_name,oai_name,fe_cruser_id', |
|
| 34 | - ), |
|
| 35 | - 'feInterface' => array ( |
|
| 36 | - 'fe_admin_fieldList' => 'label,description,thumbnail,documents', |
|
| 37 | - ), |
|
| 38 | - 'interface' => array ( |
|
| 39 | - 'showRecordFieldList' => 'label,index_name,oai_name,fe_cruser_id', |
|
| 40 | - ), |
|
| 41 | - 'columns' => array ( |
|
| 42 | - 'sys_language_uid' => array ( |
|
| 43 | - 'exclude' => 1, |
|
| 44 | - 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.language', |
|
| 45 | - 'config' => array ( |
|
| 46 | - 'type' => 'select', |
|
| 47 | - 'renderType' => 'selectSingle', |
|
| 48 | - 'foreign_table' => 'sys_language', |
|
| 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), |
|
| 53 | - ), |
|
| 54 | - 'default' => 0, |
|
| 55 | - ), |
|
| 56 | - ), |
|
| 57 | - 'l18n_parent' => array ( |
|
| 58 | - 'displayCond' => 'FIELD:sys_language_uid:>:0', |
|
| 59 | - 'exclude' => 1, |
|
| 60 | - 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.l18n_parent', |
|
| 61 | - 'config' => array ( |
|
| 62 | - 'type' => 'select', |
|
| 63 | - 'renderType' => 'selectSingle', |
|
| 64 | - 'items' => array ( |
|
| 65 | - array ('', 0), |
|
| 66 | - ), |
|
| 67 | - 'foreign_table' => 'tx_dlf_collections', |
|
| 68 | - 'foreign_table_where' => 'AND tx_dlf_collections.pid=###CURRENT_PID### AND tx_dlf_collections.sys_language_uid IN (-1,0)', |
|
| 69 | - ), |
|
| 70 | - ), |
|
| 71 | - 'l18n_diffsource' => array ( |
|
| 72 | - 'config' => array ( |
|
| 73 | - 'type' => 'passthrough' |
|
| 74 | - ), |
|
| 75 | - ), |
|
| 76 | - 'hidden' => array ( |
|
| 77 | - 'exclude' => 1, |
|
| 78 | - 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden', |
|
| 79 | - 'config' => array ( |
|
| 80 | - 'type' => 'check', |
|
| 81 | - 'default' => 0, |
|
| 82 | - ), |
|
| 83 | - ), |
|
| 84 | - 'fe_group' => array ( |
|
| 85 | - 'exclude' => 1, |
|
| 86 | - 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.fe_group', |
|
| 87 | - 'config' => array ( |
|
| 88 | - 'type' => 'select', |
|
| 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--'), |
|
| 94 | - ), |
|
| 95 | - 'foreign_table' => 'fe_groups', |
|
| 96 | - 'size' => 5, |
|
| 97 | - 'autoSizeMax' => 15, |
|
| 98 | - 'minitems' => 0, |
|
| 99 | - 'maxitems' => 20, |
|
| 100 | - 'exclusiveKeys' => '-1,-2', |
|
| 101 | - ), |
|
| 102 | - ), |
|
| 103 | - 'label' => array ( |
|
| 104 | - 'exclude' => 1, |
|
| 105 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.label', |
|
| 106 | - 'config' => array ( |
|
| 107 | - 'type' => 'input', |
|
| 108 | - 'size' => 30, |
|
| 109 | - 'max' => 255, |
|
| 110 | - 'eval' => 'required,trim', |
|
| 111 | - ), |
|
| 112 | - ), |
|
| 113 | - 'index_name' => array ( |
|
| 114 | - 'exclude' => 1, |
|
| 115 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.index_name', |
|
| 116 | - 'config' => array ( |
|
| 117 | - 'type' => 'none', |
|
| 118 | - 'size' => 30, |
|
| 119 | - 'max' => 255, |
|
| 120 | - 'eval' => 'required,uniqueInPid', |
|
| 121 | - ), |
|
| 122 | - ), |
|
| 123 | - 'oai_name' => array ( |
|
| 124 | - 'exclude' => 1, |
|
| 125 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.oai_name', |
|
| 126 | - 'config' => array ( |
|
| 127 | - 'type' => 'input', |
|
| 128 | - 'size' => 30, |
|
| 129 | - 'max' => 255, |
|
| 130 | - 'eval' => 'nospace,alphanum_x,uniqueInPid', |
|
| 131 | - ), |
|
| 132 | - ), |
|
| 133 | - 'description' => array ( |
|
| 134 | - 'exclude' => 1, |
|
| 135 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.description', |
|
| 136 | - 'config' => array ( |
|
| 137 | - 'type' => 'text', |
|
| 138 | - 'cols' => 30, |
|
| 139 | - 'rows' => 10, |
|
| 140 | - 'wrap' => 'virtual', |
|
| 141 | - ), |
|
| 142 | - '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]', |
|
| 143 | - ), |
|
| 144 | - 'thumbnail' => array ( |
|
| 145 | - 'exclude' => 1, |
|
| 146 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.thumbnail', |
|
| 147 | - 'config' => array ( |
|
| 148 | - 'type' => 'group', |
|
| 149 | - 'internal_type' => 'file_reference', |
|
| 150 | - 'allowed' => 'gif,jpg,png', |
|
| 151 | - 'size' => 1, |
|
| 152 | - 'minitems' => 0, |
|
| 153 | - 'maxitems' => 1, |
|
| 154 | - ), |
|
| 155 | - ), |
|
| 156 | - 'priority' => array ( |
|
| 157 | - 'exclude' => 1, |
|
| 158 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.priority', |
|
| 159 | - 'config' => array ( |
|
| 160 | - 'type' => 'select', |
|
| 161 | - 'renderType' => 'selectSingle', |
|
| 162 | - 'items' => array ( |
|
| 163 | - array ('1', 1), |
|
| 164 | - array ('2', 2), |
|
| 165 | - array ('3', 3), |
|
| 166 | - array ('4', 4), |
|
| 167 | - array ('5', 5), |
|
| 168 | - ), |
|
| 169 | - 'size' => 1, |
|
| 170 | - 'minitems' => 1, |
|
| 171 | - 'maxitems' => 1, |
|
| 172 | - 'default' => 3, |
|
| 173 | - ), |
|
| 174 | - ), |
|
| 175 | - 'documents' => array ( |
|
| 176 | - 'exclude' => 1, |
|
| 177 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.documents', |
|
| 178 | - 'config' => array ( |
|
| 179 | - 'type' => 'select', |
|
| 180 | - 'renderType' => 'selectSingleBox', |
|
| 181 | - 'foreign_table' => 'tx_dlf_documents', |
|
| 182 | - 'foreign_table_where' => 'AND tx_dlf_documents.pid=###CURRENT_PID### ORDER BY tx_dlf_documents.title_sorting', |
|
| 183 | - 'size' => 5, |
|
| 184 | - 'autoSizeMax' => 15, |
|
| 185 | - 'minitems' => 0, |
|
| 186 | - 'maxitems' => 1048576, |
|
| 187 | - 'MM' => 'tx_dlf_relations', |
|
| 188 | - 'MM_match_fields' => array ( |
|
| 189 | - 'ident' => 'docs_colls', |
|
| 190 | - ), |
|
| 191 | - 'MM_opposite_field' => 'collections', |
|
| 192 | - ), |
|
| 193 | - ), |
|
| 194 | - 'owner' => array ( |
|
| 195 | - 'exclude' => 1, |
|
| 196 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.owner', |
|
| 197 | - 'config' => array ( |
|
| 198 | - 'type' => 'select', |
|
| 199 | - 'renderType' => 'selectSingle', |
|
| 200 | - 'items' => array ( |
|
| 201 | - array ('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.owner.none', 0), |
|
| 202 | - ), |
|
| 203 | - 'foreign_table' => 'tx_dlf_libraries', |
|
| 204 | - 'foreign_table_where' => 'AND tx_dlf_libraries.sys_language_uid IN (-1,0) ORDER BY tx_dlf_libraries.label', |
|
| 205 | - 'size' => 1, |
|
| 206 | - 'minitems' => 1, |
|
| 207 | - 'maxitems' => 1, |
|
| 208 | - ), |
|
| 209 | - ), |
|
| 210 | - 'fe_cruser_id' => array ( |
|
| 211 | - 'exclude' => 1, |
|
| 212 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.fe_cruser_id', |
|
| 213 | - 'config' => array ( |
|
| 214 | - 'type' => 'select', |
|
| 215 | - 'renderType' => 'selectSingle', |
|
| 216 | - 'items' => array ( |
|
| 217 | - array ('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.fe_cruser_id.none', 0), |
|
| 218 | - ), |
|
| 219 | - 'foreign_table' => 'fe_users', |
|
| 220 | - 'foreign_table_where' => 'ORDER BY fe_users.username', |
|
| 221 | - 'size' => 1, |
|
| 222 | - 'minitems' => 1, |
|
| 223 | - 'maxitems' => 1, |
|
| 224 | - ), |
|
| 225 | - ), |
|
| 226 | - 'fe_admin_lock' => array ( |
|
| 227 | - 'exclude' => 1, |
|
| 228 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.fe_admin_lock', |
|
| 229 | - 'config' => array ( |
|
| 230 | - 'type' => 'check', |
|
| 231 | - 'default' => 0, |
|
| 232 | - ), |
|
| 233 | - ), |
|
| 234 | - 'status' => array ( |
|
| 235 | - 'exclude' => 1, |
|
| 236 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.status', |
|
| 237 | - 'config' => array ( |
|
| 238 | - 'type' => 'select', |
|
| 239 | - 'renderType' => 'selectSingle', |
|
| 240 | - 'items' => array ( |
|
| 241 | - array ('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.status.default', 0), |
|
| 242 | - ), |
|
| 243 | - 'size' => 1, |
|
| 244 | - 'minitems' => 1, |
|
| 245 | - 'maxitems' => 1, |
|
| 246 | - 'default' => 0, |
|
| 247 | - ), |
|
| 248 | - ), |
|
| 249 | - ), |
|
| 250 | - 'types' => array ( |
|
| 251 | - '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'), |
|
| 252 | - ), |
|
| 253 | - 'palettes' => array ( |
|
| 254 | - '1' => array ('showitem' => 'index_name, --linebreak--, oai_name', 'canNotCollapse' => 1), |
|
| 255 | - '2' => array ('showitem' => 'thumbnail, priority', 'canNotCollapse' => 1), |
|
| 256 | - '3' => array ('showitem' => 'fe_admin_lock', 'canNotCollapse' => 1), |
|
| 257 | - ), |
|
| 13 | + 'ctrl' => array ( |
|
| 14 | + 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections', |
|
| 15 | + 'label' => 'label', |
|
| 16 | + 'tstamp' => 'tstamp', |
|
| 17 | + 'crdate' => 'crdate', |
|
| 18 | + 'cruser_id' => 'cruser_id', |
|
| 19 | + 'fe_cruser_id' => 'fe_cruser_id', |
|
| 20 | + 'fe_admin_lock' => 'fe_admin_lock', |
|
| 21 | + 'languageField' => 'sys_language_uid', |
|
| 22 | + 'transOrigPointerField' => 'l18n_parent', |
|
| 23 | + 'transOrigDiffSourceField' => 'l18n_diffsource', |
|
| 24 | + 'default_sortby' => 'ORDER BY label', |
|
| 25 | + 'delete' => 'deleted', |
|
| 26 | + 'enablecolumns' => array ( |
|
| 27 | + 'disabled' => 'hidden', |
|
| 28 | + 'fe_group' => 'fe_group', |
|
| 29 | + ), |
|
| 30 | + 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfcollections.png', |
|
| 31 | + 'rootLevel' => 0, |
|
| 32 | + 'dividers2tabs' => 2, |
|
| 33 | + 'searchFields' => 'label,index_name,oai_name,fe_cruser_id', |
|
| 34 | + ), |
|
| 35 | + 'feInterface' => array ( |
|
| 36 | + 'fe_admin_fieldList' => 'label,description,thumbnail,documents', |
|
| 37 | + ), |
|
| 38 | + 'interface' => array ( |
|
| 39 | + 'showRecordFieldList' => 'label,index_name,oai_name,fe_cruser_id', |
|
| 40 | + ), |
|
| 41 | + 'columns' => array ( |
|
| 42 | + 'sys_language_uid' => array ( |
|
| 43 | + 'exclude' => 1, |
|
| 44 | + 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.language', |
|
| 45 | + 'config' => array ( |
|
| 46 | + 'type' => 'select', |
|
| 47 | + 'renderType' => 'selectSingle', |
|
| 48 | + 'foreign_table' => 'sys_language', |
|
| 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), |
|
| 53 | + ), |
|
| 54 | + 'default' => 0, |
|
| 55 | + ), |
|
| 56 | + ), |
|
| 57 | + 'l18n_parent' => array ( |
|
| 58 | + 'displayCond' => 'FIELD:sys_language_uid:>:0', |
|
| 59 | + 'exclude' => 1, |
|
| 60 | + 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.l18n_parent', |
|
| 61 | + 'config' => array ( |
|
| 62 | + 'type' => 'select', |
|
| 63 | + 'renderType' => 'selectSingle', |
|
| 64 | + 'items' => array ( |
|
| 65 | + array ('', 0), |
|
| 66 | + ), |
|
| 67 | + 'foreign_table' => 'tx_dlf_collections', |
|
| 68 | + 'foreign_table_where' => 'AND tx_dlf_collections.pid=###CURRENT_PID### AND tx_dlf_collections.sys_language_uid IN (-1,0)', |
|
| 69 | + ), |
|
| 70 | + ), |
|
| 71 | + 'l18n_diffsource' => array ( |
|
| 72 | + 'config' => array ( |
|
| 73 | + 'type' => 'passthrough' |
|
| 74 | + ), |
|
| 75 | + ), |
|
| 76 | + 'hidden' => array ( |
|
| 77 | + 'exclude' => 1, |
|
| 78 | + 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden', |
|
| 79 | + 'config' => array ( |
|
| 80 | + 'type' => 'check', |
|
| 81 | + 'default' => 0, |
|
| 82 | + ), |
|
| 83 | + ), |
|
| 84 | + 'fe_group' => array ( |
|
| 85 | + 'exclude' => 1, |
|
| 86 | + 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.fe_group', |
|
| 87 | + 'config' => array ( |
|
| 88 | + 'type' => 'select', |
|
| 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--'), |
|
| 94 | + ), |
|
| 95 | + 'foreign_table' => 'fe_groups', |
|
| 96 | + 'size' => 5, |
|
| 97 | + 'autoSizeMax' => 15, |
|
| 98 | + 'minitems' => 0, |
|
| 99 | + 'maxitems' => 20, |
|
| 100 | + 'exclusiveKeys' => '-1,-2', |
|
| 101 | + ), |
|
| 102 | + ), |
|
| 103 | + 'label' => array ( |
|
| 104 | + 'exclude' => 1, |
|
| 105 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.label', |
|
| 106 | + 'config' => array ( |
|
| 107 | + 'type' => 'input', |
|
| 108 | + 'size' => 30, |
|
| 109 | + 'max' => 255, |
|
| 110 | + 'eval' => 'required,trim', |
|
| 111 | + ), |
|
| 112 | + ), |
|
| 113 | + 'index_name' => array ( |
|
| 114 | + 'exclude' => 1, |
|
| 115 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.index_name', |
|
| 116 | + 'config' => array ( |
|
| 117 | + 'type' => 'none', |
|
| 118 | + 'size' => 30, |
|
| 119 | + 'max' => 255, |
|
| 120 | + 'eval' => 'required,uniqueInPid', |
|
| 121 | + ), |
|
| 122 | + ), |
|
| 123 | + 'oai_name' => array ( |
|
| 124 | + 'exclude' => 1, |
|
| 125 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.oai_name', |
|
| 126 | + 'config' => array ( |
|
| 127 | + 'type' => 'input', |
|
| 128 | + 'size' => 30, |
|
| 129 | + 'max' => 255, |
|
| 130 | + 'eval' => 'nospace,alphanum_x,uniqueInPid', |
|
| 131 | + ), |
|
| 132 | + ), |
|
| 133 | + 'description' => array ( |
|
| 134 | + 'exclude' => 1, |
|
| 135 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.description', |
|
| 136 | + 'config' => array ( |
|
| 137 | + 'type' => 'text', |
|
| 138 | + 'cols' => 30, |
|
| 139 | + 'rows' => 10, |
|
| 140 | + 'wrap' => 'virtual', |
|
| 141 | + ), |
|
| 142 | + '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]', |
|
| 143 | + ), |
|
| 144 | + 'thumbnail' => array ( |
|
| 145 | + 'exclude' => 1, |
|
| 146 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.thumbnail', |
|
| 147 | + 'config' => array ( |
|
| 148 | + 'type' => 'group', |
|
| 149 | + 'internal_type' => 'file_reference', |
|
| 150 | + 'allowed' => 'gif,jpg,png', |
|
| 151 | + 'size' => 1, |
|
| 152 | + 'minitems' => 0, |
|
| 153 | + 'maxitems' => 1, |
|
| 154 | + ), |
|
| 155 | + ), |
|
| 156 | + 'priority' => array ( |
|
| 157 | + 'exclude' => 1, |
|
| 158 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.priority', |
|
| 159 | + 'config' => array ( |
|
| 160 | + 'type' => 'select', |
|
| 161 | + 'renderType' => 'selectSingle', |
|
| 162 | + 'items' => array ( |
|
| 163 | + array ('1', 1), |
|
| 164 | + array ('2', 2), |
|
| 165 | + array ('3', 3), |
|
| 166 | + array ('4', 4), |
|
| 167 | + array ('5', 5), |
|
| 168 | + ), |
|
| 169 | + 'size' => 1, |
|
| 170 | + 'minitems' => 1, |
|
| 171 | + 'maxitems' => 1, |
|
| 172 | + 'default' => 3, |
|
| 173 | + ), |
|
| 174 | + ), |
|
| 175 | + 'documents' => array ( |
|
| 176 | + 'exclude' => 1, |
|
| 177 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.documents', |
|
| 178 | + 'config' => array ( |
|
| 179 | + 'type' => 'select', |
|
| 180 | + 'renderType' => 'selectSingleBox', |
|
| 181 | + 'foreign_table' => 'tx_dlf_documents', |
|
| 182 | + 'foreign_table_where' => 'AND tx_dlf_documents.pid=###CURRENT_PID### ORDER BY tx_dlf_documents.title_sorting', |
|
| 183 | + 'size' => 5, |
|
| 184 | + 'autoSizeMax' => 15, |
|
| 185 | + 'minitems' => 0, |
|
| 186 | + 'maxitems' => 1048576, |
|
| 187 | + 'MM' => 'tx_dlf_relations', |
|
| 188 | + 'MM_match_fields' => array ( |
|
| 189 | + 'ident' => 'docs_colls', |
|
| 190 | + ), |
|
| 191 | + 'MM_opposite_field' => 'collections', |
|
| 192 | + ), |
|
| 193 | + ), |
|
| 194 | + 'owner' => array ( |
|
| 195 | + 'exclude' => 1, |
|
| 196 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.owner', |
|
| 197 | + 'config' => array ( |
|
| 198 | + 'type' => 'select', |
|
| 199 | + 'renderType' => 'selectSingle', |
|
| 200 | + 'items' => array ( |
|
| 201 | + array ('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.owner.none', 0), |
|
| 202 | + ), |
|
| 203 | + 'foreign_table' => 'tx_dlf_libraries', |
|
| 204 | + 'foreign_table_where' => 'AND tx_dlf_libraries.sys_language_uid IN (-1,0) ORDER BY tx_dlf_libraries.label', |
|
| 205 | + 'size' => 1, |
|
| 206 | + 'minitems' => 1, |
|
| 207 | + 'maxitems' => 1, |
|
| 208 | + ), |
|
| 209 | + ), |
|
| 210 | + 'fe_cruser_id' => array ( |
|
| 211 | + 'exclude' => 1, |
|
| 212 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.fe_cruser_id', |
|
| 213 | + 'config' => array ( |
|
| 214 | + 'type' => 'select', |
|
| 215 | + 'renderType' => 'selectSingle', |
|
| 216 | + 'items' => array ( |
|
| 217 | + array ('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.fe_cruser_id.none', 0), |
|
| 218 | + ), |
|
| 219 | + 'foreign_table' => 'fe_users', |
|
| 220 | + 'foreign_table_where' => 'ORDER BY fe_users.username', |
|
| 221 | + 'size' => 1, |
|
| 222 | + 'minitems' => 1, |
|
| 223 | + 'maxitems' => 1, |
|
| 224 | + ), |
|
| 225 | + ), |
|
| 226 | + 'fe_admin_lock' => array ( |
|
| 227 | + 'exclude' => 1, |
|
| 228 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.fe_admin_lock', |
|
| 229 | + 'config' => array ( |
|
| 230 | + 'type' => 'check', |
|
| 231 | + 'default' => 0, |
|
| 232 | + ), |
|
| 233 | + ), |
|
| 234 | + 'status' => array ( |
|
| 235 | + 'exclude' => 1, |
|
| 236 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_collections.status', |
|
| 237 | + 'config' => array ( |
|
| 238 | + 'type' => 'select', |
|
| 239 | + 'renderType' => 'selectSingle', |
|
| 240 | + 'items' => array ( |
|
| 241 | + array ('LLL:EXT:dlf/locallang.xml:tx_dlf_collections.status.default', 0), |
|
| 242 | + ), |
|
| 243 | + 'size' => 1, |
|
| 244 | + 'minitems' => 1, |
|
| 245 | + 'maxitems' => 1, |
|
| 246 | + 'default' => 0, |
|
| 247 | + ), |
|
| 248 | + ), |
|
| 249 | + ), |
|
| 250 | + 'types' => array ( |
|
| 251 | + '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'), |
|
| 252 | + ), |
|
| 253 | + 'palettes' => array ( |
|
| 254 | + '1' => array ('showitem' => 'index_name, --linebreak--, oai_name', 'canNotCollapse' => 1), |
|
| 255 | + '2' => array ('showitem' => 'thumbnail, priority', 'canNotCollapse' => 1), |
|
| 256 | + '3' => array ('showitem' => 'fe_admin_lock', 'canNotCollapse' => 1), |
|
| 257 | + ), |
|
| 258 | 258 | ); |
@@ -10,67 +10,67 @@ |
||
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | 12 | return array ( |
| 13 | - 'ctrl' => array ( |
|
| 14 | - 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats', |
|
| 15 | - 'label' => 'type', |
|
| 16 | - 'tstamp' => 'tstamp', |
|
| 17 | - 'crdate' => 'crdate', |
|
| 18 | - 'cruser_id' => 'cruser_id', |
|
| 19 | - 'default_sortby' => 'ORDER BY type', |
|
| 20 | - 'delete' => 'deleted', |
|
| 21 | - 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfformats.png', |
|
| 22 | - 'rootLevel' => 1, |
|
| 23 | - 'dividers2tabs' => 2, |
|
| 24 | - 'searchFields' => 'type,class', |
|
| 25 | - ), |
|
| 26 | - 'feInterface' => array ( |
|
| 27 | - 'fe_admin_fieldList' => '', |
|
| 28 | - ), |
|
| 29 | - 'interface' => array ( |
|
| 30 | - 'showRecordFieldList' => 'type,class', |
|
| 31 | - ), |
|
| 32 | - 'columns' => array ( |
|
| 33 | - 'type' => array ( |
|
| 34 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats.type', |
|
| 35 | - 'config' => array ( |
|
| 36 | - 'type' => 'input', |
|
| 37 | - 'size' => 30, |
|
| 38 | - 'max' => 255, |
|
| 39 | - 'eval' => 'required,nospace,alphanum_x,unique', |
|
| 40 | - ), |
|
| 41 | - ), |
|
| 42 | - 'root' => array ( |
|
| 43 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats.root', |
|
| 44 | - 'config' => array ( |
|
| 45 | - 'type' => 'input', |
|
| 46 | - 'size' => 30, |
|
| 47 | - 'max' => 255, |
|
| 48 | - 'eval' => 'required,nospace,alphanum_x,unique', |
|
| 49 | - ), |
|
| 50 | - ), |
|
| 51 | - 'namespace' => array ( |
|
| 52 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats.namespace', |
|
| 53 | - 'config' => array ( |
|
| 54 | - 'type' => 'input', |
|
| 55 | - 'size' => 30, |
|
| 56 | - 'max' => 1024, |
|
| 57 | - 'eval' => 'required,nospace,unique', |
|
| 58 | - ), |
|
| 59 | - ), |
|
| 60 | - 'class' => array ( |
|
| 61 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats.class', |
|
| 62 | - 'config' => array ( |
|
| 63 | - 'type' => 'input', |
|
| 64 | - 'size' => 30, |
|
| 65 | - 'max' => 1024, |
|
| 66 | - 'eval' => 'nospace,alphanum_x,unique', |
|
| 67 | - ), |
|
| 68 | - ), |
|
| 69 | - ), |
|
| 70 | - 'types' => array ( |
|
| 71 | - '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_formats.tab1, type;;;;1-1-1, root;;;;2-2-2, namespace, class;;;;3-3-3'), |
|
| 72 | - ), |
|
| 73 | - 'palettes' => array ( |
|
| 74 | - '1' => array ('showitem' => ''), |
|
| 75 | - ), |
|
| 13 | + 'ctrl' => array ( |
|
| 14 | + 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats', |
|
| 15 | + 'label' => 'type', |
|
| 16 | + 'tstamp' => 'tstamp', |
|
| 17 | + 'crdate' => 'crdate', |
|
| 18 | + 'cruser_id' => 'cruser_id', |
|
| 19 | + 'default_sortby' => 'ORDER BY type', |
|
| 20 | + 'delete' => 'deleted', |
|
| 21 | + 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfformats.png', |
|
| 22 | + 'rootLevel' => 1, |
|
| 23 | + 'dividers2tabs' => 2, |
|
| 24 | + 'searchFields' => 'type,class', |
|
| 25 | + ), |
|
| 26 | + 'feInterface' => array ( |
|
| 27 | + 'fe_admin_fieldList' => '', |
|
| 28 | + ), |
|
| 29 | + 'interface' => array ( |
|
| 30 | + 'showRecordFieldList' => 'type,class', |
|
| 31 | + ), |
|
| 32 | + 'columns' => array ( |
|
| 33 | + 'type' => array ( |
|
| 34 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats.type', |
|
| 35 | + 'config' => array ( |
|
| 36 | + 'type' => 'input', |
|
| 37 | + 'size' => 30, |
|
| 38 | + 'max' => 255, |
|
| 39 | + 'eval' => 'required,nospace,alphanum_x,unique', |
|
| 40 | + ), |
|
| 41 | + ), |
|
| 42 | + 'root' => array ( |
|
| 43 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats.root', |
|
| 44 | + 'config' => array ( |
|
| 45 | + 'type' => 'input', |
|
| 46 | + 'size' => 30, |
|
| 47 | + 'max' => 255, |
|
| 48 | + 'eval' => 'required,nospace,alphanum_x,unique', |
|
| 49 | + ), |
|
| 50 | + ), |
|
| 51 | + 'namespace' => array ( |
|
| 52 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats.namespace', |
|
| 53 | + 'config' => array ( |
|
| 54 | + 'type' => 'input', |
|
| 55 | + 'size' => 30, |
|
| 56 | + 'max' => 1024, |
|
| 57 | + 'eval' => 'required,nospace,unique', |
|
| 58 | + ), |
|
| 59 | + ), |
|
| 60 | + 'class' => array ( |
|
| 61 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_formats.class', |
|
| 62 | + 'config' => array ( |
|
| 63 | + 'type' => 'input', |
|
| 64 | + 'size' => 30, |
|
| 65 | + 'max' => 1024, |
|
| 66 | + 'eval' => 'nospace,alphanum_x,unique', |
|
| 67 | + ), |
|
| 68 | + ), |
|
| 69 | + ), |
|
| 70 | + 'types' => array ( |
|
| 71 | + '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_formats.tab1, type;;;;1-1-1, root;;;;2-2-2, namespace, class;;;;3-3-3'), |
|
| 72 | + ), |
|
| 73 | + 'palettes' => array ( |
|
| 74 | + '1' => array ('showitem' => ''), |
|
| 75 | + ), |
|
| 76 | 76 | ); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | 'ctrl' => array ( |
| 14 | 14 | 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_mail', |
| 15 | 15 | 'label' => 'label', |
| 16 | - 'sortby' => 'sorting', |
|
| 16 | + 'sortby' => 'sorting', |
|
| 17 | 17 | 'delete' => 'deleted', |
| 18 | 18 | 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfemail.png', |
| 19 | 19 | 'rootLevel' => 0, |
@@ -10,239 +10,239 @@ |
||
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | 12 | return array ( |
| 13 | - 'ctrl' => array ( |
|
| 14 | - 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata', |
|
| 15 | - 'label' => 'label', |
|
| 16 | - 'tstamp' => 'tstamp', |
|
| 17 | - 'crdate' => 'crdate', |
|
| 18 | - 'cruser_id' => 'cruser_id', |
|
| 19 | - 'languageField' => 'sys_language_uid', |
|
| 20 | - 'transOrigPointerField' => 'l18n_parent', |
|
| 21 | - 'transOrigDiffSourceField' => 'l18n_diffsource', |
|
| 22 | - 'sortby' => 'sorting', |
|
| 23 | - 'delete' => 'deleted', |
|
| 24 | - 'enablecolumns' => array ( |
|
| 25 | - 'disabled' => 'hidden', |
|
| 26 | - ), |
|
| 27 | - 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfmetadata.png', |
|
| 28 | - 'rootLevel' => 0, |
|
| 29 | - 'dividers2tabs' => 2, |
|
| 30 | - 'searchFields' => 'label,index_name', |
|
| 31 | - ), |
|
| 32 | - 'feInterface' => array ( |
|
| 33 | - 'fe_admin_fieldList' => '', |
|
| 34 | - ), |
|
| 35 | - 'interface' => array ( |
|
| 36 | - 'showRecordFieldList' => 'label,index_name,is_sortable,is_facet,is_listed,index_autocomplete', |
|
| 37 | - ), |
|
| 38 | - 'columns' => array ( |
|
| 39 | - 'sys_language_uid' => array ( |
|
| 40 | - 'exclude' => 1, |
|
| 41 | - 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.language', |
|
| 42 | - 'config' => array ( |
|
| 43 | - 'type' => 'select', |
|
| 44 | - 'renderType' => 'selectSingle', |
|
| 45 | - 'foreign_table' => 'sys_language', |
|
| 46 | - 'foreign_table_where' => 'ORDER BY sys_language.title', |
|
| 47 | - 'items' => array ( |
|
| 48 | - array ('LLL:EXT:lang/locallang_general.xml:LGL.allLanguages', -1), |
|
| 49 | - array ('LLL:EXT:lang/locallang_general.xml:LGL.default_value', 0), |
|
| 50 | - ), |
|
| 51 | - 'default' => 0 |
|
| 52 | - ), |
|
| 53 | - ), |
|
| 54 | - 'l18n_parent' => array ( |
|
| 55 | - 'displayCond' => 'FIELD:sys_language_uid:>:0', |
|
| 56 | - 'exclude' => 1, |
|
| 57 | - 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.l18n_parent', |
|
| 58 | - 'config' => array ( |
|
| 59 | - 'type' => 'select', |
|
| 60 | - 'renderType' => 'selectSingle', |
|
| 61 | - 'items' => array ( |
|
| 62 | - array ('', 0), |
|
| 63 | - ), |
|
| 64 | - 'foreign_table' => 'tx_dlf_metadata', |
|
| 65 | - 'foreign_table_where' => 'AND tx_dlf_metadata.pid=###CURRENT_PID### AND tx_dlf_metadata.sys_language_uid IN (-1,0) ORDER BY label ASC', |
|
| 66 | - ), |
|
| 67 | - ), |
|
| 68 | - 'l18n_diffsource' => array ( |
|
| 69 | - 'config' => array ( |
|
| 70 | - 'type' => 'passthrough' |
|
| 71 | - ), |
|
| 72 | - ), |
|
| 73 | - 'hidden' => array ( |
|
| 74 | - 'exclude' => 1, |
|
| 75 | - 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden', |
|
| 76 | - 'config' => array ( |
|
| 77 | - 'type' => 'check', |
|
| 78 | - 'default' => 0, |
|
| 79 | - ), |
|
| 80 | - ), |
|
| 81 | - 'label' => array ( |
|
| 82 | - 'exclude' => 1, |
|
| 83 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.label', |
|
| 84 | - 'config' => array ( |
|
| 85 | - 'type' => 'input', |
|
| 86 | - 'size' => 30, |
|
| 87 | - 'max' => 255, |
|
| 88 | - 'eval' => 'required,trim', |
|
| 89 | - ), |
|
| 90 | - ), |
|
| 91 | - 'index_name' => array ( |
|
| 92 | - 'exclude' => 1, |
|
| 93 | - 'l10n_mode' => 'exclude', |
|
| 94 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.index_name', |
|
| 95 | - 'config' => array ( |
|
| 96 | - 'type' => 'input', |
|
| 97 | - 'size' => 30, |
|
| 98 | - 'max' => 255, |
|
| 99 | - 'eval' => 'required,nospace,alphanum_x,uniqueInPid', |
|
| 100 | - ), |
|
| 101 | - ), |
|
| 102 | - 'format' => array ( |
|
| 103 | - 'exclude' => 1, |
|
| 104 | - 'l10n_mode' => 'exclude', |
|
| 105 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.format', |
|
| 106 | - 'config' => array ( |
|
| 107 | - 'type' => 'inline', |
|
| 108 | - 'foreign_table' => 'tx_dlf_metadataformat', |
|
| 109 | - 'foreign_field' => 'parent_id', |
|
| 110 | - 'foreign_unique' => 'encoded', |
|
| 111 | - 'appearance' => array ( |
|
| 112 | - 'expandSingle' => 1, |
|
| 113 | - 'levelLinksPosition' => 'bottom', |
|
| 114 | - 'enabledControls' => array ( |
|
| 115 | - 'info' => 0, |
|
| 116 | - 'new' => 1, |
|
| 117 | - 'dragdrop' => 0, |
|
| 118 | - 'sort' => 0, |
|
| 119 | - 'hide' => 0, |
|
| 120 | - 'delete' => 1, |
|
| 121 | - 'localize' => 0, |
|
| 122 | - ), |
|
| 123 | - ), |
|
| 124 | - ), |
|
| 125 | - ), |
|
| 126 | - 'default_value' => array ( |
|
| 127 | - 'exclude' => 1, |
|
| 128 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.default_value', |
|
| 129 | - 'config' => array ( |
|
| 130 | - 'type' => 'input', |
|
| 131 | - 'size' => 30, |
|
| 132 | - 'max' => 1024, |
|
| 133 | - 'eval' => 'trim', |
|
| 134 | - ), |
|
| 135 | - ), |
|
| 136 | - 'wrap' => array ( |
|
| 137 | - 'exclude' => 1, |
|
| 138 | - 'l10n_mode' => 'mergeIfNotBlank', |
|
| 139 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.wrap', |
|
| 140 | - 'config' => array ( |
|
| 141 | - 'type' => 'text', |
|
| 142 | - 'cols' => 48, |
|
| 143 | - 'rows' => 20, |
|
| 144 | - 'wrap' => 'off', |
|
| 145 | - 'eval' => 'trim', |
|
| 146 | - 'default' => "key.wrap = <dt>|</dt>\nvalue.required = 1\nvalue.wrap = <dd>|</dd>", |
|
| 147 | - ), |
|
| 148 | - 'defaultExtras' => 'nowrap:fixed-font:enable-tab', |
|
| 149 | - ), |
|
| 150 | - 'index_tokenized' => array ( |
|
| 151 | - 'exclude' => 1, |
|
| 152 | - 'l10n_mode' => 'exclude', |
|
| 153 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.index_tokenized', |
|
| 154 | - 'config' => array ( |
|
| 155 | - 'type' => 'check', |
|
| 156 | - 'default' => 0, |
|
| 157 | - ), |
|
| 158 | - ), |
|
| 159 | - 'index_stored' => array ( |
|
| 160 | - 'exclude' => 1, |
|
| 161 | - 'l10n_mode' => 'exclude', |
|
| 162 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.index_stored', |
|
| 163 | - 'config' => array ( |
|
| 164 | - 'type' => 'check', |
|
| 165 | - 'default' => 0, |
|
| 166 | - ), |
|
| 167 | - ), |
|
| 168 | - 'index_indexed' => array ( |
|
| 169 | - 'exclude' => 1, |
|
| 170 | - 'l10n_mode' => 'exclude', |
|
| 171 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.index_indexed', |
|
| 172 | - 'config' => array ( |
|
| 173 | - 'type' => 'check', |
|
| 174 | - 'default' => 1, |
|
| 175 | - ), |
|
| 176 | - ), |
|
| 177 | - 'index_boost' => array ( |
|
| 178 | - 'exclude' => 1, |
|
| 179 | - 'l10n_mode' => 'exclude', |
|
| 180 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.index_boost', |
|
| 181 | - 'config' => array ( |
|
| 182 | - 'type' => 'input', |
|
| 183 | - 'size' => 5, |
|
| 184 | - 'max' => 64, |
|
| 185 | - 'default' => '1.00', |
|
| 186 | - 'eval' => 'double2', |
|
| 187 | - ), |
|
| 188 | - ), |
|
| 189 | - 'is_sortable' => array ( |
|
| 190 | - 'exclude' => 1, |
|
| 191 | - 'l10n_mode' => 'exclude', |
|
| 192 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.is_sortable', |
|
| 193 | - 'config' => array ( |
|
| 194 | - 'type' => 'check', |
|
| 195 | - 'default' => 0, |
|
| 196 | - ), |
|
| 197 | - ), |
|
| 198 | - 'is_facet' => array ( |
|
| 199 | - 'exclude' => 1, |
|
| 200 | - 'l10n_mode' => 'exclude', |
|
| 201 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.is_facet', |
|
| 202 | - 'config' => array ( |
|
| 203 | - 'type' => 'check', |
|
| 204 | - 'default' => 0, |
|
| 205 | - ), |
|
| 206 | - ), |
|
| 207 | - 'is_listed' => array ( |
|
| 208 | - 'exclude' => 1, |
|
| 209 | - 'l10n_mode' => 'exclude', |
|
| 210 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.is_listed', |
|
| 211 | - 'config' => array ( |
|
| 212 | - 'type' => 'check', |
|
| 213 | - 'default' => 0, |
|
| 214 | - ), |
|
| 215 | - ), |
|
| 216 | - 'index_autocomplete' => array ( |
|
| 217 | - 'exclude' => 1, |
|
| 218 | - 'l10n_mode' => 'exclude', |
|
| 219 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.index_autocomplete', |
|
| 220 | - 'config' => array ( |
|
| 221 | - 'type' => 'check', |
|
| 222 | - 'default' => 0, |
|
| 223 | - ), |
|
| 224 | - ), |
|
| 225 | - 'status' => array ( |
|
| 226 | - 'exclude' => 1, |
|
| 227 | - 'l10n_mode' => 'exclude', |
|
| 228 | - 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.status', |
|
| 229 | - 'config' => array ( |
|
| 230 | - 'type' => 'select', |
|
| 231 | - 'renderType' => 'selectSingle', |
|
| 232 | - 'items' => array ( |
|
| 233 | - array ('LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.status.default', 0), |
|
| 234 | - ), |
|
| 235 | - 'size' => 1, |
|
| 236 | - 'minitems' => 1, |
|
| 237 | - 'maxitems' => 1, |
|
| 238 | - 'default' => 0, |
|
| 239 | - ), |
|
| 240 | - ), |
|
| 241 | - ), |
|
| 242 | - 'types' => array ( |
|
| 243 | - '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.tab1, label,--palette--;;1;;1-1-1, format;;;;2-2-2, 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'), |
|
| 244 | - ), |
|
| 245 | - 'palettes' => array ( |
|
| 246 | - '1' => array ('showitem' => 'index_name, --linebreak--, index_tokenized, index_stored, index_indexed, index_boost, --linebreak--, is_sortable, is_facet, is_listed, index_autocomplete', 'canNotCollapse' => 1), |
|
| 247 | - ), |
|
| 13 | + 'ctrl' => array ( |
|
| 14 | + 'title' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata', |
|
| 15 | + 'label' => 'label', |
|
| 16 | + 'tstamp' => 'tstamp', |
|
| 17 | + 'crdate' => 'crdate', |
|
| 18 | + 'cruser_id' => 'cruser_id', |
|
| 19 | + 'languageField' => 'sys_language_uid', |
|
| 20 | + 'transOrigPointerField' => 'l18n_parent', |
|
| 21 | + 'transOrigDiffSourceField' => 'l18n_diffsource', |
|
| 22 | + 'sortby' => 'sorting', |
|
| 23 | + 'delete' => 'deleted', |
|
| 24 | + 'enablecolumns' => array ( |
|
| 25 | + 'disabled' => 'hidden', |
|
| 26 | + ), |
|
| 27 | + 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dlf').'res/icons/txdlfmetadata.png', |
|
| 28 | + 'rootLevel' => 0, |
|
| 29 | + 'dividers2tabs' => 2, |
|
| 30 | + 'searchFields' => 'label,index_name', |
|
| 31 | + ), |
|
| 32 | + 'feInterface' => array ( |
|
| 33 | + 'fe_admin_fieldList' => '', |
|
| 34 | + ), |
|
| 35 | + 'interface' => array ( |
|
| 36 | + 'showRecordFieldList' => 'label,index_name,is_sortable,is_facet,is_listed,index_autocomplete', |
|
| 37 | + ), |
|
| 38 | + 'columns' => array ( |
|
| 39 | + 'sys_language_uid' => array ( |
|
| 40 | + 'exclude' => 1, |
|
| 41 | + 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.language', |
|
| 42 | + 'config' => array ( |
|
| 43 | + 'type' => 'select', |
|
| 44 | + 'renderType' => 'selectSingle', |
|
| 45 | + 'foreign_table' => 'sys_language', |
|
| 46 | + 'foreign_table_where' => 'ORDER BY sys_language.title', |
|
| 47 | + 'items' => array ( |
|
| 48 | + array ('LLL:EXT:lang/locallang_general.xml:LGL.allLanguages', -1), |
|
| 49 | + array ('LLL:EXT:lang/locallang_general.xml:LGL.default_value', 0), |
|
| 50 | + ), |
|
| 51 | + 'default' => 0 |
|
| 52 | + ), |
|
| 53 | + ), |
|
| 54 | + 'l18n_parent' => array ( |
|
| 55 | + 'displayCond' => 'FIELD:sys_language_uid:>:0', |
|
| 56 | + 'exclude' => 1, |
|
| 57 | + 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.l18n_parent', |
|
| 58 | + 'config' => array ( |
|
| 59 | + 'type' => 'select', |
|
| 60 | + 'renderType' => 'selectSingle', |
|
| 61 | + 'items' => array ( |
|
| 62 | + array ('', 0), |
|
| 63 | + ), |
|
| 64 | + 'foreign_table' => 'tx_dlf_metadata', |
|
| 65 | + 'foreign_table_where' => 'AND tx_dlf_metadata.pid=###CURRENT_PID### AND tx_dlf_metadata.sys_language_uid IN (-1,0) ORDER BY label ASC', |
|
| 66 | + ), |
|
| 67 | + ), |
|
| 68 | + 'l18n_diffsource' => array ( |
|
| 69 | + 'config' => array ( |
|
| 70 | + 'type' => 'passthrough' |
|
| 71 | + ), |
|
| 72 | + ), |
|
| 73 | + 'hidden' => array ( |
|
| 74 | + 'exclude' => 1, |
|
| 75 | + 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden', |
|
| 76 | + 'config' => array ( |
|
| 77 | + 'type' => 'check', |
|
| 78 | + 'default' => 0, |
|
| 79 | + ), |
|
| 80 | + ), |
|
| 81 | + 'label' => array ( |
|
| 82 | + 'exclude' => 1, |
|
| 83 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.label', |
|
| 84 | + 'config' => array ( |
|
| 85 | + 'type' => 'input', |
|
| 86 | + 'size' => 30, |
|
| 87 | + 'max' => 255, |
|
| 88 | + 'eval' => 'required,trim', |
|
| 89 | + ), |
|
| 90 | + ), |
|
| 91 | + 'index_name' => array ( |
|
| 92 | + 'exclude' => 1, |
|
| 93 | + 'l10n_mode' => 'exclude', |
|
| 94 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.index_name', |
|
| 95 | + 'config' => array ( |
|
| 96 | + 'type' => 'input', |
|
| 97 | + 'size' => 30, |
|
| 98 | + 'max' => 255, |
|
| 99 | + 'eval' => 'required,nospace,alphanum_x,uniqueInPid', |
|
| 100 | + ), |
|
| 101 | + ), |
|
| 102 | + 'format' => array ( |
|
| 103 | + 'exclude' => 1, |
|
| 104 | + 'l10n_mode' => 'exclude', |
|
| 105 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.format', |
|
| 106 | + 'config' => array ( |
|
| 107 | + 'type' => 'inline', |
|
| 108 | + 'foreign_table' => 'tx_dlf_metadataformat', |
|
| 109 | + 'foreign_field' => 'parent_id', |
|
| 110 | + 'foreign_unique' => 'encoded', |
|
| 111 | + 'appearance' => array ( |
|
| 112 | + 'expandSingle' => 1, |
|
| 113 | + 'levelLinksPosition' => 'bottom', |
|
| 114 | + 'enabledControls' => array ( |
|
| 115 | + 'info' => 0, |
|
| 116 | + 'new' => 1, |
|
| 117 | + 'dragdrop' => 0, |
|
| 118 | + 'sort' => 0, |
|
| 119 | + 'hide' => 0, |
|
| 120 | + 'delete' => 1, |
|
| 121 | + 'localize' => 0, |
|
| 122 | + ), |
|
| 123 | + ), |
|
| 124 | + ), |
|
| 125 | + ), |
|
| 126 | + 'default_value' => array ( |
|
| 127 | + 'exclude' => 1, |
|
| 128 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.default_value', |
|
| 129 | + 'config' => array ( |
|
| 130 | + 'type' => 'input', |
|
| 131 | + 'size' => 30, |
|
| 132 | + 'max' => 1024, |
|
| 133 | + 'eval' => 'trim', |
|
| 134 | + ), |
|
| 135 | + ), |
|
| 136 | + 'wrap' => array ( |
|
| 137 | + 'exclude' => 1, |
|
| 138 | + 'l10n_mode' => 'mergeIfNotBlank', |
|
| 139 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.wrap', |
|
| 140 | + 'config' => array ( |
|
| 141 | + 'type' => 'text', |
|
| 142 | + 'cols' => 48, |
|
| 143 | + 'rows' => 20, |
|
| 144 | + 'wrap' => 'off', |
|
| 145 | + 'eval' => 'trim', |
|
| 146 | + 'default' => "key.wrap = <dt>|</dt>\nvalue.required = 1\nvalue.wrap = <dd>|</dd>", |
|
| 147 | + ), |
|
| 148 | + 'defaultExtras' => 'nowrap:fixed-font:enable-tab', |
|
| 149 | + ), |
|
| 150 | + 'index_tokenized' => array ( |
|
| 151 | + 'exclude' => 1, |
|
| 152 | + 'l10n_mode' => 'exclude', |
|
| 153 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.index_tokenized', |
|
| 154 | + 'config' => array ( |
|
| 155 | + 'type' => 'check', |
|
| 156 | + 'default' => 0, |
|
| 157 | + ), |
|
| 158 | + ), |
|
| 159 | + 'index_stored' => array ( |
|
| 160 | + 'exclude' => 1, |
|
| 161 | + 'l10n_mode' => 'exclude', |
|
| 162 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.index_stored', |
|
| 163 | + 'config' => array ( |
|
| 164 | + 'type' => 'check', |
|
| 165 | + 'default' => 0, |
|
| 166 | + ), |
|
| 167 | + ), |
|
| 168 | + 'index_indexed' => array ( |
|
| 169 | + 'exclude' => 1, |
|
| 170 | + 'l10n_mode' => 'exclude', |
|
| 171 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.index_indexed', |
|
| 172 | + 'config' => array ( |
|
| 173 | + 'type' => 'check', |
|
| 174 | + 'default' => 1, |
|
| 175 | + ), |
|
| 176 | + ), |
|
| 177 | + 'index_boost' => array ( |
|
| 178 | + 'exclude' => 1, |
|
| 179 | + 'l10n_mode' => 'exclude', |
|
| 180 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.index_boost', |
|
| 181 | + 'config' => array ( |
|
| 182 | + 'type' => 'input', |
|
| 183 | + 'size' => 5, |
|
| 184 | + 'max' => 64, |
|
| 185 | + 'default' => '1.00', |
|
| 186 | + 'eval' => 'double2', |
|
| 187 | + ), |
|
| 188 | + ), |
|
| 189 | + 'is_sortable' => array ( |
|
| 190 | + 'exclude' => 1, |
|
| 191 | + 'l10n_mode' => 'exclude', |
|
| 192 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.is_sortable', |
|
| 193 | + 'config' => array ( |
|
| 194 | + 'type' => 'check', |
|
| 195 | + 'default' => 0, |
|
| 196 | + ), |
|
| 197 | + ), |
|
| 198 | + 'is_facet' => array ( |
|
| 199 | + 'exclude' => 1, |
|
| 200 | + 'l10n_mode' => 'exclude', |
|
| 201 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.is_facet', |
|
| 202 | + 'config' => array ( |
|
| 203 | + 'type' => 'check', |
|
| 204 | + 'default' => 0, |
|
| 205 | + ), |
|
| 206 | + ), |
|
| 207 | + 'is_listed' => array ( |
|
| 208 | + 'exclude' => 1, |
|
| 209 | + 'l10n_mode' => 'exclude', |
|
| 210 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.is_listed', |
|
| 211 | + 'config' => array ( |
|
| 212 | + 'type' => 'check', |
|
| 213 | + 'default' => 0, |
|
| 214 | + ), |
|
| 215 | + ), |
|
| 216 | + 'index_autocomplete' => array ( |
|
| 217 | + 'exclude' => 1, |
|
| 218 | + 'l10n_mode' => 'exclude', |
|
| 219 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.index_autocomplete', |
|
| 220 | + 'config' => array ( |
|
| 221 | + 'type' => 'check', |
|
| 222 | + 'default' => 0, |
|
| 223 | + ), |
|
| 224 | + ), |
|
| 225 | + 'status' => array ( |
|
| 226 | + 'exclude' => 1, |
|
| 227 | + 'l10n_mode' => 'exclude', |
|
| 228 | + 'label' => 'LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.status', |
|
| 229 | + 'config' => array ( |
|
| 230 | + 'type' => 'select', |
|
| 231 | + 'renderType' => 'selectSingle', |
|
| 232 | + 'items' => array ( |
|
| 233 | + array ('LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.status.default', 0), |
|
| 234 | + ), |
|
| 235 | + 'size' => 1, |
|
| 236 | + 'minitems' => 1, |
|
| 237 | + 'maxitems' => 1, |
|
| 238 | + 'default' => 0, |
|
| 239 | + ), |
|
| 240 | + ), |
|
| 241 | + ), |
|
| 242 | + 'types' => array ( |
|
| 243 | + '0' => array ('showitem' => '--div--;LLL:EXT:dlf/locallang.xml:tx_dlf_metadata.tab1, label,--palette--;;1;;1-1-1, format;;;;2-2-2, 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'), |
|
| 244 | + ), |
|
| 245 | + 'palettes' => array ( |
|
| 246 | + '1' => array ('showitem' => 'index_name, --linebreak--, index_tokenized, index_stored, index_indexed, index_boost, --linebreak--, is_sortable, is_facet, is_listed, index_autocomplete', 'canNotCollapse' => 1), |
|
| 247 | + ), |
|
| 248 | 248 | ); |