[FEATURE] Viewpage language selector
[Packages/TYPO3.CMS.git] / typo3 / sysext / viewpage / Resources / Private / Layouts / DocHeader.html
index eaad421..116f0d6 100644 (file)
                                                <f:translate key="width" />
                                        </label>
                                        <f:form.select options="{widths}" id="width" name="width" />
+                                       <f:if condition="{languages -> f:count()} > 1">
+                                               <label for="language">
+                                                       <f:translate key="language" />
+                                               </label>
+                                               <f:form.select options="{languages}" id="language" name="language" />
+                                       </f:if>
                                </form>
                        </div>
                        <div class="typo3-docheader-buttons">