Be able to enable/disable user lists and add multiple user lists at a time (one URL per line)

This commit is contained in:
DL6ER
2016-12-16 15:33:16 +01:00
parent 6e7020a8ba
commit c73c10f8a0
2 changed files with 18 additions and 4 deletions

View File

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