mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
The formated_list function in phpgwapi/inc/class.categories.inc.php was
renamed to formatted_list a while ago. There is no need to keep dead code around.
This commit is contained in:
parent
b675c2b65b
commit
bb20c359f2
@ -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