* Fixed issue 7052: Permission problem of RTE images
[Packages/TYPO3.CMS.git] / typo3 / alt_main_new.php
index 62a68fc..e59b167 100644 (file)
@@ -28,7 +28,7 @@
  * Main frameset of the TYPO3 backend
  * Sending the GET var "alt_main.php?edit=[page id]" will load the page id in the editing module configured.
  *
- * $Id: alt_main.php 1421 2006-04-10 09:27:15Z mundaun $
+ * $Id$
  * Revised for TYPO3 3.6 2/2003 by Kasper Skaarhoj
  * XHTML Compliant (almost)
  *
@@ -76,8 +76,20 @@ class SC_alt_main {
                // Internal, dynamic:
        var $content;
        var $mainJScode;
-       var $loadModules;               // Load modules-object
-       var $alt_menuObj;               // Menu functions object.
+
+       /**
+        * Object for backend modules, load modules-object
+        *
+        * @var t3lib_loadModules
+        */
+       var $loadModules;
+
+       /**
+        * Menu functions object
+        *
+        * @var alt_menu_functions
+        */
+       var $alt_menuObj;
 
                // Internal, static:
        var $leftMenuFrameW = 130;
@@ -609,7 +621,7 @@ class SC_alt_main {
                                }
                                Element.setStyle(menyLayerObj,{top: \''.$this->topMenu.'px\'}); 
                                
-                               Effect.Appear(menyLayerObj,{duration: 0.4});
+                               Effect.Appear(menyLayerObj,{duration: 0.2});
                        }       
                        
                        function menuOpenSub(el)        {
@@ -620,7 +632,7 @@ class SC_alt_main {
                                        if (node.nodeType==1)   {       // This type seems to represent tags, not CDATA (which for some reason stops JS execution!)
                                                //debugObj(node);
                                                if (Element.hasClassName(node,"menulayer") && !Element.visible(node))   {
-                                                       Effect.Appear(node,{duration: 0.4});
+                                                       Effect.Appear(node,{duration: 0.2});
                                                        Element.setStyle(node,{left: ($(el).offsetLeft + Element.getDimensions(el).width - 5) +\'px\'}); 
                                                        
                                                        if (el.id && menuItemObjects[""+el.id]) {