phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/inc/class.uiasync.inc.php, 1.4.2.1


From: nomail
Subject: [Phpgroupware-cvs] property/inc/class.uiasync.inc.php, 1.4.2.1
Date: Fri, 5 Nov 2004 16:09:49 +0100

Update of /property/inc
Modified Files:
        Branch: proposed-0_9_18-branch
          class.uiasync.inc.php

date: 2004/11/05 15:09:49;  author: sigurdne;  state: Exp;  lines: +13 -1

Log Message:
no message
=====================================================================
Index: property/inc/class.uiasync.inc.php
diff -u property/inc/class.uiasync.inc.php:1.4 
property/inc/class.uiasync.inc.php:1.4.2.1
--- property/inc/class.uiasync.inc.php:1.4      Sat Oct 23 08:55:46 2004
+++ property/inc/class.uiasync.inc.php  Fri Nov  5 15:09:49 2004
@@ -87,11 +87,17 @@
                                        'name'                                  
        => $method['name'],
                                        'first'                                 
        => $method['descr'],
                                        'data'                                  
        => @implode (',',$method_data),
+                                       'link_run'                              
        => $GLOBALS['phpgw']->link('/index.php','menuaction='.$method['name'] . 
'&' . @implode ('&',$method_data)),
+                                       'link_schedule'                         
=> 
$GLOBALS['phpgw']->link('/index.php','menuaction='.$this->currentapp.'.uialarm.edit&method_id='
 . $method['id']),
                                        'link_edit'                             
        => 
$GLOBALS['phpgw']->link('/index.php','menuaction='.$this->currentapp.'.uiasync.edit&id='
 . $method['id']),
                                        'link_delete'                           
=> 
$GLOBALS['phpgw']->link('/index.php','menuaction='.$this->currentapp.'.uiasync.delete&id='
 . $method['id']),
+                                       'lang_schedule_statustext'=> 
lang('schedule the method'),
+                                       'lang_run_statustext'   => lang('Run 
the method now'),
                                        'lang_view_statustext'  => lang('view 
the method'),
                                        'lang_edit_statustext'  => lang('edit 
the method'),
                                        'lang_delete_statustext'        => 
lang('delete the method'),
+                                       'text_schedule'                         
=> lang('Schedule'),
+                                       'text_run'                              
        => lang('Run Now'),
                                        'text_view'                             
        => lang('view'),
                                        'text_edit'                             
        => lang('edit'),
                                        'text_delete'                           
=> lang('delete')
@@ -105,6 +111,8 @@
 
                                'lang_descr'            => lang('Descr'),
                                'lang_data'                     => lang('Data'),
+                               'lang_schedule'         => lang('Schedule'),
+                               'lang_run'                      => lang('Run 
Now'),
                                'lang_edit'                     => lang('edit'),
                                'lang_delete'           => lang('delete'),
                                'sort_id'       => 
$this->nextmatchs->show_sort_order(array
@@ -196,9 +204,13 @@
                                        }
                                }
 
-                               $values['data']=serialize($data_set);
+                               if($values['data'])
+                               {
+                                       $values['data']=serialize($data_set);
+                               }
 
                                $receipt = $this->bo->save($values,$action);
+                               $id = $receipt['id'];
                        }
 
                        if ($id)




reply via email to

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