phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] notes/inc class.uinotes.inc.php,1.34


From: ceb
Subject: [Phpgroupware-cvs] notes/inc class.uinotes.inc.php,1.34
Date: Thu, 24 Feb 2005 14:54:26 -0000

Update of notes/inc

Modified Files:
     Branch: MAIN
            class.uinotes.inc.php lines: +8 -6

Log Message:
update for xslt

====================================================
Index: notes/inc/class.uinotes.inc.php
diff -u notes/inc/class.uinotes.inc.php:1.33 
notes/inc/class.uinotes.inc.php:1.34
--- notes/inc/class.uinotes.inc.php:1.33        Tue Jan 18 02:07:52 2005
+++ notes/inc/class.uinotes.inc.php     Tue Jan 18 23:52:13 2005
@@ -35,7 +35,13 @@

                function uinotes()
                {
-                       $GLOBALS['phpgw_info']['flags']['xslt_app'] = True;
+                       $GLOBALS['phpgw_info']['flags'] = array
+                       (
+                               'xslt_app'      => True,
+                               'noheader'      => True,
+                               'nonavbar'      => True
+                       );
+
                        $this->cats                     = 
CreateObject('phpgwapi.categories');
                        $this->nextmatchs       = 
CreateObject('phpgwapi.nextmatchs');
                        $this->account          = 
$GLOBALS['phpgw_info']['user']['account_id'];
@@ -153,7 +159,6 @@

                        $this->save_sessiondata();
                        
$GLOBALS['phpgw']->xslttpl->set_var('phpgw',array('list' => $data));
-                       $GLOBALS['phpgw']->xslttpl->pparse();
                }

                function edit()
@@ -218,7 +223,6 @@
                                'cat_select'                                    
=> $this->cats->formatted_xslt_list(array('select_name' => 
'values[cat_id]','selected' => $note['cat_id']))
                        );
                        
$GLOBALS['phpgw']->xslttpl->set_var('phpgw',array('edit' => $data));
-                       $GLOBALS['phpgw']->xslttpl->pparse();
                }

                function delete()
@@ -258,7 +262,6 @@
                        );

                        
$GLOBALS['phpgw']->xslttpl->set_var('phpgw',array('delete' => $data));
-                       $GLOBALS['phpgw']->xslttpl->pparse();
                }

                function view()
@@ -285,7 +288,6 @@
                        );

                        
$GLOBALS['phpgw']->xslttpl->set_var('phpgw',array('view' => $data));
-                       $GLOBALS['phpgw']->xslttpl->pparse();
                }
        }
 ?>






reply via email to

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