* Fixed issue 7052: Permission problem of RTE images
[Packages/TYPO3.CMS.git] / typo3 / alt_main_new.php
index 9299b3c..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)
  *
@@ -52,6 +52,8 @@
  *
  */
 
+die(); // Disabled until Kasper finishes this feature.
+
 require ('init.php');
 require ('template.php');
 require_once (PATH_t3lib.'class.t3lib_loadmodules.php');
@@ -74,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;
@@ -496,8 +510,8 @@ class SC_alt_main {
                //Add styles
                $this->content.='
                
-               <script src="prototype.js" language="JavaScript" type="text/javascript"></script>
-               <script src="scriptaculous/scriptaculous.js" language="JavaScript" type="text/javascript"></script>
+               <script src="contrib/prototype/prototype.js" language="JavaScript" type="text/javascript"></script>
+               <script src="contrib/scriptaculous/scriptaculous.js" language="JavaScript" type="text/javascript"></script>
                <script type="text/javascript" language="JavaScript">
                        function getElementContent(placeholderId, frequency, url) {
                                if (!url)       {
@@ -607,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)        {
@@ -618,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]) {