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.3


From: nomail
Subject: [Phpgroupware-cvs] property/inc/class.uiwo_hour.inc.php, 1.3
Date: Sat, 23 Oct 2004 10:55:46 +0200

Update of /property/inc
Modified Files:
        Branch: 
          class.uiwo_hour.inc.php

date: 2004/10/23 08:55:46;  author: sigurdne;  state: Exp;  lines: +12 -1

Log Message:
added $GLOBALS['phpgw']->xslttpl->pp();
=====================================================================
Index: property/inc/class.uiwo_hour.inc.php
diff -u property/inc/class.uiwo_hour.inc.php:1.2 
property/inc/class.uiwo_hour.inc.php:1.3
--- property/inc/class.uiwo_hour.inc.php:1.2    Wed Jun  2 18:54:28 2004
+++ property/inc/class.uiwo_hour.inc.php        Sat Oct 23 08:55:46 2004
@@ -167,6 +167,7 @@
 
                        $GLOBALS['phpgw_info']['flags']['app_header'] = 
lang($this->currentapp) . ' - ' . $appname . ': ' . $function_msg;
                        
$GLOBALS['phpgw']->xslttpl->set_var('phpgw',array('list_deviation' => $data));
+                       $GLOBALS['phpgw']->xslttpl->pp();
                }
 
                function edit_deviation()
@@ -267,6 +268,7 @@
 
                        $GLOBALS['phpgw_info']['flags']['app_header'] = 
lang($this->currentapp) . ' - ' . $appname . ': ' . $function_msg;
                        
$GLOBALS['phpgw']->xslttpl->set_var('phpgw',array('edit_deviation' => $data));
+                       $GLOBALS['phpgw']->xslttpl->pp();
                }
 
                function common_data($workorder_id,$view='')
@@ -485,6 +487,7 @@
 
                        $GLOBALS['phpgw_info']['flags']['app_header'] = 
lang($this->currentapp) . ' - ' . $appname . ': ' . $function_msg;
                        
$GLOBALS['phpgw']->xslttpl->set_var('phpgw',array('add_template' => $data));
+                       $GLOBALS['phpgw']->xslttpl->pp();
                }
 
                function index()
@@ -571,6 +574,7 @@
 
                        $GLOBALS['phpgw_info']['flags']['app_header'] = 
lang($this->currentapp) . ' - ' . $appname . ': ' . $function_msg;
                        
$GLOBALS['phpgw']->xslttpl->set_var('phpgw',array('list_hour' => $data));
+                       $GLOBALS['phpgw']->xslttpl->pp();
                        $this->save_sessiondata();
                }
 
@@ -743,6 +747,7 @@
                                
$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();
 //                             print $html;
 
@@ -827,6 +832,7 @@
                        $GLOBALS['phpgw_info']['flags']['app_header'] = 
lang($this->currentapp) . ' - ' . $appname . ': ' . $function_msg;
 
                        
$GLOBALS['phpgw']->xslttpl->set_var('phpgw',array('view' => $data));
+                       $GLOBALS['phpgw']->xslttpl->pp();
 
                        $this->save_sessiondata();
                }
@@ -834,12 +840,13 @@
 
                function tender()
                {
+                       $GLOBALS['phpgw_info']['flags']['noframework'] = True;
+
                        $pdf                                    = 
CreateObject($this->currentapp.'.pdf');
                        if(!$this->acl_read)
                        {
                                
$GLOBALS['phpgw']->redirect_link('/index.php','menuaction='.$this->currentapp.'.uilocation.stop&perm=1&acl_location='
 . $this->acl2_location);
                        }
-                       $GLOBALS['phpgw_info']['flags']['noframework'] = True;
                        $show_cost = get_var('show_cost',array('POST','GET'));
                        $mark_draft = get_var('mark_draft',array('POST','GET'));
                        $workorder_id = 
get_var('workorder_id',array('POST','GET'));
@@ -1157,6 +1164,7 @@
 
                        $GLOBALS['phpgw_info']['flags']['app_header'] = 
lang($this->currentapp) . ' - ' . $appname . ': ' . $function_msg;
                        
$GLOBALS['phpgw']->xslttpl->set_var('phpgw',array('prizebook' => $data));
+                       $GLOBALS['phpgw']->xslttpl->pp();
                        $this->save_sessiondata();
                }
 
@@ -1387,6 +1395,7 @@
 
                        $GLOBALS['phpgw_info']['flags']['app_header'] = 
lang($this->currentapp) . ' - ' . $appname . ': ' . $function_msg;
                        
$GLOBALS['phpgw']->xslttpl->set_var('phpgw',array('list_template_hour' => 
$data));
+                       $GLOBALS['phpgw']->xslttpl->pp();
                        $this->save_sessiondata();
                }
 
@@ -1560,6 +1569,7 @@
 
                        $GLOBALS['phpgw_info']['flags']['app_header'] = 
lang($this->currentapp) . ' - ' . $appname . ': ' . $function_msg;
                        
$GLOBALS['phpgw']->xslttpl->set_var('phpgw',array('edit_hour' => $data));
+                       $GLOBALS['phpgw']->xslttpl->pp();
                }
 
                function delete()
@@ -1637,6 +1647,7 @@
 
                        $GLOBALS['phpgw_info']['flags']['app_header'] = 
lang($this->currentapp) . ' - ' . $appname . ': ' . $function_msg;
                        
$GLOBALS['phpgw']->xslttpl->set_var('phpgw',array('delete' => $data));
+                       $GLOBALS['phpgw']->xslttpl->pp();
                }
 
        }




reply via email to

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