Skip to content

Commit

Permalink
v5.15 (#2349)
Browse files Browse the repository at this point in the history
  • Loading branch information
PromoFaux authored Sep 14, 2022
2 parents 37dbfc8 + aa529a7 commit 4d12ee7
Show file tree
Hide file tree
Showing 17 changed files with 245 additions and 118 deletions.
8 changes: 4 additions & 4 deletions api.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,22 +86,22 @@

switch ($_GET['list']) {
case 'black':
$_POST['type'] = ListType::blacklist;
$_POST['type'] = LISTTYPE_BLACKLIST;

break;

case 'regex_black':
$_POST['type'] = ListType::regex_blacklist;
$_POST['type'] = LISTTYPE_REGEX_BLACKLIST;

break;

case 'white':
$_POST['type'] = ListType::whitelist;
$_POST['type'] = LISTTYPE_WHITELIST;

break;

case 'regex_white':
$_POST['type'] = ListType::regex_whitelist;
$_POST['type'] = LISTTYPE_REGEX_WHITELIST;

break;

Expand Down
10 changes: 10 additions & 0 deletions groups-domains.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,16 @@
<h3 class="box-title">
List of domains
</h3>
<div class="filter_types">
<div class="line">
<span><input type="checkbox" name="typ" value="0" id="typ0" checked><label for="typ0">Exact whitelist</label></span>
<span><input type="checkbox" name="typ" value="2" id="typ2" checked><label for="typ2">Regex whitelist</label></span>
</div>
<div class="line">
<span><input type="checkbox" name="typ" value="1" id="typ1" checked><label for="typ1">Exact blacklist</label></span>
<span><input type="checkbox" name="typ" value="3" id="typ3" checked><label for="typ3">Regex blacklist</label></span>
</div>
</div>
</div>
<!-- /.box-header -->
<div class="box-body">
Expand Down
Loading

0 comments on commit 4d12ee7

Please sign in to comment.