Default.html 3.25 KB
Newer Older
1 2
{namespace lfe=SGalinski\Lfeditor\ViewHelpers}
<lfe:addJavaScriptFile javaScriptFile="{f:uri.resource(path: 'Scripts/FormUtility.js')}" />
3
<lfe:addCssFile cssFile="{f:uri.resource(path: 'StyleSheets/Lfeditor.css')}" />
4 5 6

<f:be.container enableClickMenu="FALSE" loadPrototype="FALSE" loadExtJs="FALSE">

Damjan's avatar
Damjan committed
7 8 9 10 11 12 13
	<div class="typo3-fullDoc">
		<div id="typo3-docheader">
			<f:comment>
				<!--<div id="typo3-docheader-row1">-->
				<!--<div class="buttonsleft">-->
				<!--<f:render section="iconButtons" />-->
				<!--</div>-->
14

Damjan's avatar
Damjan committed
15 16 17 18 19 20 21 22
				<!--<div class="buttonsright">-->
				<!--<f:be.buttons.shortcut />-->
				<!--</div>-->
				<!--</div>-->
			</f:comment>
			<div id="typo3-docheader-row2">
				<div class="docheader-row2-left">
					<f:be.menus.actionMenu>
23
						<f:be.menus.actionMenuItem label="{f:translate(key:'function.general.general')}"
Damjan's avatar
Damjan committed
24 25
							controller="Main"
							action="general" />
26
						<f:be.menus.actionMenuItem label="{f:translate(key:'function.langfile.edit')}"
Damjan's avatar
Damjan committed
27 28
							controller="Main"
							action="editFile" />
29 30 31
						<f:be.menus.actionMenuItem label="{f:translate(key:'function.const.edit.edit')}"
							controller="Main"
							action="editConstant" />
Damjan's avatar
Damjan committed
32 33 34
						<f:be.menus.actionMenuItem label="{f:translate(key:'function.const.add.add')}"
							controller="Main"
							action="addConstant" />
35 36 37
						<f:be.menus.actionMenuItem label="{f:translate(key:'function.const.delete.delete')}"
							controller="Main"
							action="deleteConstant" />
38 39 40
						<f:be.menus.actionMenuItem label="{f:translate(key:'function.const.rename.rename')}"
							controller="Main"
							action="renameConstant" />
41 42 43
						<f:be.menus.actionMenuItem label="{f:translate(key:'function.const.search.search')}"
							controller="Main"
							action="searchConstant" />
Damjan's avatar
Damjan committed
44 45 46 47
					</f:be.menus.actionMenu>
				</div>
			</div>
		</div>
48

Damjan's avatar
Damjan committed
49 50 51
		<div id="typo3-docbody">
			<div id="typo3-inner-docbody">
				<f:form id="mainMenuForm" action="{mainMenuSelection}ChangeSelection">
52
					<f:flashMessages renderMode="div" />
53 54 55
					<h2 class="uppercase">
						<f:translate key="select.extension" />
					</h2>
Damjan's avatar
Damjan committed
56 57
					<f:form.select name="extensionSelection"
						value="{extensionSelection}"
58 59
						options="{extensionOptions}"
						additionalAttributes="{onchange: 'submitForm(\'mainMenuForm\')'}"
Damjan's avatar
Damjan committed
60 61 62 63 64 65 66
						/>
					<f:render section="selectItems" />
				</f:form>
				<f:render section="main" />
			</div>
		</div>
	</div>
67 68 69
</f:be.container>

<f:comment>
Damjan's avatar
Damjan committed
70
	<f:debug title="All available variables">{_all}</f:debug>
71
	<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
72

Damjan's avatar
Damjan committed
73 74 75
	<div>
		This is Default layout. <br>
		<f:form id="mainMenuForm" action="mainMenuSelect">
76

Damjan's avatar
Damjan committed
77 78
			<f:form.select name="mainMenuSelection"
				value="{mainMenuSelection}"
79
				options="{ general: 'General select item', editFile: 'Edit file select item'}" options="{NULL: '--Select something--', extension1: 'Test extension 1', extension2: 'Test extension 2'}"
Damjan's avatar
Damjan committed
80 81 82 83 84 85 86 87 88 89 90 91
				additionalAttributes="{onchange: 'submitForm(\'mainMenuForm\');'}"
				/>
			<br><br><br><br><br><br><br><br><br><br><br><br><br><br>
			<f:render section="selectItems" />
		</f:form>
		<br><br>
		<!--<f:link.action action="editFile">Edit file link</f:link.action>-->
		<!--<br>-->
		<!--<f:link.action action="general">General link</f:link.action>-->
		<!--<br><br>-->
		<f:render section="main" />
	</div>
92
</f:comment>