Plugin Directory

Changeset 496806


Ignore:
Timestamp:
01/29/2012 08:25:44 AM (14 years ago)
Author:
windyjonas
Message:

Version 0.2, minor UI changes

Location:
no-soup
Files:
2 edited
3 copied

Legend:

Unmodified
Added
Removed
  • no-soup/tags/0.2/no-soup.php

    r496799 r496806  
    44Plugin URI: http://jonasnordstrom.se/plugins/no-soup/
    55Description: Blocks user from IP-ranges that you specify and sends them to another page
    6 Version: 0.1
     6Version: 0.2
    77Author: Jonas Nordstrom
    88Author URI: http://jonasnordstrom.se/
     
    6060           
    6161            // The form, with all names and a checkbox in front
    62             echo '<div class="wrap">';
    63             echo "<h2>" . __("No Soup settings", "nosoup") . "</h2>";
    6462            ?>
     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           
    6567            <form name="no-soup-admin-form" method="post" action="">
    6668                <input type="hidden" name="action" value="no-soup-save" />
     
    6870                <table class="nosoup-form-table">
    6971                    <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                            &nbsp;
     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>
    7178                        <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>
    7279                    </tr>
    7380                    <tr>
    7481                        <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>
    7683                    </tr>
    7784                    <tr>
  • no-soup/tags/0.2/readme.txt

    r496799 r496806  
    1919== Changelog ==
    2020
     21= 0.2 =
     22Minor UI changes
     23
    2124= 0.1 =
    2225The first version
    2326
    2427== Sample data ==
    25 From http://www.gnuheter.com/creeper/ipblock
     28If 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?
    2629
    2730193.44.94.0 - 193.44.94.255 
  • no-soup/trunk/no-soup.php

    r496799 r496806  
    44Plugin URI: http://jonasnordstrom.se/plugins/no-soup/
    55Description: Blocks user from IP-ranges that you specify and sends them to another page
    6 Version: 0.1
     6Version: 0.2
    77Author: Jonas Nordstrom
    88Author URI: http://jonasnordstrom.se/
     
    6060           
    6161            // The form, with all names and a checkbox in front
    62             echo '<div class="wrap">';
    63             echo "<h2>" . __("No Soup settings", "nosoup") . "</h2>";
    6462            ?>
     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           
    6567            <form name="no-soup-admin-form" method="post" action="">
    6668                <input type="hidden" name="action" value="no-soup-save" />
     
    6870                <table class="nosoup-form-table">
    6971                    <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                            &nbsp;
     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>
    7178                        <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>
    7279                    </tr>
    7380                    <tr>
    7481                        <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>
    7683                    </tr>
    7784                    <tr>
  • no-soup/trunk/readme.txt

    r496799 r496806  
    1919== Changelog ==
    2020
     21= 0.2 =
     22Minor UI changes
     23
    2124= 0.1 =
    2225The first version
    2326
    2427== Sample data ==
    25 From http://www.gnuheter.com/creeper/ipblock
     28If 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?
    2629
    2730193.44.94.0 - 193.44.94.255 
Note: See TracChangeset for help on using the changeset viewer.