remove "{tabs}" from preferences display, if no admin

This commit is contained in:
Ralf Becker 2011-06-16 10:21:33 +00:00
parent e9cc2549ac
commit 16d59dc3b4

View File

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