forked from extern/egroupware
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)
|
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)
|
function delete($cat_id,$subs=False)
|
||||||
|
@ -449,13 +449,6 @@
|
|||||||
}
|
}
|
||||||
return $s;
|
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
|
* add a category
|
||||||
|
@ -177,7 +177,7 @@
|
|||||||
'lang_all' => lang('All'),
|
'lang_all' => lang('All'),
|
||||||
'lang_select' => lang('Select'),
|
'lang_select' => lang('Select'),
|
||||||
'cat_field' => $cat_field,
|
'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(
|
'hidden' => $GLOBALS['egw']->html->input_hidden(array(
|
||||||
'filter' => $this->_filter,
|
'filter' => $this->_filter,
|
||||||
'qfield' => $this->_qfield,
|
'qfield' => $this->_qfield,
|
||||||
@ -363,7 +363,7 @@
|
|||||||
'lang_all' => lang('All'),
|
'lang_all' => lang('All'),
|
||||||
'lang_select' => lang('Select'),
|
'lang_select' => lang('Select'),
|
||||||
'cat_field' => $cat_field,
|
'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(
|
'hidden' => $GLOBALS['egw']->html->input_hidden(array(
|
||||||
'filter' => $this->_filter,
|
'filter' => $this->_filter,
|
||||||
'qfield' => $this->_qfield,
|
'qfield' => $this->_qfield,
|
||||||
|
@ -101,7 +101,7 @@
|
|||||||
|
|
||||||
function formatted_list($format,$type,$cat_parent,$global_cats)
|
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)
|
function delete($cat_id,$subs)
|
||||||
|
@ -423,7 +423,7 @@
|
|||||||
$type = 'mains';
|
$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'],
|
'type' => $type,'selected' => $cat['parent'],
|
||||||
'globals' => $global_cats, 'self' => $cat_id
|
'globals' => $global_cats, 'self' => $cat_id
|
||||||
)));
|
)));
|
||||||
|
Loading…
Reference in New Issue
Block a user