Changeset 496806
- Timestamp:
- 01/29/2012 08:25:44 AM (14 years ago)
- Location:
- no-soup
- Files:
-
- 2 edited
- 3 copied
-
tags/0.2 (copied) (copied from no-soup/trunk)
-
tags/0.2/no-soup.php (copied) (copied from no-soup/trunk/no-soup.php) (3 diffs)
-
tags/0.2/readme.txt (copied) (copied from no-soup/trunk/readme.txt) (1 diff)
-
trunk/no-soup.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
no-soup/tags/0.2/no-soup.php
r496799 r496806 4 4 Plugin URI: http://jonasnordstrom.se/plugins/no-soup/ 5 5 Description: Blocks user from IP-ranges that you specify and sends them to another page 6 Version: 0. 16 Version: 0.2 7 7 Author: Jonas Nordstrom 8 8 Author URI: http://jonasnordstrom.se/ … … 60 60 61 61 // The form, with all names and a checkbox in front 62 echo '<div class="wrap">';63 echo "<h2>" . __("No Soup settings", "nosoup") . "</h2>";64 62 ?> 63 <div class="wrap"> 64 <h2><?php _e("No Soup", "nosoup"); ?></h2> 65 <p>Block users from a specific IP or range(s) of IPs and redirect them to another site.</p> 66 65 67 <form name="no-soup-admin-form" method="post" action=""> 66 68 <input type="hidden" name="action" value="no-soup-save" /> … … 68 70 <table class="nosoup-form-table"> 69 71 <tr> 70 <td><?php _e("Ban these ip ranges<br/>(LF-separated, CIDR format (192.168.0.1/20) or IP range (fromip - toip)): ", "nosoup"); ?></td> 72 <td colspan="2"> 73 74 </td> 75 </tr> 76 <tr> 77 <td valign="top"><?php _e("Block these ip ranges<br/>Separate with new-line<br/> CIDR format (192.168.0.1/20)<br/> or IP range (fromip - toip)): ", "nosoup"); ?></td> 71 78 <td><textarea rows="25" cols="50" id="no_soup_bad_ip_ranges" name="no_soup_bad_ip_ranges"><?php echo $this->bad_ip_ranges; ?></textarea></td> 72 79 </tr> 73 80 <tr> 74 81 <td><?php _e("Send them here: ", "nosoup"); ?></td> 75 <td><input type="text" id="no_soup_eat_that" name="no_soup_eat_that" value="<?php echo $this->eat_that; ?>" /></td>82 <td><input type="text" style="width: 100%" id="no_soup_eat_that" name="no_soup_eat_that" value="<?php echo $this->eat_that; ?>" /></td> 76 83 </tr> 77 84 <tr> -
no-soup/tags/0.2/readme.txt
r496799 r496806 19 19 == Changelog == 20 20 21 = 0.2 = 22 Minor UI changes 23 21 24 = 0.1 = 22 25 The first version 23 26 24 27 == Sample data == 25 From http://www.gnuheter.com/creeper/ipblock 28 If you want to block for instance the [IP-addresses of swedish authorities](http://www.gnuheter.com/creeper/ipblock), you can use the ranges below and instead show them the way to [the Wikipedia article about ACTA](http://sv.wikipedia.org/wiki/Anti-Counterfeiting_Trade_Agreement). I'm not saying you should, I'm just saying you could, ok? 26 29 27 30 193.44.94.0 - 193.44.94.255 -
no-soup/trunk/no-soup.php
r496799 r496806 4 4 Plugin URI: http://jonasnordstrom.se/plugins/no-soup/ 5 5 Description: Blocks user from IP-ranges that you specify and sends them to another page 6 Version: 0. 16 Version: 0.2 7 7 Author: Jonas Nordstrom 8 8 Author URI: http://jonasnordstrom.se/ … … 60 60 61 61 // The form, with all names and a checkbox in front 62 echo '<div class="wrap">';63 echo "<h2>" . __("No Soup settings", "nosoup") . "</h2>";64 62 ?> 63 <div class="wrap"> 64 <h2><?php _e("No Soup", "nosoup"); ?></h2> 65 <p>Block users from a specific IP or range(s) of IPs and redirect them to another site.</p> 66 65 67 <form name="no-soup-admin-form" method="post" action=""> 66 68 <input type="hidden" name="action" value="no-soup-save" /> … … 68 70 <table class="nosoup-form-table"> 69 71 <tr> 70 <td><?php _e("Ban these ip ranges<br/>(LF-separated, CIDR format (192.168.0.1/20) or IP range (fromip - toip)): ", "nosoup"); ?></td> 72 <td colspan="2"> 73 74 </td> 75 </tr> 76 <tr> 77 <td valign="top"><?php _e("Block these ip ranges<br/>Separate with new-line<br/> CIDR format (192.168.0.1/20)<br/> or IP range (fromip - toip)): ", "nosoup"); ?></td> 71 78 <td><textarea rows="25" cols="50" id="no_soup_bad_ip_ranges" name="no_soup_bad_ip_ranges"><?php echo $this->bad_ip_ranges; ?></textarea></td> 72 79 </tr> 73 80 <tr> 74 81 <td><?php _e("Send them here: ", "nosoup"); ?></td> 75 <td><input type="text" id="no_soup_eat_that" name="no_soup_eat_that" value="<?php echo $this->eat_that; ?>" /></td>82 <td><input type="text" style="width: 100%" id="no_soup_eat_that" name="no_soup_eat_that" value="<?php echo $this->eat_that; ?>" /></td> 76 83 </tr> 77 84 <tr> -
no-soup/trunk/readme.txt
r496799 r496806 19 19 == Changelog == 20 20 21 = 0.2 = 22 Minor UI changes 23 21 24 = 0.1 = 22 25 The first version 23 26 24 27 == Sample data == 25 From http://www.gnuheter.com/creeper/ipblock 28 If you want to block for instance the [IP-addresses of swedish authorities](http://www.gnuheter.com/creeper/ipblock), you can use the ranges below and instead show them the way to [the Wikipedia article about ACTA](http://sv.wikipedia.org/wiki/Anti-Counterfeiting_Trade_Agreement). I'm not saying you should, I'm just saying you could, ok? 26 29 27 30 193.44.94.0 - 193.44.94.255
Note: See TracChangeset
for help on using the changeset viewer.