mirror of
https://github.com/pi-hole/web.git
synced 2026-04-25 11:19:59 +01:00
Add delete checkbox
This commit is contained in:
10
settings.php
10
settings.php
@@ -537,7 +537,15 @@ if(isset($_POST["submit"])) {
|
||||
<label>Lists suggested by the Pi-hole team</label>
|
||||
<?php foreach ($adlist as $key => $value) { ?>
|
||||
<div class="form-group">
|
||||
<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 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>
|
||||
<br>
|
||||
<input type="checkbox" name="adlist-del-<?php echo $key; ?>">
|
||||
Delete?
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="form-group">
|
||||
|
||||
Reference in New Issue
Block a user