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

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

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

Damjan's avatar
Damjan committed
14 15 16 17 18 19 20 21
				<!--<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>
22
						<f:be.menus.actionMenuItem label="{f:translate(key:'function.general.general')}"
Damjan's avatar
Damjan committed
23 24
							controller="Main"
							action="general" />
25
						<f:be.menus.actionMenuItem label="{f:translate(key:'function.langfile.edit')}"
Damjan's avatar
Damjan committed
26 27 28 29 30 31
							controller="Main"
							action="editFile" />
					</f:be.menus.actionMenu>
				</div>
			</div>
		</div>
32

Damjan's avatar
Damjan committed
33 34 35
		<div id="typo3-docbody">
			<div id="typo3-inner-docbody">
				<f:form id="mainMenuForm" action="{mainMenuSelection}ChangeSelection">
Damjan's avatar
Damjan committed
36
					<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
37 38 39
					<f:flashMessages renderMode="div" />
					<f:translate key="select.extension" />
					<br>
Damjan's avatar
Damjan committed
40 41
					<f:form.select name="extensionSelection"
						value="{extensionSelection}"
42 43
						options="{extensionOptions}"
						additionalAttributes="{onchange: 'submitForm(\'mainMenuForm\')'}"
Damjan's avatar
Damjan committed
44 45
						/>
					<br><br>
46

Damjan's avatar
Damjan committed
47 48 49 50
					<br>
					<f:render section="selectItems" />
				</f:form>
				<br><br>
51

Damjan's avatar
Damjan committed
52
				<f:render section="main" />
53

Damjan's avatar
Damjan committed
54 55 56
			</div>
		</div>
	</div>
57 58 59
</f:be.container>

<f:comment>
Damjan's avatar
Damjan committed
60
	<f:debug title="All available variables">{_all}</f:debug>
Damjan's avatar
Damjan committed
61 62 63
	<div>
		This is Default layout. <br>
		<f:form id="mainMenuForm" action="mainMenuSelect">
64

Damjan's avatar
Damjan committed
65 66
			<f:form.select name="mainMenuSelection"
				value="{mainMenuSelection}"
67
				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
68 69 70 71 72 73 74 75 76 77 78 79
				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>
80
</f:comment>