[FEATURE] Viewpage language selector
[Packages/TYPO3.CMS.git] / typo3 / sysext / viewpage / Resources / Private / Layouts / DocHeader.html
1 <f:be.container
2 includeCssFiles="{
3 0:'{f:uri.resource(path:\'Css/ui-lightness/jquery-ui-1.10.3.custom.min.css\')}',
4 1:'{f:uri.resource(path:\'Css/main.css\')}'
5 }"
6 includeRequireJsModules="{
7 0:'TYPO3/CMS/Viewpage/Main'
8 }">
9 <div class="typo3-fullDoc">
10 <div id="typo3-docheader">
11 <div class="typo3-docheader-functions">
12 <form>
13 <label for="width">
14 <f:translate key="width" />
15 </label>
16 <f:form.select options="{widths}" id="width" name="width" />
17 <f:if condition="{languages -> f:count()} > 1">
18 <label for="language">
19 <f:translate key="language" />
20 </label>
21 <f:form.select options="{languages}" id="language" name="language" />
22 </f:if>
23 </form>
24 </div>
25 <div class="typo3-docheader-buttons">
26 <div class="left">
27 <f:be.buttons.icon uri="{url}"
28 additionalAttributes="{onclick: 'window.open(this.href,\'newTYPO3frontendWindow\').focus();return false;'}"
29 icon="actions-document-view" title="{f:translate(key: 'LLL:EXT:lang/locallang_core.xlf:labels.showPage')}"
30 />
31 </div>
32 <div class="right">
33 <f:be.buttons.icon
34 uri="javascript:document.getElementById('tx_viewpage_iframe').contentWindow.location.reload(true);"
35 icon="actions-system-refresh" title="{f:translate(key: 'refreshPage')}" />
36 <f:be.buttons.shortcut/>
37 </div>
38 </div>
39 </div>
40
41 <div id="typo3-docbody">
42 <div id="typo3-inner-docbody" class="tx_viewpage">
43 <f:render section="Content" />
44 </div>
45 </div>
46 </div>
47 </f:be.container>