@@ -16,8 +16,8 @@ discard block |
||
| 16 | 16 | die('Access denied.'); |
| 17 | 17 | } |
| 18 | 18 | |
| 19 | -return array( |
|
| 20 | - 'ctrl' => array( |
|
| 19 | +return array ( |
|
| 20 | + 'ctrl' => array ( |
|
| 21 | 21 | 'title' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject', |
| 22 | 22 | 'label' => 'name', |
| 23 | 23 | 'tstamp' => 'tstamp', |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | 'transOrigPointerField' => 'l10n_parent', |
| 29 | 29 | 'transOrigDiffSourceField' => 'l10n_diffsource', |
| 30 | 30 | 'delete' => 'deleted', |
| 31 | - 'enablecolumns' => array( |
|
| 31 | + 'enablecolumns' => array ( |
|
| 32 | 32 | 'disabled' => 'hidden', |
| 33 | 33 | 'starttime' => 'starttime', |
| 34 | 34 | 'endtime' => 'endtime', |
@@ -36,75 +36,75 @@ discard block |
||
| 36 | 36 | 'searchFields' => 'name, display_name, max_iteration, mandatory, data_type, validation, mapping, mods_extension, json_mapping, input_field, deposit_license, max_input_length, input_option_list, fill_out_service, gnd_field_uid, default_value, access_restriction_roles, consent, embargo, fis_person_mapping, fis_organisation_mapping, gnd_person_mapping, gnd_organisation_mapping, ror_mapping, zdb_mapping, unpaywall_mapping, orcid_person_mapping, help_text, object_type', |
| 37 | 37 | 'iconfile' => 'EXT:dpf/Resources/Public/Icons/default.gif', |
| 38 | 38 | ), |
| 39 | - 'interface' => array( |
|
| 39 | + 'interface' => array ( |
|
| 40 | 40 | 'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, name, display_name, max_iteration, mandatory, data_type, validation, mapping, mods_extension, json_mapping, input_field, deposit_license, max_input_length, input_option_list, fill_out_service, gnd_field_uid, default_value, access_restriction_roles, consent, embargo, fis_person_mapping, fis_organisation_mapping, gnd_person_mapping, gnd_organisation_mapping, ror_mapping, zdb_mapping, unpaywall_mapping, orcid_person_mapping, help_text, object_type', |
| 41 | 41 | ), |
| 42 | - 'types' => array( |
|
| 43 | - '1' => array('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1, name, display_name, max_iteration, mandatory, data_type, validation, mapping, mods_extension, json_mapping, input_field, deposit_license, max_input_length, input_option_list, fill_out_service, gnd_field_uid, default_value, access_restriction_roles, consent, embargo, fis_person_mapping, fis_organisation_mapping, gnd_person_mapping, gnd_organisation_mapping, ror_mapping, zdb_mapping, unpaywall_mapping, orcid_person_mapping, help_text, object_type, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
|
| 42 | + 'types' => array ( |
|
| 43 | + '1' => array ('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1, name, display_name, max_iteration, mandatory, data_type, validation, mapping, mods_extension, json_mapping, input_field, deposit_license, max_input_length, input_option_list, fill_out_service, gnd_field_uid, default_value, access_restriction_roles, consent, embargo, fis_person_mapping, fis_organisation_mapping, gnd_person_mapping, gnd_organisation_mapping, ror_mapping, zdb_mapping, unpaywall_mapping, orcid_person_mapping, help_text, object_type, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
|
| 44 | 44 | ), |
| 45 | - 'palettes' => array( |
|
| 46 | - '1' => array('showitem' => ''), |
|
| 45 | + 'palettes' => array ( |
|
| 46 | + '1' => array ('showitem' => ''), |
|
| 47 | 47 | ), |
| 48 | - 'columns' => array( |
|
| 48 | + 'columns' => array ( |
|
| 49 | 49 | |
| 50 | - 'sys_language_uid' => array( |
|
| 50 | + 'sys_language_uid' => array ( |
|
| 51 | 51 | 'exclude' => 1, |
| 52 | 52 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language', |
| 53 | - 'config' => array( |
|
| 53 | + 'config' => array ( |
|
| 54 | 54 | 'type' => 'select', |
| 55 | 55 | 'renderType' => 'selectSingle', |
| 56 | 56 | 'foreign_table' => 'sys_language', |
| 57 | 57 | 'foreign_table_where' => 'ORDER BY sys_language.title', |
| 58 | - 'items' => array( |
|
| 59 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 60 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 58 | + 'items' => array ( |
|
| 59 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 60 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 61 | 61 | ), |
| 62 | 62 | 'default' => 0, |
| 63 | 63 | ), |
| 64 | 64 | ), |
| 65 | - 'l10n_parent' => array( |
|
| 65 | + 'l10n_parent' => array ( |
|
| 66 | 66 | 'displayCond' => 'FIELD:sys_language_uid:>:0', |
| 67 | 67 | 'exclude' => 1, |
| 68 | 68 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent', |
| 69 | - 'config' => array( |
|
| 69 | + 'config' => array ( |
|
| 70 | 70 | 'type' => 'select', |
| 71 | 71 | 'renderType' => 'selectSingle', |
| 72 | - 'items' => array( |
|
| 73 | - array('', 0), |
|
| 72 | + 'items' => array ( |
|
| 73 | + array ('', 0), |
|
| 74 | 74 | ), |
| 75 | 75 | 'foreign_table' => 'tx_dpf_domain_model_metadataobject', |
| 76 | 76 | 'foreign_table_where' => 'AND tx_dpf_domain_model_metadataobject.pid=###CURRENT_PID### AND tx_dpf_domain_model_metadataobject.sys_language_uid IN (-1,0)', |
| 77 | 77 | 'default' => 0, |
| 78 | 78 | ), |
| 79 | 79 | ), |
| 80 | - 'l10n_diffsource' => array( |
|
| 81 | - 'config' => array( |
|
| 80 | + 'l10n_diffsource' => array ( |
|
| 81 | + 'config' => array ( |
|
| 82 | 82 | 'type' => 'passthrough', |
| 83 | 83 | ), |
| 84 | 84 | ), |
| 85 | 85 | |
| 86 | - 't3ver_label' => array( |
|
| 86 | + 't3ver_label' => array ( |
|
| 87 | 87 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel', |
| 88 | - 'config' => array( |
|
| 88 | + 'config' => array ( |
|
| 89 | 89 | 'type' => 'input', |
| 90 | 90 | 'size' => 30, |
| 91 | 91 | 'max' => 255, |
| 92 | 92 | ), |
| 93 | 93 | ), |
| 94 | 94 | |
| 95 | - 'hidden' => array( |
|
| 95 | + 'hidden' => array ( |
|
| 96 | 96 | 'exclude' => 1, |
| 97 | 97 | 'l10n_mode' => 'exclude', |
| 98 | 98 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden', |
| 99 | - 'config' => array( |
|
| 99 | + 'config' => array ( |
|
| 100 | 100 | 'type' => 'check', |
| 101 | 101 | ), |
| 102 | 102 | ), |
| 103 | - 'starttime' => array( |
|
| 103 | + 'starttime' => array ( |
|
| 104 | 104 | 'exclude' => 1, |
| 105 | 105 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime', |
| 106 | - 'config' => array( |
|
| 107 | - 'behaviour' => array( |
|
| 106 | + 'config' => array ( |
|
| 107 | + 'behaviour' => array ( |
|
| 108 | 108 | 'allowLanguageSynchronization' => true |
| 109 | 109 | ), |
| 110 | 110 | 'type' => 'input', |
@@ -113,16 +113,16 @@ discard block |
||
| 113 | 113 | 'eval' => 'datetime', |
| 114 | 114 | 'checkbox' => 0, |
| 115 | 115 | 'default' => 0, |
| 116 | - 'range' => array( |
|
| 116 | + 'range' => array ( |
|
| 117 | 117 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
| 118 | 118 | ), |
| 119 | 119 | ), |
| 120 | 120 | ), |
| 121 | - 'endtime' => array( |
|
| 121 | + 'endtime' => array ( |
|
| 122 | 122 | 'exclude' => 1, |
| 123 | 123 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime', |
| 124 | - 'config' => array( |
|
| 125 | - 'behaviour' => array( |
|
| 124 | + 'config' => array ( |
|
| 125 | + 'behaviour' => array ( |
|
| 126 | 126 | 'allowLanguageSynchronization' => true |
| 127 | 127 | ), |
| 128 | 128 | 'type' => 'input', |
@@ -131,173 +131,173 @@ discard block |
||
| 131 | 131 | 'eval' => 'datetime', |
| 132 | 132 | 'checkbox' => 0, |
| 133 | 133 | 'default' => 0, |
| 134 | - 'range' => array( |
|
| 134 | + 'range' => array ( |
|
| 135 | 135 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
| 136 | 136 | ), |
| 137 | 137 | ), |
| 138 | 138 | ), |
| 139 | 139 | |
| 140 | - 'name' => array( |
|
| 140 | + 'name' => array ( |
|
| 141 | 141 | 'exclude' => 1, |
| 142 | 142 | 'l10n_mode' => 'exclude', |
| 143 | 143 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.name', |
| 144 | - 'config' => array( |
|
| 144 | + 'config' => array ( |
|
| 145 | 145 | 'type' => 'input', |
| 146 | 146 | 'size' => 30, |
| 147 | 147 | 'eval' => 'trim', |
| 148 | 148 | ), |
| 149 | 149 | ), |
| 150 | - 'display_name' => array( |
|
| 150 | + 'display_name' => array ( |
|
| 151 | 151 | 'exclude' => 1, |
| 152 | 152 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.display_name', |
| 153 | - 'config' => array( |
|
| 153 | + 'config' => array ( |
|
| 154 | 154 | 'type' => 'input', |
| 155 | 155 | 'size' => 30, |
| 156 | 156 | 'eval' => 'trim', |
| 157 | 157 | ), |
| 158 | 158 | ), |
| 159 | - 'max_iteration' => array( |
|
| 159 | + 'max_iteration' => array ( |
|
| 160 | 160 | 'exclude' => 1, |
| 161 | 161 | 'l10n_mode' => 'exclude', |
| 162 | 162 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.max_iteration', |
| 163 | - 'config' => array( |
|
| 163 | + 'config' => array ( |
|
| 164 | 164 | 'type' => 'input', |
| 165 | 165 | 'size' => 4, |
| 166 | 166 | 'eval' => 'int', |
| 167 | 167 | ), |
| 168 | 168 | ), |
| 169 | - 'mandatory' => array( |
|
| 169 | + 'mandatory' => array ( |
|
| 170 | 170 | 'exclude' => 1, |
| 171 | 171 | 'l10n_mode' => 'exclude', |
| 172 | 172 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.mandatory', |
| 173 | - 'config' => array( |
|
| 173 | + 'config' => array ( |
|
| 174 | 174 | 'type' => 'select', |
| 175 | 175 | 'renderType' => 'selectSingle', |
| 176 | 176 | 'size' => 1, |
| 177 | 177 | 'maxitems' => 1, |
| 178 | - 'items' => array( |
|
| 179 | - array('',''), |
|
| 180 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.mandatory_yes', \EWW\Dpf\Domain\Model\MetadataMandatoryInterface::MANDATORY), |
|
| 181 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.mandatory_file_only', \EWW\Dpf\Domain\Model\MetadataMandatoryInterface::MANDATORY_FILE_ONLY), |
|
| 178 | + 'items' => array ( |
|
| 179 | + array ('', ''), |
|
| 180 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.mandatory_yes', \EWW\Dpf\Domain\Model\MetadataMandatoryInterface::MANDATORY), |
|
| 181 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.mandatory_file_only', \EWW\Dpf\Domain\Model\MetadataMandatoryInterface::MANDATORY_FILE_ONLY), |
|
| 182 | 182 | ), |
| 183 | 183 | ), |
| 184 | 184 | ), |
| 185 | - 'mapping' => array( |
|
| 185 | + 'mapping' => array ( |
|
| 186 | 186 | 'exclude' => 1, |
| 187 | 187 | 'l10n_mode' => 'exclude', |
| 188 | 188 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.mapping', |
| 189 | - 'config' => array( |
|
| 189 | + 'config' => array ( |
|
| 190 | 190 | 'type' => 'input', |
| 191 | 191 | 'size' => 30, |
| 192 | 192 | 'eval' => 'trim', |
| 193 | 193 | ), |
| 194 | 194 | ), |
| 195 | - 'json_mapping' => array( |
|
| 195 | + 'json_mapping' => array ( |
|
| 196 | 196 | 'exclude' => 1, |
| 197 | 197 | 'l10n_mode' => 'exclude', |
| 198 | 198 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.json_mapping', |
| 199 | - 'config' => array( |
|
| 199 | + 'config' => array ( |
|
| 200 | 200 | 'type' => 'input', |
| 201 | 201 | 'size' => 30, |
| 202 | 202 | 'eval' => 'trim', |
| 203 | 203 | ), |
| 204 | 204 | ), |
| 205 | - 'data_type' => array( |
|
| 205 | + 'data_type' => array ( |
|
| 206 | 206 | 'exclude' => 1, |
| 207 | 207 | 'l10n_mode' => 'exclude', |
| 208 | 208 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.data_type', |
| 209 | - 'config' => array( |
|
| 209 | + 'config' => array ( |
|
| 210 | 210 | 'type' => 'select', |
| 211 | 211 | 'renderType' => 'selectSingle', |
| 212 | - 'items' => array( |
|
| 213 | - array('', ''), |
|
| 214 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.data_type.regexp', \EWW\Dpf\Domain\Model\MetadataObject::INPUT_DATA_TYPE_REGEXP), |
|
| 215 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.data_type.date', \EWW\Dpf\Domain\Model\MetadataObject::INPUT_DATA_TYPE_DATE), |
|
| 212 | + 'items' => array ( |
|
| 213 | + array ('', ''), |
|
| 214 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.data_type.regexp', \EWW\Dpf\Domain\Model\MetadataObject::INPUT_DATA_TYPE_REGEXP), |
|
| 215 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.data_type.date', \EWW\Dpf\Domain\Model\MetadataObject::INPUT_DATA_TYPE_DATE), |
|
| 216 | 216 | ), |
| 217 | 217 | 'size' => 1, |
| 218 | 218 | 'maxitems' => 1, |
| 219 | 219 | 'eval' => '', |
| 220 | 220 | ), |
| 221 | 221 | ), |
| 222 | - 'validation' => array( |
|
| 222 | + 'validation' => array ( |
|
| 223 | 223 | 'exclude' => 1, |
| 224 | 224 | 'l10n_mode' => 'exclude', |
| 225 | 225 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.validation', |
| 226 | - 'config' => array( |
|
| 226 | + 'config' => array ( |
|
| 227 | 227 | 'type' => 'input', |
| 228 | 228 | 'size' => 30, |
| 229 | 229 | 'eval' => 'trim', |
| 230 | 230 | ), |
| 231 | 231 | ), |
| 232 | - 'mods_extension' => array( |
|
| 232 | + 'mods_extension' => array ( |
|
| 233 | 233 | 'exclude' => 1, |
| 234 | 234 | 'l10n_mode' => 'exclude', |
| 235 | 235 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.mods_extension', |
| 236 | - 'config' => array( |
|
| 236 | + 'config' => array ( |
|
| 237 | 237 | 'type' => 'check', |
| 238 | 238 | 'default' => 0, |
| 239 | 239 | ), |
| 240 | 240 | ), |
| 241 | - 'access_restriction_roles' => array( |
|
| 241 | + 'access_restriction_roles' => array ( |
|
| 242 | 242 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.access_restriction_roles', |
| 243 | - 'config' => array( |
|
| 243 | + 'config' => array ( |
|
| 244 | 244 | 'type' => 'select', |
| 245 | 245 | 'renderType' => 'selectMultipleSideBySide', |
| 246 | 246 | 'size' => 2, |
| 247 | 247 | 'maxitems' => 2, |
| 248 | - 'items' => array( |
|
| 249 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_researcher', EWW\Dpf\Security\Security::ROLE_RESEARCHER), |
|
| 250 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_librarian', EWW\Dpf\Security\Security::ROLE_LIBRARIAN), |
|
| 248 | + 'items' => array ( |
|
| 249 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_researcher', EWW\Dpf\Security\Security::ROLE_RESEARCHER), |
|
| 250 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_librarian', EWW\Dpf\Security\Security::ROLE_LIBRARIAN), |
|
| 251 | 251 | ), |
| 252 | 252 | ), |
| 253 | 253 | ), |
| 254 | - 'consent' => array( |
|
| 254 | + 'consent' => array ( |
|
| 255 | 255 | 'exclude' => 1, |
| 256 | 256 | 'l10n_mode' => 'exclude', |
| 257 | 257 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.consent', |
| 258 | - 'config' => array( |
|
| 258 | + 'config' => array ( |
|
| 259 | 259 | 'type' => 'check', |
| 260 | 260 | 'default' => 0, |
| 261 | 261 | ), |
| 262 | 262 | ), |
| 263 | - 'input_field' => array( |
|
| 263 | + 'input_field' => array ( |
|
| 264 | 264 | 'onChange' => 'reload', |
| 265 | 265 | 'exclude' => 1, |
| 266 | 266 | 'l10n_mode' => 'exclude', |
| 267 | 267 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_field', |
| 268 | - 'config' => array( |
|
| 268 | + 'config' => array ( |
|
| 269 | 269 | 'type' => 'select', |
| 270 | 270 | 'renderType' => 'selectSingle', |
| 271 | - 'items' => array( |
|
| 272 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.input', \EWW\Dpf\Domain\Model\MetadataObject::input), |
|
| 273 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.textarea', \EWW\Dpf\Domain\Model\MetadataObject::textarea), |
|
| 274 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.select', \EWW\Dpf\Domain\Model\MetadataObject::select), |
|
| 275 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.checkbox', \EWW\Dpf\Domain\Model\MetadataObject::checkbox), |
|
| 276 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.hidden', \EWW\Dpf\Domain\Model\MetadataObject::hidden), |
|
| 277 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.inputDropdown', \EWW\Dpf\Domain\Model\MetadataObject::INPUTDROPDOWN), |
|
| 278 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.markdownTextarea', \EWW\Dpf\Domain\Model\MetadataObject::textareaMarkdown), |
|
| 271 | + 'items' => array ( |
|
| 272 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.input', \EWW\Dpf\Domain\Model\MetadataObject::input), |
|
| 273 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.textarea', \EWW\Dpf\Domain\Model\MetadataObject::textarea), |
|
| 274 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.select', \EWW\Dpf\Domain\Model\MetadataObject::select), |
|
| 275 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.checkbox', \EWW\Dpf\Domain\Model\MetadataObject::checkbox), |
|
| 276 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.hidden', \EWW\Dpf\Domain\Model\MetadataObject::hidden), |
|
| 277 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.inputDropdown', \EWW\Dpf\Domain\Model\MetadataObject::INPUTDROPDOWN), |
|
| 278 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.markdownTextarea', \EWW\Dpf\Domain\Model\MetadataObject::textareaMarkdown), |
|
| 279 | 279 | ), |
| 280 | 280 | 'size' => 1, |
| 281 | 281 | 'maxitems' => 1, |
| 282 | 282 | 'eval' => '', |
| 283 | 283 | ), |
| 284 | 284 | ), |
| 285 | - 'deposit_license' => array( |
|
| 286 | - 'displayCond' => array( |
|
| 287 | - 'OR' => array( |
|
| 285 | + 'deposit_license' => array ( |
|
| 286 | + 'displayCond' => array ( |
|
| 287 | + 'OR' => array ( |
|
| 288 | 288 | 'FIELD:input_field:REQ:false', |
| 289 | - 'FIELD:input_field:=:'.\EWW\Dpf\Domain\Model\MetadataObject::checkbox, |
|
| 289 | + 'FIELD:input_field:=:' . \EWW\Dpf\Domain\Model\MetadataObject::checkbox, |
|
| 290 | 290 | ), |
| 291 | 291 | ), |
| 292 | 292 | 'exclude' => 1, |
| 293 | 293 | 'l10n_mode' => 'exclude', |
| 294 | 294 | 'label' => 'Checkbox Value', |
| 295 | - 'config' => array( |
|
| 295 | + 'config' => array ( |
|
| 296 | 296 | 'type' => 'select', |
| 297 | 297 | 'renderType' => 'selectSingle', |
| 298 | 298 | 'foreign_table' => 'tx_dpf_domain_model_depositlicense', |
| 299 | - 'items' => array( |
|
| 300 | - array('', 0), |
|
| 299 | + 'items' => array ( |
|
| 300 | + array ('', 0), |
|
| 301 | 301 | ), |
| 302 | 302 | 'size' => 1, |
| 303 | 303 | 'maxitems' => 1, |
@@ -305,32 +305,32 @@ discard block |
||
| 305 | 305 | 'default' => 0, |
| 306 | 306 | ), |
| 307 | 307 | ), |
| 308 | - 'max_input_length' => array( |
|
| 309 | - 'displayCond' => array( |
|
| 310 | - 'OR' => array( |
|
| 308 | + 'max_input_length' => array ( |
|
| 309 | + 'displayCond' => array ( |
|
| 310 | + 'OR' => array ( |
|
| 311 | 311 | 'FIELD:input_field:REQ:false', |
| 312 | - 'FIELD:input_field:=:'.\EWW\Dpf\Domain\Model\MetadataObject::input, |
|
| 313 | - 'FIELD:input_field:=:'.\EWW\Dpf\Domain\Model\MetadataObject::textarea, |
|
| 312 | + 'FIELD:input_field:=:' . \EWW\Dpf\Domain\Model\MetadataObject::input, |
|
| 313 | + 'FIELD:input_field:=:' . \EWW\Dpf\Domain\Model\MetadataObject::textarea, |
|
| 314 | 314 | ), |
| 315 | 315 | ), |
| 316 | 316 | 'exclude' => 1, |
| 317 | 317 | 'l10n_mode' => 'exclude', |
| 318 | 318 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.max_input_length', |
| 319 | - 'config' => array( |
|
| 319 | + 'config' => array ( |
|
| 320 | 320 | 'type' => 'input', |
| 321 | 321 | 'size' => 4, |
| 322 | 322 | 'eval' => 'trim,number', |
| 323 | 323 | 'default' => 0, |
| 324 | 324 | ), |
| 325 | 325 | ), |
| 326 | - 'input_option_list' => array( |
|
| 326 | + 'input_option_list' => array ( |
|
| 327 | 327 | 'exclude' => 1, |
| 328 | 328 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_option_list', |
| 329 | - 'config' => array( |
|
| 329 | + 'config' => array ( |
|
| 330 | 330 | 'type' => 'select', |
| 331 | 331 | 'renderType' => 'selectSingle', |
| 332 | - 'items' => array( |
|
| 333 | - array('', 0), |
|
| 332 | + 'items' => array ( |
|
| 333 | + array ('', 0), |
|
| 334 | 334 | ), |
| 335 | 335 | 'foreign_table' => 'tx_dpf_domain_model_inputoptionlist', |
| 336 | 336 | 'foreign_table_where' => ' AND (tx_dpf_domain_model_inputoptionlist.pid=###CURRENT_PID###) AND (tx_dpf_domain_model_inputoptionlist.sys_language_uid = 0)', |
@@ -339,27 +339,27 @@ discard block |
||
| 339 | 339 | 'default' => 0, |
| 340 | 340 | ), |
| 341 | 341 | ), |
| 342 | - 'default_value' => array( |
|
| 342 | + 'default_value' => array ( |
|
| 343 | 343 | 'exclude' => 1, |
| 344 | 344 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.default_value', |
| 345 | - 'config' => array( |
|
| 345 | + 'config' => array ( |
|
| 346 | 346 | 'type' => 'text', |
| 347 | 347 | 'cols' => 20, |
| 348 | 348 | 'rows' => 3, |
| 349 | 349 | 'eval' => 'trim', |
| 350 | 350 | ), |
| 351 | 351 | ), |
| 352 | - 'fill_out_service' => array( |
|
| 352 | + 'fill_out_service' => array ( |
|
| 353 | 353 | 'exclude' => 1, |
| 354 | 354 | 'l10n_mode' => 'exclude', |
| 355 | 355 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.fill_out_service', |
| 356 | - 'config' => array( |
|
| 356 | + 'config' => array ( |
|
| 357 | 357 | 'type' => 'select', |
| 358 | 358 | 'renderType' => 'selectSingle', |
| 359 | - 'items' => array( |
|
| 360 | - array('', 0), |
|
| 361 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.fill_out_service.urn', \EWW\Dpf\Domain\Model\MetadataObject::FILL_OUT_SERVICE_URN), |
|
| 362 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.fill_out_service.gnd', \EWW\Dpf\Domain\Model\MetadataObject::FILL_OUT_SERVICE_GND), |
|
| 359 | + 'items' => array ( |
|
| 360 | + array ('', 0), |
|
| 361 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.fill_out_service.urn', \EWW\Dpf\Domain\Model\MetadataObject::FILL_OUT_SERVICE_URN), |
|
| 362 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.fill_out_service.gnd', \EWW\Dpf\Domain\Model\MetadataObject::FILL_OUT_SERVICE_GND), |
|
| 363 | 363 | ), |
| 364 | 364 | 'size' => 1, |
| 365 | 365 | 'maxitems' => 1, |
@@ -367,26 +367,26 @@ discard block |
||
| 367 | 367 | ), |
| 368 | 368 | 'onChange' => 'reload', |
| 369 | 369 | ), |
| 370 | - 'gnd_field_uid' => array( |
|
| 371 | - 'displayCond' => 'FIELD:fill_out_service:=:'.\EWW\Dpf\Domain\Model\MetadataObject::FILL_OUT_SERVICE_GND, |
|
| 370 | + 'gnd_field_uid' => array ( |
|
| 371 | + 'displayCond' => 'FIELD:fill_out_service:=:' . \EWW\Dpf\Domain\Model\MetadataObject::FILL_OUT_SERVICE_GND, |
|
| 372 | 372 | 'exclude' => 0, |
| 373 | 373 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.gnd_field_uid', |
| 374 | - 'config' => array( |
|
| 374 | + 'config' => array ( |
|
| 375 | 375 | 'type' => 'input', |
| 376 | 376 | 'size' => 30, |
| 377 | 377 | 'eval' => 'trim', |
| 378 | 378 | ), |
| 379 | 379 | ), |
| 380 | - 'metadatagroup' => array( |
|
| 381 | - 'config' => array( |
|
| 380 | + 'metadatagroup' => array ( |
|
| 381 | + 'config' => array ( |
|
| 382 | 382 | 'type' => 'passthrough', |
| 383 | 383 | ), |
| 384 | 384 | ), |
| 385 | - 'embargo' => array( |
|
| 385 | + 'embargo' => array ( |
|
| 386 | 386 | 'exclude' => 1, |
| 387 | 387 | 'l10n_mode' => 'exclude', |
| 388 | 388 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.embargo', |
| 389 | - 'config' => array( |
|
| 389 | + 'config' => array ( |
|
| 390 | 390 | 'type' => 'check', |
| 391 | 391 | 'default' => 0, |
| 392 | 392 | ), |
@@ -468,10 +468,10 @@ discard block |
||
| 468 | 468 | ], |
| 469 | 469 | ], |
| 470 | 470 | ], |
| 471 | - 'help_text' => array( |
|
| 471 | + 'help_text' => array ( |
|
| 472 | 472 | 'exclude' => 1, |
| 473 | 473 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.help_text', |
| 474 | - 'config' => array( |
|
| 474 | + 'config' => array ( |
|
| 475 | 475 | 'type' => 'text', |
| 476 | 476 | 'cols' => 40, |
| 477 | 477 | 'rows' => 15, |
@@ -16,8 +16,8 @@ discard block |
||
| 16 | 16 | die('Access denied.'); |
| 17 | 17 | } |
| 18 | 18 | |
| 19 | -return array( |
|
| 20 | - 'ctrl' => array( |
|
| 19 | +return array ( |
|
| 20 | + 'ctrl' => array ( |
|
| 21 | 21 | 'title' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_depositlicense', |
| 22 | 22 | 'label' => 'title', |
| 23 | 23 | 'tstamp' => 'tstamp', |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | 'transOrigPointerField' => 'l10n_parent', |
| 29 | 29 | 'transOrigDiffSourceField' => 'l10n_diffsource', |
| 30 | 30 | 'delete' => 'deleted', |
| 31 | - 'enablecolumns' => array( |
|
| 31 | + 'enablecolumns' => array ( |
|
| 32 | 32 | 'disabled' => 'hidden', |
| 33 | 33 | 'starttime' => 'starttime', |
| 34 | 34 | 'endtime' => 'endtime', |
@@ -36,77 +36,77 @@ discard block |
||
| 36 | 36 | 'searchFields' => 'uri, title, text', |
| 37 | 37 | 'iconfile' => 'EXT:dpf/Resources/Public/Icons/default.gif', |
| 38 | 38 | ), |
| 39 | - 'interface' => array( |
|
| 39 | + 'interface' => array ( |
|
| 40 | 40 | 'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, |
| 41 | 41 | uri, title, text', |
| 42 | 42 | ), |
| 43 | - 'types' => array( |
|
| 44 | - '1' => array('showitem' => 'sys_language_uid,l10n_parent,l10n_diffsource,hidden,--palette--;;1, |
|
| 43 | + 'types' => array ( |
|
| 44 | + '1' => array ('showitem' => 'sys_language_uid,l10n_parent,l10n_diffsource,hidden,--palette--;;1, |
|
| 45 | 45 | uri, title, text, |
| 46 | 46 | --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
| 47 | 47 | ), |
| 48 | - 'palettes' => array( |
|
| 49 | - '1' => array('showitem' => ''), |
|
| 48 | + 'palettes' => array ( |
|
| 49 | + '1' => array ('showitem' => ''), |
|
| 50 | 50 | ), |
| 51 | - 'columns' => array( |
|
| 51 | + 'columns' => array ( |
|
| 52 | 52 | |
| 53 | - 'sys_language_uid' => array( |
|
| 53 | + 'sys_language_uid' => array ( |
|
| 54 | 54 | 'exclude' => 1, |
| 55 | 55 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language', |
| 56 | - 'config' => array( |
|
| 56 | + 'config' => array ( |
|
| 57 | 57 | 'type' => 'select', |
| 58 | 58 | 'renderType' => 'selectSingle', |
| 59 | 59 | 'foreign_table' => 'sys_language', |
| 60 | 60 | 'foreign_table_where' => 'ORDER BY sys_language.title', |
| 61 | - 'items' => array( |
|
| 62 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 63 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 61 | + 'items' => array ( |
|
| 62 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 63 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 64 | 64 | ), |
| 65 | 65 | 'default' => 0, |
| 66 | 66 | ), |
| 67 | 67 | ), |
| 68 | - 'l10n_parent' => array( |
|
| 68 | + 'l10n_parent' => array ( |
|
| 69 | 69 | 'displayCond' => 'FIELD:sys_language_uid:>:0', |
| 70 | 70 | 'exclude' => 1, |
| 71 | 71 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent', |
| 72 | - 'config' => array( |
|
| 72 | + 'config' => array ( |
|
| 73 | 73 | 'type' => 'select', |
| 74 | 74 | 'renderType' => 'selectSingle', |
| 75 | - 'items' => array( |
|
| 76 | - array('', 0), |
|
| 75 | + 'items' => array ( |
|
| 76 | + array ('', 0), |
|
| 77 | 77 | ), |
| 78 | 78 | 'foreign_table' => 'tx_dpf_domain_model_depositlicense', |
| 79 | 79 | 'foreign_table_where' => 'AND tx_dpf_domain_model_depositlicense.pid=###CURRENT_PID### AND tx_dpf_domain_model_depositlicense.sys_language_uid IN (-1,0)', |
| 80 | 80 | 'default' => 0, |
| 81 | 81 | ), |
| 82 | 82 | ), |
| 83 | - 'l10n_diffsource' => array( |
|
| 84 | - 'config' => array( |
|
| 83 | + 'l10n_diffsource' => array ( |
|
| 84 | + 'config' => array ( |
|
| 85 | 85 | 'type' => 'passthrough', |
| 86 | 86 | ), |
| 87 | 87 | ), |
| 88 | 88 | |
| 89 | - 't3ver_label' => array( |
|
| 89 | + 't3ver_label' => array ( |
|
| 90 | 90 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel', |
| 91 | - 'config' => array( |
|
| 91 | + 'config' => array ( |
|
| 92 | 92 | 'type' => 'input', |
| 93 | 93 | 'size' => 30, |
| 94 | 94 | 'max' => 255, |
| 95 | 95 | ), |
| 96 | 96 | ), |
| 97 | 97 | |
| 98 | - 'hidden' => array( |
|
| 98 | + 'hidden' => array ( |
|
| 99 | 99 | 'exclude' => 1, |
| 100 | 100 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden', |
| 101 | - 'config' => array( |
|
| 101 | + 'config' => array ( |
|
| 102 | 102 | 'type' => 'check', |
| 103 | 103 | ), |
| 104 | 104 | ), |
| 105 | - 'starttime' => array( |
|
| 105 | + 'starttime' => array ( |
|
| 106 | 106 | 'exclude' => 1, |
| 107 | 107 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime', |
| 108 | - 'config' => array( |
|
| 109 | - 'behaviour' => array( |
|
| 108 | + 'config' => array ( |
|
| 109 | + 'behaviour' => array ( |
|
| 110 | 110 | 'allowLanguageSynchronization' => true |
| 111 | 111 | ), |
| 112 | 112 | 'type' => 'input', |
@@ -115,16 +115,16 @@ discard block |
||
| 115 | 115 | 'eval' => 'datetime', |
| 116 | 116 | 'checkbox' => 0, |
| 117 | 117 | 'default' => 0, |
| 118 | - 'range' => array( |
|
| 118 | + 'range' => array ( |
|
| 119 | 119 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
| 120 | 120 | ), |
| 121 | 121 | ), |
| 122 | 122 | ), |
| 123 | - 'endtime' => array( |
|
| 123 | + 'endtime' => array ( |
|
| 124 | 124 | 'exclude' => 1, |
| 125 | 125 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime', |
| 126 | - 'config' => array( |
|
| 127 | - 'behaviour' => array( |
|
| 126 | + 'config' => array ( |
|
| 127 | + 'behaviour' => array ( |
|
| 128 | 128 | 'allowLanguageSynchronization' => true |
| 129 | 129 | ), |
| 130 | 130 | 'type' => 'input', |
@@ -133,33 +133,33 @@ discard block |
||
| 133 | 133 | 'eval' => 'datetime', |
| 134 | 134 | 'checkbox' => 0, |
| 135 | 135 | 'default' => 0, |
| 136 | - 'range' => array( |
|
| 136 | + 'range' => array ( |
|
| 137 | 137 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
| 138 | 138 | ), |
| 139 | 139 | ), |
| 140 | 140 | ), |
| 141 | - 'uri' => array( |
|
| 141 | + 'uri' => array ( |
|
| 142 | 142 | 'exclude' => 1, |
| 143 | 143 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_depositlicense.uri', |
| 144 | - 'config' => array( |
|
| 144 | + 'config' => array ( |
|
| 145 | 145 | 'type' => 'input', |
| 146 | 146 | 'size' => 30, |
| 147 | 147 | 'eval' => 'trim', |
| 148 | 148 | ), |
| 149 | 149 | ), |
| 150 | - 'title' => array( |
|
| 150 | + 'title' => array ( |
|
| 151 | 151 | 'exclude' => 1, |
| 152 | 152 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_depositlicense.title', |
| 153 | - 'config' => array( |
|
| 153 | + 'config' => array ( |
|
| 154 | 154 | 'type' => 'input', |
| 155 | 155 | 'size' => 30, |
| 156 | 156 | 'eval' => 'trim', |
| 157 | 157 | ), |
| 158 | 158 | ), |
| 159 | - 'text' => array( |
|
| 159 | + 'text' => array ( |
|
| 160 | 160 | 'exclude' => 1, |
| 161 | 161 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_depositlicense.text', |
| 162 | - 'config' => array( |
|
| 162 | + 'config' => array ( |
|
| 163 | 163 | 'type' => 'text', |
| 164 | 164 | 'cols' => 40, |
| 165 | 165 | 'rows' => 15, |
@@ -16,8 +16,8 @@ discard block |
||
| 16 | 16 | die('Access denied.'); |
| 17 | 17 | } |
| 18 | 18 | |
| 19 | -return array( |
|
| 20 | - 'ctrl' => array( |
|
| 19 | +return array ( |
|
| 20 | + 'ctrl' => array ( |
|
| 21 | 21 | 'title' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file', |
| 22 | 22 | 'label' => 'title', |
| 23 | 23 | 'tstamp' => 'tstamp', |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | 'transOrigPointerField' => 'l10n_parent', |
| 29 | 29 | 'transOrigDiffSourceField' => 'l10n_diffsource', |
| 30 | 30 | 'delete' => 'deleted', |
| 31 | - 'enablecolumns' => array( |
|
| 31 | + 'enablecolumns' => array ( |
|
| 32 | 32 | 'disabled' => 'hidden', |
| 33 | 33 | 'starttime' => 'starttime', |
| 34 | 34 | 'endtime' => 'endtime', |
@@ -36,74 +36,74 @@ discard block |
||
| 36 | 36 | 'searchFields' => 'title, label, download, archive, file_group_deleted, content_type, link, status, datastream_identifier, primary_file, document', |
| 37 | 37 | 'iconfile' => 'EXT:dpf/Resources/Public/Icons/default.gif', |
| 38 | 38 | ), |
| 39 | - 'interface' => array( |
|
| 39 | + 'interface' => array ( |
|
| 40 | 40 | 'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, title, label, download, archive, file_group_deleted, content_type, link, status, datastream_identifier, primary_file, document', |
| 41 | 41 | ), |
| 42 | - 'types' => array( |
|
| 43 | - '1' => array('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1, title, label, download, archive, file_group_deleted, content_type, link, status, datastream_identifier, primary_file, document, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
|
| 42 | + 'types' => array ( |
|
| 43 | + '1' => array ('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1, title, label, download, archive, file_group_deleted, content_type, link, status, datastream_identifier, primary_file, document, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
|
| 44 | 44 | ), |
| 45 | - 'palettes' => array( |
|
| 46 | - '1' => array('showitem' => ''), |
|
| 45 | + 'palettes' => array ( |
|
| 46 | + '1' => array ('showitem' => ''), |
|
| 47 | 47 | ), |
| 48 | - 'columns' => array( |
|
| 48 | + 'columns' => array ( |
|
| 49 | 49 | |
| 50 | - 'sys_language_uid' => array( |
|
| 50 | + 'sys_language_uid' => array ( |
|
| 51 | 51 | 'exclude' => 1, |
| 52 | 52 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language', |
| 53 | - 'config' => array( |
|
| 53 | + 'config' => array ( |
|
| 54 | 54 | 'type' => 'select', |
| 55 | 55 | 'renderType' => 'selectSingle', |
| 56 | 56 | 'foreign_table' => 'sys_language', |
| 57 | 57 | 'foreign_table_where' => 'ORDER BY sys_language.title', |
| 58 | - 'items' => array( |
|
| 59 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 60 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 58 | + 'items' => array ( |
|
| 59 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 60 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 61 | 61 | ), |
| 62 | 62 | 'default' => 0, |
| 63 | 63 | ), |
| 64 | 64 | ), |
| 65 | - 'l10n_parent' => array( |
|
| 65 | + 'l10n_parent' => array ( |
|
| 66 | 66 | 'displayCond' => 'FIELD:sys_language_uid:>:0', |
| 67 | 67 | 'exclude' => 1, |
| 68 | 68 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent', |
| 69 | - 'config' => array( |
|
| 69 | + 'config' => array ( |
|
| 70 | 70 | 'type' => 'select', |
| 71 | 71 | 'renderType' => 'selectSingle', |
| 72 | - 'items' => array( |
|
| 73 | - array('', 0), |
|
| 72 | + 'items' => array ( |
|
| 73 | + array ('', 0), |
|
| 74 | 74 | ), |
| 75 | 75 | 'foreign_table' => 'tx_dpf_domain_model_file', |
| 76 | 76 | 'foreign_table_where' => 'AND tx_dpf_domain_model_file.pid=###CURRENT_PID### AND tx_dpf_domain_model_file.sys_language_uid IN (-1,0)', |
| 77 | 77 | 'default' => 0, |
| 78 | 78 | ), |
| 79 | 79 | ), |
| 80 | - 'l10n_diffsource' => array( |
|
| 81 | - 'config' => array( |
|
| 80 | + 'l10n_diffsource' => array ( |
|
| 81 | + 'config' => array ( |
|
| 82 | 82 | 'type' => 'passthrough', |
| 83 | 83 | ), |
| 84 | 84 | ), |
| 85 | 85 | |
| 86 | - 't3ver_label' => array( |
|
| 86 | + 't3ver_label' => array ( |
|
| 87 | 87 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel', |
| 88 | - 'config' => array( |
|
| 88 | + 'config' => array ( |
|
| 89 | 89 | 'type' => 'input', |
| 90 | 90 | 'size' => 30, |
| 91 | 91 | 'max' => 255, |
| 92 | 92 | ), |
| 93 | 93 | ), |
| 94 | 94 | |
| 95 | - 'hidden' => array( |
|
| 95 | + 'hidden' => array ( |
|
| 96 | 96 | 'exclude' => 1, |
| 97 | 97 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden', |
| 98 | - 'config' => array( |
|
| 98 | + 'config' => array ( |
|
| 99 | 99 | 'type' => 'check', |
| 100 | 100 | ), |
| 101 | 101 | ), |
| 102 | - 'starttime' => array( |
|
| 102 | + 'starttime' => array ( |
|
| 103 | 103 | 'exclude' => 1, |
| 104 | 104 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime', |
| 105 | - 'config' => array( |
|
| 106 | - 'behaviour' => array( |
|
| 105 | + 'config' => array ( |
|
| 106 | + 'behaviour' => array ( |
|
| 107 | 107 | 'allowLanguageSynchronization' => true |
| 108 | 108 | ), |
| 109 | 109 | 'type' => 'input', |
@@ -112,16 +112,16 @@ discard block |
||
| 112 | 112 | 'eval' => 'datetime', |
| 113 | 113 | 'checkbox' => 0, |
| 114 | 114 | 'default' => 0, |
| 115 | - 'range' => array( |
|
| 115 | + 'range' => array ( |
|
| 116 | 116 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
| 117 | 117 | ), |
| 118 | 118 | ), |
| 119 | 119 | ), |
| 120 | - 'endtime' => array( |
|
| 120 | + 'endtime' => array ( |
|
| 121 | 121 | 'exclude' => 1, |
| 122 | 122 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime', |
| 123 | - 'config' => array( |
|
| 124 | - 'behaviour' => array( |
|
| 123 | + 'config' => array ( |
|
| 124 | + 'behaviour' => array ( |
|
| 125 | 125 | 'allowLanguageSynchronization' => true |
| 126 | 126 | ), |
| 127 | 127 | 'type' => 'input', |
@@ -130,107 +130,107 @@ discard block |
||
| 130 | 130 | 'eval' => 'datetime', |
| 131 | 131 | 'checkbox' => 0, |
| 132 | 132 | 'default' => 0, |
| 133 | - 'range' => array( |
|
| 133 | + 'range' => array ( |
|
| 134 | 134 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
| 135 | 135 | ), |
| 136 | 136 | ), |
| 137 | 137 | ), |
| 138 | 138 | |
| 139 | - 'title' => array( |
|
| 139 | + 'title' => array ( |
|
| 140 | 140 | 'exclude' => 1, |
| 141 | 141 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.title', |
| 142 | - 'config' => array( |
|
| 142 | + 'config' => array ( |
|
| 143 | 143 | 'type' => 'input', |
| 144 | 144 | 'size' => 30, |
| 145 | 145 | 'eval' => 'trim', |
| 146 | 146 | ), |
| 147 | 147 | ), |
| 148 | 148 | |
| 149 | - 'label' => array( |
|
| 149 | + 'label' => array ( |
|
| 150 | 150 | 'exclude' => 1, |
| 151 | 151 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.label', |
| 152 | - 'config' => array( |
|
| 152 | + 'config' => array ( |
|
| 153 | 153 | 'type' => 'input', |
| 154 | 154 | 'size' => 30, |
| 155 | 155 | 'eval' => 'trim', |
| 156 | 156 | ), |
| 157 | 157 | ), |
| 158 | - 'download' => array( |
|
| 158 | + 'download' => array ( |
|
| 159 | 159 | 'exclude' => 1, |
| 160 | 160 | 'l10n_mode' => 'exclude', |
| 161 | 161 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.download', |
| 162 | - 'config' => array( |
|
| 162 | + 'config' => array ( |
|
| 163 | 163 | 'type' => 'check', |
| 164 | 164 | 'default' => 0, |
| 165 | 165 | ), |
| 166 | 166 | ), |
| 167 | - 'archive' => array( |
|
| 167 | + 'archive' => array ( |
|
| 168 | 168 | 'exclude' => 1, |
| 169 | 169 | 'l10n_mode' => 'exclude', |
| 170 | 170 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.archive', |
| 171 | - 'config' => array( |
|
| 171 | + 'config' => array ( |
|
| 172 | 172 | 'type' => 'check', |
| 173 | 173 | 'default' => 0, |
| 174 | 174 | ), |
| 175 | 175 | ), |
| 176 | - 'file_group_deleted' => array( |
|
| 176 | + 'file_group_deleted' => array ( |
|
| 177 | 177 | 'exclude' => 1, |
| 178 | 178 | 'l10n_mode' => 'exclude', |
| 179 | 179 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.file_group_deleted', |
| 180 | - 'config' => array( |
|
| 180 | + 'config' => array ( |
|
| 181 | 181 | 'type' => 'check', |
| 182 | 182 | 'default' => 0, |
| 183 | 183 | ), |
| 184 | 184 | ), |
| 185 | - 'content_type' => array( |
|
| 185 | + 'content_type' => array ( |
|
| 186 | 186 | 'exclude' => 1, |
| 187 | 187 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.content_type', |
| 188 | - 'config' => array( |
|
| 188 | + 'config' => array ( |
|
| 189 | 189 | 'type' => 'input', |
| 190 | 190 | 'size' => 30, |
| 191 | 191 | 'eval' => 'trim', |
| 192 | 192 | ), |
| 193 | 193 | ), |
| 194 | - 'link' => array( |
|
| 194 | + 'link' => array ( |
|
| 195 | 195 | 'exclude' => 1, |
| 196 | 196 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.link', |
| 197 | - 'config' => array( |
|
| 197 | + 'config' => array ( |
|
| 198 | 198 | 'type' => 'input', |
| 199 | 199 | 'size' => 30, |
| 200 | 200 | 'eval' => 'trim', |
| 201 | 201 | ), |
| 202 | 202 | ), |
| 203 | - 'status' => array( |
|
| 203 | + 'status' => array ( |
|
| 204 | 204 | 'exclude' => 1, |
| 205 | 205 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.status', |
| 206 | - 'config' => array( |
|
| 206 | + 'config' => array ( |
|
| 207 | 207 | 'type' => 'input', |
| 208 | 208 | 'size' => 30, |
| 209 | 209 | 'eval' => 'trim', |
| 210 | 210 | ), |
| 211 | 211 | ), |
| 212 | - 'datastream_identifier' => array( |
|
| 212 | + 'datastream_identifier' => array ( |
|
| 213 | 213 | 'exclude' => 1, |
| 214 | 214 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.datastream_identifier', |
| 215 | - 'config' => array( |
|
| 215 | + 'config' => array ( |
|
| 216 | 216 | 'type' => 'input', |
| 217 | 217 | 'size' => 30, |
| 218 | 218 | 'eval' => 'trim', |
| 219 | 219 | ), |
| 220 | 220 | ), |
| 221 | - 'primary_file' => array( |
|
| 221 | + 'primary_file' => array ( |
|
| 222 | 222 | 'exclude' => 1, |
| 223 | 223 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.primary_file', |
| 224 | - 'config' => array( |
|
| 224 | + 'config' => array ( |
|
| 225 | 225 | 'type' => 'check', |
| 226 | 226 | 'default' => 0, |
| 227 | 227 | ), |
| 228 | 228 | ), |
| 229 | 229 | |
| 230 | - 'document' => array( |
|
| 230 | + 'document' => array ( |
|
| 231 | 231 | 'exclude' => 1, |
| 232 | 232 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.document', |
| 233 | - 'config' => array( |
|
| 233 | + 'config' => array ( |
|
| 234 | 234 | 'type' => 'select', |
| 235 | 235 | 'renderType' => 'selectSingle', |
| 236 | 236 | 'foreign_table' => 'tx_dpf_domain_model_document', |
@@ -238,8 +238,8 @@ discard block |
||
| 238 | 238 | 'maxitems' => 1, |
| 239 | 239 | ), |
| 240 | 240 | ), |
| 241 | - 'pid' => array( |
|
| 242 | - 'config' => array( |
|
| 241 | + 'pid' => array ( |
|
| 242 | + 'config' => array ( |
|
| 243 | 243 | 'type' => 'passthrough', |
| 244 | 244 | ) |
| 245 | 245 | ), |
@@ -16,8 +16,8 @@ discard block |
||
| 16 | 16 | die('Access denied.'); |
| 17 | 17 | } |
| 18 | 18 | |
| 19 | -return array( |
|
| 20 | - 'ctrl' => array( |
|
| 19 | +return array ( |
|
| 20 | + 'ctrl' => array ( |
|
| 21 | 21 | 'title' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup', |
| 22 | 22 | 'label' => 'name', |
| 23 | 23 | 'tstamp' => 'tstamp', |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | 'transOrigPointerField' => 'l10n_parent', |
| 29 | 29 | 'transOrigDiffSourceField' => 'l10n_diffsource', |
| 30 | 30 | 'delete' => 'deleted', |
| 31 | - 'enablecolumns' => array( |
|
| 31 | + 'enablecolumns' => array ( |
|
| 32 | 32 | 'disabled' => 'hidden', |
| 33 | 33 | 'starttime' => 'starttime', |
| 34 | 34 | 'endtime' => 'endtime', |
@@ -36,75 +36,75 @@ discard block |
||
| 36 | 36 | 'searchFields' => 'name, display_name, mandatory, mapping_for_reading, mapping, mods_extension_mapping, mods_extension_reference, json_mapping, max_iteration, metadata_object, access_restriction_roles, info_text, group_type, optional_groups, required_groups', |
| 37 | 37 | 'iconfile' => 'EXT:dpf/Resources/Public/Icons/default.gif', |
| 38 | 38 | ), |
| 39 | - 'interface' => array( |
|
| 39 | + 'interface' => array ( |
|
| 40 | 40 | 'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, name, display_name, mandatory, mapping_for_reading, mapping, mods_extension_mapping, mods_extension_reference, json_mapping, max_iteration, metadata_object, access_restriction_roles, info_text, group_type, optional_groups, required_groups', |
| 41 | 41 | ), |
| 42 | - 'types' => array( |
|
| 43 | - '1' => array('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1, name, display_name, mandatory, mapping_for_reading, mapping, mods_extension_mapping, mods_extension_reference, json_mapping, max_iteration, metadata_object, access_restriction_roles, info_text, group_type, optional_groups, required_groups, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
|
| 42 | + 'types' => array ( |
|
| 43 | + '1' => array ('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1, name, display_name, mandatory, mapping_for_reading, mapping, mods_extension_mapping, mods_extension_reference, json_mapping, max_iteration, metadata_object, access_restriction_roles, info_text, group_type, optional_groups, required_groups, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
|
| 44 | 44 | ), |
| 45 | - 'palettes' => array( |
|
| 46 | - '1' => array('showitem' => ''), |
|
| 45 | + 'palettes' => array ( |
|
| 46 | + '1' => array ('showitem' => ''), |
|
| 47 | 47 | ), |
| 48 | - 'columns' => array( |
|
| 48 | + 'columns' => array ( |
|
| 49 | 49 | |
| 50 | - 'sys_language_uid' => array( |
|
| 50 | + 'sys_language_uid' => array ( |
|
| 51 | 51 | 'exclude' => 1, |
| 52 | 52 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language', |
| 53 | - 'config' => array( |
|
| 53 | + 'config' => array ( |
|
| 54 | 54 | 'type' => 'select', |
| 55 | 55 | 'renderType' => 'selectSingle', |
| 56 | 56 | 'foreign_table' => 'sys_language', |
| 57 | 57 | 'foreign_table_where' => 'ORDER BY sys_language.title', |
| 58 | - 'items' => array( |
|
| 59 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 60 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 58 | + 'items' => array ( |
|
| 59 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 60 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 61 | 61 | ), |
| 62 | 62 | 'default' => 0, |
| 63 | 63 | ), |
| 64 | 64 | ), |
| 65 | - 'l10n_parent' => array( |
|
| 65 | + 'l10n_parent' => array ( |
|
| 66 | 66 | 'displayCond' => 'FIELD:sys_language_uid:>:0', |
| 67 | 67 | 'exclude' => 1, |
| 68 | 68 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent', |
| 69 | - 'config' => array( |
|
| 69 | + 'config' => array ( |
|
| 70 | 70 | 'type' => 'select', |
| 71 | 71 | 'renderType' => 'selectSingle', |
| 72 | - 'items' => array( |
|
| 73 | - array('', 0), |
|
| 72 | + 'items' => array ( |
|
| 73 | + array ('', 0), |
|
| 74 | 74 | ), |
| 75 | 75 | 'foreign_table' => 'tx_dpf_domain_model_metadatagroup', |
| 76 | 76 | 'foreign_table_where' => 'AND tx_dpf_domain_model_metadatagroup.pid=###CURRENT_PID### AND tx_dpf_domain_model_metadatagroup.sys_language_uid IN (-1,0)', |
| 77 | 77 | 'default' => 0, |
| 78 | 78 | ), |
| 79 | 79 | ), |
| 80 | - 'l10n_diffsource' => array( |
|
| 81 | - 'config' => array( |
|
| 80 | + 'l10n_diffsource' => array ( |
|
| 81 | + 'config' => array ( |
|
| 82 | 82 | 'type' => 'passthrough', |
| 83 | 83 | ), |
| 84 | 84 | ), |
| 85 | 85 | |
| 86 | - 't3ver_label' => array( |
|
| 86 | + 't3ver_label' => array ( |
|
| 87 | 87 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel', |
| 88 | - 'config' => array( |
|
| 88 | + 'config' => array ( |
|
| 89 | 89 | 'type' => 'input', |
| 90 | 90 | 'size' => 30, |
| 91 | 91 | 'max' => 255, |
| 92 | 92 | ), |
| 93 | 93 | ), |
| 94 | 94 | |
| 95 | - 'hidden' => array( |
|
| 95 | + 'hidden' => array ( |
|
| 96 | 96 | 'exclude' => 1, |
| 97 | 97 | 'l10n_mode' => 'exclude', |
| 98 | 98 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden', |
| 99 | - 'config' => array( |
|
| 99 | + 'config' => array ( |
|
| 100 | 100 | 'type' => 'check', |
| 101 | 101 | ), |
| 102 | 102 | ), |
| 103 | - 'starttime' => array( |
|
| 103 | + 'starttime' => array ( |
|
| 104 | 104 | 'exclude' => 1, |
| 105 | 105 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime', |
| 106 | - 'config' => array( |
|
| 107 | - 'behaviour' => array( |
|
| 106 | + 'config' => array ( |
|
| 107 | + 'behaviour' => array ( |
|
| 108 | 108 | 'allowLanguageSynchronization' => true |
| 109 | 109 | ), |
| 110 | 110 | 'type' => 'input', |
@@ -113,139 +113,139 @@ discard block |
||
| 113 | 113 | 'eval' => 'datetime', |
| 114 | 114 | 'checkbox' => 0, |
| 115 | 115 | 'default' => 0, |
| 116 | - 'range' => array( |
|
| 116 | + 'range' => array ( |
|
| 117 | 117 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
| 118 | 118 | ), |
| 119 | 119 | ), |
| 120 | 120 | ), |
| 121 | - 'endtime' => array( |
|
| 121 | + 'endtime' => array ( |
|
| 122 | 122 | 'exclude' => 1, |
| 123 | 123 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime', |
| 124 | - 'config' => array( |
|
| 124 | + 'config' => array ( |
|
| 125 | 125 | 'type' => 'input', |
| 126 | 126 | 'renderType' => 'inputDateTime', |
| 127 | 127 | 'size' => 13, |
| 128 | 128 | 'eval' => 'datetime', |
| 129 | 129 | 'checkbox' => 0, |
| 130 | 130 | 'default' => 0, |
| 131 | - 'range' => array( |
|
| 131 | + 'range' => array ( |
|
| 132 | 132 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
| 133 | 133 | ), |
| 134 | 134 | ), |
| 135 | 135 | ), |
| 136 | 136 | |
| 137 | - 'name' => array( |
|
| 137 | + 'name' => array ( |
|
| 138 | 138 | 'exclude' => 1, |
| 139 | 139 | 'l10n_mode' => 'exclude', |
| 140 | 140 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.name', |
| 141 | - 'config' => array( |
|
| 141 | + 'config' => array ( |
|
| 142 | 142 | 'type' => 'input', |
| 143 | 143 | 'size' => 30, |
| 144 | 144 | 'eval' => 'trim,uniqueInPid', |
| 145 | 145 | ), |
| 146 | 146 | ), |
| 147 | - 'display_name' => array( |
|
| 147 | + 'display_name' => array ( |
|
| 148 | 148 | 'exclude' => 1, |
| 149 | 149 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.display_name', |
| 150 | - 'config' => array( |
|
| 150 | + 'config' => array ( |
|
| 151 | 151 | 'type' => 'input', |
| 152 | 152 | 'size' => 30, |
| 153 | 153 | 'eval' => 'trim', |
| 154 | 154 | ), |
| 155 | 155 | ), |
| 156 | - 'mandatory' => array( |
|
| 156 | + 'mandatory' => array ( |
|
| 157 | 157 | 'exclude' => 1, |
| 158 | 158 | 'l10n_mode' => 'exclude', |
| 159 | 159 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.mandatory', |
| 160 | - 'config' => array( |
|
| 160 | + 'config' => array ( |
|
| 161 | 161 | 'type' => 'select', |
| 162 | 162 | 'renderType' => 'selectSingle', |
| 163 | 163 | 'size' => 1, |
| 164 | 164 | 'maxitems' => 1, |
| 165 | - 'items' => array( |
|
| 166 | - array('',''), |
|
| 167 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.mandatory_yes', \EWW\Dpf\Domain\Model\MetadataMandatoryInterface::MANDATORY), |
|
| 168 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.mandatory_file_only', \EWW\Dpf\Domain\Model\MetadataMandatoryInterface::MANDATORY_FILE_ONLY), |
|
| 165 | + 'items' => array ( |
|
| 166 | + array ('', ''), |
|
| 167 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.mandatory_yes', \EWW\Dpf\Domain\Model\MetadataMandatoryInterface::MANDATORY), |
|
| 168 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.mandatory_file_only', \EWW\Dpf\Domain\Model\MetadataMandatoryInterface::MANDATORY_FILE_ONLY), |
|
| 169 | 169 | ), |
| 170 | 170 | ), |
| 171 | 171 | ), |
| 172 | - 'mapping_for_reading' => array( |
|
| 172 | + 'mapping_for_reading' => array ( |
|
| 173 | 173 | 'exclude' => 1, |
| 174 | 174 | 'l10n_mode' => 'exclude', |
| 175 | 175 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.mapping_for_reading', |
| 176 | - 'config' => array( |
|
| 176 | + 'config' => array ( |
|
| 177 | 177 | 'type' => 'input', |
| 178 | 178 | 'size' => 30, |
| 179 | 179 | 'eval' => 'trim', |
| 180 | 180 | ), |
| 181 | 181 | ), |
| 182 | - 'mapping' => array( |
|
| 182 | + 'mapping' => array ( |
|
| 183 | 183 | 'exclude' => 1, |
| 184 | 184 | 'l10n_mode' => 'exclude', |
| 185 | 185 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.mapping', |
| 186 | - 'config' => array( |
|
| 186 | + 'config' => array ( |
|
| 187 | 187 | 'type' => 'input', |
| 188 | 188 | 'size' => 30, |
| 189 | 189 | 'eval' => 'trim', |
| 190 | 190 | ), |
| 191 | 191 | ), |
| 192 | - 'mods_extension_mapping' => array( |
|
| 192 | + 'mods_extension_mapping' => array ( |
|
| 193 | 193 | 'exclude' => 1, |
| 194 | 194 | 'l10n_mode' => 'exclude', |
| 195 | 195 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.mods_extension_mapping', |
| 196 | - 'config' => array( |
|
| 196 | + 'config' => array ( |
|
| 197 | 197 | 'type' => 'input', |
| 198 | 198 | 'size' => 30, |
| 199 | 199 | 'eval' => 'trim', |
| 200 | 200 | ), |
| 201 | 201 | ), |
| 202 | - 'mods_extension_reference' => array( |
|
| 202 | + 'mods_extension_reference' => array ( |
|
| 203 | 203 | 'exclude' => 1, |
| 204 | 204 | 'l10n_mode' => 'exclude', |
| 205 | 205 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.mods_extension_reference', |
| 206 | - 'config' => array( |
|
| 206 | + 'config' => array ( |
|
| 207 | 207 | 'type' => 'input', |
| 208 | 208 | 'size' => 30, |
| 209 | 209 | 'eval' => 'trim', |
| 210 | 210 | ), |
| 211 | 211 | ), |
| 212 | - 'json_mapping' => array( |
|
| 212 | + 'json_mapping' => array ( |
|
| 213 | 213 | 'exclude' => 1, |
| 214 | 214 | 'l10n_mode' => 'exclude', |
| 215 | 215 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.json_mapping', |
| 216 | - 'config' => array( |
|
| 216 | + 'config' => array ( |
|
| 217 | 217 | 'type' => 'input', |
| 218 | 218 | 'size' => 30, |
| 219 | 219 | 'eval' => 'trim', |
| 220 | 220 | ), |
| 221 | 221 | ), |
| 222 | - 'max_iteration' => array( |
|
| 222 | + 'max_iteration' => array ( |
|
| 223 | 223 | 'exclude' => 1, |
| 224 | 224 | 'l10n_mode' => 'exclude', |
| 225 | 225 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.max_iteration', |
| 226 | - 'config' => array( |
|
| 226 | + 'config' => array ( |
|
| 227 | 227 | 'type' => 'input', |
| 228 | 228 | 'size' => 4, |
| 229 | 229 | 'eval' => 'int', |
| 230 | 230 | ), |
| 231 | 231 | ), |
| 232 | - 'access_restriction_roles' => array( |
|
| 232 | + 'access_restriction_roles' => array ( |
|
| 233 | 233 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.access_restriction_roles', |
| 234 | - 'config' => array( |
|
| 234 | + 'config' => array ( |
|
| 235 | 235 | 'type' => 'select', |
| 236 | 236 | 'renderType' => 'selectMultipleSideBySide', |
| 237 | 237 | 'size' => 2, |
| 238 | 238 | 'maxitems' => 2, |
| 239 | - 'items' => array( |
|
| 240 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_researcher', EWW\Dpf\Security\Security::ROLE_RESEARCHER), |
|
| 241 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_librarian', EWW\Dpf\Security\Security::ROLE_LIBRARIAN), |
|
| 239 | + 'items' => array ( |
|
| 240 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_researcher', EWW\Dpf\Security\Security::ROLE_RESEARCHER), |
|
| 241 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_librarian', EWW\Dpf\Security\Security::ROLE_LIBRARIAN), |
|
| 242 | 242 | ), |
| 243 | 243 | ), |
| 244 | 244 | ), |
| 245 | - 'info_text' => array( |
|
| 245 | + 'info_text' => array ( |
|
| 246 | 246 | 'exclude' => 1, |
| 247 | 247 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.info_text', |
| 248 | - 'config' => array( |
|
| 248 | + 'config' => array ( |
|
| 249 | 249 | 'type' => 'text', |
| 250 | 250 | 'cols' => 40, |
| 251 | 251 | 'rows' => 15, |
@@ -253,24 +253,24 @@ discard block |
||
| 253 | 253 | 'enableRichtext' => true, |
| 254 | 254 | ), |
| 255 | 255 | ), |
| 256 | - 'metadata_object' => array( |
|
| 256 | + 'metadata_object' => array ( |
|
| 257 | 257 | 'exclude' => 1, |
| 258 | 258 | 'l10n_mode' => 'exclude', |
| 259 | 259 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.metadata_object', |
| 260 | - 'config' => array( |
|
| 260 | + 'config' => array ( |
|
| 261 | 261 | 'type' => 'inline', |
| 262 | 262 | 'foreign_table' => 'tx_dpf_domain_model_metadataobject', |
| 263 | 263 | 'foreign_field' => 'metadatagroup', |
| 264 | 264 | 'foreign_label' => 'display_name', |
| 265 | 265 | 'foreign_sortby' => 'sorting', |
| 266 | - 'behaviour' => array( |
|
| 266 | + 'behaviour' => array ( |
|
| 267 | 267 | 'disableMovingChildrenWithParent' => 1, |
| 268 | 268 | ), |
| 269 | 269 | 'size' => 10, |
| 270 | 270 | 'autoSizeMax' => 30, |
| 271 | 271 | 'maxitems' => 9999, |
| 272 | 272 | 'multiple' => 0, |
| 273 | - 'appearance' => array( |
|
| 273 | + 'appearance' => array ( |
|
| 274 | 274 | 'collapseAll' => 1, |
| 275 | 275 | 'levelLinksPosition' => 'top', |
| 276 | 276 | 'showSynchronizationLink' => 1, |
@@ -16,8 +16,8 @@ discard block |
||
| 16 | 16 | die('Access denied.'); |
| 17 | 17 | } |
| 18 | 18 | |
| 19 | -return array( |
|
| 20 | - 'ctrl' => array( |
|
| 19 | +return array ( |
|
| 20 | + 'ctrl' => array ( |
|
| 21 | 21 | 'title' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatapage', |
| 22 | 22 | 'label' => 'name', |
| 23 | 23 | 'tstamp' => 'tstamp', |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | 'transOrigPointerField' => 'l10n_parent', |
| 29 | 29 | 'transOrigDiffSourceField' => 'l10n_diffsource', |
| 30 | 30 | 'delete' => 'deleted', |
| 31 | - 'enablecolumns' => array( |
|
| 31 | + 'enablecolumns' => array ( |
|
| 32 | 32 | 'disabled' => 'hidden', |
| 33 | 33 | 'starttime' => 'starttime', |
| 34 | 34 | 'endtime' => 'endtime', |
@@ -36,72 +36,72 @@ discard block |
||
| 36 | 36 | 'searchFields' => 'name, display_name, page_number, access_restriction_roles, metadata_group', |
| 37 | 37 | 'iconfile' => 'EXT:dpf/Resources/Public/Icons/default.gif', |
| 38 | 38 | ), |
| 39 | - 'interface' => array( |
|
| 39 | + 'interface' => array ( |
|
| 40 | 40 | 'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, name, display_name, page_number, access_restriction_roles, metadata_group', |
| 41 | 41 | ), |
| 42 | - 'types' => array( |
|
| 43 | - '1' => array('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1, name, display_name, page_number, access_restriction_roles, metadata_group, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
|
| 42 | + 'types' => array ( |
|
| 43 | + '1' => array ('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1, name, display_name, page_number, access_restriction_roles, metadata_group, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
|
| 44 | 44 | ), |
| 45 | - 'palettes' => array( |
|
| 46 | - '1' => array('showitem' => ''), |
|
| 45 | + 'palettes' => array ( |
|
| 46 | + '1' => array ('showitem' => ''), |
|
| 47 | 47 | ), |
| 48 | - 'columns' => array( |
|
| 49 | - 'sys_language_uid' => array( |
|
| 48 | + 'columns' => array ( |
|
| 49 | + 'sys_language_uid' => array ( |
|
| 50 | 50 | 'exclude' => 1, |
| 51 | 51 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language', |
| 52 | - 'config' => array( |
|
| 52 | + 'config' => array ( |
|
| 53 | 53 | 'type' => 'select', |
| 54 | 54 | 'renderType' => 'selectSingle', |
| 55 | 55 | 'foreign_table' => 'sys_language', |
| 56 | 56 | 'foreign_table_where' => 'ORDER BY sys_language.title', |
| 57 | - 'items' => array( |
|
| 58 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 59 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 57 | + 'items' => array ( |
|
| 58 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 59 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 60 | 60 | ), |
| 61 | 61 | 'default' => 0, |
| 62 | 62 | ), |
| 63 | 63 | ), |
| 64 | - 'l10n_parent' => array( |
|
| 64 | + 'l10n_parent' => array ( |
|
| 65 | 65 | 'displayCond' => 'FIELD:sys_language_uid:>:0', |
| 66 | 66 | 'exclude' => 1, |
| 67 | 67 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent', |
| 68 | - 'config' => array( |
|
| 68 | + 'config' => array ( |
|
| 69 | 69 | 'type' => 'select', |
| 70 | 70 | 'renderType' => 'selectSingle', |
| 71 | - 'items' => array( |
|
| 72 | - array('', 0), |
|
| 71 | + 'items' => array ( |
|
| 72 | + array ('', 0), |
|
| 73 | 73 | ), |
| 74 | 74 | 'foreign_table' => 'tx_dpf_domain_model_metadatapage', |
| 75 | 75 | 'foreign_table_where' => 'AND tx_dpf_domain_model_metadatapage.pid=###CURRENT_PID### AND tx_dpf_domain_model_metadatapage.sys_language_uid IN (-1,0)', |
| 76 | 76 | 'default' => 0, |
| 77 | 77 | ), |
| 78 | 78 | ), |
| 79 | - 'l10n_diffsource' => array( |
|
| 80 | - 'config' => array( |
|
| 79 | + 'l10n_diffsource' => array ( |
|
| 80 | + 'config' => array ( |
|
| 81 | 81 | 'type' => 'passthrough', |
| 82 | 82 | ), |
| 83 | 83 | ), |
| 84 | - 't3ver_label' => array( |
|
| 84 | + 't3ver_label' => array ( |
|
| 85 | 85 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel', |
| 86 | - 'config' => array( |
|
| 86 | + 'config' => array ( |
|
| 87 | 87 | 'type' => 'input', |
| 88 | 88 | 'size' => 30, |
| 89 | 89 | 'max' => 255, |
| 90 | 90 | ), |
| 91 | 91 | ), |
| 92 | - 'hidden' => array( |
|
| 92 | + 'hidden' => array ( |
|
| 93 | 93 | 'exclude' => 1, |
| 94 | 94 | 'l10n_mode' => 'exclude', |
| 95 | 95 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden', |
| 96 | - 'config' => array( |
|
| 96 | + 'config' => array ( |
|
| 97 | 97 | 'type' => 'check', |
| 98 | 98 | ), |
| 99 | 99 | ), |
| 100 | - 'starttime' => array( |
|
| 100 | + 'starttime' => array ( |
|
| 101 | 101 | 'exclude' => 1, |
| 102 | 102 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime', |
| 103 | - 'config' => array( |
|
| 104 | - 'behaviour' => array( |
|
| 103 | + 'config' => array ( |
|
| 104 | + 'behaviour' => array ( |
|
| 105 | 105 | 'allowLanguageSynchronization' => true |
| 106 | 106 | ), |
| 107 | 107 | 'type' => 'input', |
@@ -110,16 +110,16 @@ discard block |
||
| 110 | 110 | 'eval' => 'datetime', |
| 111 | 111 | 'checkbox' => 0, |
| 112 | 112 | 'default' => 0, |
| 113 | - 'range' => array( |
|
| 113 | + 'range' => array ( |
|
| 114 | 114 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
| 115 | 115 | ), |
| 116 | 116 | ), |
| 117 | 117 | ), |
| 118 | - 'endtime' => array( |
|
| 118 | + 'endtime' => array ( |
|
| 119 | 119 | 'exclude' => 1, |
| 120 | 120 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime', |
| 121 | - 'config' => array( |
|
| 122 | - 'behaviour' => array( |
|
| 121 | + 'config' => array ( |
|
| 122 | + 'behaviour' => array ( |
|
| 123 | 123 | 'allowLanguageSynchronization' => true |
| 124 | 124 | ), |
| 125 | 125 | 'type' => 'input', |
@@ -128,58 +128,58 @@ discard block |
||
| 128 | 128 | 'eval' => 'datetime', |
| 129 | 129 | 'checkbox' => 0, |
| 130 | 130 | 'default' => 0, |
| 131 | - 'range' => array( |
|
| 131 | + 'range' => array ( |
|
| 132 | 132 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
| 133 | 133 | ), |
| 134 | 134 | ), |
| 135 | 135 | ), |
| 136 | - 'name' => array( |
|
| 136 | + 'name' => array ( |
|
| 137 | 137 | 'exclude' => 1, |
| 138 | 138 | 'l10n_mode' => 'exclude', |
| 139 | 139 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatapage.name', |
| 140 | - 'config' => array( |
|
| 140 | + 'config' => array ( |
|
| 141 | 141 | 'type' => 'input', |
| 142 | 142 | 'size' => 30, |
| 143 | 143 | 'eval' => 'trim,uniqueInPid', |
| 144 | 144 | ), |
| 145 | 145 | ), |
| 146 | - 'display_name' => array( |
|
| 146 | + 'display_name' => array ( |
|
| 147 | 147 | 'exclude' => 1, |
| 148 | 148 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatapage.display_name', |
| 149 | - 'config' => array( |
|
| 149 | + 'config' => array ( |
|
| 150 | 150 | 'type' => 'input', |
| 151 | 151 | 'size' => 30, |
| 152 | 152 | 'eval' => 'trim', |
| 153 | 153 | ), |
| 154 | 154 | ), |
| 155 | - 'page_number' => array( |
|
| 155 | + 'page_number' => array ( |
|
| 156 | 156 | 'exclude' => 1, |
| 157 | 157 | 'l10n_mode' => 'exclude', |
| 158 | 158 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatapage.page_number', |
| 159 | - 'config' => array( |
|
| 159 | + 'config' => array ( |
|
| 160 | 160 | 'type' => 'input', |
| 161 | 161 | 'size' => 4, |
| 162 | 162 | 'eval' => 'int', |
| 163 | 163 | ), |
| 164 | 164 | ), |
| 165 | - 'access_restriction_roles' => array( |
|
| 165 | + 'access_restriction_roles' => array ( |
|
| 166 | 166 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatapage.access_restriction_roles', |
| 167 | - 'config' => array( |
|
| 167 | + 'config' => array ( |
|
| 168 | 168 | 'type' => 'select', |
| 169 | 169 | 'renderType' => 'selectMultipleSideBySide', |
| 170 | 170 | 'size' => 2, |
| 171 | 171 | 'maxitems' => 2, |
| 172 | - 'items' => array( |
|
| 173 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_researcher', EWW\Dpf\Security\Security::ROLE_RESEARCHER), |
|
| 174 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_librarian', EWW\Dpf\Security\Security::ROLE_LIBRARIAN), |
|
| 172 | + 'items' => array ( |
|
| 173 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_researcher', EWW\Dpf\Security\Security::ROLE_RESEARCHER), |
|
| 174 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_feusergroup.kitodo_role_librarian', EWW\Dpf\Security\Security::ROLE_LIBRARIAN), |
|
| 175 | 175 | ), |
| 176 | 176 | ), |
| 177 | 177 | ), |
| 178 | - 'metadata_group' => array( |
|
| 178 | + 'metadata_group' => array ( |
|
| 179 | 179 | 'exclude' => 1, |
| 180 | 180 | 'l10n_mode' => 'exclude', |
| 181 | 181 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatapage.metadata_group', |
| 182 | - 'config' => array( |
|
| 182 | + 'config' => array ( |
|
| 183 | 183 | 'type' => 'select', |
| 184 | 184 | 'renderType' => 'selectMultipleSideBySide', |
| 185 | 185 | 'foreign_table' => 'tx_dpf_domain_model_metadatagroup', |
@@ -189,24 +189,24 @@ discard block |
||
| 189 | 189 | 'autoSizeMax' => 30, |
| 190 | 190 | 'maxitems' => 9999, |
| 191 | 191 | 'multiple' => 0, |
| 192 | - 'wizards' => array( |
|
| 192 | + 'wizards' => array ( |
|
| 193 | 193 | '_VERTICAL' => 1, |
| 194 | 194 | ), |
| 195 | - 'fieldControl' => array( |
|
| 196 | - 'editPopup' => array( |
|
| 195 | + 'fieldControl' => array ( |
|
| 196 | + 'editPopup' => array ( |
|
| 197 | 197 | 'disabled' => false, |
| 198 | 198 | ), |
| 199 | - 'addRecord' => array( |
|
| 199 | + 'addRecord' => array ( |
|
| 200 | 200 | 'disabled' => false, |
| 201 | - 'options' => array( |
|
| 201 | + 'options' => array ( |
|
| 202 | 202 | 'setValue' => 'prepend', |
| 203 | 203 | ), |
| 204 | 204 | ), |
| 205 | 205 | ), |
| 206 | 206 | ), |
| 207 | 207 | ), |
| 208 | - 'documenttype' => array( |
|
| 209 | - 'config' => array( |
|
| 208 | + 'documenttype' => array ( |
|
| 209 | + 'config' => array ( |
|
| 210 | 210 | 'type' => 'passthrough', |
| 211 | 211 | ), |
| 212 | 212 | ), |
@@ -16,8 +16,8 @@ discard block |
||
| 16 | 16 | die('Access denied.'); |
| 17 | 17 | } |
| 18 | 18 | |
| 19 | -return array( |
|
| 20 | - 'ctrl' => array( |
|
| 19 | +return array ( |
|
| 20 | + 'ctrl' => array ( |
|
| 21 | 21 | 'title' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_editinglock', |
| 22 | 22 | 'label' => 'document_identifier', |
| 23 | 23 | 'tstamp' => 'tstamp', |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | 'transOrigPointerField' => 'l10n_parent', |
| 29 | 29 | 'transOrigDiffSourceField' => 'l10n_diffsource', |
| 30 | 30 | //'delete' => 'deleted', |
| 31 | - 'enablecolumns' => array( |
|
| 31 | + 'enablecolumns' => array ( |
|
| 32 | 32 | 'disabled' => 'hidden', |
| 33 | 33 | 'starttime' => 'starttime', |
| 34 | 34 | 'endtime' => 'endtime', |
@@ -36,77 +36,77 @@ discard block |
||
| 36 | 36 | 'searchFields' => 'document_identifier, editor_uid', |
| 37 | 37 | 'iconfile' => 'EXT:dpf/Resources/Public/Icons/default.gif', |
| 38 | 38 | ), |
| 39 | - 'interface' => array( |
|
| 39 | + 'interface' => array ( |
|
| 40 | 40 | 'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, |
| 41 | 41 | document_identifier, editor_uid', |
| 42 | 42 | ), |
| 43 | - 'types' => array( |
|
| 44 | - '1' => array('showitem' => 'sys_language_uid,l10n_parent,l10n_diffsource,hidden,--palette--;;1, |
|
| 43 | + 'types' => array ( |
|
| 44 | + '1' => array ('showitem' => 'sys_language_uid,l10n_parent,l10n_diffsource,hidden,--palette--;;1, |
|
| 45 | 45 | document_identifier, editor_uid, |
| 46 | 46 | --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
| 47 | 47 | ), |
| 48 | - 'palettes' => array( |
|
| 49 | - '1' => array('showitem' => ''), |
|
| 48 | + 'palettes' => array ( |
|
| 49 | + '1' => array ('showitem' => ''), |
|
| 50 | 50 | ), |
| 51 | - 'columns' => array( |
|
| 51 | + 'columns' => array ( |
|
| 52 | 52 | |
| 53 | - 'sys_language_uid' => array( |
|
| 53 | + 'sys_language_uid' => array ( |
|
| 54 | 54 | 'exclude' => 1, |
| 55 | 55 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language', |
| 56 | - 'config' => array( |
|
| 56 | + 'config' => array ( |
|
| 57 | 57 | 'type' => 'select', |
| 58 | 58 | 'renderType' => 'selectSingle', |
| 59 | 59 | 'foreign_table' => 'sys_language', |
| 60 | 60 | 'foreign_table_where' => 'ORDER BY sys_language.title', |
| 61 | - 'items' => array( |
|
| 62 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 63 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 61 | + 'items' => array ( |
|
| 62 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 63 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 64 | 64 | ), |
| 65 | 65 | 'default' => 0, |
| 66 | 66 | ), |
| 67 | 67 | ), |
| 68 | - 'l10n_parent' => array( |
|
| 68 | + 'l10n_parent' => array ( |
|
| 69 | 69 | 'displayCond' => 'FIELD:sys_language_uid:>:0', |
| 70 | 70 | 'exclude' => 1, |
| 71 | 71 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent', |
| 72 | - 'config' => array( |
|
| 72 | + 'config' => array ( |
|
| 73 | 73 | 'type' => 'select', |
| 74 | 74 | 'renderType' => 'selectSingle', |
| 75 | - 'items' => array( |
|
| 76 | - array('', 0), |
|
| 75 | + 'items' => array ( |
|
| 76 | + array ('', 0), |
|
| 77 | 77 | ), |
| 78 | 78 | 'foreign_table' => 'tx_dpf_domain_model_editinglock', |
| 79 | 79 | 'foreign_table_where' => 'AND tx_dpf_domain_model_editinglock.pid=###CURRENT_PID### AND tx_dpf_domain_model_editinglock.sys_language_uid IN (-1,0)', |
| 80 | 80 | 'default' => 0, |
| 81 | 81 | ), |
| 82 | 82 | ), |
| 83 | - 'l10n_diffsource' => array( |
|
| 84 | - 'config' => array( |
|
| 83 | + 'l10n_diffsource' => array ( |
|
| 84 | + 'config' => array ( |
|
| 85 | 85 | 'type' => 'passthrough', |
| 86 | 86 | ), |
| 87 | 87 | ), |
| 88 | 88 | |
| 89 | - 't3ver_label' => array( |
|
| 89 | + 't3ver_label' => array ( |
|
| 90 | 90 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel', |
| 91 | - 'config' => array( |
|
| 91 | + 'config' => array ( |
|
| 92 | 92 | 'type' => 'input', |
| 93 | 93 | 'size' => 30, |
| 94 | 94 | 'max' => 255, |
| 95 | 95 | ), |
| 96 | 96 | ), |
| 97 | 97 | |
| 98 | - 'hidden' => array( |
|
| 98 | + 'hidden' => array ( |
|
| 99 | 99 | 'exclude' => 1, |
| 100 | 100 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden', |
| 101 | - 'config' => array( |
|
| 101 | + 'config' => array ( |
|
| 102 | 102 | 'type' => 'check', |
| 103 | 103 | ), |
| 104 | 104 | ), |
| 105 | - 'starttime' => array( |
|
| 105 | + 'starttime' => array ( |
|
| 106 | 106 | 'exclude' => 1, |
| 107 | 107 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime', |
| 108 | - 'config' => array( |
|
| 109 | - 'behaviour' => array( |
|
| 108 | + 'config' => array ( |
|
| 109 | + 'behaviour' => array ( |
|
| 110 | 110 | 'allowLanguageSynchronization' => true |
| 111 | 111 | ), |
| 112 | 112 | 'type' => 'input', |
@@ -115,16 +115,16 @@ discard block |
||
| 115 | 115 | 'eval' => 'datetime', |
| 116 | 116 | 'checkbox' => 0, |
| 117 | 117 | 'default' => 0, |
| 118 | - 'range' => array( |
|
| 118 | + 'range' => array ( |
|
| 119 | 119 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
| 120 | 120 | ), |
| 121 | 121 | ), |
| 122 | 122 | ), |
| 123 | - 'endtime' => array( |
|
| 123 | + 'endtime' => array ( |
|
| 124 | 124 | 'exclude' => 1, |
| 125 | 125 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime', |
| 126 | - 'config' => array( |
|
| 127 | - 'behaviour' => array( |
|
| 126 | + 'config' => array ( |
|
| 127 | + 'behaviour' => array ( |
|
| 128 | 128 | 'allowLanguageSynchronization' => true |
| 129 | 129 | ), |
| 130 | 130 | 'type' => 'input', |
@@ -133,25 +133,25 @@ discard block |
||
| 133 | 133 | 'eval' => 'datetime', |
| 134 | 134 | 'checkbox' => 0, |
| 135 | 135 | 'default' => 0, |
| 136 | - 'range' => array( |
|
| 136 | + 'range' => array ( |
|
| 137 | 137 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
| 138 | 138 | ), |
| 139 | 139 | ), |
| 140 | 140 | ), |
| 141 | - 'document_identifier' => array( |
|
| 141 | + 'document_identifier' => array ( |
|
| 142 | 142 | 'exclude' => 0, |
| 143 | 143 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_editinglock.document_identifier', |
| 144 | - 'config' => array( |
|
| 144 | + 'config' => array ( |
|
| 145 | 145 | 'type' => 'input', |
| 146 | 146 | 'size' => '30', |
| 147 | 147 | 'eval' => 'trim', |
| 148 | 148 | ), |
| 149 | 149 | ), |
| 150 | - 'editor_uid' => array( |
|
| 150 | + 'editor_uid' => array ( |
|
| 151 | 151 | 'exclude' => 1, |
| 152 | 152 | 'l10n_mode' => 'exclude', |
| 153 | 153 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_editinglock.editor_uid', |
| 154 | - 'config' => array( |
|
| 154 | + 'config' => array ( |
|
| 155 | 155 | 'type' => 'input', |
| 156 | 156 | 'size' => 30, |
| 157 | 157 | 'eval' => 'trim' |
@@ -16,8 +16,8 @@ discard block |
||
| 16 | 16 | die('Access denied.'); |
| 17 | 17 | } |
| 18 | 18 | |
| 19 | -return array( |
|
| 20 | - 'ctrl' => array( |
|
| 19 | +return array ( |
|
| 20 | + 'ctrl' => array ( |
|
| 21 | 21 | 'title' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document', |
| 22 | 22 | 'label' => 'title', |
| 23 | 23 | 'tstamp' => 'tstamp', |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | 'transOrigPointerField' => 'l10n_parent', |
| 29 | 29 | 'transOrigDiffSourceField' => 'l10n_diffsource', |
| 30 | 30 | 'delete' => 'deleted', |
| 31 | - 'enablecolumns' => array( |
|
| 31 | + 'enablecolumns' => array ( |
|
| 32 | 32 | 'disabled' => 'hidden', |
| 33 | 33 | 'starttime' => 'starttime', |
| 34 | 34 | 'endtime' => 'endtime', |
@@ -38,81 +38,81 @@ discard block |
||
| 38 | 38 | transfer_status, file, creator, temporary, remote_last_mod_date, automatic_embargo, creation_date', |
| 39 | 39 | 'iconfile' => 'EXT:dpf/Resources/Public/Icons/default.gif', |
| 40 | 40 | ), |
| 41 | - 'interface' => array( |
|
| 41 | + 'interface' => array ( |
|
| 42 | 42 | 'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, |
| 43 | 43 | title, authors, xml_data, slub_info_data, document_type, date_issued, process_number, valid, changed, |
| 44 | 44 | state, reserved_object_identifier, object_identifier, |
| 45 | 45 | transfer_status, file, creator, temporary, remote_last_mod_date, automatic_embargo, creation_date', |
| 46 | 46 | ), |
| 47 | - 'types' => array( |
|
| 48 | - '1' => array('showitem' => 'sys_language_uid,l10n_parent,l10n_diffsource,hidden,--palette--;;1, |
|
| 47 | + 'types' => array ( |
|
| 48 | + '1' => array ('showitem' => 'sys_language_uid,l10n_parent,l10n_diffsource,hidden,--palette--;;1, |
|
| 49 | 49 | title, authors, xml_data, slub_info_data, document_type, date_issued, process_number, valid, changed, |
| 50 | 50 | state, reserved_object_identifier, object_identifier, |
| 51 | 51 | transfer_status, file, creator, temporary, remote_last_mod_date, automatic_embargo, creation_date, |
| 52 | 52 | --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
| 53 | 53 | ), |
| 54 | - 'palettes' => array( |
|
| 55 | - '1' => array('showitem' => ''), |
|
| 54 | + 'palettes' => array ( |
|
| 55 | + '1' => array ('showitem' => ''), |
|
| 56 | 56 | ), |
| 57 | - 'columns' => array( |
|
| 57 | + 'columns' => array ( |
|
| 58 | 58 | |
| 59 | - 'sys_language_uid' => array( |
|
| 59 | + 'sys_language_uid' => array ( |
|
| 60 | 60 | 'exclude' => 1, |
| 61 | 61 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language', |
| 62 | - 'config' => array( |
|
| 62 | + 'config' => array ( |
|
| 63 | 63 | 'type' => 'select', |
| 64 | 64 | 'renderType' => 'selectSingle', |
| 65 | 65 | 'foreign_table' => 'sys_language', |
| 66 | 66 | 'foreign_table_where' => 'ORDER BY sys_language.title', |
| 67 | - 'items' => array( |
|
| 68 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 69 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 67 | + 'items' => array ( |
|
| 68 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 69 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 70 | 70 | ), |
| 71 | 71 | 'default' => 0, |
| 72 | 72 | ), |
| 73 | 73 | ), |
| 74 | - 'l10n_parent' => array( |
|
| 74 | + 'l10n_parent' => array ( |
|
| 75 | 75 | 'displayCond' => 'FIELD:sys_language_uid:>:0', |
| 76 | 76 | 'exclude' => 1, |
| 77 | 77 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent', |
| 78 | - 'config' => array( |
|
| 78 | + 'config' => array ( |
|
| 79 | 79 | 'type' => 'select', |
| 80 | 80 | 'renderType' => 'selectSingle', |
| 81 | - 'items' => array( |
|
| 82 | - array('', 0), |
|
| 81 | + 'items' => array ( |
|
| 82 | + array ('', 0), |
|
| 83 | 83 | ), |
| 84 | 84 | 'foreign_table' => 'tx_dpf_domain_model_document', |
| 85 | 85 | 'foreign_table_where' => 'AND tx_dpf_domain_model_document.pid=###CURRENT_PID### AND tx_dpf_domain_model_document.sys_language_uid IN (-1,0)', |
| 86 | 86 | 'default' => 0, |
| 87 | 87 | ), |
| 88 | 88 | ), |
| 89 | - 'l10n_diffsource' => array( |
|
| 90 | - 'config' => array( |
|
| 89 | + 'l10n_diffsource' => array ( |
|
| 90 | + 'config' => array ( |
|
| 91 | 91 | 'type' => 'passthrough', |
| 92 | 92 | ), |
| 93 | 93 | ), |
| 94 | 94 | |
| 95 | - 't3ver_label' => array( |
|
| 95 | + 't3ver_label' => array ( |
|
| 96 | 96 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel', |
| 97 | - 'config' => array( |
|
| 97 | + 'config' => array ( |
|
| 98 | 98 | 'type' => 'input', |
| 99 | 99 | 'size' => 30, |
| 100 | 100 | 'max' => 255, |
| 101 | 101 | ), |
| 102 | 102 | ), |
| 103 | 103 | |
| 104 | - 'hidden' => array( |
|
| 104 | + 'hidden' => array ( |
|
| 105 | 105 | 'exclude' => 1, |
| 106 | 106 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden', |
| 107 | - 'config' => array( |
|
| 107 | + 'config' => array ( |
|
| 108 | 108 | 'type' => 'check', |
| 109 | 109 | ), |
| 110 | 110 | ), |
| 111 | - 'starttime' => array( |
|
| 111 | + 'starttime' => array ( |
|
| 112 | 112 | 'exclude' => 1, |
| 113 | 113 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime', |
| 114 | - 'config' => array( |
|
| 115 | - 'behaviour' => array( |
|
| 114 | + 'config' => array ( |
|
| 115 | + 'behaviour' => array ( |
|
| 116 | 116 | 'allowLanguageSynchronization' => true |
| 117 | 117 | ), |
| 118 | 118 | 'type' => 'input', |
@@ -121,16 +121,16 @@ discard block |
||
| 121 | 121 | 'eval' => 'datetime', |
| 122 | 122 | 'checkbox' => 0, |
| 123 | 123 | 'default' => 0, |
| 124 | - 'range' => array( |
|
| 124 | + 'range' => array ( |
|
| 125 | 125 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
| 126 | 126 | ), |
| 127 | 127 | ), |
| 128 | 128 | ), |
| 129 | - 'endtime' => array( |
|
| 129 | + 'endtime' => array ( |
|
| 130 | 130 | 'exclude' => 1, |
| 131 | 131 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime', |
| 132 | - 'config' => array( |
|
| 133 | - 'behaviour' => array( |
|
| 132 | + 'config' => array ( |
|
| 133 | + 'behaviour' => array ( |
|
| 134 | 134 | 'allowLanguageSynchronization' => true |
| 135 | 135 | ), |
| 136 | 136 | 'type' => 'input', |
@@ -139,56 +139,56 @@ discard block |
||
| 139 | 139 | 'eval' => 'datetime', |
| 140 | 140 | 'checkbox' => 0, |
| 141 | 141 | 'default' => 0, |
| 142 | - 'range' => array( |
|
| 142 | + 'range' => array ( |
|
| 143 | 143 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
| 144 | 144 | ), |
| 145 | 145 | ), |
| 146 | 146 | ), |
| 147 | 147 | |
| 148 | - 'title' => array( |
|
| 148 | + 'title' => array ( |
|
| 149 | 149 | 'exclude' => 1, |
| 150 | 150 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.title', |
| 151 | - 'config' => array( |
|
| 151 | + 'config' => array ( |
|
| 152 | 152 | 'type' => 'input', |
| 153 | 153 | 'size' => 30, |
| 154 | 154 | 'eval' => 'trim', |
| 155 | 155 | ), |
| 156 | 156 | ), |
| 157 | 157 | |
| 158 | - 'authors' => array( |
|
| 158 | + 'authors' => array ( |
|
| 159 | 159 | 'exclude' => 1, |
| 160 | 160 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.authors', |
| 161 | - 'config' => array( |
|
| 161 | + 'config' => array ( |
|
| 162 | 162 | 'type' => 'input', |
| 163 | 163 | 'size' => 30, |
| 164 | 164 | 'eval' => 'trim', |
| 165 | 165 | ), |
| 166 | 166 | ), |
| 167 | 167 | |
| 168 | - 'xml_data' => array( |
|
| 168 | + 'xml_data' => array ( |
|
| 169 | 169 | 'exclude' => 1, |
| 170 | 170 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.xml_data', |
| 171 | - 'config' => array( |
|
| 171 | + 'config' => array ( |
|
| 172 | 172 | 'type' => 'text', |
| 173 | 173 | 'cols' => 40, |
| 174 | 174 | 'rows' => 15, |
| 175 | 175 | 'eval' => 'trim', |
| 176 | 176 | ), |
| 177 | 177 | ), |
| 178 | - 'slub_info_data' => array( |
|
| 178 | + 'slub_info_data' => array ( |
|
| 179 | 179 | 'exclude' => 1, |
| 180 | 180 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.slub_info_data', |
| 181 | - 'config' => array( |
|
| 181 | + 'config' => array ( |
|
| 182 | 182 | 'type' => 'text', |
| 183 | 183 | 'cols' => 40, |
| 184 | 184 | 'rows' => 15, |
| 185 | 185 | 'eval' => 'trim', |
| 186 | 186 | ), |
| 187 | 187 | ), |
| 188 | - 'document_type' => array( |
|
| 188 | + 'document_type' => array ( |
|
| 189 | 189 | 'exclude' => 1, |
| 190 | 190 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.document_type', |
| 191 | - 'config' => array( |
|
| 191 | + 'config' => array ( |
|
| 192 | 192 | 'type' => 'select', |
| 193 | 193 | 'renderType' => 'selectSingle', |
| 194 | 194 | 'foreign_table' => 'tx_dpf_domain_model_documenttype', |
@@ -198,120 +198,120 @@ discard block |
||
| 198 | 198 | ), |
| 199 | 199 | ), |
| 200 | 200 | |
| 201 | - 'crdate' => array( |
|
| 202 | - 'config' => array( |
|
| 201 | + 'crdate' => array ( |
|
| 202 | + 'config' => array ( |
|
| 203 | 203 | 'type' => 'passthrough', |
| 204 | 204 | ), |
| 205 | 205 | ), |
| 206 | 206 | |
| 207 | - 'tstamp' => array( |
|
| 208 | - 'config' => array( |
|
| 207 | + 'tstamp' => array ( |
|
| 208 | + 'config' => array ( |
|
| 209 | 209 | 'type' => 'passthrough', |
| 210 | 210 | ), |
| 211 | 211 | ), |
| 212 | 212 | |
| 213 | - 'transfer_status' => array( |
|
| 213 | + 'transfer_status' => array ( |
|
| 214 | 214 | 'exclude' => 0, |
| 215 | 215 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.transfer_status', |
| 216 | - 'config' => array( |
|
| 216 | + 'config' => array ( |
|
| 217 | 217 | 'type' => 'input', |
| 218 | 218 | 'size' => '30', |
| 219 | 219 | 'eval' => 'trim', |
| 220 | 220 | ), |
| 221 | 221 | ), |
| 222 | 222 | |
| 223 | - 'object_identifier' => array( |
|
| 223 | + 'object_identifier' => array ( |
|
| 224 | 224 | 'exclude' => 0, |
| 225 | 225 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.object_identifier', |
| 226 | - 'config' => array( |
|
| 226 | + 'config' => array ( |
|
| 227 | 227 | 'type' => 'input', |
| 228 | 228 | 'size' => '30', |
| 229 | 229 | 'eval' => 'trim', |
| 230 | 230 | ), |
| 231 | 231 | ), |
| 232 | 232 | |
| 233 | - 'reserved_object_identifier' => array( |
|
| 233 | + 'reserved_object_identifier' => array ( |
|
| 234 | 234 | 'exclude' => 0, |
| 235 | 235 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.reserved_object_identifier', |
| 236 | - 'config' => array( |
|
| 236 | + 'config' => array ( |
|
| 237 | 237 | 'type' => 'input', |
| 238 | 238 | 'size' => '30', |
| 239 | 239 | 'eval' => 'trim', |
| 240 | 240 | ), |
| 241 | 241 | ), |
| 242 | 242 | |
| 243 | - 'process_number' => array( |
|
| 243 | + 'process_number' => array ( |
|
| 244 | 244 | 'exclude' => 0, |
| 245 | 245 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.process_number', |
| 246 | - 'config' => array( |
|
| 246 | + 'config' => array ( |
|
| 247 | 247 | 'type' => 'input', |
| 248 | 248 | 'size' => '30', |
| 249 | 249 | 'eval' => 'trim', |
| 250 | 250 | ), |
| 251 | 251 | ), |
| 252 | 252 | |
| 253 | - 'state' => array( |
|
| 253 | + 'state' => array ( |
|
| 254 | 254 | 'exclude' => 0, |
| 255 | 255 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.state', |
| 256 | - 'config' => array( |
|
| 256 | + 'config' => array ( |
|
| 257 | 257 | 'type' => 'input', |
| 258 | 258 | 'size' => '30', |
| 259 | 259 | 'eval' => 'trim', |
| 260 | 260 | ), |
| 261 | 261 | ), |
| 262 | 262 | |
| 263 | - 'remote_last_mod_date' => array( |
|
| 263 | + 'remote_last_mod_date' => array ( |
|
| 264 | 264 | 'exclude' => 1, |
| 265 | 265 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.remote_last_mod_date', |
| 266 | - 'config' => array( |
|
| 266 | + 'config' => array ( |
|
| 267 | 267 | 'type' => 'input', |
| 268 | 268 | 'size' => 30, |
| 269 | 269 | 'eval' => 'trim', |
| 270 | 270 | ), |
| 271 | 271 | ), |
| 272 | 272 | |
| 273 | - 'changed' => array( |
|
| 273 | + 'changed' => array ( |
|
| 274 | 274 | 'exclude' => 1, |
| 275 | 275 | 'l10n_mode' => 'exclude', |
| 276 | 276 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.changed', |
| 277 | - 'config' => array( |
|
| 277 | + 'config' => array ( |
|
| 278 | 278 | 'type' => 'check', |
| 279 | 279 | 'default' => 0, |
| 280 | 280 | ), |
| 281 | 281 | ), |
| 282 | 282 | |
| 283 | - 'valid' => array( |
|
| 283 | + 'valid' => array ( |
|
| 284 | 284 | 'exclude' => 1, |
| 285 | 285 | 'l10n_mode' => 'exclude', |
| 286 | 286 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.valid', |
| 287 | - 'config' => array( |
|
| 287 | + 'config' => array ( |
|
| 288 | 288 | 'type' => 'check', |
| 289 | 289 | 'default' => 0, |
| 290 | 290 | ), |
| 291 | 291 | ), |
| 292 | 292 | |
| 293 | - 'date_issued' => array( |
|
| 293 | + 'date_issued' => array ( |
|
| 294 | 294 | 'exclude' => 1, |
| 295 | 295 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.date_issued', |
| 296 | - 'config' => array( |
|
| 296 | + 'config' => array ( |
|
| 297 | 297 | 'type' => 'input', |
| 298 | 298 | 'size' => 30, |
| 299 | 299 | 'eval' => 'trim', |
| 300 | 300 | ), |
| 301 | 301 | ), |
| 302 | 302 | |
| 303 | - 'file' => array( |
|
| 303 | + 'file' => array ( |
|
| 304 | 304 | 'exclude' => 1, |
| 305 | 305 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.file', |
| 306 | - 'config' => array( |
|
| 306 | + 'config' => array ( |
|
| 307 | 307 | 'type' => 'inline', |
| 308 | 308 | 'foreign_table' => 'tx_dpf_domain_model_file', |
| 309 | 309 | 'foreign_field' => 'document', |
| 310 | - 'behaviour' => array( |
|
| 310 | + 'behaviour' => array ( |
|
| 311 | 311 | 'disableMovingChildrenWithParent' => 1, |
| 312 | 312 | ), |
| 313 | 313 | 'maxitems' => 9999, |
| 314 | - 'appearance' => array( |
|
| 314 | + 'appearance' => array ( |
|
| 315 | 315 | 'collapseAll' => 0, |
| 316 | 316 | 'levelLinksPosition' => 'top', |
| 317 | 317 | 'showSynchronizationLink' => 1, |
@@ -322,13 +322,13 @@ discard block |
||
| 322 | 322 | |
| 323 | 323 | ), |
| 324 | 324 | |
| 325 | - 'creator' => array( |
|
| 325 | + 'creator' => array ( |
|
| 326 | 326 | 'exclude' => 1, |
| 327 | 327 | 'label' => 'Creator', |
| 328 | - 'config' => array( |
|
| 328 | + 'config' => array ( |
|
| 329 | 329 | 'type' => 'select', |
| 330 | 330 | 'items' => array ( |
| 331 | - array('', 0), |
|
| 331 | + array ('', 0), |
|
| 332 | 332 | ), |
| 333 | 333 | 'renderType' => 'selectSingle', |
| 334 | 334 | 'foreign_table' => 'fe_users', |
@@ -338,70 +338,70 @@ discard block |
||
| 338 | 338 | ), |
| 339 | 339 | ), |
| 340 | 340 | |
| 341 | - 'creation_date' => array( |
|
| 341 | + 'creation_date' => array ( |
|
| 342 | 342 | 'exclude' => 1, |
| 343 | 343 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.creation_date', |
| 344 | - 'config' => array( |
|
| 344 | + 'config' => array ( |
|
| 345 | 345 | 'type' => 'input', |
| 346 | 346 | 'size' => 30, |
| 347 | 347 | 'eval' => 'trim', |
| 348 | 348 | ), |
| 349 | 349 | ), |
| 350 | 350 | |
| 351 | - 'temporary' => array( |
|
| 351 | + 'temporary' => array ( |
|
| 352 | 352 | 'exclude' => 1, |
| 353 | 353 | 'l10n_mode' => 'exclude', |
| 354 | 354 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.temporary', |
| 355 | - 'config' => array( |
|
| 355 | + 'config' => array ( |
|
| 356 | 356 | 'type' => 'check', |
| 357 | 357 | 'default' => 0, |
| 358 | 358 | ), |
| 359 | 359 | ), |
| 360 | 360 | |
| 361 | 361 | |
| 362 | - 'suggestion' => array( |
|
| 362 | + 'suggestion' => array ( |
|
| 363 | 363 | 'exclude' => 1, |
| 364 | 364 | 'l10n_mode' => 'exclude', |
| 365 | 365 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.suggestion', |
| 366 | - 'config' => array( |
|
| 366 | + 'config' => array ( |
|
| 367 | 367 | 'type' => 'check', |
| 368 | 368 | 'default' => 0, |
| 369 | 369 | ), |
| 370 | 370 | ), |
| 371 | 371 | |
| 372 | - 'linked_uid' => array( |
|
| 372 | + 'linked_uid' => array ( |
|
| 373 | 373 | 'exclude' => 1, |
| 374 | 374 | 'l10n_mode' => 'exclude', |
| 375 | 375 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.linked_uid', |
| 376 | - 'config' => array( |
|
| 376 | + 'config' => array ( |
|
| 377 | 377 | 'type' => 'check' |
| 378 | 378 | ), |
| 379 | 379 | ), |
| 380 | 380 | |
| 381 | - 'comment' => array( |
|
| 381 | + 'comment' => array ( |
|
| 382 | 382 | 'exclude' => 1, |
| 383 | 383 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.comment', |
| 384 | - 'config' => array( |
|
| 384 | + 'config' => array ( |
|
| 385 | 385 | 'type' => 'input', |
| 386 | 386 | 'size' => 30, |
| 387 | 387 | 'eval' => 'trim', |
| 388 | 388 | ), |
| 389 | 389 | ), |
| 390 | 390 | |
| 391 | - 'automatic_embargo' => array( |
|
| 391 | + 'automatic_embargo' => array ( |
|
| 392 | 392 | 'exclude' => 1, |
| 393 | 393 | 'l10n_mode' => 'exclude', |
| 394 | 394 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.automatic_embargo', |
| 395 | - 'config' => array( |
|
| 395 | + 'config' => array ( |
|
| 396 | 396 | 'type' => 'check', |
| 397 | 397 | 'default' => 0, |
| 398 | 398 | ), |
| 399 | 399 | ), |
| 400 | 400 | |
| 401 | - 'embargo_date' => array( |
|
| 401 | + 'embargo_date' => array ( |
|
| 402 | 402 | 'exclude' => 1, |
| 403 | 403 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.embargo_date', |
| 404 | - 'config' => array( |
|
| 404 | + 'config' => array ( |
|
| 405 | 405 | 'type' => 'input', |
| 406 | 406 | 'renderType' => 'inputDateTime', |
| 407 | 407 | 'size' => 10, |
@@ -410,8 +410,8 @@ discard block |
||
| 410 | 410 | 'default' => time(), |
| 411 | 411 | ), |
| 412 | 412 | ), |
| 413 | - 'pid' => array( |
|
| 414 | - 'config' => array( |
|
| 413 | + 'pid' => array ( |
|
| 414 | + 'config' => array ( |
|
| 415 | 415 | 'type' => 'passthrough', |
| 416 | 416 | ) |
| 417 | 417 | ), |
@@ -16,8 +16,8 @@ discard block |
||
| 16 | 16 | die('Access denied.'); |
| 17 | 17 | } |
| 18 | 18 | |
| 19 | -return array( |
|
| 20 | - 'ctrl' => array( |
|
| 19 | +return array ( |
|
| 20 | + 'ctrl' => array ( |
|
| 21 | 21 | 'title' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_processnumber', |
| 22 | 22 | 'label' => 'owner_id', |
| 23 | 23 | 'tstamp' => 'tstamp', |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | 'transOrigPointerField' => 'l10n_parent', |
| 29 | 29 | 'transOrigDiffSourceField' => 'l10n_diffsource', |
| 30 | 30 | 'delete' => 'deleted', |
| 31 | - 'enablecolumns' => array( |
|
| 31 | + 'enablecolumns' => array ( |
|
| 32 | 32 | 'disabled' => 'hidden', |
| 33 | 33 | 'starttime' => 'starttime', |
| 34 | 34 | 'endtime' => 'endtime', |
@@ -36,74 +36,74 @@ discard block |
||
| 36 | 36 | 'searchFields' => 'owner_id, year, counter', |
| 37 | 37 | 'iconfile' => 'EXT:dpf/Resources/Public/Icons/default.gif', |
| 38 | 38 | ), |
| 39 | - 'interface' => array( |
|
| 39 | + 'interface' => array ( |
|
| 40 | 40 | 'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, owner_id, year, counter' |
| 41 | 41 | ), |
| 42 | - 'types' => array( |
|
| 43 | - '1' => array('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1, owner_id, year, counter, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
|
| 42 | + 'types' => array ( |
|
| 43 | + '1' => array ('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1, owner_id, year, counter, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
|
| 44 | 44 | ), |
| 45 | - 'palettes' => array( |
|
| 46 | - '1' => array('showitem' => ''), |
|
| 45 | + 'palettes' => array ( |
|
| 46 | + '1' => array ('showitem' => ''), |
|
| 47 | 47 | ), |
| 48 | - 'columns' => array( |
|
| 48 | + 'columns' => array ( |
|
| 49 | 49 | |
| 50 | - 'sys_language_uid' => array( |
|
| 50 | + 'sys_language_uid' => array ( |
|
| 51 | 51 | 'exclude' => 1, |
| 52 | 52 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language', |
| 53 | - 'config' => array( |
|
| 53 | + 'config' => array ( |
|
| 54 | 54 | 'type' => 'select', |
| 55 | 55 | 'renderType' => 'selectSingle', |
| 56 | 56 | 'foreign_table' => 'sys_language', |
| 57 | 57 | 'foreign_table_where' => 'ORDER BY sys_language.title', |
| 58 | - 'items' => array( |
|
| 59 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 60 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 58 | + 'items' => array ( |
|
| 59 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 60 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 61 | 61 | ), |
| 62 | 62 | 'default' => 0, |
| 63 | 63 | ), |
| 64 | 64 | ), |
| 65 | - 'l10n_parent' => array( |
|
| 65 | + 'l10n_parent' => array ( |
|
| 66 | 66 | 'displayCond' => 'FIELD:sys_language_uid:>:0', |
| 67 | 67 | 'exclude' => 1, |
| 68 | 68 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent', |
| 69 | - 'config' => array( |
|
| 69 | + 'config' => array ( |
|
| 70 | 70 | 'type' => 'select', |
| 71 | 71 | 'renderType' => 'selectSingle', |
| 72 | - 'items' => array( |
|
| 73 | - array('', 0), |
|
| 72 | + 'items' => array ( |
|
| 73 | + array ('', 0), |
|
| 74 | 74 | ), |
| 75 | 75 | 'foreign_table' => 'tx_dpf_domain_model_processnumber', |
| 76 | 76 | 'foreign_table_where' => 'AND tx_dpf_domain_model_processnumber.pid=###CURRENT_PID### AND tx_dpf_domain_model_processnumber.sys_language_uid IN (-1,0)', |
| 77 | 77 | 'default' => 0, |
| 78 | 78 | ), |
| 79 | 79 | ), |
| 80 | - 'l10n_diffsource' => array( |
|
| 81 | - 'config' => array( |
|
| 80 | + 'l10n_diffsource' => array ( |
|
| 81 | + 'config' => array ( |
|
| 82 | 82 | 'type' => 'passthrough', |
| 83 | 83 | ), |
| 84 | 84 | ), |
| 85 | 85 | |
| 86 | - 't3ver_label' => array( |
|
| 86 | + 't3ver_label' => array ( |
|
| 87 | 87 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel', |
| 88 | - 'config' => array( |
|
| 88 | + 'config' => array ( |
|
| 89 | 89 | 'type' => 'input', |
| 90 | 90 | 'size' => 30, |
| 91 | 91 | 'max' => 255, |
| 92 | 92 | ), |
| 93 | 93 | ), |
| 94 | 94 | |
| 95 | - 'hidden' => array( |
|
| 95 | + 'hidden' => array ( |
|
| 96 | 96 | 'exclude' => 1, |
| 97 | 97 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden', |
| 98 | - 'config' => array( |
|
| 98 | + 'config' => array ( |
|
| 99 | 99 | 'type' => 'check', |
| 100 | 100 | ), |
| 101 | 101 | ), |
| 102 | - 'starttime' => array( |
|
| 102 | + 'starttime' => array ( |
|
| 103 | 103 | 'exclude' => 1, |
| 104 | 104 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime', |
| 105 | - 'config' => array( |
|
| 106 | - 'behaviour' => array( |
|
| 105 | + 'config' => array ( |
|
| 106 | + 'behaviour' => array ( |
|
| 107 | 107 | 'allowLanguageSynchronization' => true |
| 108 | 108 | ), |
| 109 | 109 | 'type' => 'input', |
@@ -112,16 +112,16 @@ discard block |
||
| 112 | 112 | 'eval' => 'datetime', |
| 113 | 113 | 'checkbox' => 0, |
| 114 | 114 | 'default' => 0, |
| 115 | - 'range' => array( |
|
| 115 | + 'range' => array ( |
|
| 116 | 116 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
| 117 | 117 | ), |
| 118 | 118 | ), |
| 119 | 119 | ), |
| 120 | - 'endtime' => array( |
|
| 120 | + 'endtime' => array ( |
|
| 121 | 121 | 'exclude' => 1, |
| 122 | 122 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime', |
| 123 | - 'config' => array( |
|
| 124 | - 'behaviour' => array( |
|
| 123 | + 'config' => array ( |
|
| 124 | + 'behaviour' => array ( |
|
| 125 | 125 | 'allowLanguageSynchronization' => true |
| 126 | 126 | ), |
| 127 | 127 | 'type' => 'input', |
@@ -130,39 +130,39 @@ discard block |
||
| 130 | 130 | 'eval' => 'datetime', |
| 131 | 131 | 'checkbox' => 0, |
| 132 | 132 | 'default' => 0, |
| 133 | - 'range' => array( |
|
| 133 | + 'range' => array ( |
|
| 134 | 134 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
| 135 | 135 | ), |
| 136 | 136 | ), |
| 137 | 137 | ), |
| 138 | 138 | |
| 139 | - 'owner_id' => array( |
|
| 139 | + 'owner_id' => array ( |
|
| 140 | 140 | 'exclude' => 1, |
| 141 | 141 | 'l10n_mode' => 'exclude', |
| 142 | 142 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_processnumber.owner_id', |
| 143 | - 'config' => array( |
|
| 143 | + 'config' => array ( |
|
| 144 | 144 | 'type' => 'input', |
| 145 | 145 | 'size' => 4, |
| 146 | 146 | 'max' => 4, |
| 147 | 147 | 'eval' => 'trim,required', |
| 148 | 148 | ), |
| 149 | 149 | ), |
| 150 | - 'year' => array( |
|
| 150 | + 'year' => array ( |
|
| 151 | 151 | 'exclude' => 1, |
| 152 | 152 | 'l10n_mode' => 'exclude', |
| 153 | 153 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_processnumber.year', |
| 154 | - 'config' => array( |
|
| 154 | + 'config' => array ( |
|
| 155 | 155 | 'type' => 'input', |
| 156 | 156 | 'size' => 4, |
| 157 | 157 | 'max' => 2, |
| 158 | 158 | 'eval' => 'trim,required', |
| 159 | 159 | ), |
| 160 | 160 | ), |
| 161 | - 'counter' => array( |
|
| 161 | + 'counter' => array ( |
|
| 162 | 162 | 'exclude' => 1, |
| 163 | 163 | 'l10n_mode' => 'exclude', |
| 164 | 164 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_processnumber.counter', |
| 165 | - 'config' => array( |
|
| 165 | + 'config' => array ( |
|
| 166 | 166 | 'type' => 'input', |
| 167 | 167 | 'size' => 30, |
| 168 | 168 | 'eval' => 'trim,required', |
@@ -16,8 +16,8 @@ discard block |
||
| 16 | 16 | die('Access denied.'); |
| 17 | 17 | } |
| 18 | 18 | |
| 19 | -return array( |
|
| 20 | - 'ctrl' => array( |
|
| 19 | +return array ( |
|
| 20 | + 'ctrl' => array ( |
|
| 21 | 21 | 'title' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype', |
| 22 | 22 | 'label' => 'display_name', |
| 23 | 23 | 'tstamp' => 'tstamp', |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | 'transOrigPointerField' => 'l10n_parent', |
| 29 | 29 | 'transOrigDiffSourceField' => 'l10n_diffsource', |
| 30 | 30 | 'delete' => 'deleted', |
| 31 | - 'enablecolumns' => array( |
|
| 31 | + 'enablecolumns' => array ( |
|
| 32 | 32 | 'disabled' => 'hidden', |
| 33 | 33 | 'starttime' => 'starttime', |
| 34 | 34 | 'endtime' => 'endtime', |
@@ -38,97 +38,97 @@ discard block |
||
| 38 | 38 | pubmed_transformation, pubmed_types, bibtex_transformation, bibtex_types, riswos_transformation, riswos_types, metadata_page', |
| 39 | 39 | 'iconfile' => 'EXT:dpf/Resources/Public/Icons/default.gif', |
| 40 | 40 | ), |
| 41 | - 'interface' => array( |
|
| 41 | + 'interface' => array ( |
|
| 42 | 42 | 'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, |
| 43 | 43 | name, display_name, virtual_type, hidden_in_list, transformation_file_output, transformation_file_input, crossref_transformation, crossref_types, |
| 44 | 44 | datacite_transformation, datacite_types, k10plus_transformation, |
| 45 | 45 | pubmed_transformation, pubmed_types, bibtex_transformation, bibtex_types, riswos_transformation, riswos_types, metadata_page', |
| 46 | 46 | ), |
| 47 | - 'types' => array( |
|
| 48 | - '1' => array('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1, |
|
| 47 | + 'types' => array ( |
|
| 48 | + '1' => array ('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1, |
|
| 49 | 49 | name, display_name, virtual_type, hidden_in_list, transformation_file_output, transformation_file_input, crossref_transformation, crossref_types, |
| 50 | 50 | datacite_transformation, datacite_types, k10plus_transformation, |
| 51 | 51 | pubmed_transformation, pubmed_types, bibtex_transformation, bibtex_types, riswos_transformation, riswos_types, metadata_page, |
| 52 | 52 | --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
| 53 | 53 | ), |
| 54 | - 'palettes' => array( |
|
| 55 | - '1' => array('showitem' => ''), |
|
| 54 | + 'palettes' => array ( |
|
| 55 | + '1' => array ('showitem' => ''), |
|
| 56 | 56 | ), |
| 57 | - 'columns' => array( |
|
| 57 | + 'columns' => array ( |
|
| 58 | 58 | |
| 59 | - 'sys_language_uid' => array( |
|
| 59 | + 'sys_language_uid' => array ( |
|
| 60 | 60 | 'exclude' => 1, |
| 61 | 61 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language', |
| 62 | - 'config' => array( |
|
| 62 | + 'config' => array ( |
|
| 63 | 63 | 'type' => 'select', |
| 64 | 64 | 'renderType' => 'selectSingle', |
| 65 | 65 | 'foreign_table' => 'sys_language', |
| 66 | 66 | 'foreign_table_where' => 'ORDER BY sys_language.title', |
| 67 | - 'items' => array( |
|
| 68 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 69 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 67 | + 'items' => array ( |
|
| 68 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 69 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 70 | 70 | ), |
| 71 | 71 | 'default' => 0, |
| 72 | 72 | ), |
| 73 | 73 | ), |
| 74 | - 'l10n_parent' => array( |
|
| 74 | + 'l10n_parent' => array ( |
|
| 75 | 75 | 'displayCond' => 'FIELD:sys_language_uid:>:0', |
| 76 | 76 | 'exclude' => 1, |
| 77 | 77 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent', |
| 78 | - 'config' => array( |
|
| 78 | + 'config' => array ( |
|
| 79 | 79 | 'type' => 'select', |
| 80 | 80 | 'renderType' => 'selectSingle', |
| 81 | - 'items' => array( |
|
| 82 | - array('', 0), |
|
| 81 | + 'items' => array ( |
|
| 82 | + array ('', 0), |
|
| 83 | 83 | ), |
| 84 | 84 | 'foreign_table' => 'tx_dpf_domain_model_documenttype', |
| 85 | 85 | 'foreign_table_where' => 'AND tx_dpf_domain_model_documenttype.pid=###CURRENT_PID### AND tx_dpf_domain_model_documenttype.sys_language_uid IN (-1,0)', |
| 86 | 86 | 'default' => 0, |
| 87 | 87 | ), |
| 88 | 88 | ), |
| 89 | - 'l10n_diffsource' => array( |
|
| 90 | - 'config' => array( |
|
| 89 | + 'l10n_diffsource' => array ( |
|
| 90 | + 'config' => array ( |
|
| 91 | 91 | 'type' => 'passthrough', |
| 92 | 92 | ), |
| 93 | 93 | ), |
| 94 | 94 | |
| 95 | - 't3ver_label' => array( |
|
| 95 | + 't3ver_label' => array ( |
|
| 96 | 96 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel', |
| 97 | - 'config' => array( |
|
| 97 | + 'config' => array ( |
|
| 98 | 98 | 'type' => 'input', |
| 99 | 99 | 'size' => 30, |
| 100 | 100 | 'max' => 255, |
| 101 | 101 | ), |
| 102 | 102 | ), |
| 103 | 103 | |
| 104 | - 'hidden' => array( |
|
| 104 | + 'hidden' => array ( |
|
| 105 | 105 | 'exclude' => 1, |
| 106 | 106 | 'l10n_mode' => 'exclude', |
| 107 | 107 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden', |
| 108 | - 'config' => array( |
|
| 108 | + 'config' => array ( |
|
| 109 | 109 | 'type' => 'check', |
| 110 | 110 | ), |
| 111 | 111 | ), |
| 112 | - 'starttime' => array( |
|
| 112 | + 'starttime' => array ( |
|
| 113 | 113 | 'exclude' => 1, |
| 114 | 114 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime', |
| 115 | - 'config' => array( |
|
| 115 | + 'config' => array ( |
|
| 116 | 116 | 'type' => 'input', |
| 117 | 117 | 'renderType' => 'inputDateTime', |
| 118 | 118 | 'size' => 13, |
| 119 | 119 | 'eval' => 'datetime', |
| 120 | 120 | 'checkbox' => 0, |
| 121 | 121 | 'default' => 0, |
| 122 | - 'range' => array( |
|
| 122 | + 'range' => array ( |
|
| 123 | 123 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
| 124 | 124 | ), |
| 125 | 125 | ), |
| 126 | 126 | ), |
| 127 | - 'endtime' => array( |
|
| 127 | + 'endtime' => array ( |
|
| 128 | 128 | 'exclude' => 1, |
| 129 | 129 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime', |
| 130 | - 'config' => array( |
|
| 131 | - 'behaviour' => array( |
|
| 130 | + 'config' => array ( |
|
| 131 | + 'behaviour' => array ( |
|
| 132 | 132 | 'allowLanguageSynchronization' => true |
| 133 | 133 | ), |
| 134 | 134 | 'type' => 'input', |
@@ -137,44 +137,44 @@ discard block |
||
| 137 | 137 | 'eval' => 'datetime', |
| 138 | 138 | 'checkbox' => 0, |
| 139 | 139 | 'default' => 0, |
| 140 | - 'range' => array( |
|
| 140 | + 'range' => array ( |
|
| 141 | 141 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
| 142 | 142 | ), |
| 143 | 143 | ), |
| 144 | 144 | ), |
| 145 | - 'name' => array( |
|
| 145 | + 'name' => array ( |
|
| 146 | 146 | 'exclude' => 1, |
| 147 | 147 | 'l10n_mode' => 'exclude', |
| 148 | 148 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.name', |
| 149 | - 'config' => array( |
|
| 149 | + 'config' => array ( |
|
| 150 | 150 | 'type' => 'input', |
| 151 | 151 | 'size' => 30, |
| 152 | 152 | 'eval' => 'trim,uniqueInPid', |
| 153 | 153 | ), |
| 154 | 154 | ), |
| 155 | - 'display_name' => array( |
|
| 155 | + 'display_name' => array ( |
|
| 156 | 156 | 'exclude' => 1, |
| 157 | 157 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.display_name', |
| 158 | - 'config' => array( |
|
| 158 | + 'config' => array ( |
|
| 159 | 159 | 'type' => 'input', |
| 160 | 160 | 'size' => 30, |
| 161 | 161 | 'eval' => 'trim', |
| 162 | 162 | ), |
| 163 | 163 | ), |
| 164 | - 'virtual_type' => array( |
|
| 164 | + 'virtual_type' => array ( |
|
| 165 | 165 | 'exclude' => 1, |
| 166 | 166 | 'l10n_mode' => 'exclude', |
| 167 | 167 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.virtual_type', |
| 168 | - 'config' => array( |
|
| 168 | + 'config' => array ( |
|
| 169 | 169 | 'type' => 'check', |
| 170 | 170 | 'default' => 0, |
| 171 | 171 | ), |
| 172 | 172 | ), |
| 173 | - 'hidden_in_list' => array( |
|
| 173 | + 'hidden_in_list' => array ( |
|
| 174 | 174 | 'exclude' => 1, |
| 175 | 175 | 'l10n_mode' => 'exclude', |
| 176 | 176 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.hidden_in_list', |
| 177 | - 'config' => array( |
|
| 177 | + 'config' => array ( |
|
| 178 | 178 | 'type' => 'check', |
| 179 | 179 | 'default' => 0, |
| 180 | 180 | ), |
@@ -184,8 +184,8 @@ discard block |
||
| 184 | 184 | 'l10n_mode' => 'exclude', |
| 185 | 185 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.transformation_file_output', |
| 186 | 186 | 'config' => [ |
| 187 | - 'items' => array( |
|
| 188 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation',0) |
|
| 187 | + 'items' => array ( |
|
| 188 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation', 0) |
|
| 189 | 189 | ), |
| 190 | 190 | 'type' => 'select', |
| 191 | 191 | 'renderType' => 'selectSingle', |
@@ -200,8 +200,8 @@ discard block |
||
| 200 | 200 | 'l10n_mode' => 'exclude', |
| 201 | 201 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.transformation_file_input', |
| 202 | 202 | 'config' => [ |
| 203 | - 'items' => array( |
|
| 204 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation',0) |
|
| 203 | + 'items' => array ( |
|
| 204 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation', 0) |
|
| 205 | 205 | ), |
| 206 | 206 | 'type' => 'select', |
| 207 | 207 | 'renderType' => 'selectSingle', |
@@ -211,21 +211,21 @@ discard block |
||
| 211 | 211 | 'default' => 0, |
| 212 | 212 | ], |
| 213 | 213 | ], |
| 214 | - 'metadata_page' => array( |
|
| 214 | + 'metadata_page' => array ( |
|
| 215 | 215 | 'exclude' => 1, |
| 216 | 216 | 'l10n_mode' => 'exclude', |
| 217 | 217 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.metadata_page', |
| 218 | - 'config' => array( |
|
| 218 | + 'config' => array ( |
|
| 219 | 219 | 'type' => 'inline', |
| 220 | 220 | 'foreign_table' => 'tx_dpf_domain_model_metadatapage', |
| 221 | 221 | 'foreign_field' => 'documenttype', |
| 222 | 222 | 'foreign_label' => 'display_name', |
| 223 | 223 | 'foreign_sortby' => 'page_number', |
| 224 | - 'behaviour' => array( |
|
| 224 | + 'behaviour' => array ( |
|
| 225 | 225 | 'disableMovingChildrenWithParent' => 1, |
| 226 | 226 | ), |
| 227 | 227 | 'maxitems' => 9999, |
| 228 | - 'appearance' => array( |
|
| 228 | + 'appearance' => array ( |
|
| 229 | 229 | 'collapseAll' => 0, |
| 230 | 230 | 'levelLinksPosition' => 'top', |
| 231 | 231 | 'showSynchronizationLink' => 1, |
@@ -239,8 +239,8 @@ discard block |
||
| 239 | 239 | 'l10n_mode' => 'exclude', |
| 240 | 240 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.crossref_transformation', |
| 241 | 241 | 'config' => [ |
| 242 | - 'items' => array( |
|
| 243 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation',0) |
|
| 242 | + 'items' => array ( |
|
| 243 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation', 0) |
|
| 244 | 244 | ), |
| 245 | 245 | 'type' => 'select', |
| 246 | 246 | 'renderType' => 'selectSingle', |
@@ -250,11 +250,11 @@ discard block |
||
| 250 | 250 | 'default' => 0, |
| 251 | 251 | ], |
| 252 | 252 | ], |
| 253 | - 'crossref_types' => array( |
|
| 253 | + 'crossref_types' => array ( |
|
| 254 | 254 | 'exclude' => 1, |
| 255 | 255 | 'l10n_mode' => 'exclude', |
| 256 | 256 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.crossref_types', |
| 257 | - 'config' => array( |
|
| 257 | + 'config' => array ( |
|
| 258 | 258 | 'type' => 'select', |
| 259 | 259 | 'renderType' => 'selectMultipleSideBySide', |
| 260 | 260 | 'size' => 10, |
@@ -269,8 +269,8 @@ discard block |
||
| 269 | 269 | 'l10n_mode' => 'exclude', |
| 270 | 270 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.datacite_transformation', |
| 271 | 271 | 'config' => [ |
| 272 | - 'items' => array( |
|
| 273 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation',0) |
|
| 272 | + 'items' => array ( |
|
| 273 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation', 0) |
|
| 274 | 274 | ), |
| 275 | 275 | 'type' => 'select', |
| 276 | 276 | 'renderType' => 'selectSingle', |
@@ -280,16 +280,16 @@ discard block |
||
| 280 | 280 | 'default' => 0, |
| 281 | 281 | ], |
| 282 | 282 | ], |
| 283 | - 'datacite_types' => array( |
|
| 283 | + 'datacite_types' => array ( |
|
| 284 | 284 | 'exclude' => 1, |
| 285 | 285 | 'l10n_mode' => 'exclude', |
| 286 | 286 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.datacite_types', |
| 287 | - 'config' => array( |
|
| 287 | + 'config' => array ( |
|
| 288 | 288 | 'type' => 'select', |
| 289 | 289 | 'renderType' => 'selectMultipleSideBySide', |
| 290 | 290 | 'size' => 10, |
| 291 | 291 | 'maxitems' => 100, |
| 292 | - 'items' => array( |
|
| 292 | + 'items' => array ( |
|
| 293 | 293 | ), |
| 294 | 294 | 'items' => \EWW\Dpf\Services\ImportExternalMetadata\DataCiteImporter::typeItems( |
| 295 | 295 | \EWW\Dpf\Services\ImportExternalMetadata\DataCiteImporter::types() |
@@ -301,8 +301,8 @@ discard block |
||
| 301 | 301 | 'l10n_mode' => 'exclude', |
| 302 | 302 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.k10plus_transformation', |
| 303 | 303 | 'config' => [ |
| 304 | - 'items' => array( |
|
| 305 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation',0) |
|
| 304 | + 'items' => array ( |
|
| 305 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation', 0) |
|
| 306 | 306 | ), |
| 307 | 307 | 'type' => 'select', |
| 308 | 308 | 'renderType' => 'selectSingle', |
@@ -312,16 +312,16 @@ discard block |
||
| 312 | 312 | 'default' => 0, |
| 313 | 313 | ], |
| 314 | 314 | ], |
| 315 | - 'k10plus_types' => array( |
|
| 315 | + 'k10plus_types' => array ( |
|
| 316 | 316 | 'exclude' => 1, |
| 317 | 317 | 'l10n_mode' => 'exclude', |
| 318 | 318 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.k10plus_types', |
| 319 | - 'config' => array( |
|
| 319 | + 'config' => array ( |
|
| 320 | 320 | 'type' => 'select', |
| 321 | 321 | 'renderType' => 'selectMultipleSideBySide', |
| 322 | 322 | 'size' => 10, |
| 323 | 323 | 'maxitems' => 100, |
| 324 | - 'items' => array( |
|
| 324 | + 'items' => array ( |
|
| 325 | 325 | ), |
| 326 | 326 | 'items' => \EWW\Dpf\Services\ImportExternalMetadata\K10plusImporter::typeItems( |
| 327 | 327 | \EWW\Dpf\Services\ImportExternalMetadata\K10plusImporter::types() |
@@ -333,8 +333,8 @@ discard block |
||
| 333 | 333 | 'l10n_mode' => 'exclude', |
| 334 | 334 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.pubmed_transformation', |
| 335 | 335 | 'config' => [ |
| 336 | - 'items' => array( |
|
| 337 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation',0) |
|
| 336 | + 'items' => array ( |
|
| 337 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation', 0) |
|
| 338 | 338 | ), |
| 339 | 339 | 'type' => 'select', |
| 340 | 340 | 'renderType' => 'selectSingle', |
@@ -344,16 +344,16 @@ discard block |
||
| 344 | 344 | 'default' => 0, |
| 345 | 345 | ], |
| 346 | 346 | ], |
| 347 | - 'pubmed_types' => array( |
|
| 347 | + 'pubmed_types' => array ( |
|
| 348 | 348 | 'exclude' => 1, |
| 349 | 349 | 'l10n_mode' => 'exclude', |
| 350 | 350 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.pubmed_types', |
| 351 | - 'config' => array( |
|
| 351 | + 'config' => array ( |
|
| 352 | 352 | 'type' => 'select', |
| 353 | 353 | 'renderType' => 'selectMultipleSideBySide', |
| 354 | 354 | 'size' => 10, |
| 355 | 355 | 'maxitems' => 100, |
| 356 | - 'items' => array( |
|
| 356 | + 'items' => array ( |
|
| 357 | 357 | ), |
| 358 | 358 | 'items' => \EWW\Dpf\Services\ImportExternalMetadata\PubMedImporter::typeItems( |
| 359 | 359 | \EWW\Dpf\Services\ImportExternalMetadata\PubMedImporter::types() |
@@ -365,8 +365,8 @@ discard block |
||
| 365 | 365 | 'l10n_mode' => 'exclude', |
| 366 | 366 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.bibtex_transformation', |
| 367 | 367 | 'config' => [ |
| 368 | - 'items' => array( |
|
| 369 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation',0) |
|
| 368 | + 'items' => array ( |
|
| 369 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation', 0) |
|
| 370 | 370 | ), |
| 371 | 371 | 'type' => 'select', |
| 372 | 372 | 'renderType' => 'selectSingle', |
@@ -376,16 +376,16 @@ discard block |
||
| 376 | 376 | 'default' => 0, |
| 377 | 377 | ], |
| 378 | 378 | ], |
| 379 | - 'bibtex_types' => array( |
|
| 379 | + 'bibtex_types' => array ( |
|
| 380 | 380 | 'exclude' => 1, |
| 381 | 381 | 'l10n_mode' => 'exclude', |
| 382 | 382 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.bibtex_types', |
| 383 | - 'config' => array( |
|
| 383 | + 'config' => array ( |
|
| 384 | 384 | 'type' => 'select', |
| 385 | 385 | 'renderType' => 'selectMultipleSideBySide', |
| 386 | 386 | 'size' => 10, |
| 387 | 387 | 'maxitems' => 100, |
| 388 | - 'items' => array( |
|
| 388 | + 'items' => array ( |
|
| 389 | 389 | ), |
| 390 | 390 | 'items' => \EWW\Dpf\Services\ImportExternalMetadata\BibTexFileImporter::typeItems( |
| 391 | 391 | \EWW\Dpf\Services\ImportExternalMetadata\BibTexFileImporter::types() |
@@ -397,8 +397,8 @@ discard block |
||
| 397 | 397 | 'l10n_mode' => 'exclude', |
| 398 | 398 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.riswos_transformation', |
| 399 | 399 | 'config' => [ |
| 400 | - 'items' => array( |
|
| 401 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation',0) |
|
| 400 | + 'items' => array ( |
|
| 401 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.choose_transformation', 0) |
|
| 402 | 402 | ), |
| 403 | 403 | 'type' => 'select', |
| 404 | 404 | 'renderType' => 'selectSingle', |
@@ -408,16 +408,16 @@ discard block |
||
| 408 | 408 | 'default' => 0, |
| 409 | 409 | ], |
| 410 | 410 | ], |
| 411 | - 'riswos_types' => array( |
|
| 411 | + 'riswos_types' => array ( |
|
| 412 | 412 | 'exclude' => 1, |
| 413 | 413 | 'l10n_mode' => 'exclude', |
| 414 | 414 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.ris_types', |
| 415 | - 'config' => array( |
|
| 415 | + 'config' => array ( |
|
| 416 | 416 | 'type' => 'select', |
| 417 | 417 | 'renderType' => 'selectMultipleSideBySide', |
| 418 | 418 | 'size' => 10, |
| 419 | 419 | 'maxitems' => 100, |
| 420 | - 'items' => array( |
|
| 420 | + 'items' => array ( |
|
| 421 | 421 | ), |
| 422 | 422 | 'items' => \EWW\Dpf\Services\ImportExternalMetadata\RisWosFileImporter::typeItems( |
| 423 | 423 | \EWW\Dpf\Services\ImportExternalMetadata\RisWosFileImporter::types() |