[BUGFIX] Fluid-layouts should have uppercase as first letter
authorStefan Neufeind <typo3.neufeind@speedpartner.de>
Sun, 20 Nov 2011 23:12:06 +0000 (00:12 +0100)
committerMarco Bresch <marco.bresch@starfinanz.de>
Mon, 21 Nov 2011 18:05:26 +0000 (19:05 +0100)
Having lowercase files for layouts is deprecated since 4.6.

Change-Id: Ie82a0140da8148c0ea426334042849b8983d9bbd
Fixes: #31328
Releases: 4.6, 4.7
Reviewed-on: http://review.typo3.org/6754
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Marco Bresch
Tested-by: Marco Bresch
typo3/sysext/workspaces/Resources/Private/Layouts/Module.html [new file with mode: 0644]
typo3/sysext/workspaces/Resources/Private/Layouts/Nodoc.html [new file with mode: 0644]
typo3/sysext/workspaces/Resources/Private/Layouts/Popup.html [new file with mode: 0644]
typo3/sysext/workspaces/Resources/Private/Layouts/module.html [deleted file]
typo3/sysext/workspaces/Resources/Private/Layouts/nodoc.html [deleted file]
typo3/sysext/workspaces/Resources/Private/Layouts/popup.html [deleted file]

diff --git a/typo3/sysext/workspaces/Resources/Private/Layouts/Module.html b/typo3/sysext/workspaces/Resources/Private/Layouts/Module.html
new file mode 100644 (file)
index 0000000..14d68eb
--- /dev/null
@@ -0,0 +1,29 @@
+<!-- ###FULLDOC### begin -->
+<div class="typo3-fullDoc">
+<!-- Page header with buttons, path details and csh -->
+<div id="typo3-docheader">
+<div id="typo3-docheader-row1">
+<div class="buttonsleft">
+       <f:if condition="{showPreviewLink}">
+               <a href="#" onclick="TYPO3.Workspaces.Actions.generateWorkspacePreviewLink();return false;" title="Generate page preview" id="goPreviewLinkButton"><span class="t3-icon t3-icon-extensions t3-icon-extensions-workspaces t3-icon-workspaces-generatepreviewlink">&nbsp;</span>Generate Workspace Preview Link</a>
+       </f:if>
+</div>
+<div class="buttonsright"><f:be.buttons.shortcut /></div>
+</div>
+<div id="typo3-docheader-row2">
+<div class="docheader-row2-left"></div>
+<div class="docheader-row2-right"><f:be.pagePath /><f:be.pageInfo /></div>
+</div>
+</div>
+<!-- Content of module, for instance listing, info or editing -->
+<div id="typo3-docbody">
+<div id="typo3-inner-docbody">
+
+       <f:flashMessages renderMode="div" />
+
+       <f:render partial="navigation" arguments="{workspaceList: workspaceList, activeWorkspaceUid: activeWorkspaceUid, showAllWorkspaceTab:showAllWorkspaceTab}" />
+       <div class="typo3-dyntabmenu-divs"><f:render section="main" /></div>
+       <f:if condition="{showLegend}"><f:render partial="legend" /></f:if>
+</div>
+</div>
+</div>
diff --git a/typo3/sysext/workspaces/Resources/Private/Layouts/Nodoc.html b/typo3/sysext/workspaces/Resources/Private/Layouts/Nodoc.html
new file mode 100644 (file)
index 0000000..d3ebb50
--- /dev/null
@@ -0,0 +1,11 @@
+<div class="typo3-noDoc">
+       <!-- Content of module, for instance listing, info or editing -->
+       <div id="typo3-docbody">
+               <div id="typo3-inner-docbody">
+
+                       <f:flashMessages renderMode="div" />
+
+                       <f:render section="main"/>
+               </div>
+       </div>
+</div>
diff --git a/typo3/sysext/workspaces/Resources/Private/Layouts/Popup.html b/typo3/sysext/workspaces/Resources/Private/Layouts/Popup.html
new file mode 100644 (file)
index 0000000..f935b70
--- /dev/null
@@ -0,0 +1,21 @@
+<!-- ###FULLDOC### begin -->
+<f:render section="main" />
+<script type="text/javascript">
+       var liveUrl = '{liveUrl}';
+       var wsUrl = '{wsUrl}';
+       var wsSettingsUrl = '{wsSettingsUrl}';
+       document.domain = '{backendDomain}';
+
+       function resize(height) {
+                       // poor way to avoid that we require any scrollbars within the frames
+               if (Ext.getCmp('wsContainer')) {
+                       var currentHeight = isNaN(Ext.getCmp('wsContainer').getHeight()) ? 0 : Ext.getCmp('wsContainer').getHeight();
+                       var finalHeight = Math.max(currentHeight, height * 1.1);
+                       Ext.getCmp('visualPanel').setHeight(finalHeight);
+                       Ext.getCmp('wsContainer').setHeight(finalHeight);
+                       Ext.getCmp('wsPanel').setHeight(finalHeight);
+                       Ext.getCmp('liveContainer').setHeight(finalHeight * (100 - Ext.getCmp('sizeSlider').getValue()) / 100);
+                       Ext.getCmp('livePanel').setHeight(finalHeight);
+               }
+       }
+</script>
diff --git a/typo3/sysext/workspaces/Resources/Private/Layouts/module.html b/typo3/sysext/workspaces/Resources/Private/Layouts/module.html
deleted file mode 100644 (file)
index 14d68eb..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-<!-- ###FULLDOC### begin -->
-<div class="typo3-fullDoc">
-<!-- Page header with buttons, path details and csh -->
-<div id="typo3-docheader">
-<div id="typo3-docheader-row1">
-<div class="buttonsleft">
-       <f:if condition="{showPreviewLink}">
-               <a href="#" onclick="TYPO3.Workspaces.Actions.generateWorkspacePreviewLink();return false;" title="Generate page preview" id="goPreviewLinkButton"><span class="t3-icon t3-icon-extensions t3-icon-extensions-workspaces t3-icon-workspaces-generatepreviewlink">&nbsp;</span>Generate Workspace Preview Link</a>
-       </f:if>
-</div>
-<div class="buttonsright"><f:be.buttons.shortcut /></div>
-</div>
-<div id="typo3-docheader-row2">
-<div class="docheader-row2-left"></div>
-<div class="docheader-row2-right"><f:be.pagePath /><f:be.pageInfo /></div>
-</div>
-</div>
-<!-- Content of module, for instance listing, info or editing -->
-<div id="typo3-docbody">
-<div id="typo3-inner-docbody">
-
-       <f:flashMessages renderMode="div" />
-
-       <f:render partial="navigation" arguments="{workspaceList: workspaceList, activeWorkspaceUid: activeWorkspaceUid, showAllWorkspaceTab:showAllWorkspaceTab}" />
-       <div class="typo3-dyntabmenu-divs"><f:render section="main" /></div>
-       <f:if condition="{showLegend}"><f:render partial="legend" /></f:if>
-</div>
-</div>
-</div>
diff --git a/typo3/sysext/workspaces/Resources/Private/Layouts/nodoc.html b/typo3/sysext/workspaces/Resources/Private/Layouts/nodoc.html
deleted file mode 100644 (file)
index d3ebb50..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<div class="typo3-noDoc">
-       <!-- Content of module, for instance listing, info or editing -->
-       <div id="typo3-docbody">
-               <div id="typo3-inner-docbody">
-
-                       <f:flashMessages renderMode="div" />
-
-                       <f:render section="main"/>
-               </div>
-       </div>
-</div>
diff --git a/typo3/sysext/workspaces/Resources/Private/Layouts/popup.html b/typo3/sysext/workspaces/Resources/Private/Layouts/popup.html
deleted file mode 100644 (file)
index f935b70..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-<!-- ###FULLDOC### begin -->
-<f:render section="main" />
-<script type="text/javascript">
-       var liveUrl = '{liveUrl}';
-       var wsUrl = '{wsUrl}';
-       var wsSettingsUrl = '{wsSettingsUrl}';
-       document.domain = '{backendDomain}';
-
-       function resize(height) {
-                       // poor way to avoid that we require any scrollbars within the frames
-               if (Ext.getCmp('wsContainer')) {
-                       var currentHeight = isNaN(Ext.getCmp('wsContainer').getHeight()) ? 0 : Ext.getCmp('wsContainer').getHeight();
-                       var finalHeight = Math.max(currentHeight, height * 1.1);
-                       Ext.getCmp('visualPanel').setHeight(finalHeight);
-                       Ext.getCmp('wsContainer').setHeight(finalHeight);
-                       Ext.getCmp('wsPanel').setHeight(finalHeight);
-                       Ext.getCmp('liveContainer').setHeight(finalHeight * (100 - Ext.getCmp('sizeSlider').getValue()) / 100);
-                       Ext.getCmp('livePanel').setHeight(finalHeight);
-               }
-       }
-</script>