no confirmation; too inconvenient with lots of ips

This commit is contained in:
Claude 2012-08-31 13:39:54 +02:00
parent 017ed45121
commit 370b3e3f1d
2 changed files with 1 additions and 12 deletions

View File

@ -5,13 +5,7 @@
<div class="form_wrapper">
<form action="" method="post">
<?php if($this->uri->segment(3) == 'confirm') { ?>
<input class="dangerbutton" type="submit" name="confirm_remove" value="Confirm removal of all pastes below" />
<?php } else { ?>
<div class="text_beside_wide">
<a href="<?php echo site_url('spamadmin/' . $ip_address . '/confirm'); ?>">Remove all pastes below</a>
</div>
<?php } ?>
<input class="dangerbutton" type="submit" name="confirm_remove" value="Remove of all pastes below" />
<label for="block_ip">Block IP range
<span class="instruction">(<?php echo $ip_range; ?>)</span>
</label>

View File

@ -220,11 +220,6 @@ h4 {
float: left;
}
.form_wrapper .text_beside_wide {
width: 223px;
float: left;
}
.form_wrapper .text_beside input, .form_wrapper .item_group .item .text_beside input {
margin-right: 5px;
float: left;