mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 15:48:55 +01:00
fix for bug #2053: in edit categories, egw shows the KB menu in english rather than the locale
This commit is contained in:
parent
0541743a3d
commit
cf2943435d
@ -37,6 +37,7 @@
|
||||
function uicategories()
|
||||
{
|
||||
$cats_app = get_var('cats_app',array('GET','POST'));
|
||||
translation::add_app($cats_app);
|
||||
|
||||
$this->bo =& CreateObject('preferences.bocategories',$cats_app);
|
||||
$this->nextmatchs =& CreateObject('phpgwapi.nextmatchs');
|
||||
@ -180,7 +181,7 @@
|
||||
|
||||
// ------------------------------ end nextmatch ------------------------------------------
|
||||
|
||||
//------------------- list header variable template-declarations -------------------------
|
||||
//------------------- list header variable template-declarations -------------------------
|
||||
|
||||
$GLOBALS['egw']->template->set_var('sort_name',$this->nextmatchs->show_sort_order($this->sort,'cat_name',$this->order,'/index.php',lang('Name'),$link_data));
|
||||
$GLOBALS['egw']->template->set_var('sort_description',$this->nextmatchs->show_sort_order($this->sort,'cat_description',$this->order,'/index.php',lang('Description'),$link_data));
|
||||
|
Loading…
Reference in New Issue
Block a user