--- troll.admin.inc_org.inc 2009-05-08 23:47:46.000000000 -0600 +++ troll.admin.inc 2009-08-19 14:47:51.000000000 -0600 @@ -581,6 +581,12 @@ function troll_ip_ban_form($form_state, '#default_value' => !empty($ip->domain_name) ? $ip->domain_name : (!empty($ip->ip_address) ? gethostbyaddr($ip->ip_address) : ''), '#description' => t('The Domain Name of the IP address to ban - for reference only.') ); + $form['reason_for_ban'] = array( + '#type' => 'textarea', + '#title' => t('Reason for Ban'), + '#default_value' => !empty($ip->reason_for_ban) ? $ip->reason_for_ban : '', + '#description' => t('Short note about why the ban was added. This may be displayed to a user so use discretion.') + ); troll_ip_ban_expire_form($form, $ip);