forked from extern/egroupware
remove "{tabs}" from preferences display, if no admin
This commit is contained in:
parent
e9cc2549ac
commit
16d59dc3b4
@ -349,6 +349,10 @@ class uisettings
|
|||||||
}
|
}
|
||||||
$this->t->set_var('tabs',common::create_tabs($tabs,$selected));
|
$this->t->set_var('tabs',common::create_tabs($tabs,$selected));
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->t->set_var('tabs','');
|
||||||
|
}
|
||||||
$this->t->set_var('lang_save', lang('save'));
|
$this->t->set_var('lang_save', lang('save'));
|
||||||
$this->t->set_var('lang_apply', lang('apply'));
|
$this->t->set_var('lang_apply', lang('apply'));
|
||||||
$this->t->set_var('lang_cancel', lang('cancel'));
|
$this->t->set_var('lang_cancel', lang('cancel'));
|
||||||
|
Loading…
Reference in New Issue
Block a user