2018-04-23

This commit is contained in:
Visman 2018-04-23 18:23:32 +07:00
parent 2231d888c9
commit 009754078b
5 changed files with 3 additions and 6 deletions

View file

@ -123,7 +123,6 @@ class Censoring extends Admin
$this->nameTpl = 'admin/form';
$this->aIndex = 'censoring';
# $this->titles = \ForkBB\__('Censoring');
$this->form = $form;
$this->classForm = 'editcensorship';
$this->titleForm = \ForkBB\__('Censoring');

View file

@ -395,7 +395,7 @@ class Forums extends Admin
$this->c->Cache->delete('forums_mark');
return $this->c->Redirect->page('AdminForums')->message($message);
return $this->c->Redirect->page('AdminForumsEdit', ['id' => $forum->id])->message($message);
}
$this->fIswev = $v->getErrors();

View file

@ -297,7 +297,7 @@ class Groups extends Admin
if (null === $group->g_id) {
$message = \ForkBB\__('Group added redirect');
$newId = $this->c->groups->insert($group);
$this->c->groups->insert($group);
$this->c->groups->Perm->copy($baseGroup, $group);
} else {
@ -313,7 +313,7 @@ class Groups extends Admin
$this->c->Cache->delete('forums_mark');
return $this->c->Redirect->page('AdminGroups')->message($message);
return $this->c->Redirect->page('AdminGroupsEdit', ['id' => $group->g_id])->message($message);
}
/**

View file

@ -147,7 +147,6 @@ class Maintenance extends Admin
$this->nameTpl = 'admin/maintenance';
$this->aIndex = 'maintenance';
# $this->titles = \ForkBB\__('Maintenance');
return $this;
}

View file

@ -205,7 +205,6 @@ class Users extends Admin
$this->nameTpl = 'admin/users';
$this->aIndex = 'users';
# $this->titles = \ForkBB\__('Users');
$this->formSearch = $this->formSearch($data);
if ($this->user->isAdmin) {