[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] admin/inc class.uicategories.inc.php,1.38,1.39
From: |
Bettina Gille <address@hidden> |
Subject: |
[Phpgroupware-cvs] admin/inc class.uicategories.inc.php,1.38,1.39 |
Date: |
Tue, 18 Nov 2003 13:23:34 +0000 |
Update of /cvsroot/phpgroupware/admin/inc
In directory subversions:/tmp/cvs-serv3942/inc
Modified Files:
class.uicategories.inc.php
Log Message:
bugfix delete cat
Index: class.uicategories.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/admin/inc/class.uicategories.inc.php,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -d -r1.38 -r1.39
*** class.uicategories.inc.php 27 Aug 2003 00:22:28 -0000 1.38
--- class.uicategories.inc.php 18 Nov 2003 13:23:31 -0000 1.39
***************
*** 82,88 ****
$global_cats =
get_var('global_cats',array('POST','GET'));
!
$GLOBALS['phpgw']->xslttpl->add_file(array('app_data','cats',
!
$GLOBALS['phpgw']->common->get_tpl_dir('phpgwapi','default') . SEP .
'search_field',
!
$GLOBALS['phpgw']->common->get_tpl_dir('phpgwapi','default') . SEP .
'nextmatchs'));
$link_data = array
--- 82,86 ----
$global_cats =
get_var('global_cats',array('POST','GET'));
! $GLOBALS['phpgw']->xslttpl->add_file('cats');
$link_data = array
***************
*** 238,257 ****
$link_data['menuaction'] = 'admin.uicategories.index';
$data = array
(
! 'start_record'
=> $this->start,
! 'record_limit'
=> $GLOBALS['phpgw_info']['user']['preferences']['common']['maxmatchs'],
! 'num_records'
=> count($categoris),
! 'all_records'
=> $this->bo->cats->total_records,
! 'nextmatchs_url'
=> $GLOBALS['phpgw']->link('/index.php',$link_data),
! 'nextmatchs_img_path' =>
$GLOBALS['phpgw']->common->get_image_path('phpgwapi','default'),
! 'select_url'
=> $GLOBALS['phpgw']->link('/index.php',$link_data),
! 'lang_searchfield_statustext' => lang('Enter
the search string. To show all entries, empty this field and press the SUBMIT
button again'),
! 'lang_searchbutton_statustext' => lang('Submit
the search string'),
! 'query'
=> $this->query,
! 'lang_search'
=> lang('search'),
! 'cat_header'
=> $cat_header,
! 'cat_data'
=> $content,
! 'cat_add'
=> $cat_add
);
--- 236,254 ----
$link_data['menuaction'] = 'admin.uicategories.index';
+ $nm = array
+ (
+ 'start_record' => $this->start,
+ 'num_records' => count($categoris),
+ 'all_records' =>
$this->bo->cats->total_records,
+ 'link_data' => $link_data
+ );
+
$data = array
(
! 'nm_data' =>
$this->nextmatchs->xslt_nm($nm),
! 'search_data' =>
$this->nextmatchs->xslt_search(array('query' => $this->query,'link_data' =>
$link_data)),
! 'cat_header' => $cat_header,
! 'cat_data' => $content,
! 'cat_add' => $cat_add
);
***************
*** 317,321 ****
}
!
$GLOBALS['phpgw']->xslttpl->add_file(array('app_data','cats'));
if ($GLOBALS['appname'])
--- 314,318 ----
}
! $GLOBALS['phpgw']->xslttpl->add_file('cats');
if ($GLOBALS['appname'])
***************
*** 344,351 ****
'lang_save_statustext' => lang('save
the category and return back to the list'),
'lang_apply_statustext' => lang('save
the category'),
! 'lang_no_cat' =>
lang('no category'),
! 'lang_cat_statustext' => lang('Select
the parent category. If this is a main category select NO CATEGORY'),
! 'select_name' =>
'values[parent]',
! 'cat_list'
=> $this->bo->cats->formatted_xslt_list(array('format' => 'select', 'selected'
=> $parent,'self' => $this->cat_id,'globals' => $global_cats))
);
--- 341,345 ----
'lang_save_statustext' => lang('save
the category and return back to the list'),
'lang_apply_statustext' => lang('save
the category'),
! 'cat_select' =>
$this->bo->cats->formatted_xslt_list(array('select_name' => 'values[parent]',
'selected' => $parent,'self' => $this->cat_id,'globals' => $global_cats))
);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] admin/inc class.uicategories.inc.php,1.38,1.39,
Bettina Gille <address@hidden> <=