mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
Change categories to use et2
This commit is contained in:
parent
6f90cb8fb3
commit
e008bd63bb
@ -265,7 +265,7 @@ class admin_categories
|
||||
$appname != $content['appname'] || // Can't edit a category from a different app
|
||||
($this->appname != 'admin' && $content['owner'] != $GLOBALS['egw_info']['user']['account_id']);
|
||||
|
||||
$tmpl = new etemplate('admin.categories.edit');
|
||||
$tmpl = new etemplate_new('admin.categories.edit');
|
||||
$tmpl->exec($this->edit_link,$content,$sel_options,$readonlys,$content+array(
|
||||
'old_parent' => $content['old_parent'] ? $content['old_parent'] : $content['parent'], 'appname' => $appname
|
||||
),2);
|
||||
@ -535,7 +535,7 @@ class admin_categories
|
||||
$readonlys['nm']['rows']['app'] = true;
|
||||
}
|
||||
|
||||
$tmpl = new etemplate('admin.categories.index');
|
||||
$tmpl = new etemplate_new('admin.categories.index');
|
||||
|
||||
if($tmpl instanceof etemplate_widget_template)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user