phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/inc class.uiwo_hour.inc.php,1.14


From: sigurdne
Subject: [Phpgroupware-cvs] property/inc class.uiwo_hour.inc.php,1.14
Date: Thu, 11 Aug 2005 12:46:00 +0200

Update of property/inc

Modified Files:
     Branch: MAIN
            class.uiwo_hour.inc.php lines: +9 -5

Log Message:
no message

====================================================
Index: property/inc/class.uiwo_hour.inc.php
diff -u property/inc/class.uiwo_hour.inc.php:1.13 
property/inc/class.uiwo_hour.inc.php:1.14
--- property/inc/class.uiwo_hour.inc.php:1.13   Wed Aug 10 19:39:42 2005
+++ property/inc/class.uiwo_hour.inc.php        Thu Aug 11 10:46:39 2005
@@ -585,8 +585,7 @@
                                
$GLOBALS['phpgw']->redirect_link('/index.php','menuaction='.$this->currentapp.'.uilocation.stop&perm=1&acl_location='
 . $this->acl2_location);
                        }

-                       $GLOBALS['phpgw']->xslttpl->add_file(array('wo_hour',
-                                                                               
'menu'));
+                       
$GLOBALS['phpgw']->xslttpl->add_file(array('wo_hour','menu'));

                        $show_cost                              = 
get_var('show_cost',array('POST','GET'));
                        $show_details                   = 
get_var('show_details',array('POST','GET'));
@@ -758,8 +757,13 @@
                                
$this->create_html->add_file(array(PHPGW_SERVER_ROOT . SEP . $this->currentapp 
. SEP . 'templates' . SEP . 'default' . SEP . 'location_view'));

                                
$this->create_html->set_var('phpgw',array('email_data' => $email_data));
-                               $GLOBALS['phpgw_info']['flags']['noframework'] 
= True;
-                               $html = $this->create_html->parse();
+
+                               $this->create_html->xsl_parse();
+                               $this->create_html->xml_parse();
+                               $xsltproc = xslt_create();
+                               $arguments = array('/_xml' => 
$this->create_html->xmldata, '/_xsl' => $this->create_html->xsldata);
+                               $html = 
xslt_process($xsltproc,'arg:/_xml','arg:/_xsl',NULL,$arguments);
+                               xslt_free($xsltproc);

 //                             print $html;







reply via email to

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