phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] api class.xslt.php, 1.1.1.1.2.13 class.phpgw.php, 1.


From: seek3r
Subject: [Phpgroupware-cvs] api class.xslt.php, 1.1.1.1.2.13 class.phpgw.php, 1.1.1.1.2.50
Date: Fri, 25 Feb 2005 00:21:00 +0100

Update of api

Modified Files:
     Branch: proposal-branch
            class.xslt.php lines: +12 -12
            class.phpgw.php lines: +6 -1

Log Message:
using hidden iframe for performance benefit

====================================================
Index: api/class.xslt.php
diff -u api/class.xslt.php:1.1.1.1.2.12 api/class.xslt.php:1.1.1.1.2.13
--- api/class.xslt.php:1.1.1.1.2.12     Tue Jul  6 07:24:01 2004
+++ api/class.xslt.php  Thu Feb 24 23:21:06 2005
@@ -37,17 +37,17 @@
        }


-        if (!extension_loaded('domxml'))
-        {
-                if (PHP_OS == 'Windows'  || PHP_OS == 'WINNT' || PHP_OS == 
'OS/2')
-                {
-                        @dl('php_domxml.dll');
-                }
-                else
-                {
-                        @dl('domxml.so');
-                }
-        }
+       if (!extension_loaded('domxml'))
+       {
+               if (PHP_OS == 'Windows'  || PHP_OS == 'WINNT' || PHP_OS == 
'OS/2')
+               {
+                       @dl('php_domxml.dll');
+               }
+               else
+               {
+                       @dl('domxml.so');
+               }
+       }

 class api_xslt
 {

====================================================
Index: api/class.phpgw.php
diff -u api/class.phpgw.php:1.1.1.1.2.49 api/class.phpgw.php:1.1.1.1.2.50
--- api/class.phpgw.php:1.1.1.1.2.49    Thu Aug 26 20:11:13 2004
+++ api/class.phpgw.php Thu Feb 24 23:21:06 2005
@@ -370,6 +370,7 @@
                                $this->load_base_classes();
                        }

+                       $phpgw_content = get_var('phpgw_content', 'any', 
'bool', false);
                        /* Check to see if we should load the main xsl */
                        if ($args['loadmainxsl'])
                        {
@@ -379,6 +380,10 @@
                                {
                                        $this->add_xsl('api.phpgw_js_menu');
                                }
+                               elseif($phpgw_content)
+                               {
+                                       $this->add_xsl('api.phpgw_content');
+                               }
                                else
                                {
                                        $this->add_xsl('api.phpgw');






reply via email to

[Prev in Thread] Current Thread [Next in Thread]