From 9e0af44f621fb015d5913a629513e5b60aaa06c2 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 30 Jun 2010 15:51:51 +0000 Subject: - Patch #523286 by aspilicious, Bojhan, anarcat, aaronbauman: cleanup IP blocking. --- modules/system/system.admin.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/system/system.admin.inc') 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'; -- cgit v1.2.3