CHANGES listed here are already marked in the code page below: Make all changes from the bottom of the code, going towards the top of the page. 1)LINE #209 change "raw_search" to read "simple_search_string" . 2)LINE #202 change Super Power Search to read Enter Keyword . 3)LINE #192 change Super Power Search to read Super Keyword Search - not case sensitive . 4)LINE #179
package PowerSearchFormView;
use strict;
use Extropia::Base qw(_rearrange);
use Extropia::View;
use vars qw(@ISA);
@ISA = qw(Extropia::View);
sub display {
my $self = shift;
my @display_params = @_;
@_ = _rearrange([
-INPUT_WIDGET_DEFINITIONS,
-INPUT_WIDGET_DISPLAY_ORDER,
-SESSION_OBJECT,
-SCRIPT_NAME,
-ERROR_MESSAGES,
-TABLE_BG_COLOR_1,
-TABLE_BG_COLOR_2,
-HEADER_BG_COLOR,
-HEADER_FONT_COLOR,
-PAGE_BACKGROUND_COLOR,
-PAGE_FONT_COLOR,
-PAGE_FONT_FACE,
-PAGE_FONT_SIZE,
-CGI_OBJECT,
-DISPLAY_FIELDS,
-SELECTED_DISPLAY_FIELDS,
-MAX_RECORDS_PER_PAGE,
-IMAGE_ROOT_URL,
-FIRST_RECORD_ON_PAGE
],
[
-INPUT_WIDGET_DEFINITIONS,
-INPUT_WIDGET_DISPLAY_ORDER,
-SESSION_OBJECT,
-SCRIPT_NAME,
-ERROR_MESSAGES,
-TABLE_BG_COLOR_1,
-TABLE_BG_COLOR_2,
-HEADER_BG_COLOR,
-HEADER_FONT_COLOR,
-PAGE_BACKGROUND_COLOR,
-PAGE_FONT_COLOR,
-PAGE_FONT_FACE,
-PAGE_FONT_SIZE,
-CGI_OBJECT,
-DISPLAY_FIELDS,
-SELECTED_DISPLAY_FIELDS,
-MAX_RECORDS_PER_PAGE,
-IMAGE_ROOT_URL,
-FIRST_RECORD_ON_PAGE
],
@_);
my $input_widget_definitions = shift;
my $input_widget_display_order = shift;
my $session = shift;
my $script_name = shift;
my $errors = shift;
my $table_bg_color_1 = shift;
my $table_bg_color_2 = shift;
my $header_bg_color = shift;
my $header_font_color = shift;
my $page_background_color = shift;
my $page_font_color = shift;
my $page_font_face = shift;
my $page_font_size = shift;
my $cgi = shift;
my $default_display_fields_ref = shift;
my $selected_display_fields_ref = shift;
my $max_records_to_retrieve = shift;
my $image_root_url = shift;
my $first_record_on_page = shift;
my $session_id = $session->getId();
my @columns_to_view = $cgi->param('columns_to_view');
my $sort_field1 = $cgi->param('sort_field1') || "";
my $sort_field2 = $cgi->param('sort_field2') || "";
my $simple_search_string = "";
my $content = $cgi->header();
my $page_top_view = $self->create('PageTopView');
$content .= $page_top_view->display(
-PAGE_TITLE => 'Power Search',
@display_params
);
my $error_view = $self->create('ErrorDisplayView');
$content .= $error_view->display(@display_params);
$content .= qq[
];
my $page_bottom_view = $self->create('PageBottomView');
$content .= $page_bottom_view->display(@display_params);
return $content;
}