forked from extern/egroupware
Send category information for colored rows in et2
This commit is contained in:
parent
ed5c5593c3
commit
bdbd2af3e8
@ -511,7 +511,7 @@ class admin_categories
|
||||
'public' => 'No',
|
||||
'private' => 'Yes',
|
||||
);
|
||||
|
||||
|
||||
$sel_options['owner'][0] = lang('All users');
|
||||
$accs = $GLOBALS['egw']->accounts->get_list('groups');
|
||||
foreach($accs as $acc)
|
||||
@ -534,6 +534,13 @@ class admin_categories
|
||||
}
|
||||
|
||||
$tmpl = new etemplate('admin.categories.index');
|
||||
|
||||
if($tmpl instanceof etemplate_widget_template)
|
||||
{
|
||||
// Send categories for row colors
|
||||
$sel_options['cat_id'] = etemplate_widget_menupopup::typeOptions('select-cat', '1,,'.$appname);
|
||||
}
|
||||
|
||||
$tmpl->exec($this->list_link,$content,$sel_options,$readonlys,array(
|
||||
'nm' => $content['nm'],
|
||||
));
|
||||
|
Loading…
Reference in New Issue
Block a user