'invite-anyone', 'description' => 'Invite Anyone widget' ); /* Widget control settings. */ $control_ops = array( 'width' => 300, 'height' => 350, 'id_base' => 'invite-anyone-widget' ); /* Create the widget. */ $this->WP_Widget( 'invite-anyone-widget', 'Invite Anyone', $widget_ops, $control_ops ); if ( is_active_widget( false, false, $this->id_base ) ) wp_enqueue_style( 'invite-anyone-widget-style', WP_PLUGIN_URL . '/invite-anyone/widgets/widgets-css.css' ); } /** @see WP_Widget::widget */ function widget($args, $instance) { global $bp; extract( $args ); if ( !$title = apply_filters('widget_title', $instance['title'] ) ) $title = __( 'Invite Anyone', 'bp-invite-anyone' ); if ( !$instruction_text = esc_attr( $instance['instruction_text'] ) ) $instruction_text = __( 'Enter one email address per line to invite friends to join this site.', 'bp-invite-anyone' ); ?> current_component != $bp->invite_anyone->slug ) : ?>

loggedin_user->id ) ?>