' . implode( '
', $success ) ); } if ( $errors ) { bb_admin_notice( __( 'The following errors occurred:', 'php4bb' ) . '

' . implode( '
', $errors ) ); } } if ( strtoupper( $_SERVER['REQUEST_METHOD'] ) == 'POST' ) add_action( 'php4bb_admin_page_pre_head', 'php4bb_admin_parse' ); function php4bb_admin_page() { $settings = bb_get_option( 'php4bb' ); $options = array( 'httpbl-key' => array( 'title' => __( 'http:BL key', 'php4bb' ), 'class' => array( 'code' ), 'note' => __( 'Get your http:BL key here.', 'php4bb' ), 'value' => $settings['httpbl-key'] ? $settings['httpbl-key'] : '' ), 'httpbl-days' => array( 'title' => __( 'Maximum days', 'php4bb' ), 'class' => array( 'short' ), 'note' => __( 'Only block if an offence has occurred in the last X days. Higher numbers are more strict.', 'php4bb' ), 'value' => $settings['httpbl-days'] ? $settings['httpbl-days'] : '30' ), 'httpbl-threat' => array( 'title' => __( 'Minimum threat', 'php4bb' ), 'class' => array( 'short' ), 'note' => __( 'Only block if the threat rating is at least X. Lower numbers are more strict.', 'php4bb' ), 'value' => $settings['httpbl-threat'] ? $settings['httpbl-threat'] : '15' ), 'httpbl-confirmedonly' => array( 'title' => __( 'Confirmed spammers only', 'php4bb' ), 'type' => 'radio', 'options' => array( 'only' => __( 'Only block confimed spammers', 'php4bb' ), 'all' => __( 'Also block suspected spammers', 'php4bb' ) ), 'value' => $settings['httpbl-confirmedonly'] ? 'only' : 'all' ), 'httpbl-redirect' => array( 'title' => __( 'Redirect spammers', 'php4bb' ), 'class' => array( 'long', 'code' ), 'note' => __( 'Leave this empty to block spammers without redirecting them.', 'php4bb' ), 'value' => $settings['httpbl-redirect'] ? $settings['httpbl-redirect'] : '' ), 'noemail' => array( 'title' => __( 'Email collection policy', 'php4bb' ), 'class' => array( 'long', 'code' ), 'note' => __( 'Put a link to your email collection policy in this box. If the box is empty, the default will be used. See for a model of what it should look like.', 'php4bb' ), 'value' => $settings['noemail'] ? $settings['noemail'] : 'http://www.unspam.com/noemailcollection' ), 'hpot-url' => array( 'title' => __( 'Honey pot URL', 'php4bb' ), 'class' => array( 'long', 'code' ), 'note' => __( 'Enter the address of your honey pot or QuickLink and links will be automatically added to your forum.', 'php4bb' ), 'value' => $settings['hpot-url'] ? $settings['hpot-url'] : '' ) ); ?>

join Project Honey Pot.', 'php4bb' ); ?>

$args ) { bb_option_form_element( $option, $args ); } ?>