‪TYPO3CMS  11.5
RenderPreviewImportPageAndRecordsByUpdateWithDiff.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of the TYPO3 CMS project.
5  *
6  * It is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU General Public License, either version 2
8  * of the License, or any later version.
9  *
10  * For the full copyright and license information, please read the
11  * LICENSE.txt file that was distributed with this source code.
12  *
13  * The TYPO3 project - inspiring people to share!
14  */
15 
16 return [
17  'update' => true,
18  'showDiff' => true,
19  'insidePageTree' =>
20  [
21  0 =>
22  [
23  'ref' => 'pages:0',
24  'type' => 'record',
25  'msg' => '',
26  'preCode' => '<span title="pages:0"><span class="t3js-icon icon icon-size-small icon-state-default icon-apps-pagetree-page-default" data-identifier="apps-pagetree-page-default">' . "\n"
27  . "\t" . '<span class="icon-markup">' . "\n"
28  . '<svg class="icon-color"><use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/apps.svg#apps-pagetree-page-default" /></svg>' . "\n"
29  . "\t" . '</span>' . "\n"
30  . "\t\n"
31  . '</span></span>',
32  'title' => '',
33  'active' => 'active',
34  'updatePath' => '<strong>NEW!</strong>',
35  'updateMode' => sprintf('<select name="tx_impexp[import_mode][pages:0]"><option value="0">Insert</option><option value="%s">Force UID [0] (Admin)</option><option value="%s">Exclude</option></select>', \‪TYPO3\CMS\Impexp\Import::IMPORT_MODE_FORCE_UID, \‪TYPO3\CMS\Impexp\Import::IMPORT_MODE_EXCLUDE),
36  'showDiffContent' => 'ERROR: One of the inputs were not an array!',
37  'controls' => '',
38  'message' => '',
39  ],
40  1 =>
41  [
42  'ref' => 'sys_file:1',
43  'type' => 'record',
44  'msg' => 'TABLE "sys_file" will be inserted on ROOT LEVEL! ',
45  'preCode' => '&nbsp;&nbsp;&nbsp;&nbsp;<span title="sys_file:1"><span class="t3js-icon icon icon-size-small icon-state-default icon-mimetypes-media-image" data-identifier="mimetypes-media-image">' . "\n"
46  . "\t" . '<span class="icon-markup">' . "\n"
47  . '<svg class="icon-color"><use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/mimetypes.svg#mimetypes-media-image" /></svg>' . "\n"
48  . "\t" . '</span>' . "\n"
49  . "\t\n"
50  . '</span></span>',
51  'title' => 'used-1.jpg',
52  'active' => 'active',
53  'updatePath' => '/',
54  'updateMode' => '',
55  'showDiffContent' => '<strong class="text-nowrap">[sys_file:1 =&gt; 1]:</strong>
56 <table class="table table-striped table-hover">
57 <tr><td>Identifier (identifier)</td><td><del>/user_upload/typo3_image3.</del><ins>/user_upload/used-1.</ins>jpg</td></tr>
58 <tr><td>Filename (name)</td><td><del>typo3_image3.</del><ins>used-1.</ins>jpg</td></tr>
59 <tr><td>SHA1 (sha1)</td><td><del>e873c1e2ffd0f191e183a1057de3eef4d62e782d</del><ins>da9acdf1e105784a57bbffec9520969578287797</ins></td></tr>
60 <tr><td>Size (size)</td><td><del>5565</del><ins>7958</ins></td></tr>
61 </table>',
62  'controls' => '',
63  'message' => '',
64  ],
65  2 =>
66  [
67  'ref' => 'sys_file_storage:1',
68  'type' => 'rel',
69  'msg' => '',
70  'title' => '<span title="/">fileadmin</span>',
71  'preCode' => '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="" title="sys_file_storage:1"><span class="t3js-icon icon icon-size-small icon-state-default icon-status-status-checked" data-identifier="status-status-checked">' . "\n"
72  . "\t" . '<span class="icon-markup">' . "\n"
73  . '<svg class="icon-color"><use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/actions.svg#actions-check" /></svg>' . "\n"
74  . "\t" . '</span>' . "\n"
75  . "\t\n"
76  . '</span></span>',
77  'controls' => '',
78  'message' => '',
79  ],
80  3 =>
81  [
82  'ref' => 'sys_file:2',
83  'type' => 'record',
84  'msg' => 'TABLE "sys_file" will be inserted on ROOT LEVEL! ',
85  'preCode' => '&nbsp;&nbsp;&nbsp;&nbsp;<span title="sys_file:2"><span class="t3js-icon icon icon-size-small icon-state-default icon-mimetypes-media-image" data-identifier="mimetypes-media-image">' . "\n"
86  . "\t" . '<span class="icon-markup">' . "\n"
87  . '<svg class="icon-color"><use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/mimetypes.svg#mimetypes-media-image" /></svg>' . "\n"
88  . "\t" . '</span>' . "\n"
89  . "\t\n"
90  . '</span></span>',
91  'title' => 'used-2.jpg',
92  'active' => 'active',
93  'updatePath' => '/',
94  'updateMode' => '',
95  'showDiffContent' => '<strong class="text-nowrap">[sys_file:2 =&gt; 1]:</strong>
96 <table class="table table-striped table-hover">
97 <tr><td>Identifier (identifier)</td><td><del>/user_upload/used-2.</del><ins>/user_upload/typo3_image3.</ins>jpg</td></tr>
98 <tr><td>Filename (name)</td><td><del>used-2.</del><ins>typo3_image3.</ins>jpg</td></tr>
99 <tr><td>SHA1 (sha1)</td><td><del>c3511df85d21bc578faf71c6a19eeb3ff44af370</del><ins>e873c1e2ffd0f191e183a1057de3eef4d62e782d</ins></td></tr>
100 <tr><td>Size (size)</td><td><del>7425</del><ins>5565</ins></td></tr>
101 </table>',
102  'controls' => '',
103  'message' => '',
104  ],
105  4 =>
106  [
107  'ref' => 'sys_file_storage:1',
108  'type' => 'rel',
109  'msg' => '',
110  'title' => '<span title="/">fileadmin</span>',
111  'preCode' => '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="" title="sys_file_storage:1"><span class="t3js-icon icon icon-size-small icon-state-default icon-status-status-checked" data-identifier="status-status-checked">' . "\n"
112  . "\t" . '<span class="icon-markup">' . "\n"
113  . '<svg class="icon-color"><use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/actions.svg#actions-check" /></svg>' . "\n"
114  . "\t" . '</span>' . "\n"
115  . "\t\n"
116  . '</span></span>',
117  'controls' => '',
118  'message' => '',
119  ],
120  5 =>
121  [
122  'ref' => 'sys_file_storage:1',
123  'type' => 'record',
124  'msg' => 'TABLE "sys_file_storage" will be inserted on ROOT LEVEL! ',
125  'preCode' => '&nbsp;&nbsp;&nbsp;&nbsp;<span title="sys_file_storage:1"><span class="t3js-icon icon icon-size-small icon-state-default icon-mimetypes-x-sys_file_storage" data-identifier="mimetypes-x-sys_file_storage">' . "\n"
126  . "\t" . '<span class="icon-markup">' . "\n"
127  . '<svg class="icon-color"><use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/mimetypes.svg#mimetypes-x-sys_file_storage" /></svg>' . "\n"
128  . "\t" . '</span>' . "\n"
129  . "\t\n"
130  . '</span></span>',
131  'title' => 'fileadmin',
132  'active' => 'active',
133  'updatePath' => '/',
134  'updateMode' => sprintf('<select name="tx_impexp[import_mode][sys_file_storage:1]"><option value="0">Update</option><option value="%s">Import as new</option><option value="%s">Ignore PID</option><option value="%s">Exclude</option></select>', \‪TYPO3\CMS\Impexp\Import::IMPORT_MODE_AS_NEW, \‪TYPO3\CMS\Impexp\Import::IMPORT_MODE_IGNORE_PID, \‪TYPO3\CMS\Impexp\Import::IMPORT_MODE_EXCLUDE),
135  'showDiffContent' => '<strong class="text-nowrap">[sys_file_storage:1 =&gt; 1]:</strong>' . "\n"
136  . '<table class="table table-striped table-hover">' . "\n"
137  . '<tr><td>Driver Configuration (configuration)</td><td>' . "\n\n"
138  . '<del> \\n \\n \\n \\n fileadmin/\\n \\n \\n relative\\n \\n \\n 1\\n \\n \\n \\n \\n</del><ins>' . "\t\n"
139  . "\t\t\n"
140  . "\t\t\t\n"
141  . "\t\t\t\t\n"
142  . "\t\t\t\t\t" . 'fileadmin/' . "\n"
143  . "\t\t\t\t\n"
144  . "\t\t\t\t\n"
145  . "\t\t\t\t\t" . 'relative' . "\n"
146  . "\t\t\t\t\n"
147  . "\t\t\t\t\n"
148  . "\t\t\t\t\t" . '1' . "\n"
149  . "\t\t\t\t\n"
150  . "\t\t\t\n"
151  . "\t\t\n"
152  . "\t\n"
153  . '</ins></td></tr>
154 <tr><td>Is default storage? (is_default)</td><td><del>Yes</del><ins>No</ins></td></tr>
155 <tr><td>Description (description)</td><td><strong>Field missing</strong> in database</td></tr>
156 </table>',
157  'controls' => '',
158  'message' => '',
159  ],
160  6 =>
161  [
162  'ref' => 'tt_content:1',
163  'type' => 'record',
164  'msg' => '',
165  'preCode' => '&nbsp;&nbsp;&nbsp;&nbsp;<span title="tt_content:1"><span class="t3js-icon icon icon-size-small icon-state-default icon-mimetypes-x-content-text-picture" data-identifier="mimetypes-x-content-text-picture">' . "\n"
166  . "\t" . '<span class="icon-markup">' . "\n"
167  . '<svg class="icon-color"><use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/mimetypes.svg#mimetypes-x-content-text-picture" /></svg>' . "\n"
168  . "\t" . '</span>' . "\n"
169  . "\t\n"
170  . '</span></span>',
171  'title' => 'CE 1 first image',
172  'active' => 'active',
173  'updatePath' => '/Root/',
174  'updateMode' => sprintf('<select name="tx_impexp[import_mode][tt_content:1]"><option value="0">Update</option><option value="%s">Import as new</option><option value="%s">Ignore PID</option><option value="%s">Exclude</option></select>', \‪TYPO3\CMS\Impexp\Import::IMPORT_MODE_AS_NEW, \‪TYPO3\CMS\Impexp\Import::IMPORT_MODE_IGNORE_PID, \‪TYPO3\CMS\Impexp\Import::IMPORT_MODE_EXCLUDE),
175  'showDiffContent' => '<strong class="text-nowrap">[tt_content:1 =&gt; 2]:</strong>
176 <table class="table table-striped table-hover">
177 <tr><td>Type (CType)</td><td><del>Text &amp; Images</del><ins>Text</ins></td></tr>
178 <tr><td>Header (header)</td><td><del>CE 1 first image</del><ins>Test content</ins></td></tr>
179 <tr><td>Images (image)</td><td>N/A</td></tr>
180 </table>',
181  'controls' => '',
182  'message' => '',
183  ],
184  7 =>
185  [
186  'ref' => 'sys_file_reference:1',
187  'type' => 'rel',
188  'msg' => '',
189  'title' => '<span title="/Root/">used-1.jpg</span>',
190  'preCode' => '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="" title="sys_file_reference:1"><span class="t3js-icon icon icon-size-small icon-state-default icon-status-status-checked" data-identifier="status-status-checked">' . "\n"
191  . "\t" . '<span class="icon-markup">' . "\n"
192  . '<svg class="icon-color"><use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/actions.svg#actions-check" /></svg>' . "\n"
193  . "\t" . '</span>' . "\n"
194  . "\t\n"
195  . '</span></span>',
196  'controls' => '',
197  'message' => '',
198  ],
199  8 =>
200  [
201  'ref' => 'sys_file:1',
202  'type' => 'rel',
203  'msg' => '',
204  'title' => '<span title="/">used-1.jpg</span>',
205  'preCode' => '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="" title="sys_file:1"><span class="t3js-icon icon icon-size-small icon-state-default icon-status-status-checked" data-identifier="status-status-checked">' . "\n"
206  . "\t" . '<span class="icon-markup">' . "\n"
207  . '<svg class="icon-color"><use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/actions.svg#actions-check" /></svg>' . "\n"
208  . "\t" . '</span>' . "\n"
209  . "\t\n"
210  . '</span></span>',
211  'controls' => '',
212  'message' => '',
213  ],
214  9 =>
215  [
216  'ref' => 'sys_file_storage:1',
217  'type' => 'rel',
218  'msg' => '',
219  'title' => '<span title="/">fileadmin</span>',
220  'preCode' => '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="" title="sys_file_storage:1"><span class="t3js-icon icon icon-size-small icon-state-default icon-status-status-checked" data-identifier="status-status-checked">' . "\n"
221  . "\t" . '<span class="icon-markup">' . "\n"
222  . '<svg class="icon-color"><use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/actions.svg#actions-check" /></svg>' . "\n"
223  . "\t" . '</span>' . "\n"
224  . "\t\n"
225  . '</span></span>',
226  'controls' => '',
227  'message' => '',
228  ],
229  10 =>
230  [
231  'ref' => 'tt_content:2',
232  'type' => 'record',
233  'msg' => '',
234  'preCode' => '&nbsp;&nbsp;&nbsp;&nbsp;<span title="tt_content:2"><span class="t3js-icon icon icon-size-small icon-state-default icon-mimetypes-x-content-text-picture" data-identifier="mimetypes-x-content-text-picture">' . "\n"
235  . "\t" . '<span class="icon-markup">' . "\n"
236  . '<svg class="icon-color"><use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/mimetypes.svg#mimetypes-x-content-text-picture" /></svg>' . "\n"
237  . "\t" . '</span>' . "\n"
238  . "\t\n"
239  . '</span></span>',
240  'title' => 'CE 2 second image',
241  'active' => 'active',
242  'updatePath' => '/Root/',
243  'updateMode' => sprintf('<select name="tx_impexp[import_mode][tt_content:2]"><option value="0">Update</option><option value="%s">Import as new</option><option value="%s">Ignore PID</option><option value="%s">Exclude</option></select>', \‪TYPO3\CMS\Impexp\Import::IMPORT_MODE_AS_NEW, \‪TYPO3\CMS\Impexp\Import::IMPORT_MODE_IGNORE_PID, \‪TYPO3\CMS\Impexp\Import::IMPORT_MODE_EXCLUDE),
244  'showDiffContent' => '<strong class="text-nowrap">[tt_content:2 =&gt; 1]:</strong>' . "\n"
245  . '<table class="table table-striped table-hover">' . "\n"
246  . '<tr><td>Type (CType)</td><td><del>Text &amp; Images</del><ins>Text</ins></td></tr>' . "\n"
247  . '<tr><td>Header (header)</td><td><del>CE 2 second image</del><ins>Test content 2</ins></td></tr>' . "\n"
248  . '<tr><td>Images (image)</td><td>N/A</td></tr>' . "\n"
249  . '</table>',
250  'controls' => '',
251  'message' => '',
252  ],
253  11 =>
254  [
255  'ref' => 'sys_file_reference:2',
256  'type' => 'rel',
257  'msg' => '',
258  'title' => '<span title="/Root/">used-2.jpg</span>',
259  'preCode' => '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="" title="sys_file_reference:2"><span class="t3js-icon icon icon-size-small icon-state-default icon-status-status-checked" data-identifier="status-status-checked">' . "\n"
260  . "\t" . '<span class="icon-markup">' . "\n"
261  . '<svg class="icon-color"><use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/actions.svg#actions-check" /></svg>' . "\n"
262  . "\t" . '</span>' . "\n"
263  . "\t\n"
264  . '</span></span>',
265  'controls' => '',
266  'message' => '',
267  ],
268  12 =>
269  [
270  'ref' => 'sys_file:2',
271  'type' => 'rel',
272  'msg' => '',
273  'title' => '<span title="/">used-2.jpg</span>',
274  'preCode' => '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="" title="sys_file:2"><span class="t3js-icon icon icon-size-small icon-state-default icon-status-status-checked" data-identifier="status-status-checked">' . "\n"
275  . "\t" . '<span class="icon-markup">' . "\n"
276  . '<svg class="icon-color"><use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/actions.svg#actions-check" /></svg>' . "\n"
277  . "\t" . '</span>' . "\n"
278  . "\t\n"
279  . '</span></span>',
280  'controls' => '',
281  'message' => '',
282  ],
283  13 =>
284  [
285  'ref' => 'sys_file_storage:1',
286  'type' => 'rel',
287  'msg' => '',
288  'title' => '<span title="/">fileadmin</span>',
289  'preCode' => '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="" title="sys_file_storage:1"><span class="t3js-icon icon icon-size-small icon-state-default icon-status-status-checked" data-identifier="status-status-checked">' . "\n"
290  . "\t" . '<span class="icon-markup">' . "\n"
291  . '<svg class="icon-color"><use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/actions.svg#actions-check" /></svg>' . "\n"
292  . "\t" . '</span>' . "\n"
293  . "\t\n"
294  . '</span></span>',
295  'controls' => '',
296  'message' => '',
297  ],
298  14 =>
299  [
300  'ref' => 'tt_content:3',
301  'type' => 'record',
302  'msg' => '',
303  'preCode' => '&nbsp;&nbsp;&nbsp;&nbsp;<span title="tt_content:3"><span class="t3js-icon icon icon-size-small icon-state-default icon-mimetypes-x-content-text-picture" data-identifier="mimetypes-x-content-text-picture">' . "\n"
304  . "\t" . '<span class="icon-markup">' . "\n"
305  . '<svg class="icon-color"><use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/mimetypes.svg#mimetypes-x-content-text-picture" /></svg>' . "\n"
306  . "\t" . '</span>' . "\n"
307  . "\t\n"
308  . '</span></span>',
309  'title' => 'CE 3 second image',
310  'active' => 'active',
311  'updatePath' => '<strong>NEW!</strong>',
312  'updateMode' => sprintf('<select name="tx_impexp[import_mode][tt_content:3]"><option value="0">Insert</option><option value="%s">Force UID [3] (Admin)</option><option value="%s">Exclude</option></select>', \‪TYPO3\CMS\Impexp\Import::IMPORT_MODE_FORCE_UID, \‪TYPO3\CMS\Impexp\Import::IMPORT_MODE_EXCLUDE),
313  'showDiffContent' => 'ERROR: One of the inputs were not an array!',
314  'controls' => '',
315  'message' => '',
316  ],
317  15 =>
318  [
319  'ref' => 'sys_file_reference:3',
320  'type' => 'rel',
321  'msg' => '',
322  'title' => '<span title="/Root/">used-2.jpg</span>',
323  'preCode' => '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="" title="sys_file_reference:3"><span class="t3js-icon icon icon-size-small icon-state-default icon-status-status-checked" data-identifier="status-status-checked">' . "\n"
324  . "\t" . '<span class="icon-markup">' . "\n"
325  . '<svg class="icon-color"><use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/actions.svg#actions-check" /></svg>' . "\n"
326  . "\t" . '</span>' . "\n"
327  . "\t\n"
328  . '</span></span>',
329  'controls' => '',
330  'message' => '',
331  ],
332  16 =>
333  [
334  'ref' => 'sys_file:2',
335  'type' => 'rel',
336  'msg' => '',
337  'title' => '<span title="/">used-2.jpg</span>',
338  'preCode' => '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="" title="sys_file:2"><span class="t3js-icon icon icon-size-small icon-state-default icon-status-status-checked" data-identifier="status-status-checked">' . "\n"
339  . "\t" . '<span class="icon-markup">' . "\n"
340  . '<svg class="icon-color"><use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/actions.svg#actions-check" /></svg>' . "\n"
341  . "\t" . '</span>' . "\n"
342  . "\t\n"
343  . '</span></span>',
344  'controls' => '',
345  'message' => '',
346  ],
347  17 =>
348  [
349  'ref' => 'sys_file_storage:1',
350  'type' => 'rel',
351  'msg' => '',
352  'title' => '<span title="/">fileadmin</span>',
353  'preCode' => '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="" title="sys_file_storage:1"><span class="t3js-icon icon icon-size-small icon-state-default icon-status-status-checked" data-identifier="status-status-checked">' . "\n"
354  . "\t" . '<span class="icon-markup">' . "\n"
355  . '<svg class="icon-color"><use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/actions.svg#actions-check" /></svg>' . "\n"
356  . "\t" . '</span>' . "\n"
357  . "\t\n"
358  . '</span></span>',
359  'controls' => '',
360  'message' => '',
361  ],
362  18 =>
363  [
364  'ref' => 'sys_file_reference:1',
365  'type' => 'record',
366  'msg' => '',
367  'preCode' => '&nbsp;&nbsp;&nbsp;&nbsp;<span title="sys_file_reference:1"><span class="t3js-icon icon icon-size-small icon-state-default icon-mimetypes-other-other" data-identifier="mimetypes-other-other">' . "\n"
368  . "\t" . '<span class="icon-markup">' . "\n"
369  . '<svg class="icon-color"><use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/mimetypes.svg#mimetypes-other-other" /></svg>' . "\n"
370  . "\t" . '</span>' . "\n"
371  . "\t\n"
372  . '</span></span>',
373  'title' => 'used-1.jpg',
374  'active' => 'active',
375  'updatePath' => '<strong>NEW!</strong>',
376  'updateMode' => sprintf('<select name="tx_impexp[import_mode][sys_file_reference:1]"><option value="0">Insert</option><option value="%s">Force UID [1] (Admin)</option><option value="%s">Exclude</option></select>', \‪TYPO3\CMS\Impexp\Import::IMPORT_MODE_FORCE_UID, \‪TYPO3\CMS\Impexp\Import::IMPORT_MODE_EXCLUDE),
377  'showDiffContent' => 'ERROR: One of the inputs were not an array!',
378  'controls' => '',
379  'message' => '',
380  ],
381  19 =>
382  [
383  'ref' => 'sys_file:1',
384  'type' => 'rel',
385  'msg' => '',
386  'title' => '<span title="/">used-1.jpg</span>',
387  'preCode' => '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="" title="sys_file:1"><span class="t3js-icon icon icon-size-small icon-state-default icon-status-status-checked" data-identifier="status-status-checked">' . "\n"
388  . "\t" . '<span class="icon-markup">' . "\n"
389  . '<svg class="icon-color"><use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/actions.svg#actions-check" /></svg>' . "\n"
390  . "\t" . '</span>' . "\n"
391  . "\t\n"
392  . '</span></span>',
393  'controls' => '',
394  'message' => '',
395  ],
396  20 =>
397  [
398  'ref' => 'sys_file_storage:1',
399  'type' => 'rel',
400  'msg' => '',
401  'title' => '<span title="/">fileadmin</span>',
402  'preCode' => '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="" title="sys_file_storage:1"><span class="t3js-icon icon icon-size-small icon-state-default icon-status-status-checked" data-identifier="status-status-checked">' . "\n"
403  . "\t" . '<span class="icon-markup">' . "\n"
404  . '<svg class="icon-color"><use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/actions.svg#actions-check" /></svg>' . "\n"
405  . "\t" . '</span>' . "\n"
406  . "\t\n"
407  . '</span></span>',
408  'controls' => '',
409  'message' => '',
410  ],
411  21 =>
412  [
413  'ref' => 'sys_file_reference:2',
414  'type' => 'record',
415  'msg' => '',
416  'preCode' => '&nbsp;&nbsp;&nbsp;&nbsp;<span title="sys_file_reference:2"><span class="t3js-icon icon icon-size-small icon-state-default icon-mimetypes-other-other" data-identifier="mimetypes-other-other">' . "\n"
417  . "\t" . '<span class="icon-markup">' . "\n"
418  . '<svg class="icon-color"><use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/mimetypes.svg#mimetypes-other-other" /></svg>' . "\n"
419  . "\t" . '</span>' . "\n"
420  . "\t\n"
421  . '</span></span>',
422  'title' => 'used-2.jpg',
423  'active' => 'active',
424  'updatePath' => '<strong>NEW!</strong>',
425  'updateMode' => sprintf('<select name="tx_impexp[import_mode][sys_file_reference:2]"><option value="0">Insert</option><option value="%s">Force UID [2] (Admin)</option><option value="%s">Exclude</option></select>', \‪TYPO3\CMS\Impexp\Import::IMPORT_MODE_FORCE_UID, \‪TYPO3\CMS\Impexp\Import::IMPORT_MODE_EXCLUDE),
426  'showDiffContent' => 'ERROR: One of the inputs were not an array!',
427  'controls' => '',
428  'message' => '',
429  ],
430  22 =>
431  [
432  'ref' => 'sys_file:2',
433  'type' => 'rel',
434  'msg' => '',
435  'title' => '<span title="/">used-2.jpg</span>',
436  'preCode' => '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="" title="sys_file:2"><span class="t3js-icon icon icon-size-small icon-state-default icon-status-status-checked" data-identifier="status-status-checked">' . "\n"
437  . "\t" . '<span class="icon-markup">' . "\n"
438  . '<svg class="icon-color"><use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/actions.svg#actions-check" /></svg>' . "\n"
439  . "\t" . '</span>' . "\n"
440  . "\t\n"
441  . '</span></span>',
442  'controls' => '',
443  'message' => '',
444  ],
445  23 =>
446  [
447  'ref' => 'sys_file_storage:1',
448  'type' => 'rel',
449  'msg' => '',
450  'title' => '<span title="/">fileadmin</span>',
451  'preCode' => '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="" title="sys_file_storage:1"><span class="t3js-icon icon icon-size-small icon-state-default icon-status-status-checked" data-identifier="status-status-checked">' . "\n"
452  . "\t" . '<span class="icon-markup">' . "\n"
453  . '<svg class="icon-color"><use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/actions.svg#actions-check" /></svg>' . "\n"
454  . "\t" . '</span>' . "\n"
455  . "\t\n"
456  . '</span></span>',
457  'controls' => '',
458  'message' => '',
459  ],
460  24 =>
461  [
462  'ref' => 'sys_file_reference:3',
463  'type' => 'record',
464  'msg' => '',
465  'preCode' => '&nbsp;&nbsp;&nbsp;&nbsp;<span title="sys_file_reference:3"><span class="t3js-icon icon icon-size-small icon-state-default icon-mimetypes-other-other" data-identifier="mimetypes-other-other">' . "\n"
466  . "\t" . '<span class="icon-markup">' . "\n"
467  . '<svg class="icon-color"><use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/mimetypes.svg#mimetypes-other-other" /></svg>' . "\n"
468  . "\t" . '</span>' . "\n"
469  . "\t\n"
470  . '</span></span>',
471  'title' => 'used-2.jpg',
472  'active' => 'active',
473  'updatePath' => '<strong>NEW!</strong>',
474  'updateMode' => sprintf('<select name="tx_impexp[import_mode][sys_file_reference:3]"><option value="0">Insert</option><option value="%s">Force UID [3] (Admin)</option><option value="%s">Exclude</option></select>', \‪TYPO3\CMS\Impexp\Import::IMPORT_MODE_FORCE_UID, \‪TYPO3\CMS\Impexp\Import::IMPORT_MODE_EXCLUDE),
475  'showDiffContent' => 'ERROR: One of the inputs were not an array!',
476  'controls' => '',
477  'message' => '',
478  ],
479  25 =>
480  [
481  'ref' => 'sys_file:2',
482  'type' => 'rel',
483  'msg' => '',
484  'title' => '<span title="/">used-2.jpg</span>',
485  'preCode' => '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="" title="sys_file:2"><span class="t3js-icon icon icon-size-small icon-state-default icon-status-status-checked" data-identifier="status-status-checked">' . "\n"
486  . "\t" . '<span class="icon-markup">' . "\n"
487  . '<svg class="icon-color"><use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/actions.svg#actions-check" /></svg>' . "\n"
488  . "\t" . '</span>' . "\n"
489  . "\t\n"
490  . '</span></span>',
491  'controls' => '',
492  'message' => '',
493  ],
494  26 =>
495  [
496  'ref' => 'sys_file_storage:1',
497  'type' => 'rel',
498  'msg' => '',
499  'title' => '<span title="/">fileadmin</span>',
500  'preCode' => '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="" title="sys_file_storage:1"><span class="t3js-icon icon icon-size-small icon-state-default icon-status-status-checked" data-identifier="status-status-checked">' . "\n"
501  . "\t" . '<span class="icon-markup">' . "\n"
502  . '<svg class="icon-color"><use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/actions.svg#actions-check" /></svg>' . "\n"
503  . "\t" . '</span>' . "\n"
504  . "\t\n"
505  . '</span></span>',
506  'controls' => '',
507  'message' => '',
508  ],
509  27 =>
510  [
511  'ref' => 'pages:1',
512  'type' => 'record',
513  'msg' => '',
514  'preCode' => '&nbsp;&nbsp;&nbsp;&nbsp;<span title="pages:1"><span class="t3js-icon icon icon-size-small icon-state-default icon-apps-pagetree-page-default" data-identifier="apps-pagetree-page-default">' . "\n"
515  . "\t" . '<span class="icon-markup">' . "\n"
516  . '<svg class="icon-color"><use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/apps.svg#apps-pagetree-page-default" /></svg>' . "\n"
517  . "\t" . '</span>' . "\n"
518  . "\t\n"
519  . '</span></span>',
520  'title' => '<a href="#" >Root</a>',
521  'active' => 'active',
522  'updatePath' => '/',
523  'updateMode' => sprintf('<select name="tx_impexp[import_mode][pages:1]"><option value="0">Update</option><option value="%s">Import as new</option><option value="%s">Ignore PID</option><option value="%s">Exclude</option></select>', \‪TYPO3\CMS\Impexp\Import::IMPORT_MODE_AS_NEW, \‪TYPO3\CMS\Impexp\Import::IMPORT_MODE_IGNORE_PID, \‪TYPO3\CMS\Impexp\Import::IMPORT_MODE_EXCLUDE),
524  'showDiffContent' => '<strong class="text-nowrap">[pages:1 =&gt; 1]:</strong>' . "\n"
525  . 'Match',
526  'controls' => '',
527  'message' => '',
528  ],
529  ],
530  'outsidePageTree' =>
531  [
532  ],
533 ];
‪TYPO3