@@ -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', |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | 'transOrigPointerField' => 'l10n_parent', |
| 33 | 33 | 'transOrigDiffSourceField' => 'l10n_diffsource', |
| 34 | 34 | 'delete' => 'deleted', |
| 35 | - 'enablecolumns' => array( |
|
| 35 | + 'enablecolumns' => array ( |
|
| 36 | 36 | 'disabled' => 'hidden', |
| 37 | 37 | 'starttime' => 'starttime', |
| 38 | 38 | 'endtime' => 'endtime', |
@@ -40,144 +40,144 @@ discard block |
||
| 40 | 40 | 'searchFields' => 'name,display_name,metadata_page,', |
| 41 | 41 | 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dpf') . 'Resources/Public/Icons/tx_dpf_domain_model_documenttype.gif', |
| 42 | 42 | ), |
| 43 | - 'interface' => array( |
|
| 43 | + 'interface' => array ( |
|
| 44 | 44 | 'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, name, display_name, virtual, metadata_page', |
| 45 | 45 | ), |
| 46 | - 'types' => array( |
|
| 47 | - '1' => array('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, hidden;;1, name, display_name, virtual, metadata_page, --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
|
| 46 | + 'types' => array ( |
|
| 47 | + '1' => array ('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, hidden;;1, name, display_name, virtual, metadata_page, --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
|
| 48 | 48 | ), |
| 49 | - 'palettes' => array( |
|
| 50 | - '1' => array('showitem' => ''), |
|
| 49 | + 'palettes' => array ( |
|
| 50 | + '1' => array ('showitem' => ''), |
|
| 51 | 51 | ), |
| 52 | - 'columns' => array( |
|
| 52 | + 'columns' => array ( |
|
| 53 | 53 | |
| 54 | - 'sys_language_uid' => array( |
|
| 54 | + 'sys_language_uid' => array ( |
|
| 55 | 55 | 'exclude' => 1, |
| 56 | 56 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language', |
| 57 | - 'config' => array( |
|
| 57 | + 'config' => array ( |
|
| 58 | 58 | 'type' => 'select', |
| 59 | 59 | 'renderType' => 'selectSingle', |
| 60 | 60 | 'foreign_table' => 'sys_language', |
| 61 | 61 | 'foreign_table_where' => 'ORDER BY sys_language.title', |
| 62 | - 'items' => array( |
|
| 63 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 64 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 62 | + 'items' => array ( |
|
| 63 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 64 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 65 | 65 | ), |
| 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_documenttype', |
| 79 | 79 | 'foreign_table_where' => 'AND tx_dpf_domain_model_documenttype.pid=###CURRENT_PID### AND tx_dpf_domain_model_documenttype.sys_language_uid IN (-1,0)', |
| 80 | 80 | ), |
| 81 | 81 | ), |
| 82 | - 'l10n_diffsource' => array( |
|
| 83 | - 'config' => array( |
|
| 82 | + 'l10n_diffsource' => array ( |
|
| 83 | + 'config' => array ( |
|
| 84 | 84 | 'type' => 'passthrough', |
| 85 | 85 | ), |
| 86 | 86 | ), |
| 87 | 87 | |
| 88 | - 't3ver_label' => array( |
|
| 88 | + 't3ver_label' => array ( |
|
| 89 | 89 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel', |
| 90 | - 'config' => array( |
|
| 90 | + 'config' => array ( |
|
| 91 | 91 | 'type' => 'input', |
| 92 | 92 | 'size' => 30, |
| 93 | 93 | 'max' => 255, |
| 94 | 94 | ), |
| 95 | 95 | ), |
| 96 | 96 | |
| 97 | - 'hidden' => array( |
|
| 97 | + 'hidden' => array ( |
|
| 98 | 98 | 'exclude' => 1, |
| 99 | 99 | 'l10n_mode' => 'exclude', |
| 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 | 'l10n_mode' => 'mergeIfNotBlank', |
| 108 | 108 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime', |
| 109 | - 'config' => array( |
|
| 109 | + 'config' => array ( |
|
| 110 | 110 | 'type' => 'input', |
| 111 | 111 | 'size' => 13, |
| 112 | 112 | 'max' => 20, |
| 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 | 'l10n_mode' => 'mergeIfNotBlank', |
| 124 | 124 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime', |
| 125 | - 'config' => array( |
|
| 125 | + 'config' => array ( |
|
| 126 | 126 | 'type' => 'input', |
| 127 | 127 | 'size' => 13, |
| 128 | 128 | 'max' => 20, |
| 129 | 129 | 'eval' => 'datetime', |
| 130 | 130 | 'checkbox' => 0, |
| 131 | 131 | 'default' => 0, |
| 132 | - 'range' => array( |
|
| 132 | + 'range' => array ( |
|
| 133 | 133 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
| 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_documenttype.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_documenttype.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 | - 'virtual' => array( |
|
| 156 | + 'virtual' => 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_documenttype.virtual', |
| 160 | - 'config' => array( |
|
| 160 | + 'config' => array ( |
|
| 161 | 161 | 'type' => 'check', |
| 162 | 162 | 'default' => 0, |
| 163 | 163 | ), |
| 164 | 164 | ), |
| 165 | - 'metadata_page' => array( |
|
| 165 | + 'metadata_page' => array ( |
|
| 166 | 166 | 'exclude' => 1, |
| 167 | 167 | 'l10n_mode' => 'exclude', |
| 168 | 168 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttype.metadata_page', |
| 169 | - 'config' => array( |
|
| 169 | + 'config' => array ( |
|
| 170 | 170 | 'type' => 'inline', |
| 171 | 171 | 'foreign_table' => 'tx_dpf_domain_model_metadatapage', |
| 172 | 172 | 'foreign_field' => 'documenttype', |
| 173 | 173 | 'foreign_label' => 'display_name', |
| 174 | 174 | 'foreign_sortby' => 'page_number', |
| 175 | - 'behaviour' => array( |
|
| 175 | + 'behaviour' => array ( |
|
| 176 | 176 | 'disableMovingChildrenWithParent' => 1, |
| 177 | 177 | //'disableCopyingChildrenWithParent' => 1 |
| 178 | 178 | ), |
| 179 | 179 | 'maxitems' => 9999, |
| 180 | - 'appearance' => array( |
|
| 180 | + 'appearance' => array ( |
|
| 181 | 181 | 'collapseAll' => 0, |
| 182 | 182 | 'levelLinksPosition' => 'top', |
| 183 | 183 | '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_fedoraconnection', |
| 22 | 22 | 'label' => 'url', |
| 23 | 23 | 'tstamp' => 'tstamp', |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | 'transOrigPointerField' => 'l10n_parent', |
| 33 | 33 | 'transOrigDiffSourceField' => 'l10n_diffsource', |
| 34 | 34 | 'delete' => 'deleted', |
| 35 | - 'enablecolumns' => array( |
|
| 35 | + 'enablecolumns' => array ( |
|
| 36 | 36 | 'disabled' => 'hidden', |
| 37 | 37 | 'starttime' => 'starttime', |
| 38 | 38 | 'endtime' => 'endtime', |
@@ -40,122 +40,122 @@ discard block |
||
| 40 | 40 | 'searchFields' => 'url,user,password,', |
| 41 | 41 | 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dpf') . 'Resources/Public/Icons/tx_dpf_domain_model_fedoraconnection.gif', |
| 42 | 42 | ), |
| 43 | - 'interface' => array( |
|
| 43 | + 'interface' => array ( |
|
| 44 | 44 | 'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, url, user, password', |
| 45 | 45 | ), |
| 46 | - 'types' => array( |
|
| 47 | - '1' => array('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, hidden;;1, url, user, password, --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
|
| 46 | + 'types' => array ( |
|
| 47 | + '1' => array ('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, hidden;;1, url, user, password, --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
|
| 48 | 48 | ), |
| 49 | - 'palettes' => array( |
|
| 50 | - '1' => array('showitem' => ''), |
|
| 49 | + 'palettes' => array ( |
|
| 50 | + '1' => array ('showitem' => ''), |
|
| 51 | 51 | ), |
| 52 | - 'columns' => array( |
|
| 52 | + 'columns' => array ( |
|
| 53 | 53 | |
| 54 | - 'sys_language_uid' => array( |
|
| 54 | + 'sys_language_uid' => array ( |
|
| 55 | 55 | 'exclude' => 1, |
| 56 | 56 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language', |
| 57 | - 'config' => array( |
|
| 57 | + 'config' => array ( |
|
| 58 | 58 | 'type' => 'select', |
| 59 | 59 | 'renderType' => 'selectSingle', |
| 60 | 60 | 'foreign_table' => 'sys_language', |
| 61 | 61 | 'foreign_table_where' => 'ORDER BY sys_language.title', |
| 62 | - 'items' => array( |
|
| 63 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 64 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 62 | + 'items' => array ( |
|
| 63 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 64 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 65 | 65 | ), |
| 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_fedoraconnection', |
| 79 | 79 | 'foreign_table_where' => 'AND tx_dpf_domain_model_fedoraconnection.pid=###CURRENT_PID### AND tx_dpf_domain_model_fedoraconnection.sys_language_uid IN (-1,0)', |
| 80 | 80 | ), |
| 81 | 81 | ), |
| 82 | - 'l10n_diffsource' => array( |
|
| 83 | - 'config' => array( |
|
| 82 | + 'l10n_diffsource' => array ( |
|
| 83 | + 'config' => array ( |
|
| 84 | 84 | 'type' => 'passthrough', |
| 85 | 85 | ), |
| 86 | 86 | ), |
| 87 | 87 | |
| 88 | - 't3ver_label' => array( |
|
| 88 | + 't3ver_label' => array ( |
|
| 89 | 89 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel', |
| 90 | - 'config' => array( |
|
| 90 | + 'config' => array ( |
|
| 91 | 91 | 'type' => 'input', |
| 92 | 92 | 'size' => 30, |
| 93 | 93 | 'max' => 255, |
| 94 | 94 | ), |
| 95 | 95 | ), |
| 96 | 96 | |
| 97 | - 'hidden' => array( |
|
| 97 | + 'hidden' => array ( |
|
| 98 | 98 | 'exclude' => 1, |
| 99 | 99 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden', |
| 100 | - 'config' => array( |
|
| 100 | + 'config' => array ( |
|
| 101 | 101 | 'type' => 'check', |
| 102 | 102 | ), |
| 103 | 103 | ), |
| 104 | - 'starttime' => array( |
|
| 104 | + 'starttime' => array ( |
|
| 105 | 105 | 'exclude' => 1, |
| 106 | 106 | 'l10n_mode' => 'mergeIfNotBlank', |
| 107 | 107 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime', |
| 108 | - 'config' => array( |
|
| 108 | + 'config' => array ( |
|
| 109 | 109 | 'type' => 'input', |
| 110 | 110 | 'size' => 13, |
| 111 | 111 | 'max' => 20, |
| 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 | 'l10n_mode' => 'mergeIfNotBlank', |
| 123 | 123 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime', |
| 124 | - 'config' => array( |
|
| 124 | + 'config' => array ( |
|
| 125 | 125 | 'type' => 'input', |
| 126 | 126 | 'size' => 13, |
| 127 | 127 | 'max' => 20, |
| 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 | - 'url' => array( |
|
| 137 | + 'url' => array ( |
|
| 138 | 138 | 'exclude' => 1, |
| 139 | 139 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_fedoraconnection.url', |
| 140 | - 'config' => array( |
|
| 140 | + 'config' => array ( |
|
| 141 | 141 | 'type' => 'input', |
| 142 | 142 | 'size' => 30, |
| 143 | 143 | 'eval' => 'trim', |
| 144 | 144 | ), |
| 145 | 145 | ), |
| 146 | - 'user' => array( |
|
| 146 | + 'user' => array ( |
|
| 147 | 147 | 'exclude' => 1, |
| 148 | 148 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_fedoraconnection.user', |
| 149 | - 'config' => array( |
|
| 149 | + 'config' => array ( |
|
| 150 | 150 | 'type' => 'input', |
| 151 | 151 | 'size' => 30, |
| 152 | 152 | 'eval' => 'trim', |
| 153 | 153 | ), |
| 154 | 154 | ), |
| 155 | - 'password' => array( |
|
| 155 | + 'password' => array ( |
|
| 156 | 156 | 'exclude' => 1, |
| 157 | 157 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_fedoraconnection.password', |
| 158 | - 'config' => array( |
|
| 158 | + 'config' => array ( |
|
| 159 | 159 | 'type' => 'input', |
| 160 | 160 | 'size' => 30, |
| 161 | 161 | '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_file', |
| 22 | 22 | 'label' => 'title', |
| 23 | 23 | 'tstamp' => 'tstamp', |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | 'transOrigPointerField' => 'l10n_parent', |
| 33 | 33 | 'transOrigDiffSourceField' => 'l10n_diffsource', |
| 34 | 34 | 'delete' => 'deleted', |
| 35 | - 'enablecolumns' => array( |
|
| 35 | + 'enablecolumns' => array ( |
|
| 36 | 36 | 'disabled' => 'hidden', |
| 37 | 37 | 'starttime' => 'starttime', |
| 38 | 38 | 'endtime' => 'endtime', |
@@ -40,186 +40,186 @@ discard block |
||
| 40 | 40 | 'searchFields' => '', |
| 41 | 41 | 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dpf') . 'Resources/Public/Icons/tx_dpf_domain_model_file.gif', |
| 42 | 42 | ), |
| 43 | - 'interface' => array( |
|
| 43 | + 'interface' => array ( |
|
| 44 | 44 | 'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, title, label, download, archive, content_type, link, status, datastream_identifier, primary_file, document', |
| 45 | 45 | ), |
| 46 | - 'types' => array( |
|
| 47 | - '1' => array('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, hidden;;1, title, label, download, archive, content_type, link, status, datastream_identifier, primary_file, document, --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
|
| 46 | + 'types' => array ( |
|
| 47 | + '1' => array ('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, hidden;;1, title, label, download, archive, content_type, link, status, datastream_identifier, primary_file, document, --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
|
| 48 | 48 | ), |
| 49 | - 'palettes' => array( |
|
| 50 | - '1' => array('showitem' => ''), |
|
| 49 | + 'palettes' => array ( |
|
| 50 | + '1' => array ('showitem' => ''), |
|
| 51 | 51 | ), |
| 52 | - 'columns' => array( |
|
| 52 | + 'columns' => array ( |
|
| 53 | 53 | |
| 54 | - 'sys_language_uid' => array( |
|
| 54 | + 'sys_language_uid' => array ( |
|
| 55 | 55 | 'exclude' => 1, |
| 56 | 56 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language', |
| 57 | - 'config' => array( |
|
| 57 | + 'config' => array ( |
|
| 58 | 58 | 'type' => 'select', |
| 59 | 59 | 'renderType' => 'selectSingle', |
| 60 | 60 | 'foreign_table' => 'sys_language', |
| 61 | 61 | 'foreign_table_where' => 'ORDER BY sys_language.title', |
| 62 | - 'items' => array( |
|
| 63 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 64 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 62 | + 'items' => array ( |
|
| 63 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 64 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 65 | 65 | ), |
| 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_file', |
| 79 | 79 | 'foreign_table_where' => 'AND tx_dpf_domain_model_file.pid=###CURRENT_PID### AND tx_dpf_domain_model_file.sys_language_uid IN (-1,0)', |
| 80 | 80 | ), |
| 81 | 81 | ), |
| 82 | - 'l10n_diffsource' => array( |
|
| 83 | - 'config' => array( |
|
| 82 | + 'l10n_diffsource' => array ( |
|
| 83 | + 'config' => array ( |
|
| 84 | 84 | 'type' => 'passthrough', |
| 85 | 85 | ), |
| 86 | 86 | ), |
| 87 | 87 | |
| 88 | - 't3ver_label' => array( |
|
| 88 | + 't3ver_label' => array ( |
|
| 89 | 89 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel', |
| 90 | - 'config' => array( |
|
| 90 | + 'config' => array ( |
|
| 91 | 91 | 'type' => 'input', |
| 92 | 92 | 'size' => 30, |
| 93 | 93 | 'max' => 255, |
| 94 | 94 | ), |
| 95 | 95 | ), |
| 96 | 96 | |
| 97 | - 'hidden' => array( |
|
| 97 | + 'hidden' => array ( |
|
| 98 | 98 | 'exclude' => 1, |
| 99 | 99 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden', |
| 100 | - 'config' => array( |
|
| 100 | + 'config' => array ( |
|
| 101 | 101 | 'type' => 'check', |
| 102 | 102 | ), |
| 103 | 103 | ), |
| 104 | - 'starttime' => array( |
|
| 104 | + 'starttime' => array ( |
|
| 105 | 105 | 'exclude' => 1, |
| 106 | 106 | 'l10n_mode' => 'mergeIfNotBlank', |
| 107 | 107 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime', |
| 108 | - 'config' => array( |
|
| 108 | + 'config' => array ( |
|
| 109 | 109 | 'type' => 'input', |
| 110 | 110 | 'size' => 13, |
| 111 | 111 | 'max' => 20, |
| 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 | 'l10n_mode' => 'mergeIfNotBlank', |
| 123 | 123 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime', |
| 124 | - 'config' => array( |
|
| 124 | + 'config' => array ( |
|
| 125 | 125 | 'type' => 'input', |
| 126 | 126 | 'size' => 13, |
| 127 | 127 | 'max' => 20, |
| 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 | - 'title' => array( |
|
| 137 | + 'title' => array ( |
|
| 138 | 138 | 'exclude' => 1, |
| 139 | 139 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.title', |
| 140 | - 'config' => array( |
|
| 140 | + 'config' => array ( |
|
| 141 | 141 | 'type' => 'input', |
| 142 | 142 | 'size' => 30, |
| 143 | 143 | 'eval' => 'trim', |
| 144 | 144 | ), |
| 145 | 145 | ), |
| 146 | 146 | |
| 147 | - 'label' => array( |
|
| 147 | + 'label' => array ( |
|
| 148 | 148 | 'exclude' => 1, |
| 149 | 149 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.label', |
| 150 | - 'config' => array( |
|
| 150 | + 'config' => array ( |
|
| 151 | 151 | 'type' => 'input', |
| 152 | 152 | 'size' => 30, |
| 153 | 153 | 'eval' => 'trim', |
| 154 | 154 | ), |
| 155 | 155 | ), |
| 156 | - 'download' => array( |
|
| 156 | + 'download' => 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_file.download', |
| 160 | - 'config' => array( |
|
| 160 | + 'config' => array ( |
|
| 161 | 161 | 'type' => 'check', |
| 162 | 162 | 'default' => 0, |
| 163 | 163 | ), |
| 164 | 164 | ), |
| 165 | - 'archive' => array( |
|
| 165 | + 'archive' => array ( |
|
| 166 | 166 | 'exclude' => 1, |
| 167 | 167 | 'l10n_mode' => 'exclude', |
| 168 | 168 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.archive', |
| 169 | - 'config' => array( |
|
| 169 | + 'config' => array ( |
|
| 170 | 170 | 'type' => 'check', |
| 171 | 171 | 'default' => 0, |
| 172 | 172 | ), |
| 173 | 173 | ), |
| 174 | - 'content_type' => array( |
|
| 174 | + 'content_type' => array ( |
|
| 175 | 175 | 'exclude' => 1, |
| 176 | 176 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.content_type', |
| 177 | - 'config' => array( |
|
| 177 | + 'config' => array ( |
|
| 178 | 178 | 'type' => 'input', |
| 179 | 179 | 'size' => 30, |
| 180 | 180 | 'eval' => 'trim', |
| 181 | 181 | ), |
| 182 | 182 | ), |
| 183 | - 'link' => array( |
|
| 183 | + 'link' => array ( |
|
| 184 | 184 | 'exclude' => 1, |
| 185 | 185 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.link', |
| 186 | - 'config' => array( |
|
| 186 | + 'config' => array ( |
|
| 187 | 187 | 'type' => 'input', |
| 188 | 188 | 'size' => 30, |
| 189 | 189 | 'eval' => 'trim', |
| 190 | 190 | ), |
| 191 | 191 | ), |
| 192 | - 'status' => array( |
|
| 192 | + 'status' => array ( |
|
| 193 | 193 | 'exclude' => 1, |
| 194 | 194 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.status', |
| 195 | - 'config' => array( |
|
| 195 | + 'config' => array ( |
|
| 196 | 196 | 'type' => 'input', |
| 197 | 197 | 'size' => 30, |
| 198 | 198 | 'eval' => 'trim', |
| 199 | 199 | ), |
| 200 | 200 | ), |
| 201 | - 'datastream_identifier' => array( |
|
| 201 | + 'datastream_identifier' => array ( |
|
| 202 | 202 | 'exclude' => 1, |
| 203 | 203 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.datastream_identifier', |
| 204 | - 'config' => array( |
|
| 204 | + 'config' => array ( |
|
| 205 | 205 | 'type' => 'input', |
| 206 | 206 | 'size' => 30, |
| 207 | 207 | 'eval' => 'trim', |
| 208 | 208 | ), |
| 209 | 209 | ), |
| 210 | - 'primary_file' => array( |
|
| 210 | + 'primary_file' => array ( |
|
| 211 | 211 | 'exclude' => 1, |
| 212 | 212 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.primary_file', |
| 213 | - 'config' => array( |
|
| 213 | + 'config' => array ( |
|
| 214 | 214 | 'type' => 'check', |
| 215 | 215 | 'default' => 0, |
| 216 | 216 | ), |
| 217 | 217 | ), |
| 218 | 218 | |
| 219 | - 'document' => array( |
|
| 219 | + 'document' => array ( |
|
| 220 | 220 | 'exclude' => 1, |
| 221 | 221 | 'label' => 'LLL:EXT:dpf2/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_file.document', |
| 222 | - 'config' => array( |
|
| 222 | + 'config' => array ( |
|
| 223 | 223 | 'type' => 'select', |
| 224 | 224 | 'renderType' => 'selectSingle', |
| 225 | 225 | 'foreign_table' => 'tx_dpf_domain_model_document', |
@@ -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 | 'hideTable' => 1, |
| 22 | 22 | 'title' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_processnumber', |
| 23 | 23 | 'label' => 'owner_id', |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | 'transOrigPointerField' => 'l10n_parent', |
| 34 | 34 | 'transOrigDiffSourceField' => 'l10n_diffsource', |
| 35 | 35 | 'delete' => 'deleted', |
| 36 | - 'enablecolumns' => array( |
|
| 36 | + 'enablecolumns' => array ( |
|
| 37 | 37 | 'disabled' => 'hidden', |
| 38 | 38 | 'starttime' => 'starttime', |
| 39 | 39 | 'endtime' => 'endtime', |
@@ -41,127 +41,127 @@ discard block |
||
| 41 | 41 | 'searchFields' => 'ownerId,year,counter', |
| 42 | 42 | 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dpf') . 'Resources/Public/Icons/tx_dpf_domain_model_processnumber.gif', |
| 43 | 43 | ), |
| 44 | - 'interface' => array( |
|
| 44 | + 'interface' => array ( |
|
| 45 | 45 | 'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, owner_id, year, counter' |
| 46 | 46 | ), |
| 47 | - 'types' => array( |
|
| 48 | - '1' => array('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, hidden;;1, owner_id, year, counter, --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
|
| 47 | + 'types' => array ( |
|
| 48 | + '1' => array ('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, hidden;;1, owner_id, year, counter, --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
|
| 49 | 49 | ), |
| 50 | - 'palettes' => array( |
|
| 51 | - '1' => array('showitem' => ''), |
|
| 50 | + 'palettes' => array ( |
|
| 51 | + '1' => array ('showitem' => ''), |
|
| 52 | 52 | ), |
| 53 | - 'columns' => array( |
|
| 53 | + 'columns' => array ( |
|
| 54 | 54 | |
| 55 | - 'sys_language_uid' => array( |
|
| 55 | + 'sys_language_uid' => array ( |
|
| 56 | 56 | 'exclude' => 1, |
| 57 | 57 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language', |
| 58 | - 'config' => array( |
|
| 58 | + 'config' => array ( |
|
| 59 | 59 | 'type' => 'select', |
| 60 | 60 | 'renderType' => 'selectSingle', |
| 61 | 61 | 'foreign_table' => 'sys_language', |
| 62 | 62 | 'foreign_table_where' => 'ORDER BY sys_language.title', |
| 63 | - 'items' => array( |
|
| 64 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 65 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 63 | + 'items' => array ( |
|
| 64 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 65 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 66 | 66 | ), |
| 67 | 67 | ), |
| 68 | 68 | ), |
| 69 | - 'l10n_parent' => array( |
|
| 69 | + 'l10n_parent' => array ( |
|
| 70 | 70 | 'displayCond' => 'FIELD:sys_language_uid:>:0', |
| 71 | 71 | 'exclude' => 1, |
| 72 | 72 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent', |
| 73 | - 'config' => array( |
|
| 73 | + 'config' => array ( |
|
| 74 | 74 | 'type' => 'select', |
| 75 | 75 | 'renderType' => 'selectSingle', |
| 76 | - 'items' => array( |
|
| 77 | - array('', 0), |
|
| 76 | + 'items' => array ( |
|
| 77 | + array ('', 0), |
|
| 78 | 78 | ), |
| 79 | 79 | 'foreign_table' => 'tx_dpf_domain_model_processnumber', |
| 80 | 80 | 'foreign_table_where' => 'AND tx_dpf_domain_model_processnumber.pid=###CURRENT_PID### AND tx_dpf_domain_model_processnumber.sys_language_uid IN (-1,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 | 'l10n_mode' => 'mergeIfNotBlank', |
| 108 | 108 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime', |
| 109 | - 'config' => array( |
|
| 109 | + 'config' => array ( |
|
| 110 | 110 | 'type' => 'input', |
| 111 | 111 | 'size' => 13, |
| 112 | 112 | 'max' => 20, |
| 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 | 'l10n_mode' => 'mergeIfNotBlank', |
| 124 | 124 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime', |
| 125 | - 'config' => array( |
|
| 125 | + 'config' => array ( |
|
| 126 | 126 | 'type' => 'input', |
| 127 | 127 | 'size' => 13, |
| 128 | 128 | 'max' => 20, |
| 129 | 129 | 'eval' => 'datetime', |
| 130 | 130 | 'checkbox' => 0, |
| 131 | 131 | 'default' => 0, |
| 132 | - 'range' => array( |
|
| 132 | + 'range' => array ( |
|
| 133 | 133 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
| 134 | 134 | ), |
| 135 | 135 | ), |
| 136 | 136 | ), |
| 137 | 137 | |
| 138 | - 'owner_id' => array( |
|
| 138 | + 'owner_id' => array ( |
|
| 139 | 139 | 'exclude' => 1, |
| 140 | 140 | 'l10n_mode' => 'exclude', |
| 141 | 141 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_processnumber.owner_id', |
| 142 | - 'config' => array( |
|
| 142 | + 'config' => array ( |
|
| 143 | 143 | 'type' => 'input', |
| 144 | 144 | 'size' => 4, |
| 145 | 145 | 'max' => 4, |
| 146 | 146 | 'eval' => 'trim,required', |
| 147 | 147 | ), |
| 148 | 148 | ), |
| 149 | - 'year' => array( |
|
| 149 | + 'year' => array ( |
|
| 150 | 150 | 'exclude' => 1, |
| 151 | 151 | 'l10n_mode' => 'exclude', |
| 152 | 152 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_processnumber.year', |
| 153 | - 'config' => array( |
|
| 153 | + 'config' => array ( |
|
| 154 | 154 | 'type' => 'input', |
| 155 | 155 | 'size' => 4, |
| 156 | 156 | 'max' => 2, |
| 157 | 157 | 'eval' => 'trim,required', |
| 158 | 158 | ), |
| 159 | 159 | ), |
| 160 | - 'counter' => array( |
|
| 160 | + 'counter' => array ( |
|
| 161 | 161 | 'exclude' => 1, |
| 162 | 162 | 'l10n_mode' => 'exclude', |
| 163 | 163 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_processnumber.counter', |
| 164 | - 'config' => array( |
|
| 164 | + 'config' => array ( |
|
| 165 | 165 | 'type' => 'input', |
| 166 | 166 | 'size' => 30, |
| 167 | 167 | '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_documenttransferlog', |
| 22 | 22 | 'label' => 'date', |
| 23 | 23 | 'tstamp' => 'tstamp', |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | 'transOrigPointerField' => 'l10n_parent', |
| 33 | 33 | 'transOrigDiffSourceField' => 'l10n_diffsource', |
| 34 | 34 | 'delete' => 'deleted', |
| 35 | - 'enablecolumns' => array( |
|
| 35 | + 'enablecolumns' => array ( |
|
| 36 | 36 | 'disabled' => 'hidden', |
| 37 | 37 | 'starttime' => 'starttime', |
| 38 | 38 | 'endtime' => 'endtime', |
@@ -40,104 +40,104 @@ discard block |
||
| 40 | 40 | 'searchFields' => 'date,response,curl_error,document_uid,object_identifier,action', |
| 41 | 41 | 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dpf') . 'Resources/Public/Icons/tx_dpf_domain_model_documenttransferlog.gif', |
| 42 | 42 | ), |
| 43 | - 'interface' => array( |
|
| 43 | + 'interface' => array ( |
|
| 44 | 44 | 'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, date, response, curl_error, document_uid, object_identifier, reserved_object_identifier, action', |
| 45 | 45 | ), |
| 46 | - 'types' => array( |
|
| 47 | - '1' => array('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, hidden;;1, date, response, curl_error, document_uid, object_identifier, reserved_object_identifier, action, --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
|
| 46 | + 'types' => array ( |
|
| 47 | + '1' => array ('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, hidden;;1, date, response, curl_error, document_uid, object_identifier, reserved_object_identifier, action, --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
|
| 48 | 48 | ), |
| 49 | - 'palettes' => array( |
|
| 50 | - '1' => array('showitem' => ''), |
|
| 49 | + 'palettes' => array ( |
|
| 50 | + '1' => array ('showitem' => ''), |
|
| 51 | 51 | ), |
| 52 | - 'columns' => array( |
|
| 52 | + 'columns' => array ( |
|
| 53 | 53 | |
| 54 | - 'sys_language_uid' => array( |
|
| 54 | + 'sys_language_uid' => array ( |
|
| 55 | 55 | 'exclude' => 1, |
| 56 | 56 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language', |
| 57 | - 'config' => array( |
|
| 57 | + 'config' => array ( |
|
| 58 | 58 | 'type' => 'select', |
| 59 | 59 | 'renderType' => 'selectSingle', |
| 60 | 60 | 'foreign_table' => 'sys_language', |
| 61 | 61 | 'foreign_table_where' => 'ORDER BY sys_language.title', |
| 62 | - 'items' => array( |
|
| 63 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 64 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 62 | + 'items' => array ( |
|
| 63 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 64 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 65 | 65 | ), |
| 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_documenttransferlog', |
| 79 | 79 | 'foreign_table_where' => 'AND tx_dpf_domain_model_documenttransferlog.pid=###CURRENT_PID### AND tx_dpf_domain_model_documenttransferlog.sys_language_uid IN (-1,0)', |
| 80 | 80 | ), |
| 81 | 81 | ), |
| 82 | - 'l10n_diffsource' => array( |
|
| 83 | - 'config' => array( |
|
| 82 | + 'l10n_diffsource' => array ( |
|
| 83 | + 'config' => array ( |
|
| 84 | 84 | 'type' => 'passthrough', |
| 85 | 85 | ), |
| 86 | 86 | ), |
| 87 | 87 | |
| 88 | - 't3ver_label' => array( |
|
| 88 | + 't3ver_label' => array ( |
|
| 89 | 89 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel', |
| 90 | - 'config' => array( |
|
| 90 | + 'config' => array ( |
|
| 91 | 91 | 'type' => 'input', |
| 92 | 92 | 'size' => 30, |
| 93 | 93 | 'max' => 255, |
| 94 | 94 | ), |
| 95 | 95 | ), |
| 96 | 96 | |
| 97 | - 'hidden' => array( |
|
| 97 | + 'hidden' => array ( |
|
| 98 | 98 | 'exclude' => 1, |
| 99 | 99 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden', |
| 100 | - 'config' => array( |
|
| 100 | + 'config' => array ( |
|
| 101 | 101 | 'type' => 'check', |
| 102 | 102 | ), |
| 103 | 103 | ), |
| 104 | - 'starttime' => array( |
|
| 104 | + 'starttime' => array ( |
|
| 105 | 105 | 'exclude' => 1, |
| 106 | 106 | 'l10n_mode' => 'mergeIfNotBlank', |
| 107 | 107 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime', |
| 108 | - 'config' => array( |
|
| 108 | + 'config' => array ( |
|
| 109 | 109 | 'type' => 'input', |
| 110 | 110 | 'size' => 13, |
| 111 | 111 | 'max' => 20, |
| 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 | 'l10n_mode' => 'mergeIfNotBlank', |
| 123 | 123 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime', |
| 124 | - 'config' => array( |
|
| 124 | + 'config' => array ( |
|
| 125 | 125 | 'type' => 'input', |
| 126 | 126 | 'size' => 13, |
| 127 | 127 | 'max' => 20, |
| 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 | - 'date' => array( |
|
| 137 | + 'date' => array ( |
|
| 138 | 138 | 'exclude' => 1, |
| 139 | 139 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttransferlog.date', |
| 140 | - 'config' => array( |
|
| 140 | + 'config' => array ( |
|
| 141 | 141 | 'type' => 'input', |
| 142 | 142 | 'size' => 10, |
| 143 | 143 | 'eval' => 'datetime', |
@@ -145,48 +145,48 @@ discard block |
||
| 145 | 145 | 'default' => time(), |
| 146 | 146 | ), |
| 147 | 147 | ), |
| 148 | - 'response' => array( |
|
| 148 | + 'response' => array ( |
|
| 149 | 149 | 'exclude' => 1, |
| 150 | 150 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttransferlog.response', |
| 151 | - 'config' => array( |
|
| 151 | + 'config' => array ( |
|
| 152 | 152 | 'type' => 'text', |
| 153 | 153 | 'cols' => 40, |
| 154 | 154 | 'rows' => 15, |
| 155 | 155 | 'eval' => 'trim', |
| 156 | 156 | ), |
| 157 | 157 | ), |
| 158 | - 'curl_error' => array( |
|
| 158 | + 'curl_error' => array ( |
|
| 159 | 159 | 'exclude' => 1, |
| 160 | 160 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttransferlog.curl_error', |
| 161 | - 'config' => array( |
|
| 161 | + 'config' => array ( |
|
| 162 | 162 | 'type' => 'text', |
| 163 | 163 | 'cols' => 40, |
| 164 | 164 | 'rows' => 15, |
| 165 | 165 | 'eval' => 'trim', |
| 166 | 166 | ), |
| 167 | 167 | ), |
| 168 | - 'document_uid' => array( |
|
| 168 | + 'document_uid' => array ( |
|
| 169 | 169 | 'exclude' => 1, |
| 170 | 170 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttransferlog.document_uid', |
| 171 | - 'config' => array( |
|
| 171 | + 'config' => array ( |
|
| 172 | 172 | 'type' => 'input', |
| 173 | 173 | 'size' => 30, |
| 174 | 174 | 'max' => 255, |
| 175 | 175 | ), |
| 176 | 176 | ), |
| 177 | - 'object_identifier' => array( |
|
| 177 | + 'object_identifier' => array ( |
|
| 178 | 178 | 'exclude' => 1, |
| 179 | 179 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttransferlog.object_identifier', |
| 180 | - 'config' => array( |
|
| 180 | + 'config' => array ( |
|
| 181 | 181 | 'type' => 'input', |
| 182 | 182 | 'size' => 30, |
| 183 | 183 | 'max' => 255, |
| 184 | 184 | ), |
| 185 | 185 | ), |
| 186 | - 'action' => array( |
|
| 186 | + 'action' => array ( |
|
| 187 | 187 | 'exclude' => 1, |
| 188 | 188 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttransferlog.action', |
| 189 | - 'config' => array( |
|
| 189 | + 'config' => array ( |
|
| 190 | 190 | 'type' => 'input', |
| 191 | 191 | 'size' => 30, |
| 192 | 192 | 'max' => 255, |
@@ -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', |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | 'transOrigPointerField' => 'l10n_parent', |
| 33 | 33 | 'transOrigDiffSourceField' => 'l10n_diffsource', |
| 34 | 34 | 'delete' => 'deleted', |
| 35 | - 'enablecolumns' => array( |
|
| 35 | + 'enablecolumns' => array ( |
|
| 36 | 36 | 'disabled' => 'hidden', |
| 37 | 37 | 'starttime' => 'starttime', |
| 38 | 38 | 'endtime' => 'endtime', |
@@ -41,232 +41,232 @@ discard block |
||
| 41 | 41 | 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dpf') . 'Resources/Public/Icons/tx_dpf_domain_model_metadataobject.gif', |
| 42 | 42 | 'requestUpdate' => 'fill_out_service', |
| 43 | 43 | ), |
| 44 | - 'interface' => array( |
|
| 44 | + 'interface' => array ( |
|
| 45 | 45 | 'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, name, display_name, max_iteration, mandatory, data_type, validation, mapping, mods_extension, input_field, input_option_list, fill_out_service, gnd_field_uid, default_value, backend_only, consent', |
| 46 | 46 | ), |
| 47 | - 'types' => array( |
|
| 48 | - '1' => array('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, hidden;;1, name, display_name, max_iteration, mandatory, data_type, validation, mapping, mods_extension, input_field, input_option_list, fill_out_service, gnd_field_uid, default_value, backend_only, consent, --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
|
| 47 | + 'types' => array ( |
|
| 48 | + '1' => array ('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, hidden;;1, name, display_name, max_iteration, mandatory, data_type, validation, mapping, mods_extension, input_field, input_option_list, fill_out_service, gnd_field_uid, default_value, backend_only, consent, --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
|
| 49 | 49 | ), |
| 50 | - 'palettes' => array( |
|
| 51 | - '1' => array('showitem' => ''), |
|
| 50 | + 'palettes' => array ( |
|
| 51 | + '1' => array ('showitem' => ''), |
|
| 52 | 52 | ), |
| 53 | - 'columns' => array( |
|
| 53 | + 'columns' => array ( |
|
| 54 | 54 | |
| 55 | - 'sys_language_uid' => array( |
|
| 55 | + 'sys_language_uid' => array ( |
|
| 56 | 56 | 'exclude' => 1, |
| 57 | 57 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language', |
| 58 | - 'config' => array( |
|
| 58 | + 'config' => array ( |
|
| 59 | 59 | //'readOnly' => 1, |
| 60 | 60 | 'type' => 'select', |
| 61 | 61 | 'renderType' => 'selectSingle', |
| 62 | 62 | 'foreign_table' => 'sys_language', |
| 63 | 63 | 'foreign_table_where' => 'ORDER BY sys_language.title', |
| 64 | - 'items' => array( |
|
| 65 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 66 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 64 | + 'items' => array ( |
|
| 65 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 66 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 67 | 67 | ), |
| 68 | 68 | ), |
| 69 | 69 | ), |
| 70 | - 'l10n_parent' => array( |
|
| 70 | + 'l10n_parent' => array ( |
|
| 71 | 71 | 'displayCond' => 'FIELD:sys_language_uid:>:0', |
| 72 | 72 | 'exclude' => 1, |
| 73 | 73 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent', |
| 74 | - 'config' => array( |
|
| 74 | + 'config' => array ( |
|
| 75 | 75 | //'readOnly' => 1, |
| 76 | 76 | 'type' => 'select', |
| 77 | 77 | 'renderType' => 'selectSingle', |
| 78 | - 'items' => array( |
|
| 79 | - array('', 0), |
|
| 78 | + 'items' => array ( |
|
| 79 | + array ('', 0), |
|
| 80 | 80 | ), |
| 81 | 81 | 'foreign_table' => 'tx_dpf_domain_model_metadataobject', |
| 82 | 82 | 'foreign_table_where' => 'AND tx_dpf_domain_model_metadataobject.pid=###CURRENT_PID### AND tx_dpf_domain_model_metadataobject.sys_language_uid IN (-1,0)', |
| 83 | 83 | ), |
| 84 | 84 | ), |
| 85 | - 'l10n_diffsource' => array( |
|
| 86 | - 'config' => array( |
|
| 85 | + 'l10n_diffsource' => array ( |
|
| 86 | + 'config' => array ( |
|
| 87 | 87 | 'type' => 'passthrough', |
| 88 | 88 | ), |
| 89 | 89 | ), |
| 90 | 90 | |
| 91 | - 't3ver_label' => array( |
|
| 91 | + 't3ver_label' => array ( |
|
| 92 | 92 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel', |
| 93 | - 'config' => array( |
|
| 93 | + 'config' => array ( |
|
| 94 | 94 | 'type' => 'input', |
| 95 | 95 | 'size' => 30, |
| 96 | 96 | 'max' => 255, |
| 97 | 97 | ), |
| 98 | 98 | ), |
| 99 | 99 | |
| 100 | - 'hidden' => array( |
|
| 100 | + 'hidden' => array ( |
|
| 101 | 101 | 'exclude' => 1, |
| 102 | 102 | 'l10n_mode' => 'exclude', |
| 103 | 103 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden', |
| 104 | - 'config' => array( |
|
| 104 | + 'config' => array ( |
|
| 105 | 105 | 'type' => 'check', |
| 106 | 106 | ), |
| 107 | 107 | ), |
| 108 | - 'starttime' => array( |
|
| 108 | + 'starttime' => array ( |
|
| 109 | 109 | 'exclude' => 1, |
| 110 | 110 | 'l10n_mode' => 'mergeIfNotBlank', |
| 111 | 111 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime', |
| 112 | - 'config' => array( |
|
| 112 | + 'config' => array ( |
|
| 113 | 113 | 'type' => 'input', |
| 114 | 114 | 'size' => 13, |
| 115 | 115 | 'max' => 20, |
| 116 | 116 | 'eval' => 'datetime', |
| 117 | 117 | 'checkbox' => 0, |
| 118 | 118 | 'default' => 0, |
| 119 | - 'range' => array( |
|
| 119 | + 'range' => array ( |
|
| 120 | 120 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
| 121 | 121 | ), |
| 122 | 122 | ), |
| 123 | 123 | ), |
| 124 | - 'endtime' => array( |
|
| 124 | + 'endtime' => array ( |
|
| 125 | 125 | 'exclude' => 1, |
| 126 | 126 | 'l10n_mode' => 'mergeIfNotBlank', |
| 127 | 127 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime', |
| 128 | - 'config' => array( |
|
| 128 | + 'config' => array ( |
|
| 129 | 129 | 'type' => 'input', |
| 130 | 130 | 'size' => 13, |
| 131 | 131 | 'max' => 20, |
| 132 | 132 | 'eval' => 'datetime', |
| 133 | 133 | 'checkbox' => 0, |
| 134 | 134 | 'default' => 0, |
| 135 | - 'range' => array( |
|
| 135 | + 'range' => array ( |
|
| 136 | 136 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
| 137 | 137 | ), |
| 138 | 138 | ), |
| 139 | 139 | ), |
| 140 | 140 | |
| 141 | - 'name' => array( |
|
| 141 | + 'name' => array ( |
|
| 142 | 142 | 'exclude' => 1, |
| 143 | 143 | 'l10n_mode' => 'exclude', |
| 144 | 144 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.name', |
| 145 | - 'config' => array( |
|
| 145 | + 'config' => array ( |
|
| 146 | 146 | 'type' => 'input', |
| 147 | 147 | 'size' => 30, |
| 148 | 148 | 'eval' => 'trim', |
| 149 | 149 | ), |
| 150 | 150 | ), |
| 151 | - 'display_name' => array( |
|
| 151 | + 'display_name' => array ( |
|
| 152 | 152 | 'exclude' => 1, |
| 153 | 153 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.display_name', |
| 154 | - 'config' => array( |
|
| 154 | + 'config' => array ( |
|
| 155 | 155 | 'type' => 'input', |
| 156 | 156 | 'size' => 30, |
| 157 | 157 | 'eval' => 'trim', |
| 158 | 158 | ), |
| 159 | 159 | ), |
| 160 | - 'max_iteration' => array( |
|
| 160 | + 'max_iteration' => array ( |
|
| 161 | 161 | 'exclude' => 1, |
| 162 | 162 | 'l10n_mode' => 'exclude', |
| 163 | 163 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.max_iteration', |
| 164 | - 'config' => array( |
|
| 164 | + 'config' => array ( |
|
| 165 | 165 | 'type' => 'input', |
| 166 | 166 | 'size' => 4, |
| 167 | 167 | 'eval' => 'int', |
| 168 | 168 | ), |
| 169 | 169 | ), |
| 170 | - 'mandatory' => array( |
|
| 170 | + 'mandatory' => array ( |
|
| 171 | 171 | 'exclude' => 1, |
| 172 | 172 | 'l10n_mode' => 'exclude', |
| 173 | 173 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.mandatory', |
| 174 | - 'config' => array( |
|
| 174 | + 'config' => array ( |
|
| 175 | 175 | 'type' => 'check', |
| 176 | 176 | 'default' => 0, |
| 177 | 177 | ), |
| 178 | 178 | ), |
| 179 | - 'mapping' => array( |
|
| 179 | + 'mapping' => array ( |
|
| 180 | 180 | 'exclude' => 1, |
| 181 | 181 | 'l10n_mode' => 'exclude', |
| 182 | 182 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.mapping', |
| 183 | - 'config' => array( |
|
| 183 | + 'config' => array ( |
|
| 184 | 184 | 'type' => 'input', |
| 185 | 185 | 'size' => 30, |
| 186 | 186 | 'eval' => 'trim', |
| 187 | 187 | ), |
| 188 | 188 | ), |
| 189 | - 'data_type' => array( |
|
| 189 | + 'data_type' => array ( |
|
| 190 | 190 | 'exclude' => 1, |
| 191 | 191 | 'l10n_mode' => 'exclude', |
| 192 | 192 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.data_type', |
| 193 | - 'config' => array( |
|
| 193 | + 'config' => array ( |
|
| 194 | 194 | 'type' => 'select', |
| 195 | 195 | 'renderType' => 'selectSingle', |
| 196 | - 'items' => array( |
|
| 197 | - array('', ''), |
|
| 198 | - 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), |
|
| 199 | - 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), |
|
| 196 | + 'items' => array ( |
|
| 197 | + array ('', ''), |
|
| 198 | + 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), |
|
| 199 | + 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), |
|
| 200 | 200 | ), |
| 201 | 201 | 'size' => 1, |
| 202 | 202 | 'maxitems' => 1, |
| 203 | 203 | 'eval' => '', |
| 204 | 204 | ), |
| 205 | 205 | ), |
| 206 | - 'validation' => array( |
|
| 206 | + 'validation' => array ( |
|
| 207 | 207 | 'exclude' => 1, |
| 208 | 208 | 'l10n_mode' => 'exclude', |
| 209 | 209 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.validation', |
| 210 | - 'config' => array( |
|
| 210 | + 'config' => array ( |
|
| 211 | 211 | 'type' => 'input', |
| 212 | 212 | 'size' => 30, |
| 213 | 213 | 'eval' => 'trim', |
| 214 | 214 | ), |
| 215 | 215 | ), |
| 216 | - 'mods_extension' => array( |
|
| 216 | + 'mods_extension' => array ( |
|
| 217 | 217 | 'exclude' => 1, |
| 218 | 218 | 'l10n_mode' => 'exclude', |
| 219 | 219 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.mods_extension', |
| 220 | - 'config' => array( |
|
| 220 | + 'config' => array ( |
|
| 221 | 221 | 'type' => 'check', |
| 222 | 222 | 'default' => 0, |
| 223 | 223 | ), |
| 224 | 224 | ), |
| 225 | - 'backend_only' => array( |
|
| 225 | + 'backend_only' => array ( |
|
| 226 | 226 | 'exclude' => 1, |
| 227 | 227 | 'l10n_mode' => 'exclude', |
| 228 | 228 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.backend_only', |
| 229 | - 'config' => array( |
|
| 229 | + 'config' => array ( |
|
| 230 | 230 | 'type' => 'check', |
| 231 | 231 | 'default' => 0, |
| 232 | 232 | ), |
| 233 | 233 | ), |
| 234 | - 'consent' => array( |
|
| 234 | + 'consent' => array ( |
|
| 235 | 235 | 'exclude' => 1, |
| 236 | 236 | 'l10n_mode' => 'exclude', |
| 237 | 237 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.consent', |
| 238 | - 'config' => array( |
|
| 238 | + 'config' => array ( |
|
| 239 | 239 | 'type' => 'check', |
| 240 | 240 | 'default' => 0, |
| 241 | 241 | ), |
| 242 | 242 | ), |
| 243 | - 'input_field' => array( |
|
| 243 | + 'input_field' => array ( |
|
| 244 | 244 | 'exclude' => 1, |
| 245 | 245 | 'l10n_mode' => 'exclude', |
| 246 | 246 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_field', |
| 247 | - 'config' => array( |
|
| 247 | + 'config' => array ( |
|
| 248 | 248 | 'type' => 'select', |
| 249 | 249 | 'renderType' => 'selectSingle', |
| 250 | - 'items' => array( |
|
| 251 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.input', \EWW\Dpf\Domain\Model\MetadataObject::input), |
|
| 252 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.textarea', \EWW\Dpf\Domain\Model\MetadataObject::textarea), |
|
| 253 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.select', \EWW\Dpf\Domain\Model\MetadataObject::select), |
|
| 254 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.checkbox', \EWW\Dpf\Domain\Model\MetadataObject::checkbox), |
|
| 255 | - array('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.hidden', \EWW\Dpf\Domain\Model\MetadataObject::hidden), |
|
| 250 | + 'items' => array ( |
|
| 251 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.input', \EWW\Dpf\Domain\Model\MetadataObject::input), |
|
| 252 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.textarea', \EWW\Dpf\Domain\Model\MetadataObject::textarea), |
|
| 253 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.select', \EWW\Dpf\Domain\Model\MetadataObject::select), |
|
| 254 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.checkbox', \EWW\Dpf\Domain\Model\MetadataObject::checkbox), |
|
| 255 | + array ('LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_type.hidden', \EWW\Dpf\Domain\Model\MetadataObject::hidden), |
|
| 256 | 256 | ), |
| 257 | 257 | 'size' => 1, |
| 258 | 258 | 'maxitems' => 1, |
| 259 | 259 | 'eval' => '', |
| 260 | 260 | ), |
| 261 | 261 | ), |
| 262 | - 'input_option_list' => array( |
|
| 262 | + 'input_option_list' => array ( |
|
| 263 | 263 | 'exclude' => 1, |
| 264 | 264 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.input_option_list', |
| 265 | - 'config' => array( |
|
| 265 | + 'config' => array ( |
|
| 266 | 266 | 'type' => 'select', |
| 267 | 267 | 'renderType' => 'selectSingle', |
| 268 | - 'items' => array( |
|
| 269 | - array('', 0), |
|
| 268 | + 'items' => array ( |
|
| 269 | + array ('', 0), |
|
| 270 | 270 | ), |
| 271 | 271 | 'foreign_table' => 'tx_dpf_domain_model_inputoptionlist', |
| 272 | 272 | 'foreign_table_where' => ' AND (tx_dpf_domain_model_inputoptionlist.pid=###CURRENT_PID###) AND (tx_dpf_domain_model_inputoptionlist.sys_language_uid = 0)', |
@@ -274,45 +274,45 @@ discard block |
||
| 274 | 274 | 'maxitems' => 1, |
| 275 | 275 | ), |
| 276 | 276 | ), |
| 277 | - 'default_value' => array( |
|
| 277 | + 'default_value' => array ( |
|
| 278 | 278 | 'exclude' => 1, |
| 279 | 279 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.default_value', |
| 280 | - 'config' => array( |
|
| 280 | + 'config' => array ( |
|
| 281 | 281 | 'type' => 'text', |
| 282 | 282 | 'cols' => 20, |
| 283 | 283 | 'rows' => 3, |
| 284 | 284 | 'eval' => 'trim', |
| 285 | 285 | ), |
| 286 | 286 | ), |
| 287 | - 'fill_out_service' => array( |
|
| 287 | + 'fill_out_service' => array ( |
|
| 288 | 288 | 'exclude' => 1, |
| 289 | 289 | 'l10n_mode' => 'exclude', |
| 290 | 290 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadataobject.fill_out_service', |
| 291 | - 'config' => array( |
|
| 291 | + 'config' => array ( |
|
| 292 | 292 | 'type' => 'select', |
| 293 | 293 | 'renderType' => 'selectSingle', |
| 294 | - 'items' => array( |
|
| 295 | - array('', 0), |
|
| 296 | - 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), |
|
| 297 | - 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), |
|
| 294 | + 'items' => array ( |
|
| 295 | + array ('', 0), |
|
| 296 | + 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), |
|
| 297 | + 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), |
|
| 298 | 298 | ), |
| 299 | 299 | 'size' => 1, |
| 300 | 300 | 'maxitems' => 1, |
| 301 | 301 | 'eval' => '', |
| 302 | 302 | ), |
| 303 | 303 | ), |
| 304 | - 'gnd_field_uid' => array( |
|
| 305 | - 'displayCond' => 'FIELD:fill_out_service:=:'.\EWW\Dpf\Domain\Model\MetadataObject::FILL_OUT_SERVICE_GND, |
|
| 304 | + 'gnd_field_uid' => array ( |
|
| 305 | + 'displayCond' => 'FIELD:fill_out_service:=:' . \EWW\Dpf\Domain\Model\MetadataObject::FILL_OUT_SERVICE_GND, |
|
| 306 | 306 | 'exclude' => 0, |
| 307 | 307 | 'label' => 'GND Nr Feld', |
| 308 | - 'config' => array( |
|
| 308 | + 'config' => array ( |
|
| 309 | 309 | 'type' => 'input', |
| 310 | 310 | 'size' => 30, |
| 311 | 311 | 'eval' => 'trim', |
| 312 | 312 | ), |
| 313 | 313 | ), |
| 314 | - 'metadatagroup' => array( |
|
| 315 | - 'config' => array( |
|
| 314 | + 'metadatagroup' => array ( |
|
| 315 | + 'config' => array ( |
|
| 316 | 316 | 'type' => 'passthrough', |
| 317 | 317 | ), |
| 318 | 318 | ), |
@@ -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_inputoptionlist', |
| 22 | 22 | 'label' => 'name', |
| 23 | 23 | 'tstamp' => 'tstamp', |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | 'transOrigPointerField' => 'l10n_parent', |
| 33 | 33 | 'transOrigDiffSourceField' => 'l10n_diffsource', |
| 34 | 34 | 'delete' => 'deleted', |
| 35 | - 'enablecolumns' => array( |
|
| 35 | + 'enablecolumns' => array ( |
|
| 36 | 36 | 'disabled' => 'hidden', |
| 37 | 37 | 'starttime' => 'starttime', |
| 38 | 38 | 'endtime' => 'endtime', |
@@ -40,146 +40,146 @@ discard block |
||
| 40 | 40 | 'searchFields' => 'name,display_name,', |
| 41 | 41 | 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dpf') . 'Resources/Public/Icons/tx_dpf_domain_model_inputoptionlist.gif', |
| 42 | 42 | ), |
| 43 | - 'interface' => array( |
|
| 43 | + 'interface' => array ( |
|
| 44 | 44 | 'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, name, display_name, value_list, value_label_list, default_value', |
| 45 | 45 | ), |
| 46 | - 'types' => array( |
|
| 47 | - '1' => array('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, hidden;;1, name, display_name, value_list, value_label_list, default_value, --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
|
| 46 | + 'types' => array ( |
|
| 47 | + '1' => array ('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, hidden;;1, name, display_name, value_list, value_label_list, default_value, --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
|
| 48 | 48 | ), |
| 49 | - 'palettes' => array( |
|
| 50 | - '1' => array('showitem' => ''), |
|
| 49 | + 'palettes' => array ( |
|
| 50 | + '1' => array ('showitem' => ''), |
|
| 51 | 51 | ), |
| 52 | - 'columns' => array( |
|
| 52 | + 'columns' => array ( |
|
| 53 | 53 | |
| 54 | - 'sys_language_uid' => array( |
|
| 54 | + 'sys_language_uid' => array ( |
|
| 55 | 55 | 'exclude' => 1, |
| 56 | 56 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language', |
| 57 | - 'config' => array( |
|
| 57 | + 'config' => array ( |
|
| 58 | 58 | 'type' => 'select', |
| 59 | 59 | 'renderType' => 'selectSingle', |
| 60 | 60 | 'foreign_table' => 'sys_language', |
| 61 | 61 | 'foreign_table_where' => 'ORDER BY sys_language.title', |
| 62 | - 'items' => array( |
|
| 63 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 64 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 62 | + 'items' => array ( |
|
| 63 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 64 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 65 | 65 | ), |
| 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_inputoptionlist', |
| 79 | 79 | 'foreign_table_where' => 'AND tx_dpf_domain_model_inputoptionlist.pid=###CURRENT_PID### AND tx_dpf_domain_model_inputoptionlist.sys_language_uid IN (-1,0)', |
| 80 | 80 | ), |
| 81 | 81 | ), |
| 82 | - 'l10n_diffsource' => array( |
|
| 83 | - 'config' => array( |
|
| 82 | + 'l10n_diffsource' => array ( |
|
| 83 | + 'config' => array ( |
|
| 84 | 84 | 'type' => 'passthrough', |
| 85 | 85 | ), |
| 86 | 86 | ), |
| 87 | 87 | |
| 88 | - 't3ver_label' => array( |
|
| 88 | + 't3ver_label' => array ( |
|
| 89 | 89 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel', |
| 90 | - 'config' => array( |
|
| 90 | + 'config' => array ( |
|
| 91 | 91 | 'type' => 'input', |
| 92 | 92 | 'size' => 30, |
| 93 | 93 | 'max' => 255, |
| 94 | 94 | ), |
| 95 | 95 | ), |
| 96 | 96 | |
| 97 | - 'hidden' => array( |
|
| 97 | + 'hidden' => array ( |
|
| 98 | 98 | 'exclude' => 1, |
| 99 | 99 | 'l10n_mode' => 'exclude', |
| 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 | 'l10n_mode' => 'mergeIfNotBlank', |
| 108 | 108 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime', |
| 109 | - 'config' => array( |
|
| 109 | + 'config' => array ( |
|
| 110 | 110 | 'type' => 'input', |
| 111 | 111 | 'size' => 13, |
| 112 | 112 | 'max' => 20, |
| 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 | 'l10n_mode' => 'mergeIfNotBlank', |
| 124 | 124 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime', |
| 125 | - 'config' => array( |
|
| 125 | + 'config' => array ( |
|
| 126 | 126 | 'type' => 'input', |
| 127 | 127 | 'size' => 13, |
| 128 | 128 | 'max' => 20, |
| 129 | 129 | 'eval' => 'datetime', |
| 130 | 130 | 'checkbox' => 0, |
| 131 | 131 | 'default' => 0, |
| 132 | - 'range' => array( |
|
| 132 | + 'range' => array ( |
|
| 133 | 133 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
| 134 | 134 | ), |
| 135 | 135 | ), |
| 136 | 136 | ), |
| 137 | 137 | |
| 138 | - 'name' => array( |
|
| 138 | + 'name' => array ( |
|
| 139 | 139 | 'exclude' => 1, |
| 140 | 140 | 'l10n_mode' => 'exclude', |
| 141 | 141 | 'l10n_mode' => 'exclude', |
| 142 | 142 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_inputoptionlist.name', |
| 143 | - 'config' => array( |
|
| 143 | + 'config' => array ( |
|
| 144 | 144 | 'type' => 'input', |
| 145 | 145 | 'size' => 30, |
| 146 | 146 | 'eval' => 'trim', |
| 147 | 147 | ), |
| 148 | 148 | ), |
| 149 | - 'display_name' => array( |
|
| 149 | + 'display_name' => array ( |
|
| 150 | 150 | 'exclude' => 1, |
| 151 | 151 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_inputoptionlist.display_name', |
| 152 | - 'config' => array( |
|
| 152 | + 'config' => array ( |
|
| 153 | 153 | 'type' => 'input', |
| 154 | 154 | 'size' => 30, |
| 155 | 155 | 'eval' => 'trim', |
| 156 | 156 | ), |
| 157 | 157 | ), |
| 158 | - 'value_list' => array( |
|
| 158 | + 'value_list' => 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_inputoptionlist.value_list', |
| 162 | - 'config' => array( |
|
| 162 | + 'config' => array ( |
|
| 163 | 163 | 'type' => 'text', |
| 164 | 164 | 'cols' => 20, |
| 165 | 165 | 'rows' => 3, |
| 166 | 166 | 'eval' => 'trim', |
| 167 | 167 | ), |
| 168 | 168 | ), |
| 169 | - 'value_label_list' => array( |
|
| 169 | + 'value_label_list' => array ( |
|
| 170 | 170 | 'exclude' => 1, |
| 171 | 171 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_inputoptionlist.value_label_list', |
| 172 | - 'config' => array( |
|
| 172 | + 'config' => array ( |
|
| 173 | 173 | 'type' => 'text', |
| 174 | 174 | 'cols' => 20, |
| 175 | 175 | 'rows' => 3, |
| 176 | 176 | 'eval' => 'trim', |
| 177 | 177 | ), |
| 178 | 178 | ), |
| 179 | - 'default_value' => array( |
|
| 179 | + 'default_value' => array ( |
|
| 180 | 180 | 'exclude' => 1, |
| 181 | 181 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_inputoptionlist.default_value', |
| 182 | - 'config' => array( |
|
| 182 | + 'config' => array ( |
|
| 183 | 183 | 'type' => 'text', |
| 184 | 184 | 'cols' => 20, |
| 185 | 185 | 'rows' => 3, |
@@ -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', |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | 'transOrigPointerField' => 'l10n_parent', |
| 33 | 33 | 'transOrigDiffSourceField' => 'l10n_diffsource', |
| 34 | 34 | 'delete' => 'deleted', |
| 35 | - 'enablecolumns' => array( |
|
| 35 | + 'enablecolumns' => array ( |
|
| 36 | 36 | 'disabled' => 'hidden', |
| 37 | 37 | 'starttime' => 'starttime', |
| 38 | 38 | 'endtime' => 'endtime', |
@@ -40,192 +40,192 @@ discard block |
||
| 40 | 40 | 'searchFields' => 'name,display_name,mandatory,max_iteration,metadata_object,', |
| 41 | 41 | 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dpf') . 'Resources/Public/Icons/tx_dpf_domain_model_metadatagroup.gif', |
| 42 | 42 | ), |
| 43 | - 'interface' => array( |
|
| 43 | + 'interface' => array ( |
|
| 44 | 44 | 'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, name, display_name, mandatory, mapping_for_reading, mapping, mods_extension_mapping, mods_extension_reference, max_iteration, metadata_object, backend_only, info_text', |
| 45 | 45 | ), |
| 46 | - 'types' => array( |
|
| 47 | - '1' => array('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, hidden;;1, name, display_name, mandatory, mapping_for_reading, mapping, mods_extension_mapping, mods_extension_reference, max_iteration, metadata_object, backend_only, info_text, --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
|
| 46 | + 'types' => array ( |
|
| 47 | + '1' => array ('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, hidden;;1, name, display_name, mandatory, mapping_for_reading, mapping, mods_extension_mapping, mods_extension_reference, max_iteration, metadata_object, backend_only, info_text, --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
|
| 48 | 48 | ), |
| 49 | - 'palettes' => array( |
|
| 50 | - '1' => array('showitem' => ''), |
|
| 49 | + 'palettes' => array ( |
|
| 50 | + '1' => array ('showitem' => ''), |
|
| 51 | 51 | ), |
| 52 | - 'columns' => array( |
|
| 52 | + 'columns' => array ( |
|
| 53 | 53 | |
| 54 | - 'sys_language_uid' => array( |
|
| 54 | + 'sys_language_uid' => array ( |
|
| 55 | 55 | 'exclude' => 1, |
| 56 | 56 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language', |
| 57 | - 'config' => array( |
|
| 57 | + 'config' => array ( |
|
| 58 | 58 | 'type' => 'select', |
| 59 | 59 | 'renderType' => 'selectSingle', |
| 60 | 60 | 'foreign_table' => 'sys_language', |
| 61 | 61 | 'foreign_table_where' => 'ORDER BY sys_language.title', |
| 62 | - 'items' => array( |
|
| 63 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 64 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 62 | + 'items' => array ( |
|
| 63 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 64 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 65 | 65 | ), |
| 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_metadatagroup', |
| 79 | 79 | 'foreign_table_where' => 'AND tx_dpf_domain_model_metadatagroup.pid=###CURRENT_PID### AND tx_dpf_domain_model_metadatagroup.sys_language_uid IN (-1,0)', |
| 80 | 80 | ), |
| 81 | 81 | ), |
| 82 | - 'l10n_diffsource' => array( |
|
| 83 | - 'config' => array( |
|
| 82 | + 'l10n_diffsource' => array ( |
|
| 83 | + 'config' => array ( |
|
| 84 | 84 | 'type' => 'passthrough', |
| 85 | 85 | ), |
| 86 | 86 | ), |
| 87 | 87 | |
| 88 | - 't3ver_label' => array( |
|
| 88 | + 't3ver_label' => array ( |
|
| 89 | 89 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel', |
| 90 | - 'config' => array( |
|
| 90 | + 'config' => array ( |
|
| 91 | 91 | 'type' => 'input', |
| 92 | 92 | 'size' => 30, |
| 93 | 93 | 'max' => 255, |
| 94 | 94 | ), |
| 95 | 95 | ), |
| 96 | 96 | |
| 97 | - 'hidden' => array( |
|
| 97 | + 'hidden' => array ( |
|
| 98 | 98 | 'exclude' => 1, |
| 99 | 99 | 'l10n_mode' => 'exclude', |
| 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 | 'l10n_mode' => 'mergeIfNotBlank', |
| 108 | 108 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime', |
| 109 | - 'config' => array( |
|
| 109 | + 'config' => array ( |
|
| 110 | 110 | 'type' => 'input', |
| 111 | 111 | 'size' => 13, |
| 112 | 112 | 'max' => 20, |
| 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 | 'l10n_mode' => 'mergeIfNotBlank', |
| 124 | 124 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime', |
| 125 | - 'config' => array( |
|
| 125 | + 'config' => array ( |
|
| 126 | 126 | 'type' => 'input', |
| 127 | 127 | 'size' => 13, |
| 128 | 128 | 'max' => 20, |
| 129 | 129 | 'eval' => 'datetime', |
| 130 | 130 | 'checkbox' => 0, |
| 131 | 131 | 'default' => 0, |
| 132 | - 'range' => array( |
|
| 132 | + 'range' => array ( |
|
| 133 | 133 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
| 134 | 134 | ), |
| 135 | 135 | ), |
| 136 | 136 | ), |
| 137 | 137 | |
| 138 | - 'name' => array( |
|
| 138 | + 'name' => array ( |
|
| 139 | 139 | 'exclude' => 1, |
| 140 | 140 | 'l10n_mode' => 'exclude', |
| 141 | 141 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.name', |
| 142 | - 'config' => array( |
|
| 142 | + 'config' => array ( |
|
| 143 | 143 | 'type' => 'input', |
| 144 | 144 | 'size' => 30, |
| 145 | 145 | 'eval' => 'trim,uniqueInPid', |
| 146 | 146 | ), |
| 147 | 147 | ), |
| 148 | - 'display_name' => array( |
|
| 148 | + 'display_name' => array ( |
|
| 149 | 149 | 'exclude' => 1, |
| 150 | 150 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.display_name', |
| 151 | - 'config' => array( |
|
| 151 | + 'config' => array ( |
|
| 152 | 152 | 'type' => 'input', |
| 153 | 153 | 'size' => 30, |
| 154 | 154 | 'eval' => 'trim', |
| 155 | 155 | ), |
| 156 | 156 | ), |
| 157 | - 'mandatory' => array( |
|
| 157 | + 'mandatory' => array ( |
|
| 158 | 158 | 'exclude' => 1, |
| 159 | 159 | 'l10n_mode' => 'exclude', |
| 160 | 160 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.mandatory', |
| 161 | - 'config' => array( |
|
| 161 | + 'config' => array ( |
|
| 162 | 162 | 'type' => 'check', |
| 163 | 163 | 'default' => 0, |
| 164 | 164 | ), |
| 165 | 165 | ), |
| 166 | - 'mapping_for_reading' => array( |
|
| 166 | + 'mapping_for_reading' => array ( |
|
| 167 | 167 | 'exclude' => 1, |
| 168 | 168 | 'l10n_mode' => 'exclude', |
| 169 | 169 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.mapping_for_reading', |
| 170 | - 'config' => array( |
|
| 170 | + 'config' => array ( |
|
| 171 | 171 | 'type' => 'input', |
| 172 | 172 | 'size' => 30, |
| 173 | 173 | 'eval' => 'trim', |
| 174 | 174 | ), |
| 175 | 175 | ), |
| 176 | - 'mapping' => array( |
|
| 176 | + 'mapping' => 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_metadatagroup.mapping', |
| 180 | - 'config' => array( |
|
| 180 | + 'config' => array ( |
|
| 181 | 181 | 'type' => 'input', |
| 182 | 182 | 'size' => 30, |
| 183 | 183 | 'eval' => 'trim', |
| 184 | 184 | ), |
| 185 | 185 | ), |
| 186 | - 'mods_extension_mapping' => array( |
|
| 186 | + 'mods_extension_mapping' => array ( |
|
| 187 | 187 | 'exclude' => 1, |
| 188 | 188 | 'l10n_mode' => 'exclude', |
| 189 | 189 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.mods_extension_mapping', |
| 190 | - 'config' => array( |
|
| 190 | + 'config' => array ( |
|
| 191 | 191 | 'type' => 'input', |
| 192 | 192 | 'size' => 30, |
| 193 | 193 | 'eval' => 'trim', |
| 194 | 194 | ), |
| 195 | 195 | ), |
| 196 | - 'mods_extension_reference' => array( |
|
| 196 | + 'mods_extension_reference' => array ( |
|
| 197 | 197 | 'exclude' => 1, |
| 198 | 198 | 'l10n_mode' => 'exclude', |
| 199 | 199 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.mods_extension_reference', |
| 200 | - 'config' => array( |
|
| 200 | + 'config' => array ( |
|
| 201 | 201 | 'type' => 'input', |
| 202 | 202 | 'size' => 30, |
| 203 | 203 | 'eval' => 'trim', |
| 204 | 204 | ), |
| 205 | 205 | ), |
| 206 | - 'max_iteration' => array( |
|
| 206 | + 'max_iteration' => array ( |
|
| 207 | 207 | 'exclude' => 1, |
| 208 | 208 | 'l10n_mode' => 'exclude', |
| 209 | 209 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.max_iteration', |
| 210 | - 'config' => array( |
|
| 210 | + 'config' => array ( |
|
| 211 | 211 | 'type' => 'input', |
| 212 | 212 | 'size' => 4, |
| 213 | 213 | 'eval' => 'int', |
| 214 | 214 | ), |
| 215 | 215 | ), |
| 216 | - 'backend_only' => array( |
|
| 216 | + 'backend_only' => array ( |
|
| 217 | 217 | 'exclude' => 1, |
| 218 | 218 | 'l10n_mode' => 'exclude', |
| 219 | 219 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.backend_only', |
| 220 | - 'config' => array( |
|
| 220 | + 'config' => array ( |
|
| 221 | 221 | 'type' => 'check', |
| 222 | 222 | 'default' => 0, |
| 223 | 223 | ), |
| 224 | 224 | ), |
| 225 | - 'info_text' => array( |
|
| 225 | + 'info_text' => array ( |
|
| 226 | 226 | 'exclude' => 1, |
| 227 | 227 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.info_text', |
| 228 | - 'config' => array( |
|
| 228 | + 'config' => array ( |
|
| 229 | 229 | 'type' => 'text', |
| 230 | 230 | 'cols' => 40, |
| 231 | 231 | 'rows' => 15, |
@@ -233,17 +233,17 @@ discard block |
||
| 233 | 233 | ), |
| 234 | 234 | 'defaultExtras' => 'richtext[]' |
| 235 | 235 | ), |
| 236 | - 'metadata_object' => array( |
|
| 236 | + 'metadata_object' => array ( |
|
| 237 | 237 | 'exclude' => 1, |
| 238 | 238 | 'l10n_mode' => 'exclude', |
| 239 | 239 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatagroup.metadata_object', |
| 240 | - 'config' => array( |
|
| 240 | + 'config' => array ( |
|
| 241 | 241 | 'type' => 'inline', |
| 242 | 242 | 'foreign_table' => 'tx_dpf_domain_model_metadataobject', |
| 243 | 243 | 'foreign_field' => 'metadatagroup', |
| 244 | 244 | 'foreign_label' => 'display_name', |
| 245 | 245 | 'foreign_sortby' => 'sorting', |
| 246 | - 'behaviour' => array( |
|
| 246 | + 'behaviour' => array ( |
|
| 247 | 247 | 'disableMovingChildrenWithParent' => 1, |
| 248 | 248 | //'disableCopyingChildrenWithParent' => 1 |
| 249 | 249 | ), |
@@ -251,7 +251,7 @@ discard block |
||
| 251 | 251 | 'autoSizeMax' => 30, |
| 252 | 252 | 'maxitems' => 9999, |
| 253 | 253 | 'multiple' => 0, |
| 254 | - 'appearance' => array( |
|
| 254 | + 'appearance' => array ( |
|
| 255 | 255 | 'collapseAll' => 1, |
| 256 | 256 | 'levelLinksPosition' => 'top', |
| 257 | 257 | '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_document', |
| 22 | 22 | 'label' => 'title', |
| 23 | 23 | 'tstamp' => 'tstamp', |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | 'transOrigPointerField' => 'l10n_parent', |
| 33 | 33 | 'transOrigDiffSourceField' => 'l10n_diffsource', |
| 34 | 34 | 'delete' => 'deleted', |
| 35 | - 'enablecolumns' => array( |
|
| 35 | + 'enablecolumns' => array ( |
|
| 36 | 36 | 'disabled' => 'hidden', |
| 37 | 37 | 'starttime' => 'starttime', |
| 38 | 38 | 'endtime' => 'endtime', |
@@ -40,144 +40,144 @@ discard block |
||
| 40 | 40 | 'searchFields' => 'xml_data,document_type,', |
| 41 | 41 | 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('dpf') . 'Resources/Public/Icons/tx_dpf_domain_model_document.gif', |
| 42 | 42 | ), |
| 43 | - 'interface' => array( |
|
| 43 | + 'interface' => array ( |
|
| 44 | 44 | 'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, title, authors, xml_data, slub_info_data, document_type, date_issued, file', |
| 45 | 45 | ), |
| 46 | - 'types' => array( |
|
| 47 | - '1' => array('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, hidden;;1, title, authors, xml_data, slub_info_data, document_type, date_issued, file, --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
|
| 46 | + 'types' => array ( |
|
| 47 | + '1' => array ('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, hidden;;1, title, authors, xml_data, slub_info_data, document_type, date_issued, file, --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
|
| 48 | 48 | ), |
| 49 | - 'palettes' => array( |
|
| 50 | - '1' => array('showitem' => ''), |
|
| 49 | + 'palettes' => array ( |
|
| 50 | + '1' => array ('showitem' => ''), |
|
| 51 | 51 | ), |
| 52 | - 'columns' => array( |
|
| 52 | + 'columns' => array ( |
|
| 53 | 53 | |
| 54 | - 'sys_language_uid' => array( |
|
| 54 | + 'sys_language_uid' => array ( |
|
| 55 | 55 | 'exclude' => 1, |
| 56 | 56 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language', |
| 57 | - 'config' => array( |
|
| 57 | + 'config' => array ( |
|
| 58 | 58 | 'type' => 'select', |
| 59 | 59 | 'renderType' => 'selectSingle', |
| 60 | 60 | 'foreign_table' => 'sys_language', |
| 61 | 61 | 'foreign_table_where' => 'ORDER BY sys_language.title', |
| 62 | - 'items' => array( |
|
| 63 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 64 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 62 | + 'items' => array ( |
|
| 63 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 64 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 65 | 65 | ), |
| 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_document', |
| 79 | 79 | 'foreign_table_where' => 'AND tx_dpf_domain_model_document.pid=###CURRENT_PID### AND tx_dpf_domain_model_document.sys_language_uid IN (-1,0)', |
| 80 | 80 | ), |
| 81 | 81 | ), |
| 82 | - 'l10n_diffsource' => array( |
|
| 83 | - 'config' => array( |
|
| 82 | + 'l10n_diffsource' => array ( |
|
| 83 | + 'config' => array ( |
|
| 84 | 84 | 'type' => 'passthrough', |
| 85 | 85 | ), |
| 86 | 86 | ), |
| 87 | 87 | |
| 88 | - 't3ver_label' => array( |
|
| 88 | + 't3ver_label' => array ( |
|
| 89 | 89 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel', |
| 90 | - 'config' => array( |
|
| 90 | + 'config' => array ( |
|
| 91 | 91 | 'type' => 'input', |
| 92 | 92 | 'size' => 30, |
| 93 | 93 | 'max' => 255, |
| 94 | 94 | ), |
| 95 | 95 | ), |
| 96 | 96 | |
| 97 | - 'hidden' => array( |
|
| 97 | + 'hidden' => array ( |
|
| 98 | 98 | 'exclude' => 1, |
| 99 | 99 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden', |
| 100 | - 'config' => array( |
|
| 100 | + 'config' => array ( |
|
| 101 | 101 | 'type' => 'check', |
| 102 | 102 | ), |
| 103 | 103 | ), |
| 104 | - 'starttime' => array( |
|
| 104 | + 'starttime' => array ( |
|
| 105 | 105 | 'exclude' => 1, |
| 106 | 106 | 'l10n_mode' => 'mergeIfNotBlank', |
| 107 | 107 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime', |
| 108 | - 'config' => array( |
|
| 108 | + 'config' => array ( |
|
| 109 | 109 | 'type' => 'input', |
| 110 | 110 | 'size' => 13, |
| 111 | 111 | 'max' => 20, |
| 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 | 'l10n_mode' => 'mergeIfNotBlank', |
| 123 | 123 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime', |
| 124 | - 'config' => array( |
|
| 124 | + 'config' => array ( |
|
| 125 | 125 | 'type' => 'input', |
| 126 | 126 | 'size' => 13, |
| 127 | 127 | 'max' => 20, |
| 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 | - 'title' => array( |
|
| 137 | + 'title' => array ( |
|
| 138 | 138 | 'exclude' => 1, |
| 139 | 139 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.title', |
| 140 | - 'config' => array( |
|
| 140 | + 'config' => array ( |
|
| 141 | 141 | 'type' => 'input', |
| 142 | 142 | 'size' => 30, |
| 143 | 143 | 'eval' => 'trim', |
| 144 | 144 | ), |
| 145 | 145 | ), |
| 146 | 146 | |
| 147 | - 'authors' => array( |
|
| 147 | + 'authors' => array ( |
|
| 148 | 148 | 'exclude' => 1, |
| 149 | 149 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.authors', |
| 150 | - 'config' => array( |
|
| 150 | + 'config' => array ( |
|
| 151 | 151 | 'type' => 'input', |
| 152 | 152 | 'size' => 30, |
| 153 | 153 | 'eval' => 'trim', |
| 154 | 154 | ), |
| 155 | 155 | ), |
| 156 | 156 | |
| 157 | - 'xml_data' => array( |
|
| 157 | + 'xml_data' => array ( |
|
| 158 | 158 | 'exclude' => 1, |
| 159 | 159 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.xml_data', |
| 160 | - 'config' => array( |
|
| 160 | + 'config' => array ( |
|
| 161 | 161 | 'type' => 'text', |
| 162 | 162 | 'cols' => 40, |
| 163 | 163 | 'rows' => 15, |
| 164 | 164 | 'eval' => 'trim', |
| 165 | 165 | ), |
| 166 | 166 | ), |
| 167 | - 'slub_info_data' => array( |
|
| 167 | + 'slub_info_data' => array ( |
|
| 168 | 168 | 'exclude' => 1, |
| 169 | 169 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.slub_info_data', |
| 170 | - 'config' => array( |
|
| 170 | + 'config' => array ( |
|
| 171 | 171 | 'type' => 'text', |
| 172 | 172 | 'cols' => 40, |
| 173 | 173 | 'rows' => 15, |
| 174 | 174 | 'eval' => 'trim', |
| 175 | 175 | ), |
| 176 | 176 | ), |
| 177 | - 'document_type' => array( |
|
| 177 | + 'document_type' => array ( |
|
| 178 | 178 | 'exclude' => 1, |
| 179 | 179 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.document_type', |
| 180 | - 'config' => array( |
|
| 180 | + 'config' => array ( |
|
| 181 | 181 | 'type' => 'select', |
| 182 | 182 | 'renderType' => 'selectSingle', |
| 183 | 183 | 'foreign_table' => 'tx_dpf_domain_model_documenttype', |
@@ -187,119 +187,119 @@ discard block |
||
| 187 | 187 | ), |
| 188 | 188 | ), |
| 189 | 189 | |
| 190 | - 'crdate' => array( |
|
| 190 | + 'crdate' => array ( |
|
| 191 | 191 | 'exclude' => 0, |
| 192 | 192 | 'label' => 'Creation date', |
| 193 | - 'config' => array( |
|
| 193 | + 'config' => array ( |
|
| 194 | 194 | 'type' => 'none', |
| 195 | 195 | 'format' => 'datetime', |
| 196 | 196 | 'eval' => 'datetime', |
| 197 | 197 | ), |
| 198 | 198 | ), |
| 199 | 199 | |
| 200 | - 'tstamp' => array( |
|
| 200 | + 'tstamp' => array ( |
|
| 201 | 201 | 'exclude' => 0, |
| 202 | 202 | 'label' => 'Timestamp', |
| 203 | - 'config' => array( |
|
| 203 | + 'config' => array ( |
|
| 204 | 204 | 'type' => 'none', |
| 205 | 205 | 'format' => 'datetime', |
| 206 | 206 | 'eval' => 'datetime', |
| 207 | 207 | ), |
| 208 | 208 | ), |
| 209 | 209 | |
| 210 | - 'transfer_status' => array( |
|
| 210 | + 'transfer_status' => array ( |
|
| 211 | 211 | 'exclude' => 0, |
| 212 | 212 | 'label' => 'Transfer Status', |
| 213 | - 'config' => array( |
|
| 213 | + 'config' => array ( |
|
| 214 | 214 | 'type' => 'input', |
| 215 | 215 | 'size' => '30', |
| 216 | 216 | 'eval' => 'trim', |
| 217 | 217 | ), |
| 218 | 218 | ), |
| 219 | 219 | |
| 220 | - 'object_identifier' => array( |
|
| 220 | + 'object_identifier' => array ( |
|
| 221 | 221 | 'exclude' => 0, |
| 222 | 222 | 'label' => 'Object Identifier', |
| 223 | - 'config' => array( |
|
| 223 | + 'config' => array ( |
|
| 224 | 224 | 'type' => 'input', |
| 225 | 225 | 'size' => '30', |
| 226 | 226 | 'eval' => 'trim', |
| 227 | 227 | ), |
| 228 | 228 | ), |
| 229 | 229 | |
| 230 | - 'reserved_object_identifier' => array( |
|
| 230 | + 'reserved_object_identifier' => array ( |
|
| 231 | 231 | 'exclude' => 0, |
| 232 | 232 | 'label' => 'Reserved Object Identifier', |
| 233 | - 'config' => array( |
|
| 233 | + 'config' => array ( |
|
| 234 | 234 | 'type' => 'input', |
| 235 | 235 | 'size' => '30', |
| 236 | 236 | 'eval' => 'trim', |
| 237 | 237 | ), |
| 238 | 238 | ), |
| 239 | 239 | |
| 240 | - 'process_number' => array( |
|
| 240 | + 'process_number' => array ( |
|
| 241 | 241 | 'exclude' => 0, |
| 242 | 242 | 'label' => 'Process Number', |
| 243 | - 'config' => array( |
|
| 243 | + 'config' => array ( |
|
| 244 | 244 | 'type' => 'input', |
| 245 | 245 | 'size' => '30', |
| 246 | 246 | 'eval' => 'trim', |
| 247 | 247 | ), |
| 248 | 248 | ), |
| 249 | 249 | |
| 250 | - 'state' => array( |
|
| 250 | + 'state' => array ( |
|
| 251 | 251 | 'exclude' => 0, |
| 252 | 252 | 'label' => 'Local State', |
| 253 | - 'config' => array( |
|
| 253 | + 'config' => array ( |
|
| 254 | 254 | 'type' => 'input', |
| 255 | 255 | 'size' => '30', |
| 256 | 256 | 'eval' => 'trim', |
| 257 | 257 | ), |
| 258 | 258 | ), |
| 259 | 259 | |
| 260 | - 'changed' => array( |
|
| 260 | + 'changed' => array ( |
|
| 261 | 261 | 'exclude' => 1, |
| 262 | 262 | 'l10n_mode' => 'exclude', |
| 263 | 263 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.changed', |
| 264 | - 'config' => array( |
|
| 264 | + 'config' => array ( |
|
| 265 | 265 | 'type' => 'check', |
| 266 | 266 | 'default' => 0, |
| 267 | 267 | ), |
| 268 | 268 | ), |
| 269 | 269 | |
| 270 | - 'valid' => array( |
|
| 270 | + 'valid' => array ( |
|
| 271 | 271 | 'exclude' => 1, |
| 272 | 272 | 'l10n_mode' => 'exclude', |
| 273 | 273 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.valid', |
| 274 | - 'config' => array( |
|
| 274 | + 'config' => array ( |
|
| 275 | 275 | 'type' => 'check', |
| 276 | 276 | 'default' => 0, |
| 277 | 277 | ), |
| 278 | 278 | ), |
| 279 | 279 | |
| 280 | - 'date_issued' => array( |
|
| 280 | + 'date_issued' => array ( |
|
| 281 | 281 | 'exclude' => 1, |
| 282 | 282 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.date_issued', |
| 283 | - 'config' => array( |
|
| 283 | + 'config' => array ( |
|
| 284 | 284 | 'type' => 'input', |
| 285 | 285 | 'size' => 30, |
| 286 | 286 | 'eval' => 'trim', |
| 287 | 287 | ), |
| 288 | 288 | ), |
| 289 | 289 | |
| 290 | - 'file' => array( |
|
| 290 | + 'file' => array ( |
|
| 291 | 291 | 'exclude' => 1, |
| 292 | 292 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.file', |
| 293 | - 'config' => array( |
|
| 293 | + 'config' => array ( |
|
| 294 | 294 | 'type' => 'inline', |
| 295 | 295 | 'foreign_table' => 'tx_dpf_domain_model_file', |
| 296 | 296 | 'foreign_field' => 'document', |
| 297 | - 'behaviour' => array( |
|
| 297 | + 'behaviour' => array ( |
|
| 298 | 298 | 'disableMovingChildrenWithParent' => 1, |
| 299 | 299 | //'disableCopyingChildrenWithParent' => 1 |
| 300 | 300 | ), |
| 301 | 301 | 'maxitems' => 9999, |
| 302 | - 'appearance' => array( |
|
| 302 | + 'appearance' => array ( |
|
| 303 | 303 | 'collapseAll' => 0, |
| 304 | 304 | 'levelLinksPosition' => 'top', |
| 305 | 305 | 'showSynchronizationLink' => 1, |