Add delete checkbox

This commit is contained in:
Mcat12
2017-03-31 18:33:10 -04:00
parent 1f6c95a2c0
commit 87b92d425c

View File

@@ -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">