@@ -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', |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | 'transOrigPointerField' => 'l10n_parent', |
| 29 | 29 | 'transOrigDiffSourceField' => 'l10n_diffsource', |
| 30 | 30 | 'delete' => 'deleted', |
| 31 | - 'enablecolumns' => array( |
|
| 31 | + 'enablecolumns' => array ( |
|
| 32 | 32 | 'disabled' => 'hidden', |
| 33 | 33 | 'starttime' => 'starttime', |
| 34 | 34 | 'endtime' => 'endtime', |
@@ -36,106 +36,106 @@ discard block |
||
| 36 | 36 | 'searchFields' => 'date, response, curl_error, document_uid, object_identifier, action', |
| 37 | 37 | 'iconfile' => 'EXT:dpf/Resources/Public/Icons/tx_dpf_domain_model_documenttransferlog.gif', |
| 38 | 38 | ), |
| 39 | - 'interface' => array( |
|
| 39 | + 'interface' => array ( |
|
| 40 | 40 | 'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, date, response, curl_error, document_uid, object_identifier, action', |
| 41 | 41 | ), |
| 42 | - 'types' => array( |
|
| 43 | - '1' => array('showitem' => 'sys_language_uid,l10n_parent,l10n_diffsource,hidden,--palette--;;1, |
|
| 42 | + 'types' => array ( |
|
| 43 | + '1' => array ('showitem' => 'sys_language_uid,l10n_parent,l10n_diffsource,hidden,--palette--;;1, |
|
| 44 | 44 | date, response, curl_error, document_uid, object_identifier, action, |
| 45 | 45 | --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
| 46 | 46 | ), |
| 47 | - 'palettes' => array( |
|
| 48 | - '1' => array('showitem' => ''), |
|
| 47 | + 'palettes' => array ( |
|
| 48 | + '1' => array ('showitem' => ''), |
|
| 49 | 49 | ), |
| 50 | - 'columns' => array( |
|
| 50 | + 'columns' => array ( |
|
| 51 | 51 | |
| 52 | - 'sys_language_uid' => array( |
|
| 52 | + 'sys_language_uid' => array ( |
|
| 53 | 53 | 'exclude' => 1, |
| 54 | 54 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language', |
| 55 | - 'config' => array( |
|
| 55 | + 'config' => array ( |
|
| 56 | 56 | 'type' => 'select', |
| 57 | 57 | 'renderType' => 'selectSingle', |
| 58 | 58 | 'foreign_table' => 'sys_language', |
| 59 | 59 | 'foreign_table_where' => 'ORDER BY sys_language.title', |
| 60 | - 'items' => array( |
|
| 61 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 62 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 60 | + 'items' => array ( |
|
| 61 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 62 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 63 | 63 | ), |
| 64 | 64 | ), |
| 65 | 65 | ), |
| 66 | - 'l10n_parent' => array( |
|
| 66 | + 'l10n_parent' => array ( |
|
| 67 | 67 | 'displayCond' => 'FIELD:sys_language_uid:>:0', |
| 68 | 68 | 'exclude' => 1, |
| 69 | 69 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent', |
| 70 | - 'config' => array( |
|
| 70 | + 'config' => array ( |
|
| 71 | 71 | 'type' => 'select', |
| 72 | 72 | 'renderType' => 'selectSingle', |
| 73 | - 'items' => array( |
|
| 74 | - array('', 0), |
|
| 73 | + 'items' => array ( |
|
| 74 | + array ('', 0), |
|
| 75 | 75 | ), |
| 76 | 76 | 'foreign_table' => 'tx_dpf_domain_model_documenttransferlog', |
| 77 | 77 | 'foreign_table_where' => 'AND tx_dpf_domain_model_documenttransferlog.pid=###CURRENT_PID### AND tx_dpf_domain_model_documenttransferlog.sys_language_uid IN (-1,0)', |
| 78 | 78 | ), |
| 79 | 79 | ), |
| 80 | - 'l10n_diffsource' => array( |
|
| 81 | - 'config' => array( |
|
| 80 | + 'l10n_diffsource' => array ( |
|
| 81 | + 'config' => array ( |
|
| 82 | 82 | 'type' => 'passthrough', |
| 83 | 83 | ), |
| 84 | 84 | ), |
| 85 | 85 | |
| 86 | - 't3ver_label' => array( |
|
| 86 | + 't3ver_label' => array ( |
|
| 87 | 87 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel', |
| 88 | - 'config' => array( |
|
| 88 | + 'config' => array ( |
|
| 89 | 89 | 'type' => 'input', |
| 90 | 90 | 'size' => 30, |
| 91 | 91 | 'max' => 255, |
| 92 | 92 | ), |
| 93 | 93 | ), |
| 94 | 94 | |
| 95 | - 'hidden' => array( |
|
| 95 | + 'hidden' => array ( |
|
| 96 | 96 | 'exclude' => 1, |
| 97 | 97 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden', |
| 98 | - 'config' => array( |
|
| 98 | + 'config' => array ( |
|
| 99 | 99 | 'type' => 'check', |
| 100 | 100 | ), |
| 101 | 101 | ), |
| 102 | - 'starttime' => array( |
|
| 102 | + 'starttime' => array ( |
|
| 103 | 103 | 'exclude' => 1, |
| 104 | 104 | 'l10n_mode' => 'mergeIfNotBlank', |
| 105 | 105 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime', |
| 106 | - 'config' => array( |
|
| 106 | + 'config' => array ( |
|
| 107 | 107 | 'type' => 'input', |
| 108 | 108 | 'renderType' => 'inputDateTime', |
| 109 | 109 | 'size' => 13, |
| 110 | 110 | 'eval' => 'datetime', |
| 111 | 111 | 'checkbox' => 0, |
| 112 | 112 | 'default' => 0, |
| 113 | - 'range' => array( |
|
| 113 | + 'range' => array ( |
|
| 114 | 114 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
| 115 | 115 | ), |
| 116 | 116 | ), |
| 117 | 117 | ), |
| 118 | - 'endtime' => array( |
|
| 118 | + 'endtime' => array ( |
|
| 119 | 119 | 'exclude' => 1, |
| 120 | 120 | 'l10n_mode' => 'mergeIfNotBlank', |
| 121 | 121 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime', |
| 122 | - 'config' => array( |
|
| 122 | + 'config' => array ( |
|
| 123 | 123 | 'type' => 'input', |
| 124 | 124 | 'renderType' => 'inputDateTime', |
| 125 | 125 | 'size' => 13, |
| 126 | 126 | 'eval' => 'datetime', |
| 127 | 127 | 'checkbox' => 0, |
| 128 | 128 | 'default' => 0, |
| 129 | - 'range' => array( |
|
| 129 | + 'range' => array ( |
|
| 130 | 130 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
| 131 | 131 | ), |
| 132 | 132 | ), |
| 133 | 133 | ), |
| 134 | 134 | |
| 135 | - 'date' => array( |
|
| 135 | + 'date' => array ( |
|
| 136 | 136 | 'exclude' => 1, |
| 137 | 137 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttransferlog.date', |
| 138 | - 'config' => array( |
|
| 138 | + 'config' => array ( |
|
| 139 | 139 | 'type' => 'input', |
| 140 | 140 | 'renderType' => 'inputDateTime', |
| 141 | 141 | 'size' => 10, |
@@ -144,48 +144,48 @@ discard block |
||
| 144 | 144 | 'default' => time(), |
| 145 | 145 | ), |
| 146 | 146 | ), |
| 147 | - 'response' => array( |
|
| 147 | + 'response' => array ( |
|
| 148 | 148 | 'exclude' => 1, |
| 149 | 149 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttransferlog.response', |
| 150 | - 'config' => array( |
|
| 150 | + 'config' => array ( |
|
| 151 | 151 | 'type' => 'text', |
| 152 | 152 | 'cols' => 40, |
| 153 | 153 | 'rows' => 15, |
| 154 | 154 | 'eval' => 'trim', |
| 155 | 155 | ), |
| 156 | 156 | ), |
| 157 | - 'curl_error' => array( |
|
| 157 | + 'curl_error' => array ( |
|
| 158 | 158 | 'exclude' => 1, |
| 159 | 159 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttransferlog.curl_error', |
| 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 | - 'document_uid' => array( |
|
| 167 | + 'document_uid' => array ( |
|
| 168 | 168 | 'exclude' => 1, |
| 169 | 169 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttransferlog.document_uid', |
| 170 | - 'config' => array( |
|
| 170 | + 'config' => array ( |
|
| 171 | 171 | 'type' => 'input', |
| 172 | 172 | 'size' => 30, |
| 173 | 173 | 'max' => 255, |
| 174 | 174 | ), |
| 175 | 175 | ), |
| 176 | - 'object_identifier' => array( |
|
| 176 | + 'object_identifier' => array ( |
|
| 177 | 177 | 'exclude' => 1, |
| 178 | 178 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttransferlog.object_identifier', |
| 179 | - 'config' => array( |
|
| 179 | + 'config' => array ( |
|
| 180 | 180 | 'type' => 'input', |
| 181 | 181 | 'size' => 30, |
| 182 | 182 | 'max' => 255, |
| 183 | 183 | ), |
| 184 | 184 | ), |
| 185 | - 'action' => array( |
|
| 185 | + 'action' => array ( |
|
| 186 | 186 | 'exclude' => 1, |
| 187 | 187 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_documenttransferlog.action', |
| 188 | - 'config' => array( |
|
| 188 | + 'config' => array ( |
|
| 189 | 189 | 'type' => 'input', |
| 190 | 190 | 'size' => 30, |
| 191 | 191 | 'max' => 255, |
@@ -190,7 +190,7 @@ discard block |
||
| 190 | 190 | 'type' => 'popup', |
| 191 | 191 | 'title' => 'Edit', |
| 192 | 192 | 'module' => array( |
| 193 | - 'name' => 'wizard_edit', |
|
| 193 | + 'name' => 'wizard_edit', |
|
| 194 | 194 | ), |
| 195 | 195 | 'icon' => 'EXT:backend/Resources/Public/Images/FormFieldWizard/wizard_edit.gif', |
| 196 | 196 | 'popup_onlyOpenIfSelected' => 1, |
@@ -206,7 +206,7 @@ discard block |
||
| 206 | 206 | 'setValue' => 'prepend', |
| 207 | 207 | ), |
| 208 | 208 | 'module' => array( |
| 209 | - 'name' => 'wizard_add', |
|
| 209 | + 'name' => 'wizard_add', |
|
| 210 | 210 | ), |
| 211 | 211 | ), |
| 212 | 212 | ), |
@@ -16,8 +16,8 @@ discard block |
||
| 16 | 16 | die('Access denied.'); |
| 17 | 17 | } |
| 18 | 18 | |
| 19 | -return array( |
|
| 20 | - 'ctrl' => array( |
|
| 19 | +return array ( |
|
| 20 | + 'ctrl' => array ( |
|
| 21 | 21 | 'title' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatapage', |
| 22 | 22 | 'label' => 'name', |
| 23 | 23 | 'tstamp' => 'tstamp', |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | 'transOrigPointerField' => 'l10n_parent', |
| 29 | 29 | 'transOrigDiffSourceField' => 'l10n_diffsource', |
| 30 | 30 | 'delete' => 'deleted', |
| 31 | - 'enablecolumns' => array( |
|
| 31 | + 'enablecolumns' => array ( |
|
| 32 | 32 | 'disabled' => 'hidden', |
| 33 | 33 | 'starttime' => 'starttime', |
| 34 | 34 | 'endtime' => 'endtime', |
@@ -36,145 +36,145 @@ discard block |
||
| 36 | 36 | 'searchFields' => 'name, display_name, page_number, backend_only, metadata_group', |
| 37 | 37 | 'iconfile' => 'EXT:dpf/Resources/Public/Icons/tx_dpf_domain_model_metadatapage.gif', |
| 38 | 38 | ), |
| 39 | - 'interface' => array( |
|
| 39 | + 'interface' => array ( |
|
| 40 | 40 | 'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, name, display_name, page_number, backend_only, metadata_group', |
| 41 | 41 | ), |
| 42 | - 'types' => array( |
|
| 43 | - '1' => array('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1, name, display_name, page_number, backend_only, metadata_group, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
|
| 42 | + 'types' => array ( |
|
| 43 | + '1' => array ('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, --palette--;;1, name, display_name, page_number, backend_only, metadata_group, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
|
| 44 | 44 | ), |
| 45 | - 'palettes' => array( |
|
| 46 | - '1' => array('showitem' => ''), |
|
| 45 | + 'palettes' => array ( |
|
| 46 | + '1' => array ('showitem' => ''), |
|
| 47 | 47 | ), |
| 48 | - 'columns' => array( |
|
| 48 | + 'columns' => array ( |
|
| 49 | 49 | |
| 50 | - 'sys_language_uid' => array( |
|
| 50 | + 'sys_language_uid' => array ( |
|
| 51 | 51 | 'exclude' => 1, |
| 52 | 52 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language', |
| 53 | - 'config' => array( |
|
| 53 | + 'config' => array ( |
|
| 54 | 54 | 'type' => 'select', |
| 55 | 55 | 'renderType' => 'selectSingle', |
| 56 | 56 | 'foreign_table' => 'sys_language', |
| 57 | 57 | 'foreign_table_where' => 'ORDER BY sys_language.title', |
| 58 | - 'items' => array( |
|
| 59 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 60 | - array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 58 | + 'items' => array ( |
|
| 59 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1), |
|
| 60 | + array ('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0), |
|
| 61 | 61 | ), |
| 62 | 62 | ), |
| 63 | 63 | ), |
| 64 | - 'l10n_parent' => array( |
|
| 64 | + 'l10n_parent' => array ( |
|
| 65 | 65 | 'displayCond' => 'FIELD:sys_language_uid:>:0', |
| 66 | 66 | 'exclude' => 1, |
| 67 | 67 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent', |
| 68 | - 'config' => array( |
|
| 68 | + 'config' => array ( |
|
| 69 | 69 | //'readOnly' => 1, |
| 70 | 70 | 'type' => 'select', |
| 71 | 71 | 'renderType' => 'selectSingle', |
| 72 | - 'items' => array( |
|
| 73 | - array('', 0), |
|
| 72 | + 'items' => array ( |
|
| 73 | + array ('', 0), |
|
| 74 | 74 | ), |
| 75 | 75 | 'foreign_table' => 'tx_dpf_domain_model_metadatapage', |
| 76 | 76 | 'foreign_table_where' => 'AND tx_dpf_domain_model_metadatapage.pid=###CURRENT_PID### AND tx_dpf_domain_model_metadatapage.sys_language_uid IN (-1,0)', |
| 77 | 77 | ), |
| 78 | 78 | ), |
| 79 | - 'l10n_diffsource' => array( |
|
| 80 | - 'config' => array( |
|
| 79 | + 'l10n_diffsource' => array ( |
|
| 80 | + 'config' => array ( |
|
| 81 | 81 | 'type' => 'passthrough', |
| 82 | 82 | ), |
| 83 | 83 | ), |
| 84 | 84 | |
| 85 | - 't3ver_label' => array( |
|
| 85 | + 't3ver_label' => array ( |
|
| 86 | 86 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel', |
| 87 | - 'config' => array( |
|
| 87 | + 'config' => array ( |
|
| 88 | 88 | 'type' => 'input', |
| 89 | 89 | 'size' => 30, |
| 90 | 90 | 'max' => 255, |
| 91 | 91 | ), |
| 92 | 92 | ), |
| 93 | 93 | |
| 94 | - 'hidden' => array( |
|
| 94 | + 'hidden' => array ( |
|
| 95 | 95 | 'exclude' => 1, |
| 96 | 96 | 'l10n_mode' => 'exclude', |
| 97 | 97 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden', |
| 98 | - 'config' => array( |
|
| 98 | + 'config' => array ( |
|
| 99 | 99 | 'type' => 'check', |
| 100 | 100 | ), |
| 101 | 101 | ), |
| 102 | - 'starttime' => array( |
|
| 102 | + 'starttime' => array ( |
|
| 103 | 103 | 'exclude' => 1, |
| 104 | 104 | 'l10n_mode' => 'mergeIfNotBlank', |
| 105 | 105 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime', |
| 106 | - 'config' => array( |
|
| 106 | + 'config' => array ( |
|
| 107 | 107 | 'type' => 'input', |
| 108 | 108 | 'renderType' => 'inputDateTime', |
| 109 | 109 | 'size' => 13, |
| 110 | 110 | 'eval' => 'datetime', |
| 111 | 111 | 'checkbox' => 0, |
| 112 | 112 | 'default' => 0, |
| 113 | - 'range' => array( |
|
| 113 | + 'range' => array ( |
|
| 114 | 114 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
| 115 | 115 | ), |
| 116 | 116 | ), |
| 117 | 117 | ), |
| 118 | - 'endtime' => array( |
|
| 118 | + 'endtime' => array ( |
|
| 119 | 119 | 'exclude' => 1, |
| 120 | 120 | 'l10n_mode' => 'mergeIfNotBlank', |
| 121 | 121 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime', |
| 122 | - 'config' => array( |
|
| 122 | + 'config' => array ( |
|
| 123 | 123 | 'type' => 'input', |
| 124 | 124 | 'renderType' => 'inputDateTime', |
| 125 | 125 | 'size' => 13, |
| 126 | 126 | 'eval' => 'datetime', |
| 127 | 127 | 'checkbox' => 0, |
| 128 | 128 | 'default' => 0, |
| 129 | - 'range' => array( |
|
| 129 | + 'range' => array ( |
|
| 130 | 130 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
| 131 | 131 | ), |
| 132 | 132 | ), |
| 133 | 133 | ), |
| 134 | 134 | |
| 135 | - 'name' => array( |
|
| 135 | + 'name' => array ( |
|
| 136 | 136 | 'exclude' => 1, |
| 137 | 137 | 'l10n_mode' => 'exclude', |
| 138 | 138 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatapage.name', |
| 139 | - 'config' => array( |
|
| 139 | + 'config' => array ( |
|
| 140 | 140 | 'type' => 'input', |
| 141 | 141 | 'size' => 30, |
| 142 | 142 | 'eval' => 'trim,uniqueInPid', |
| 143 | 143 | ), |
| 144 | 144 | ), |
| 145 | - 'display_name' => array( |
|
| 145 | + 'display_name' => array ( |
|
| 146 | 146 | 'exclude' => 1, |
| 147 | 147 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatapage.display_name', |
| 148 | - 'config' => array( |
|
| 148 | + 'config' => array ( |
|
| 149 | 149 | 'type' => 'input', |
| 150 | 150 | 'size' => 30, |
| 151 | 151 | 'eval' => 'trim', |
| 152 | 152 | ), |
| 153 | 153 | ), |
| 154 | - 'page_number' => array( |
|
| 154 | + 'page_number' => array ( |
|
| 155 | 155 | 'exclude' => 1, |
| 156 | 156 | 'l10n_mode' => 'exclude', |
| 157 | 157 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatapage.page_number', |
| 158 | - 'config' => array( |
|
| 158 | + 'config' => array ( |
|
| 159 | 159 | 'type' => 'input', |
| 160 | 160 | 'size' => 4, |
| 161 | 161 | 'eval' => 'int', |
| 162 | 162 | ), |
| 163 | 163 | ), |
| 164 | - 'backend_only' => array( |
|
| 164 | + 'backend_only' => array ( |
|
| 165 | 165 | 'exclude' => 1, |
| 166 | 166 | 'l10n_mode' => 'exclude', |
| 167 | 167 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatapage.backend_only', |
| 168 | - 'config' => array( |
|
| 168 | + 'config' => array ( |
|
| 169 | 169 | 'type' => 'check', |
| 170 | 170 | 'default' => 0, |
| 171 | 171 | ), |
| 172 | 172 | ), |
| 173 | - 'metadata_group' => array( |
|
| 173 | + 'metadata_group' => array ( |
|
| 174 | 174 | 'exclude' => 1, |
| 175 | 175 | 'l10n_mode' => 'exclude', |
| 176 | 176 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_metadatapage.metadata_group', |
| 177 | - 'config' => array( |
|
| 177 | + 'config' => array ( |
|
| 178 | 178 | 'type' => 'select', |
| 179 | 179 | 'renderType' => 'selectMultipleSideBySide', |
| 180 | 180 | 'foreign_table' => 'tx_dpf_domain_model_metadatagroup', |
@@ -184,28 +184,28 @@ discard block |
||
| 184 | 184 | 'autoSizeMax' => 30, |
| 185 | 185 | 'maxitems' => 9999, |
| 186 | 186 | 'multiple' => 0, |
| 187 | - 'wizards' => array( |
|
| 187 | + 'wizards' => array ( |
|
| 188 | 188 | '_VERTICAL' => 1, |
| 189 | - 'edit' => array( |
|
| 189 | + 'edit' => array ( |
|
| 190 | 190 | 'type' => 'popup', |
| 191 | 191 | 'title' => 'Edit', |
| 192 | - 'module' => array( |
|
| 192 | + 'module' => array ( |
|
| 193 | 193 | 'name' => 'wizard_edit', |
| 194 | 194 | ), |
| 195 | 195 | 'icon' => 'EXT:backend/Resources/Public/Images/FormFieldWizard/wizard_edit.gif', |
| 196 | 196 | 'popup_onlyOpenIfSelected' => 1, |
| 197 | 197 | 'JSopenParams' => 'height=350,width=580,status=0,menubar=0,scrollbars=1', |
| 198 | 198 | ), |
| 199 | - 'add' => array( |
|
| 199 | + 'add' => array ( |
|
| 200 | 200 | 'type' => 'script', |
| 201 | 201 | 'title' => 'Create new', |
| 202 | 202 | 'icon' => 'EXT:backend/Resources/Public/Images/FormFieldWizard/wizard_add.gif', |
| 203 | - 'params' => array( |
|
| 203 | + 'params' => array ( |
|
| 204 | 204 | 'table' => 'tx_dpf_domain_model_metadatagroup', |
| 205 | 205 | 'pid' => '###CURRENT_PID###', |
| 206 | 206 | 'setValue' => 'prepend', |
| 207 | 207 | ), |
| 208 | - 'module' => array( |
|
| 208 | + 'module' => array ( |
|
| 209 | 209 | 'name' => 'wizard_add', |
| 210 | 210 | ), |
| 211 | 211 | ), |
@@ -213,8 +213,8 @@ discard block |
||
| 213 | 213 | ), |
| 214 | 214 | ), |
| 215 | 215 | |
| 216 | - 'documenttype' => array( |
|
| 217 | - 'config' => array( |
|
| 216 | + 'documenttype' => array ( |
|
| 217 | + 'config' => array ( |
|
| 218 | 218 | 'type' => 'passthrough', |
| 219 | 219 | ), |
| 220 | 220 | ), |
@@ -16,8 +16,8 @@ discard block |
||
| 16 | 16 | die('Access denied.'); |
| 17 | 17 | } |
| 18 | 18 | |
| 19 | -return array( |
|
| 20 | - 'ctrl' => array( |
|
| 19 | +return array ( |
|
| 20 | + 'ctrl' => array ( |
|
| 21 | 21 | 'title' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document', |
| 22 | 22 | 'label' => 'title', |
| 23 | 23 | 'tstamp' => 'tstamp', |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | 'transOrigPointerField' => 'l10n_parent', |
| 29 | 29 | 'transOrigDiffSourceField' => 'l10n_diffsource', |
| 30 | 30 | 'delete' => 'deleted', |
| 31 | - 'enablecolumns' => array( |
|
| 31 | + 'enablecolumns' => array ( |
|
| 32 | 32 | 'disabled' => 'hidden', |
| 33 | 33 | 'starttime' => 'starttime', |
| 34 | 34 | 'endtime' => 'endtime', |
@@ -37,149 +37,149 @@ discard block |
||
| 37 | 37 | process_number, valid, changed, state, reserved_object_identifier, object_identifier, transfer_status, file', |
| 38 | 38 | 'iconfile' => 'EXT:dpf/Resources/Public/Icons/tx_dpf_domain_model_document.gif', |
| 39 | 39 | ), |
| 40 | - 'interface' => array( |
|
| 40 | + 'interface' => array ( |
|
| 41 | 41 | 'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, |
| 42 | 42 | title, authors, xml_data, slub_info_data, document_type, date_issued, process_number, valid, changed, |
| 43 | 43 | state, reserved_object_identifier, object_identifier, transfer_status, file', |
| 44 | 44 | ), |
| 45 | - 'types' => array( |
|
| 46 | - '1' => array('showitem' => 'sys_language_uid,l10n_parent,l10n_diffsource,hidden,--palette--;;1, |
|
| 45 | + 'types' => array ( |
|
| 46 | + '1' => array ('showitem' => 'sys_language_uid,l10n_parent,l10n_diffsource,hidden,--palette--;;1, |
|
| 47 | 47 | title, authors, xml_data, slub_info_data, document_type, date_issued, process_number, valid, changed, |
| 48 | 48 | state, reserved_object_identifier, object_identifier, transfer_status, file, |
| 49 | 49 | --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access, starttime, endtime'), |
| 50 | 50 | ), |
| 51 | - 'palettes' => array( |
|
| 52 | - '1' => array('showitem' => ''), |
|
| 51 | + 'palettes' => array ( |
|
| 52 | + '1' => array ('showitem' => ''), |
|
| 53 | 53 | ), |
| 54 | - 'columns' => array( |
|
| 54 | + 'columns' => array ( |
|
| 55 | 55 | |
| 56 | - 'sys_language_uid' => array( |
|
| 56 | + 'sys_language_uid' => array ( |
|
| 57 | 57 | 'exclude' => 1, |
| 58 | 58 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language', |
| 59 | - 'config' => array( |
|
| 59 | + 'config' => array ( |
|
| 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 | 'type' => 'select', |
| 76 | 76 | 'renderType' => 'selectSingle', |
| 77 | - 'items' => array( |
|
| 78 | - array('', 0), |
|
| 77 | + 'items' => array ( |
|
| 78 | + array ('', 0), |
|
| 79 | 79 | ), |
| 80 | 80 | 'foreign_table' => 'tx_dpf_domain_model_document', |
| 81 | 81 | 'foreign_table_where' => 'AND tx_dpf_domain_model_document.pid=###CURRENT_PID### AND tx_dpf_domain_model_document.sys_language_uid IN (-1,0)', |
| 82 | 82 | ), |
| 83 | 83 | ), |
| 84 | - 'l10n_diffsource' => array( |
|
| 85 | - 'config' => array( |
|
| 84 | + 'l10n_diffsource' => array ( |
|
| 85 | + 'config' => array ( |
|
| 86 | 86 | 'type' => 'passthrough', |
| 87 | 87 | ), |
| 88 | 88 | ), |
| 89 | 89 | |
| 90 | - 't3ver_label' => array( |
|
| 90 | + 't3ver_label' => array ( |
|
| 91 | 91 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel', |
| 92 | - 'config' => array( |
|
| 92 | + 'config' => array ( |
|
| 93 | 93 | 'type' => 'input', |
| 94 | 94 | 'size' => 30, |
| 95 | 95 | 'max' => 255, |
| 96 | 96 | ), |
| 97 | 97 | ), |
| 98 | 98 | |
| 99 | - 'hidden' => array( |
|
| 99 | + 'hidden' => array ( |
|
| 100 | 100 | 'exclude' => 1, |
| 101 | 101 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden', |
| 102 | - 'config' => array( |
|
| 102 | + 'config' => array ( |
|
| 103 | 103 | 'type' => 'check', |
| 104 | 104 | ), |
| 105 | 105 | ), |
| 106 | - 'starttime' => array( |
|
| 106 | + 'starttime' => array ( |
|
| 107 | 107 | 'exclude' => 1, |
| 108 | 108 | 'l10n_mode' => 'mergeIfNotBlank', |
| 109 | 109 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime', |
| 110 | - 'config' => array( |
|
| 110 | + 'config' => array ( |
|
| 111 | 111 | 'type' => 'input', |
| 112 | 112 | 'renderType' => 'inputDateTime', |
| 113 | 113 | 'size' => 13, |
| 114 | 114 | 'eval' => 'datetime', |
| 115 | 115 | 'checkbox' => 0, |
| 116 | 116 | 'default' => 0, |
| 117 | - 'range' => array( |
|
| 117 | + 'range' => array ( |
|
| 118 | 118 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
| 119 | 119 | ), |
| 120 | 120 | ), |
| 121 | 121 | ), |
| 122 | - 'endtime' => array( |
|
| 122 | + 'endtime' => array ( |
|
| 123 | 123 | 'exclude' => 1, |
| 124 | 124 | 'l10n_mode' => 'mergeIfNotBlank', |
| 125 | 125 | 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime', |
| 126 | - 'config' => array( |
|
| 126 | + 'config' => array ( |
|
| 127 | 127 | 'type' => 'input', |
| 128 | 128 | 'renderType' => 'inputDateTime', |
| 129 | 129 | 'size' => 13, |
| 130 | 130 | 'eval' => 'datetime', |
| 131 | 131 | 'checkbox' => 0, |
| 132 | 132 | 'default' => 0, |
| 133 | - 'range' => array( |
|
| 133 | + 'range' => array ( |
|
| 134 | 134 | 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')), |
| 135 | 135 | ), |
| 136 | 136 | ), |
| 137 | 137 | ), |
| 138 | 138 | |
| 139 | - 'title' => array( |
|
| 139 | + 'title' => array ( |
|
| 140 | 140 | 'exclude' => 1, |
| 141 | 141 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.title', |
| 142 | - 'config' => array( |
|
| 142 | + 'config' => array ( |
|
| 143 | 143 | 'type' => 'input', |
| 144 | 144 | 'size' => 30, |
| 145 | 145 | 'eval' => 'trim', |
| 146 | 146 | ), |
| 147 | 147 | ), |
| 148 | 148 | |
| 149 | - 'authors' => array( |
|
| 149 | + 'authors' => array ( |
|
| 150 | 150 | 'exclude' => 1, |
| 151 | 151 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.authors', |
| 152 | - 'config' => array( |
|
| 152 | + 'config' => array ( |
|
| 153 | 153 | 'type' => 'input', |
| 154 | 154 | 'size' => 30, |
| 155 | 155 | 'eval' => 'trim', |
| 156 | 156 | ), |
| 157 | 157 | ), |
| 158 | 158 | |
| 159 | - 'xml_data' => array( |
|
| 159 | + 'xml_data' => array ( |
|
| 160 | 160 | 'exclude' => 1, |
| 161 | 161 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.xml_data', |
| 162 | - 'config' => array( |
|
| 162 | + 'config' => array ( |
|
| 163 | 163 | 'type' => 'text', |
| 164 | 164 | 'cols' => 40, |
| 165 | 165 | 'rows' => 15, |
| 166 | 166 | 'eval' => 'trim', |
| 167 | 167 | ), |
| 168 | 168 | ), |
| 169 | - 'slub_info_data' => array( |
|
| 169 | + 'slub_info_data' => array ( |
|
| 170 | 170 | 'exclude' => 1, |
| 171 | 171 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.slub_info_data', |
| 172 | - 'config' => array( |
|
| 172 | + 'config' => array ( |
|
| 173 | 173 | 'type' => 'text', |
| 174 | 174 | 'cols' => 40, |
| 175 | 175 | 'rows' => 15, |
| 176 | 176 | 'eval' => 'trim', |
| 177 | 177 | ), |
| 178 | 178 | ), |
| 179 | - 'document_type' => array( |
|
| 179 | + 'document_type' => array ( |
|
| 180 | 180 | 'exclude' => 1, |
| 181 | 181 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.document_type', |
| 182 | - 'config' => array( |
|
| 182 | + 'config' => array ( |
|
| 183 | 183 | 'type' => 'select', |
| 184 | 184 | 'renderType' => 'selectSingle', |
| 185 | 185 | 'foreign_table' => 'tx_dpf_domain_model_documenttype', |
@@ -189,20 +189,20 @@ discard block |
||
| 189 | 189 | ), |
| 190 | 190 | ), |
| 191 | 191 | |
| 192 | - 'crdate' => array( |
|
| 192 | + 'crdate' => array ( |
|
| 193 | 193 | 'exclude' => 0, |
| 194 | 194 | 'label' => 'Creation date', |
| 195 | - 'config' => array( |
|
| 195 | + 'config' => array ( |
|
| 196 | 196 | 'type' => 'none', |
| 197 | 197 | 'format' => 'datetime', |
| 198 | 198 | 'eval' => 'datetime', |
| 199 | 199 | ), |
| 200 | 200 | ), |
| 201 | 201 | |
| 202 | - 'tstamp' => array( |
|
| 202 | + 'tstamp' => array ( |
|
| 203 | 203 | 'exclude' => 0, |
| 204 | 204 | 'label' => 'Timestamp', |
| 205 | - 'config' => array( |
|
| 205 | + 'config' => array ( |
|
| 206 | 206 | 'type' => 'input', |
| 207 | 207 | 'renderType' => 'inputDateTime', |
| 208 | 208 | 'format' => 'datetime', |
@@ -210,98 +210,98 @@ discard block |
||
| 210 | 210 | ), |
| 211 | 211 | ), |
| 212 | 212 | |
| 213 | - 'transfer_status' => array( |
|
| 213 | + 'transfer_status' => array ( |
|
| 214 | 214 | 'exclude' => 0, |
| 215 | 215 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.transfer_status', |
| 216 | - 'config' => array( |
|
| 216 | + 'config' => array ( |
|
| 217 | 217 | 'type' => 'input', |
| 218 | 218 | 'size' => '30', |
| 219 | 219 | 'eval' => 'trim', |
| 220 | 220 | ), |
| 221 | 221 | ), |
| 222 | 222 | |
| 223 | - 'object_identifier' => array( |
|
| 223 | + 'object_identifier' => array ( |
|
| 224 | 224 | 'exclude' => 0, |
| 225 | 225 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.object_identifier', |
| 226 | - 'config' => array( |
|
| 226 | + 'config' => array ( |
|
| 227 | 227 | 'type' => 'input', |
| 228 | 228 | 'size' => '30', |
| 229 | 229 | 'eval' => 'trim', |
| 230 | 230 | ), |
| 231 | 231 | ), |
| 232 | 232 | |
| 233 | - 'reserved_object_identifier' => array( |
|
| 233 | + 'reserved_object_identifier' => array ( |
|
| 234 | 234 | 'exclude' => 0, |
| 235 | 235 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.reserved_object_identifier', |
| 236 | - 'config' => array( |
|
| 236 | + 'config' => array ( |
|
| 237 | 237 | 'type' => 'input', |
| 238 | 238 | 'size' => '30', |
| 239 | 239 | 'eval' => 'trim', |
| 240 | 240 | ), |
| 241 | 241 | ), |
| 242 | 242 | |
| 243 | - 'process_number' => array( |
|
| 243 | + 'process_number' => array ( |
|
| 244 | 244 | 'exclude' => 0, |
| 245 | 245 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.process_number', |
| 246 | - 'config' => array( |
|
| 246 | + 'config' => array ( |
|
| 247 | 247 | 'type' => 'input', |
| 248 | 248 | 'size' => '30', |
| 249 | 249 | 'eval' => 'trim', |
| 250 | 250 | ), |
| 251 | 251 | ), |
| 252 | 252 | |
| 253 | - 'state' => array( |
|
| 253 | + 'state' => array ( |
|
| 254 | 254 | 'exclude' => 0, |
| 255 | 255 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.state', |
| 256 | - 'config' => array( |
|
| 256 | + 'config' => array ( |
|
| 257 | 257 | 'type' => 'input', |
| 258 | 258 | 'size' => '30', |
| 259 | 259 | 'eval' => 'trim', |
| 260 | 260 | ), |
| 261 | 261 | ), |
| 262 | 262 | |
| 263 | - 'changed' => array( |
|
| 263 | + 'changed' => array ( |
|
| 264 | 264 | 'exclude' => 1, |
| 265 | 265 | 'l10n_mode' => 'exclude', |
| 266 | 266 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.changed', |
| 267 | - 'config' => array( |
|
| 267 | + 'config' => array ( |
|
| 268 | 268 | 'type' => 'check', |
| 269 | 269 | 'default' => 0, |
| 270 | 270 | ), |
| 271 | 271 | ), |
| 272 | 272 | |
| 273 | - 'valid' => array( |
|
| 273 | + 'valid' => array ( |
|
| 274 | 274 | 'exclude' => 1, |
| 275 | 275 | 'l10n_mode' => 'exclude', |
| 276 | 276 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.valid', |
| 277 | - 'config' => array( |
|
| 277 | + 'config' => array ( |
|
| 278 | 278 | 'type' => 'check', |
| 279 | 279 | 'default' => 0, |
| 280 | 280 | ), |
| 281 | 281 | ), |
| 282 | 282 | |
| 283 | - 'date_issued' => array( |
|
| 283 | + 'date_issued' => array ( |
|
| 284 | 284 | 'exclude' => 1, |
| 285 | 285 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.date_issued', |
| 286 | - 'config' => array( |
|
| 286 | + 'config' => array ( |
|
| 287 | 287 | 'type' => 'input', |
| 288 | 288 | 'size' => 30, |
| 289 | 289 | 'eval' => 'trim', |
| 290 | 290 | ), |
| 291 | 291 | ), |
| 292 | 292 | |
| 293 | - 'file' => array( |
|
| 293 | + 'file' => array ( |
|
| 294 | 294 | 'exclude' => 1, |
| 295 | 295 | 'label' => 'LLL:EXT:dpf/Resources/Private/Language/locallang_db.xlf:tx_dpf_domain_model_document.file', |
| 296 | - 'config' => array( |
|
| 296 | + 'config' => array ( |
|
| 297 | 297 | 'type' => 'inline', |
| 298 | 298 | 'foreign_table' => 'tx_dpf_domain_model_file', |
| 299 | 299 | 'foreign_field' => 'document', |
| 300 | - 'behaviour' => array( |
|
| 300 | + 'behaviour' => array ( |
|
| 301 | 301 | 'disableMovingChildrenWithParent' => 1, |
| 302 | 302 | ), |
| 303 | 303 | 'maxitems' => 9999, |
| 304 | - 'appearance' => array( |
|
| 304 | + 'appearance' => array ( |
|
| 305 | 305 | 'collapseAll' => 0, |
| 306 | 306 | 'levelLinksPosition' => 'top', |
| 307 | 307 | 'showSynchronizationLink' => 1, |