diff --git a/config.json b/config.json index 90f0ca8..6c72777 100644 --- a/config.json +++ b/config.json @@ -1,7 +1,8 @@ { - "version": "1.4.1", + "version": "2.0.0", "name": "IpUnblockerPlugin.name", "description": "IpUnblockerPlugin.description", + "icon": "bi bi-bricks", "authors": [ { "name": "Phillips Data, Inc.", diff --git a/views/default/admin_manage_plugin.pdt b/views/default/admin_manage_plugin.pdt index d92eb6a..7fff89e 100644 --- a/views/default/admin_manage_plugin.pdt +++ b/views/default/admin_manage_plugin.pdt @@ -1,27 +1,25 @@ + Widget->clear(); + $this->Widget->setBodyWrapper(false); $this->Widget->create($this->_('IpUnblockerManagePlugin.index.boxtitle_manage', true)); $this->Form->create(); ?> -
-
- +
+
+ Form->fieldCheckbox('client_set_ip', 'true', (($client_set_ip ?? 'false') == 'true'), ['id' => 'client_set_ip']); + $this->Form->label($this->_('IpUnblockerManagePlugin.index.client_set_ip', true), 'client_set_ip', ['class' => 'inline']); + ?> +
-
+ -
Form->end(); $this->Widget->end(); diff --git a/views/default/tab_unblock_ip.pdt b/views/default/tab_unblock_ip.pdt index 0b36d2c..b18bdd2 100644 --- a/views/default/tab_unblock_ip.pdt +++ b/views/default/tab_unblock_ip.pdt @@ -1,3 +1,5 @@ + +

_('IpUnblockerPlugin.unblock_ip')?>

Form->create();