phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: notes/inc class.ui.inc.php,1.45,1.46


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: notes/inc class.ui.inc.php,1.45,1.46
Date: Sun, 20 Apr 2003 10:15:19 -0400

Update of /cvsroot/phpgroupware/notes/inc
In directory subversions:/tmp/cvs-serv14508/inc

Modified Files:
        class.ui.inc.php 
Log Message:
update cats

Index: class.ui.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/notes/inc/class.ui.inc.php,v
retrieving revision 1.45
retrieving revision 1.46
diff -C2 -r1.45 -r1.46
*** class.ui.inc.php    19 Apr 2003 23:25:18 -0000      1.45
--- class.ui.inc.php    20 Apr 2003 14:15:17 -0000      1.46
***************
*** 70,74 ****
                                                                                
$GLOBALS['phpgw']->common->get_tpl_dir('phpgwapi','default') . SEP . 
'nextmatchs'));
  
!                       
$GLOBALS['phpgw_info']['flags'][$GLOBALS['appname']]['app_header'] = 
lang('notes') . ': ' . lang('list notes');
  
                        $notes_list = $this->bo->read();
--- 70,74 ----
                                                                                
$GLOBALS['phpgw']->common->get_tpl_dir('phpgwapi','default') . SEP . 
'nextmatchs'));
  
!                       $GLOBALS['phpgw_info']['flags']['notes']['app_header'] 
= lang('notes') . ': ' . lang('list notes');
  
                        $notes_list = $this->bo->read();
***************
*** 174,178 ****
                        $values         = get_var('values',array('POST'));
  
!                       
$GLOBALS['phpgw']->xslttpl->add_file(array('app_data',$GLOBALS['phpgw']->common->get_tpl_dir('phpgwapi','default')
 . SEP . 'app_header'));
  
                        if ($values['save'])
--- 174,178 ----
                        $values         = get_var('values',array('POST'));
  
!                       $GLOBALS['phpgw']->xslttpl->add_file('app_data');
  
                        if ($values['save'])
***************
*** 188,196 ****
                        {
                                $note = $this->bo->read_single($note_id);
!                               $function_msg = lang('edit note');
                        }
                        else
                        {
!                               $function_msg = lang('add note');
                        }
  
--- 188,196 ----
                        {
                                $note = $this->bo->read_single($note_id);
!                               
$GLOBALS['phpgw_info']['flags']['notes']['app_header'] = lang('notes') . ': ' . 
lang('edit note');
                        }
                        else
                        {
!                               
$GLOBALS['phpgw_info']['flags']['notes']['app_header'] = lang('notes') . ': ' . 
lang('add note');
                        }
  
***************
*** 208,213 ****
                        $data = array
                        (
-                               'appname'                                       
        => lang('notes'),
-                               'function_msg'                                  
=> $function_msg,
                                'form_action'                                   
=> $GLOBALS['phpgw']->link('/index.php',$link_data),
                                'done_action'                                   
=> $GLOBALS['phpgw']->link('/index.php','menuaction=notes.ui.index'),
--- 208,211 ----
***************
*** 240,243 ****
--- 238,243 ----
                        $confirm        = get_var('confirm',array('POST'));
  
+                       $GLOBALS['phpgw_info']['flags']['notes']['app_header'] 
= lang('notes') . ': ' . lang('delete note');
+ 
                        $link_data = array
                        (
***************
*** 251,263 ****
                        }
  
!                       
$GLOBALS['phpgw']->xslttpl->add_file(array($GLOBALS['phpgw']->common->get_tpl_dir('phpgwapi','default')
 . SEP . 'app_delete',
!                                                                               
$GLOBALS['phpgw']->common->get_tpl_dir('phpgwapi','default') . SEP . 
'app_header'));
  
                        $data = array
                        (
!                               'appname'                               => 
lang('notes'),
!                               'function_msg'                  => lang('delete 
note'),
!                               'done_action'                   => 
$GLOBALS['phpgw']->link('/index.php',$link_data),
!                               'delete_action'                 => 
$GLOBALS['phpgw']->link('/index.php','menuaction=notes.ui.delete&note_id=' . 
$note_id),
                                'lang_confirm_msg'              => lang('do you 
really want to delete this entry'),
                                'lang_yes'                              => 
lang('yes'),
--- 251,260 ----
                        }
  
!                       
$GLOBALS['phpgw']->xslttpl->add_file(array($GLOBALS['phpgw']->common->get_tpl_dir('phpgwapi','default')
 . SEP . 'app_delete'));
  
                        $data = array
                        (
!                               'done_url'                              => 
$GLOBALS['phpgw']->link('/index.php',$link_data),
!                               'delete_url'                    => 
$GLOBALS['phpgw']->link('/index.php','menuaction=notes.ui.delete&note_id=' . 
$note_id),
                                'lang_confirm_msg'              => lang('do you 
really want to delete this entry'),
                                'lang_yes'                              => 
lang('yes'),
***************
*** 274,278 ****
                        $note_id = get_var('note_id',array('GET'));
  
!                       
$GLOBALS['phpgw']->xslttpl->add_file(array('app_data',$GLOBALS['phpgw']->common->get_tpl_dir('phpgwapi','default')
 . SEP . 'app_header'));
  
                        $note = $this->bo->read_single($note_id);
--- 271,277 ----
                        $note_id = get_var('note_id',array('GET'));
  
!                       $GLOBALS['phpgw_info']['flags']['notes']['app_header'] 
= lang('notes') . ': ' . lang('view note');
! 
!                       $GLOBALS['phpgw']->xslttpl->add_file('app_data');
  
                        $note = $this->bo->read_single($note_id);
***************
*** 280,285 ****
                        $data = array
                        (
-                               'appname'                       => 
lang('notes'),
-                               'function_msg'          => lang('view note'),
                                'done_action'           => 
$GLOBALS['phpgw']->link('/index.php','menuaction=notes.ui.index'),
                                'lang_content'          => lang('content'),
--- 279,282 ----





reply via email to

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