modules() as $action) { $combo_actions[$action->name] = $action->id; } $disabled = $improve->disabled(); if (!empty($disabled)) { $combo_actions = array_merge($combo_actions, array_flip($disabled)); } if (!empty($_POST['save'])) { try { $pdisabled = ''; if (!empty($_POST['disabled'])) { $pdisabled = implode(';', $_POST['disabled']); } $core->blog->settings->improve->put('disabled', $pdisabled); $core->blog->settings->improve->put('nodetails', !empty($_POST['nodetails'])); dcPage::addSuccessNotice(__('Configuration successfully updated')); $core->adminurl->redirect( 'admin.plugins', ['module' => 'improve', 'conf' => 1, 'chk' => 1, 'redir' => $list->getRedir()] ); } catch (Exception $e) { $core->error->add($e->getMessage()); } } echo '

' . __('List of disabled actions:') . '

'; foreach ($combo_actions as $name => $id) { echo '

'; } echo '

' . __('Options') . '

' . '

' . '
';