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.44,1.45 hook_admin


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: notes/inc class.ui.inc.php,1.44,1.45 hook_admin.inc.php,1.5,1.6
Date: Sat, 19 Apr 2003 19:25:20 -0400

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

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

Index: class.ui.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/notes/inc/class.ui.inc.php,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -r1.44 -r1.45
*** class.ui.inc.php    5 Dec 2002 00:27:56 -0000       1.44
--- class.ui.inc.php    19 Apr 2003 23:25:18 -0000      1.45
***************
*** 65,73 ****
                function index()
                {
!                       
$GLOBALS['phpgw']->xslttpl->add_file(array('app_data',$GLOBALS['phpgw']->common->get_tpl_dir('phpgwapi','default')
 . SEP . 'app_header',
                                                                                
$GLOBALS['phpgw']->common->get_tpl_dir('phpgwapi','default') . SEP . 
'filter_select',
                                                                                
$GLOBALS['phpgw']->common->get_tpl_dir('phpgwapi','default') . SEP . 
'search_field',
                                                                                
$GLOBALS['phpgw']->common->get_tpl_dir('phpgwapi','default') . SEP . 
'nextmatchs'));
  
                        $notes_list = $this->bo->read();
  
--- 65,75 ----
                function index()
                {
!                       $GLOBALS['phpgw']->xslttpl->add_file(array('app_data',
                                                                                
$GLOBALS['phpgw']->common->get_tpl_dir('phpgwapi','default') . SEP . 
'filter_select',
                                                                                
$GLOBALS['phpgw']->common->get_tpl_dir('phpgwapi','default') . SEP . 
'search_field',
                                                                                
$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();
  
***************
*** 145,157 ****
                                'num_records'                                   
=> count($notes_list),
                                'all_records'                                   
=> $this->bo->total_records,
!                               'link_url'                                      
        => $GLOBALS['phpgw']->link('/index.php','menuaction=notes.ui.index'),
!                               'img_path'                                      
        => $GLOBALS['phpgw']->common->get_image_path('phpgwapi','default'),
!                               'appname'                                       
        => lang('notes'),
!                               'function_msg'                                  
=> lang('list notes'),
                                'lang_no_cat'                                   
=> lang('no category'),
                                'lang_cat_statustext'                   => 
lang('Select the category the notes belongs to. To do not use a category select 
NO CATEGORY'),
                                'select_name'                                   
=> 'cat_id',
                                'cat_list'                                      
        => $this->cats->formatted_xslt_list(array('selected' => 
$this->cat_id,'globals' => True)),
!                               'select_action'                                 
=> $GLOBALS['phpgw']->link('/index.php','menuaction=notes.ui.index'),
                                'filter_list'                                   
=> $this->nextmatchs->xslt_filter(array('filter' => $this->filter,'yours' => 
'yes')),
                                'lang_filter_statustext'                => 
lang('Select the filter. To show all entries select SHOW ALL'),
--- 147,157 ----
                                'num_records'                                   
=> count($notes_list),
                                'all_records'                                   
=> $this->bo->total_records,
!                               'nextmatchs_url'                                
=> $GLOBALS['phpgw']->link('/index.php','menuaction=notes.ui.index'),
!                               'nextmatchs_img_path'                   => 
$GLOBALS['phpgw']->common->get_image_path('phpgwapi','default'),
                                'lang_no_cat'                                   
=> lang('no category'),
                                'lang_cat_statustext'                   => 
lang('Select the category the notes belongs to. To do not use a category select 
NO CATEGORY'),
                                'select_name'                                   
=> 'cat_id',
                                'cat_list'                                      
        => $this->cats->formatted_xslt_list(array('selected' => 
$this->cat_id,'globals' => True)),
!                               'search_url'                                    
=> $GLOBALS['phpgw']->link('/index.php','menuaction=notes.ui.index'),
                                'filter_list'                                   
=> $this->nextmatchs->xslt_filter(array('filter' => $this->filter,'yours' => 
'yes')),
                                'lang_filter_statustext'                => 
lang('Select the filter. To show all entries select SHOW ALL'),
***************
*** 159,163 ****
                                'lang_searchbutton_statustext'  => lang('Submit 
the search string'),
                                'query'                                         
        => $this->query,
!                               'lang_submit'                                   
=> lang('submit'),
                                'table_header'                                  
=> $table_header,
                                'values'                                        
        => $content,
--- 159,163 ----
                                'lang_searchbutton_statustext'  => lang('Submit 
the search string'),
                                'query'                                         
        => $this->query,
!                               'lang_search'                                   
=> lang('search'),
                                'table_header'                                  
=> $table_header,
                                'values'                                        
        => $content,

Index: hook_admin.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/notes/inc/hook_admin.inc.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** hook_admin.inc.php  3 Nov 2002 01:03:06 -0000       1.5
--- hook_admin.inc.php  19 Apr 2003 23:25:18 -0000      1.6
***************
*** 18,23 ****
                        'Global Categories' => 
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uicategories.index&appname='
 . $appname . '&global_cats=True')
                );
! 
!               display_section($appname,$values);
        }
  ?>
--- 18,22 ----
                        'Global Categories' => 
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uicategories.index&appname='
 . $appname . '&global_cats=True')
                );
!               $GLOBALS['phpgw']->common->display_mainscreen($appname,$file);
        }
  ?>





reply via email to

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