1
0
mirror of https://github.com/e107inc/e107.git synced 2025-09-03 11:22:40 +02:00

Add whitelist as well as banlist - flooding can still ban ATM

This commit is contained in:
e107steved
2007-12-16 11:14:53 +00:00
parent 767329c22b
commit 1f45f8bc61
4 changed files with 146 additions and 75 deletions

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_languages/English/admin/help/banlist.php,v $
| $Revision: 1.4 $
| $Date: 2007-12-11 22:48:42 $
| $Revision: 1.5 $
| $Date: 2007-12-16 11:14:53 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@@ -55,6 +55,17 @@ Entering the email address *@bar.com will stop anyone using that email domain fr
<b>Banning by user name</b><br />
This is done from the user administration page.<br /><br />";
break;
case 'whadd' :
case 'whedit' :
$text = "You can specify IP addresses which you know to be 'friendly' here - generally those for the main site admins, to guarantee that they can
always gain access to the site.<br />
You are advised to keep the number of addresses in this list to an absolute minimum; both for security, and to minimise the impact on site performance.";
break;
case 'white' :
$text = "This page shows a list of all IP addresses and email addresses which are explicitly permitted.<br />
This list takes priority over the ban list - it should not be possible for an address from this list to be banned.<br />
All addresses must be manually entered.";
break;
case 'list' :
default :
$text = "This page shows a list of all IP addresses, hostnames and email addresses which are banned.

View File

@@ -4,13 +4,13 @@
| e107 website system - Language File.
|
| $Source: /cvs_backup/e107_0.8/e107_languages/English/admin/lan_banlist.php,v $
| $Revision: 1.4 $
| $Date: 2007-12-11 22:48:42 $
| $Revision: 1.5 $
| $Date: 2007-12-16 11:14:53 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
define("BANLAN_1", "Ban removed.");
define("BANLAN_2", "No bans.");
define("BANLAN_2", 'No bans in list.');
define("BANLAN_3", "Existing Bans");
define("BANLAN_4", "Remove ban");
define("BANLAN_5", "Enter IP, email address, or host");
@@ -32,7 +32,7 @@ define('BANLAN_21','Never');
define('BANLAN_22','Unknown');
define('BANLAN_23','day(s)');
define('BANLAN_24','hours');
define('BANLAN_25','Add an entry');
define('BANLAN_25','Add to Banlist');
define('BANLAN_26','Currently ');
define('BANLAN_27','Invalid characters in IP address stripped - now:');
define('BANLAN_28','Ban type');
@@ -59,15 +59,17 @@ define('BANLAN_48','Error importing file');
define('BANLAN_49','CSV import: Unbalanced quotes in line ');
define('BANLAN_50','CSV import: Error writing banlist record at line ');
define('BANLAN_51','CSV import: Success, --NUM-- lines imported from file ');
define('BANLAN_52','');
define('BANLAN_53','');
define('BANLAN_54','');
define('BANLAN_55','');
define('BANLAN_56','');
define('BANLAN_57','');
define('BANLAN_58','');
define('BANLAN_59','');
define('BANLAN_60','');
define('BANLAN_52','Whitelist');
define('BANLAN_53','Add to Whitelist');
define('BANLAN_54','No entries in whitelist');
define('BANLAN_55','Entry Date');
define('BANLAN_56','IP/Email, User');
define('BANLAN_57','User');
define('BANLAN_58','Add users to the whitelist');
define('BANLAN_59','Edit existing whitelist entry');
define('BANLAN_60','Edit existing banlist entry');
define('BANLAN_61','Existing Whitelist entries');
define('BANLAN_62','');
// Ban types - block reserved 100-109
define('BANLAN_100', 'Unknown');