mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 16:24:04 +02:00
Remove .icinga-form
and .icinga-controls
from all inline remove forms
This commit is contained in:
parent
faca0962ef
commit
775f5cd3b5
@ -128,6 +128,7 @@ class GroupController extends AuthBackendController
|
||||
if ($this->hasPermission('config/authentication/groups/edit') && $backend instanceof Reducible) {
|
||||
$removeForm = new Form();
|
||||
$removeForm->setUidDisabled();
|
||||
$removeForm->setAttrib('class', 'inline');
|
||||
$removeForm->setAction(
|
||||
Url::fromPath('group/removemember', array('backend' => $backend->getName(), 'group' => $groupName))
|
||||
);
|
||||
|
@ -167,6 +167,7 @@ class NavigationController extends Controller
|
||||
|
||||
$removeForm = new Form();
|
||||
$removeForm->setUidDisabled();
|
||||
$removeForm->setAttrib('class', 'inline');
|
||||
$removeForm->addElement('hidden', 'name', array(
|
||||
'decorators' => array('ViewHelper')
|
||||
));
|
||||
|
@ -141,6 +141,7 @@ class UserController extends AuthBackendController
|
||||
if ($this->hasPermission('config/authentication/groups/edit')) {
|
||||
$removeForm = new Form();
|
||||
$removeForm->setUidDisabled();
|
||||
$removeForm->setAttrib('class', 'inline');
|
||||
$removeForm->addElement('hidden', 'user_name', array(
|
||||
'isArray' => true,
|
||||
'value' => $userName,
|
||||
|
Loading…
x
Reference in New Issue
Block a user