diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-06-30 15:51:51 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-06-30 15:51:51 +0000 |
commit | 9e0af44f621fb015d5913a629513e5b60aaa06c2 (patch) | |
tree | 3fec0091b3336765951188468af1b9d5e5322ba8 /modules/system/system.admin.inc | |
parent | f363c9209db6d97bf702516876b13964b2c84179 (diff) | |
download | brdo-9e0af44f621fb015d5913a629513e5b60aaa06c2.tar.gz brdo-9e0af44f621fb015d5913a629513e5b60aaa06c2.tar.bz2 |
- Patch #523286 by aspilicious, Bojhan, anarcat, aaronbauman: cleanup IP blocking.
Diffstat (limited to 'modules/system/system.admin.inc')
-rw-r--r-- | modules/system/system.admin.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc index 6323db0fa..78901f4fa 100644 --- a/modules/system/system.admin.inc +++ b/modules/system/system.admin.inc @@ -1405,7 +1405,7 @@ function system_modules_uninstall_submit($form, &$form_state) { function system_ip_blocking($default_ip = '') { $output = ''; $rows = array(); - $header = array(t('IP address'), t('Operations')); + $header = array(t('Blocked IP addresses'), t('Operations')); $result = db_query('SELECT * FROM {blocked_ips}'); foreach ($result as $ip) { $rows[] = array( @@ -1436,15 +1436,15 @@ function system_ip_blocking_form($form, $form_state, $default_ip) { $form['ip'] = array( '#title' => t('IP address'), '#type' => 'textfield', - '#size' => 64, - '#maxlength' => 32, + '#size' => 48, + '#maxlength' => 40, '#default_value' => $default_ip, '#description' => t('Enter a valid IP address.'), ); $form['actions'] = array('#type' => 'actions'); $form['actions']['submit'] = array( '#type' => 'submit', - '#value' => t('Save'), + '#value' => t('Add'), ); $form['#submit'][] = 'system_ip_blocking_form_submit'; $form['#validate'][] = 'system_ip_blocking_form_validate'; |