Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion config.json
Original file line number Diff line number Diff line change
@@ -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.",
Expand Down
22 changes: 10 additions & 12 deletions views/default/admin_manage_plugin.pdt
Original file line number Diff line number Diff line change
@@ -1,27 +1,25 @@
<?php /** @var View $this */ ?>

<?php
$this->Widget->clear();
$this->Widget->setBodyWrapper(false);
$this->Widget->create($this->_('IpUnblockerManagePlugin.index.boxtitle_manage', true));
$this->Form->create();
?>
<div class="inner">
<div class="pad">
<ul>
<li>
<?php
$this->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']);
?>
</li>
</ul>
<div class="card-body">
<div class="mb-3">
<?php
$this->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']);
?>
</div>
</div>

<div class="button_row">
<div class="card-footer d-flex justify-content-end">
<?php
$this->Form->fieldSubmit('save', $this->_('IpUnblockerManagePlugin.index.submit_settings', true), ['class' => 'btn btn-primary pull-right']);
?>
</div>
</div>
<?php
$this->Form->end();
$this->Widget->end();
Expand Down
2 changes: 2 additions & 0 deletions views/default/tab_unblock_ip.pdt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<?php /** @var View $this */ ?>

<h4><?php $this->_('IpUnblockerPlugin.unblock_ip')?></h4>
<?php
$this->Form->create();
Expand Down