Remove the reference to the deprecated formated_list() functions for categories.

Replaced them with the correct name: formatted_list().
This commit is contained in:
Patrick Bihan-Faou 2007-11-27 17:23:40 +00:00
parent d044541686
commit 73c2841457
5 changed files with 5 additions and 12 deletions

View File

@ -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)

View File

@ -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

View File

@ -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,

View File

@ -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)

View File

@ -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
)));