diff --git a/src/ReservedWhiteList.php b/src/ReservedWhiteList.php index 7ede74a..5574295 100644 --- a/src/ReservedWhiteList.php +++ b/src/ReservedWhiteList.php @@ -14,17 +14,15 @@ declare(strict_types=1); namespace Dotclear\Plugin\whiteListCom; -/* dotclear ns */ use dcCore; use dcPage; use dcSpamFilter; - -/* clearbricks ns */ -use form; -use html; -use http; - -/* php ns */ +use Dotclear\Helper\Html\Form\{ + Checkbox, + Hidden +}; +use Dotclear\Helper\Html\Html; +use Dotclear\Helper\Network\Http; use Exception; /** @@ -88,7 +86,7 @@ class ReservedWhiteList extends dcSpamFilter } $wlc->commit(); dcPage::addSuccessNotice(__('Reserved names have been successfully updated.')); - http::redirect($url); + Http::redirect($url); } $comments = $wlc->getCommentsUsers(); @@ -96,7 +94,7 @@ class ReservedWhiteList extends dcSpamFilter dcCore::app()->error->add($e->getMessage()); } - $res = '