ed0a681b5b254fb136adfe9a4a08d22974ed110c
[Packages/TYPO3.CMS.git] / typo3 / sysext / pagetree / ext_localconf.php
1 <?php
2 if (!defined('TYPO3_MODE')) {
3 die ('Access denied.');
4 }
5
6 // context menu user default configuration
7 $GLOBALS['TYPO3_CONF_VARS']['BE']['defaultUserTSconfig'] .= '
8 options.pageTree {
9 doktypesToShowInNewPageDragArea = 1,3,4,6,7,199,254
10 }
11
12 options.contextMenu {
13 defaults {
14 }
15
16 table {
17 pages.items {
18 100 = ITEM
19 100 {
20 label = LLL:EXT:pagetree/locallang_contextmenu.xml:cm.viewPage
21 spriteIcon = actions-document-view
22 displayCondition = canBeViewed != 0
23 callbackAction = viewPage
24 }
25
26 200 = DIVIDER
27
28 300 = ITEM
29 300 {
30 label = LLL:EXT:pagetree/locallang_contextmenu.xml:cm.disablePage
31 spriteIcon = actions-edit-hide
32 displayCondition = getRecord|hidden = 0 && canBeDisabledAndEnabled != 0
33 callbackAction = disablePage
34 }
35
36 400 = ITEM
37 400 {
38 label = LLL:EXT:pagetree/locallang_contextmenu.xml:cm.enablePage
39 spriteIcon = actions-edit-unhide
40 displayCondition = getRecord|hidden = 1 && canBeDisabledAndEnabled != 0
41 callbackAction = enablePage
42 }
43
44 500 = ITEM
45 500 {
46 label = LLL:EXT:pagetree/locallang_contextmenu.xml:cm.editPageProperties
47 spriteIcon = actions-document-open
48 displayCondition = canBeEdited != 0
49 callbackAction = editPageProperties
50 }
51
52 600 = ITEM
53 600 {
54 label = LLL:EXT:pagetree/locallang_contextmenu.xml:cm.info
55 spriteIcon = actions-document-info
56 displayCondition = canShowInfo != 0
57 callbackAction = openInfoPopUp
58 }
59
60 700 = ITEM
61 700 {
62 label = LLL:EXT:pagetree/locallang_contextmenu.xml:cm.history
63 spriteIcon = actions-document-history-open
64 displayCondition = canShowHistory != 0
65 callbackAction = openHistoryPopUp
66 }
67
68 800 = DIVIDER
69
70 900 = SUBMENU
71 900 {
72 label = LLL:EXT:pagetree/locallang_contextmenu.xml:cm.copyPasteActions
73
74 100 = ITEM
75 100 {
76 label = LLL:EXT:pagetree/locallang_contextmenu.xml:cm.newPage
77 spriteIcon = actions-document-new
78 displayCondition = canCreateNewPages != 0
79 callbackAction = newPageWizard
80 }
81
82 200 = DIVIDER
83
84 300 = ITEM
85 300 {
86 label = LLL:EXT:pagetree/locallang_contextmenu.xml:cm.cutPage
87 spriteIcon = actions-edit-cut
88 displayCondition = isInCutMode = 0 && canBeCut != 0
89 callbackAction = enableCutMode
90 }
91
92 400 = ITEM
93 400 {
94 label = LLL:EXT:pagetree/locallang_contextmenu.xml:cm.cutPage
95 spriteIcon = actions-edit-cut-release
96 displayCondition = isInCutMode = 1 && canBeCut != 0
97 callbackAction = disableCutMode
98 }
99
100 500 = ITEM
101 500 {
102 label = LLL:EXT:pagetree/locallang_contextmenu.xml:cm.copyPage
103 spriteIcon = actions-edit-copy
104 displayCondition = isInCopyMode = 0 && canBeCopied != 0
105 callbackAction = enableCopyMode
106 }
107
108 600 = ITEM
109 600 {
110 label = LLL:EXT:pagetree/locallang_contextmenu.xml:cm.copyPage
111 spriteIcon = actions-edit-copy-release
112 displayCondition = isInCopyMode = 1 && canBeCopied != 0
113 callbackAction = disableCopyMode
114 }
115
116 700 = ITEM
117 700 {
118 label = LLL:EXT:pagetree/locallang_contextmenu.xml:cm.pasteIntoPage
119 spriteIcon = actions-document-paste-after
120 displayCondition = getContextInfo|inCopyMode = 1 || getContextInfo|inCutMode = 1
121 callbackAction = pasteIntoNode
122 }
123
124 800 = ITEM
125 800 {
126 label = LLL:EXT:pagetree/locallang_contextmenu.xml:cm.pasteAfterPage
127 spriteIcon = actions-document-paste-into
128 displayCondition = getContextInfo|inCopyMode = 1 || getContextInfo|inCutMode = 1
129 callbackAction = pasteAfterNode
130 }
131
132 900 = DIVIDER
133
134 1000 = ITEM
135 1000 {
136 label = LLL:EXT:pagetree/locallang_contextmenu.xml:cm.deletePage
137 spriteIcon = actions-edit-delete
138 displayCondition = canBeRemoved != 0
139 callbackAction = removeNode
140 }
141 }
142
143 1000 = SUBMENU
144 1000 {
145 label = LLL:EXT:pagetree/locallang_contextmenu.xml:cm.branchActions
146
147 100 = ITEM
148 100 {
149 label = LLL:EXT:pagetree/locallang_contextmenu.xml:cm.tempMountPoint
150 spriteIcon = actions-system-extension-documentation
151 displayCondition = canBeTemporaryMountPoint != 0
152 callbackAction = stub
153 }
154 }
155 }
156 }
157
158 files {
159 items {
160 100 = ITEM
161 100 {
162 label = LLL:EXT:pagetree/locallang_contextmenu.xml:cm.renameFolder
163 spriteIcon = actions-edit-rename
164 callbackAction = renameFolder
165 }
166
167 200 = ITEM
168 200 {
169 label = LLL:EXT:pagetree/locallang_contextmenu.xml:cm.uploadFilesToFolder
170 spriteIcon = actions-edit-upload
171 callbackAction = uploadFilesToFolder
172 }
173
174 300 = ITEM
175 300 {
176 label = LLL:EXT:pagetree/locallang_contextmenu.xml:cm.createFolder
177 spriteIcon = actions-edit-add
178 callbackAction = createFolder
179 }
180
181 400 = ITEM
182 400 {
183 label = LLL:EXT:pagetree/locallang_contextmenu.xml:cm.folderInfo
184 spriteIcon = actions-document-info
185 callbackAction = openInfoPopUp
186 }
187
188 500 = DIVIDER
189
190 600 = ITEM
191 600 {
192 label = LLL:EXT:pagetree/locallang_contextmenu.xml:cm.copyFolder
193 spriteIcon = actions-edit-copy
194 callbackAction = copyFolder
195 }
196
197 700 = ITEM
198 700 {
199 label = LLL:EXT:pagetree/locallang_contextmenu.xml:cm.cutFolder
200 spriteIcon = actions-edit-cut
201 callbackAction = cutFolder
202 }
203
204 800 = ITEM
205 800 {
206 label = LLL:EXT:pagetree/locallang_contextmenu.xml:cm.pasteIntoFolder
207 spriteIcon = actions-document-paste-after
208 callbackAction = pasteIntoFolder
209 }
210
211 900 = DIVIDER
212
213 1000 = ITEM
214 1000 {
215 label = LLL:EXT:pagetree/locallang_contextmenu.xml:cm.deleteFolder
216 spriteIcon = actions-edit-delete
217 callbackAction = deleteFolder
218 }
219 }
220 }
221 }
222 ';
223
224 ?>