‪TYPO3CMS  11.5
RenderPreviewExportRecords.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' => false,
18  'showDiff' => false,
19  'insidePageTree' =>
20  [
21  ],
22  'outsidePageTree' =>
23  [
24  0 =>
25  [
26  'ref' => 'tt_content:1',
27  'type' => 'record',
28  'msg' => '',
29  'preCode' => '<span title="tt_content:1"><span class="t3js-icon icon icon-size-small icon-state-default icon-mimetypes-x-content-text" data-identifier="mimetypes-x-content-text">
30  <span class="icon-markup">
31 <svg class="icon-color"><use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/mimetypes.svg#mimetypes-x-content-text" /></svg>
32  </span>
33 
34 </span></span>',
35  'title' => 'Test content',
36  'active' => 'active',
37  'controls' => '
38  <input type="checkbox" class="t3js-exclude-checkbox" name="tx_impexp[exclude][tt_content:1]" id="checkExcludett_content:1" value="1" />
39  <label for="checkExcludett_content:1">Exclude</label>',
40  'message' => '',
41  ],
42  1 =>
43  [
44  'ref' => 'SOFTREF',
45  'type' => 'softref',
46  'msg' => '',
47  'preCode' => '&nbsp;&nbsp;&nbsp;&nbsp;<span title="SOFTREF"><span class="t3js-icon icon icon-size-small icon-state-default icon-status-reference-soft" data-identifier="status-reference-soft">
48  <span class="icon-markup">
49 <img src="typo3/sysext/impexp/Resources/Public/Icons/status-reference-soft.png" width="16" height="16" alt="" />
50  </span>
51 
52 </span></span>',
53  'title' => '<em>header_link, "typolink"</em> : <span title="file:2">file:2</span><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Record <strong>sys_file:2</strong>',
54  '_softRefInfo' =>
55  [
56  'field' => 'header_link',
57  'spKey' => 'typolink',
58  'matchString' => 'file:2',
59  'subst' =>
60  [
61  'type' => 'db',
62  'recordRef' => 'sys_file:2',
63  'tokenID' => '2487ce518ed56d22f20f259928ff43f1',
64  'tokenValue' => 'file:2',
65  ],
66  ],
67  'controls' => '<select name="tx_impexp[softrefCfg][2487ce518ed56d22f20f259928ff43f1][mode]"><option value="" selected="selected"></option><option value="editable">Editable</option><option value="exclude">Exclude</option></select><br/>',
68  'message' => '',
69  ],
70  2 =>
71  [
72  'ref' => 'sys_file:2',
73  'type' => 'rel',
74  'msg' => 'LOST RELATION (Path: /)',
75  'title' => '<span title="/">sys_file:2</span>',
76  'preCode' => '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="text-danger" title="sys_file:2"><span class="t3js-icon icon icon-size-small icon-state-default icon-status-dialog-warning" data-identifier="status-dialog-warning">
77  <span class="icon-markup">
78 <svg class="icon-color"><use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/actions.svg#actions-exclamation-triangle" /></svg>
79  </span>
80 
81 </span></span>',
82  'controls' => '',
83  'message' => '<span class="text-danger">LOST RELATION (Path: /)</span>',
84  ],
85  3 =>
86  [
87  'ref' => 'tt_content:2',
88  'type' => 'record',
89  'msg' => '',
90  'preCode' => '<span title="tt_content:2"><span class="t3js-icon icon icon-size-small icon-state-default icon-mimetypes-x-content-text" data-identifier="mimetypes-x-content-text">
91  <span class="icon-markup">
92 <svg class="icon-color"><use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/mimetypes.svg#mimetypes-x-content-text" /></svg>
93  </span>
94 
95 </span></span>',
96  'title' => 'Test content 2',
97  'active' => 'active',
98  'controls' => '
99  <input type="checkbox" class="t3js-exclude-checkbox" name="tx_impexp[exclude][tt_content:2]" id="checkExcludett_content:2" value="1" />
100  <label for="checkExcludett_content:2">Exclude</label>',
101  'message' => '',
102  ],
103  4 =>
104  [
105  'ref' => 'SOFTREF',
106  'type' => 'softref',
107  'msg' => '',
108  'preCode' => '&nbsp;&nbsp;&nbsp;&nbsp;<span title="SOFTREF"><span class="t3js-icon icon icon-size-small icon-state-default icon-status-reference-soft" data-identifier="status-reference-soft">
109  <span class="icon-markup">
110 <img src="typo3/sysext/impexp/Resources/Public/Icons/status-reference-soft.png" width="16" height="16" alt="" />
111  </span>
112 
113 </span></span>',
114  'title' => '<em>header_link, "typolink"</em> : <span title="file:4">file:4</span><br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Record <strong>sys_file:4</strong>',
115  '_softRefInfo' =>
116  [
117  'field' => 'header_link',
118  'spKey' => 'typolink',
119  'matchString' => 'file:4',
120  'subst' =>
121  [
122  'type' => 'db',
123  'recordRef' => 'sys_file:4',
124  'tokenID' => '81b8b33df54ef433f1cbc7c3e513e6c4',
125  'tokenValue' => 'file:4',
126  ],
127  ],
128  'controls' => '<select name="tx_impexp[softrefCfg][81b8b33df54ef433f1cbc7c3e513e6c4][mode]"><option value="" selected="selected"></option><option value="editable">Editable</option><option value="exclude">Exclude</option></select><br/>',
129  'message' => '',
130  ],
131  5 =>
132  [
133  'ref' => 'sys_file:4',
134  'type' => 'rel',
135  'title' => '<span title="/">sys_file:4</span>',
136  'msg' => 'LOST RELATION (Path: /)',
137  'preCode' => '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="text-danger" title="sys_file:4"><span class="t3js-icon icon icon-size-small icon-state-default icon-status-dialog-warning" data-identifier="status-dialog-warning">
138  <span class="icon-markup">
139 <svg class="icon-color"><use xlink:href="typo3/sysext/core/Resources/Public/Icons/T3Icons/sprites/actions.svg#actions-exclamation-triangle" /></svg>
140  </span>
141 
142 </span></span>',
143  'controls' => '',
144  'message' => '<span class="text-danger">LOST RELATION (Path: /)</span>',
145  ],
146  ],
147 ];