Default.html 3.12 KB
Newer Older
1
{namespace lfe=SGalinski\Lfeditor\ViewHelpers}
Damjan's avatar
Damjan committed
2

3
<lfe:addJavaScriptFile javaScriptFile="{f:uri.resource(path: 'Scripts/FormUtility.js')}" />
Damjan's avatar
Damjan committed
4
<lfe:addJavaScriptFile javaScriptFile="{f:uri.resource(path: 'Scripts/Lfeditor.js')}" />
5
<lfe:addJavaScriptFile javaScriptFile="{f:uri.resource(path: 'Scripts/textareaResize.js')}" />
6
<lfe:inlineLanguageLabels labels="function.langfile.confirmCancel" />
Damjan's avatar
Damjan committed
7

8
<lfe:addCssFile cssFile="{f:uri.resource(path: 'StyleSheets/Lfeditor.css')}" />
9

10
<f:be.container>
Damjan's avatar
Damjan committed
11 12
	<div class="typo3-fullDoc">
		<div id="typo3-docheader">
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
			<div class="typo3-docheader-functions">
				<f:be.menus.actionMenu>
					<f:be.menus.actionMenuItem label="{f:translate(key:'function.general.general')}"
						controller="General"
						action="general" />
					<f:be.menus.actionMenuItem label="{f:translate(key:'function.langfile.edit')}"
						controller="EditFile"
						action="editFile"
						arguments="{buttonType: 0}" />
					<f:be.menus.actionMenuItem label="{f:translate(key:'function.const.edit.edit')}"
						controller="EditConstant"
						action="editConstant" />
					<f:if condition="{defaultLanguagePermission}">
						<f:be.menus.actionMenuItem label="{f:translate(key:'function.const.add.add')}"
							controller="AddConstant"
							action="addConstant" />
						<f:be.menus.actionMenuItem label="{f:translate(key:'function.const.delete.delete')}"
							controller="DeleteConstant"
							action="deleteConstant" />
						<f:be.menus.actionMenuItem label="{f:translate(key:'function.const.rename.rename')}"
							controller="RenameConstant"
							action="renameConstant" />
					</f:if>
					<f:be.menus.actionMenuItem label="{f:translate(key:'function.const.search.search')}"
						controller="SearchConstant"
						action="searchConstant" />
					<f:be.menus.actionMenuItem label="{f:translate(key:'function.const.treeview.treeview')}"
						controller="ViewTree"
						action="viewTree" />
					<f:if condition="{editingMode} == 'extension'">
						<f:be.menus.actionMenuItem label="{f:translate(key:'function.backupMgr.backupMgr')}"
							controller="ManageBackups"
							action="manageBackups" />
					</f:if>
				</f:be.menus.actionMenu>
				<f:if condition="{canChangeEditingModes}">
					<f:be.menus.actionMenu>
						<f:for each="{editingModeOptions}" key="editingModeOption" as="editingModeLabel">
							<f:if condition="{editingMode} == {editingModeOption}">
52
								<f:then>
53
									<f:be.menus.actionMenuItem label="{editingModeLabel}"
54
										controller="General"
55 56
										action="switchEditingMode"
										arguments="{editingMode: editingModeOption}"
57 58 59
										additionalAttributes="{selected: 'selected'}" />
								</f:then>
								<f:else>
60
									<f:be.menus.actionMenuItem label="{editingModeLabel}"
61
										controller="General"
62 63
										action="switchEditingMode"
										arguments="{editingMode: editingModeOption}" />
64 65
								</f:else>
							</f:if>
66 67 68
						</f:for>
					</f:be.menus.actionMenu>
				</f:if>
Damjan's avatar
Damjan committed
69 70
			</div>
		</div>
71

Damjan's avatar
Damjan committed
72 73
		<div id="typo3-docbody">
			<div id="typo3-inner-docbody">
74
				<f:render section="selectItems" />
75
				<f:flashMessages />
Damjan's avatar
Damjan committed
76 77 78 79
				<f:render section="main" />
			</div>
		</div>
	</div>
80
</f:be.container>