mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
Remove the reference to the deprecated formated_list() functions for categories.
Replaced them with the correct name: formatted_list().
This commit is contained in:
parent
d044541686
commit
73c2841457
@ -124,7 +124,7 @@
|
||||
|
||||
function formatted_list($data)
|
||||
{
|
||||
return $this->cats->formated_list($data['select'],$data['all'],$data['cat_parent'],True);
|
||||
return $this->cats->formatted_list($data['select'],$data['all'],$data['cat_parent'],True);
|
||||
}
|
||||
|
||||
function delete($cat_id,$subs=False)
|
||||
|
@ -449,13 +449,6 @@
|
||||
}
|
||||
return $s;
|
||||
}
|
||||
/**
|
||||
* @deprecated use formatted_list
|
||||
*/
|
||||
function formated_list($format,$type='',$selected = '',$globals = False,$site_link = 'site')
|
||||
{
|
||||
return $this->formatted_list($format,$type,$selected,$globals,$site_link);
|
||||
}
|
||||
|
||||
/**
|
||||
* add a category
|
||||
|
@ -177,7 +177,7 @@
|
||||
'lang_all' => lang('All'),
|
||||
'lang_select' => lang('Select'),
|
||||
'cat_field' => $cat_field,
|
||||
'categories' => $GLOBALS['egw']->categories->formated_list('select','all',$cat_id,'True'),
|
||||
'categories' => $GLOBALS['egw']->categories->formatted_list('select','all',$cat_id,'True'),
|
||||
'hidden' => $GLOBALS['egw']->html->input_hidden(array(
|
||||
'filter' => $this->_filter,
|
||||
'qfield' => $this->_qfield,
|
||||
@ -363,7 +363,7 @@
|
||||
'lang_all' => lang('All'),
|
||||
'lang_select' => lang('Select'),
|
||||
'cat_field' => $cat_field,
|
||||
'categories' => $GLOBALS['egw']->categories->formated_list('select','all',(int)$cat_id,'True'),
|
||||
'categories' => $GLOBALS['egw']->categories->formatted_list('select','all',(int)$cat_id,'True'),
|
||||
'hidden' => $GLOBALS['egw']->html->input_hidden(array(
|
||||
'filter' => $this->_filter,
|
||||
'qfield' => $this->_qfield,
|
||||
|
@ -101,7 +101,7 @@
|
||||
|
||||
function formatted_list($format,$type,$cat_parent,$global_cats)
|
||||
{
|
||||
return $this->cats->formated_list($format,$type,$cat_parent,$global_cats);
|
||||
return $this->cats->formatted_list($format,$type,$cat_parent,$global_cats);
|
||||
}
|
||||
|
||||
function delete($cat_id,$subs)
|
||||
|
@ -423,7 +423,7 @@
|
||||
$type = 'mains';
|
||||
}
|
||||
|
||||
$GLOBALS['egw']->template->set_var('category_list',$this->bo->cats->formated_list(array(
|
||||
$GLOBALS['egw']->template->set_var('category_list',$this->bo->cats->formatted_list(array(
|
||||
'type' => $type,'selected' => $cat['parent'],
|
||||
'globals' => $global_cats, 'self' => $cat_id
|
||||
)));
|
||||
|
Loading…
Reference in New Issue
Block a user