mirror of
https://github.com/pi-hole/web.git
synced 2026-04-22 17:59:20 +01:00
Be able to enable/disable user lists and add multiple user lists at a time (one URL per line)
This commit is contained in:
@@ -491,7 +491,7 @@
|
||||
<div class="checkbox"><label style="word-break: break-word;"><input type="checkbox" name="adlist-<?php echo $key; ?>" <?php if($value[0]){ ?>checked<?php } ?>> <a href="<?php echo htmlentities ($value[1]); ?>" target="_new"><?php echo htmlentities($value[1]); ?></a></label></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<label>User defined lists</label>
|
||||
<label>User defined list (preserved on updates)</label>
|
||||
<?php foreach ($adlistsuser as $key => $value) { ?>
|
||||
<div class="form-group">
|
||||
<div class="checkbox"><label style="word-break: break-word;"><input type="checkbox" name="userlist-<?php echo $key; ?>" <?php if($value[0]){ ?>checked<?php } ?>> <a href="<?php echo htmlentities ($value[1]); ?>" target="_new"><?php echo htmlentities($value[1]); ?></a></label></div>
|
||||
|
||||
Reference in New Issue
Block a user