# defined in $img_border (above) and the image or outermost colored border
# defined in $outer_clr_width and $outer_img_clr (below).
# When $img_border = 0 (above), $img_padding is disabled.
# Vary the width of padding by increasing or decreasing the value
# of $img_padding.
$img_padding = '0';
# $outer_clr_width and $outer_img_clr define the image's outermost colored
# ornamental border.
# Setting $outer_clr_width = '' disables this ornamental border.
# Vary the width of this border by increasing or decreasing the value of
# $outer_clr_width.
# $outer_img_clr defines the color of this ornamental border.
$outer_clr_width = '2';
$outer_img_clr = '#FFFFFF'; # White
# $inner_clr_width and $inner_img_clr define the image's innermost colored
# ornamental border.
# Setting $inner_clr_width = '' disables this ornamental border.
# Vary the width of this border by increasing or decreasing the value of
# $inner_clr_width.
# $inner_img_clr defines the color of this ornamental border.
$inner_clr_width = '2';
$inner_img_clr = '#000000'; # Black
#--------------------------------------------------------------------------#
# View/Modify Tables
#--------------------------------------------------------------------------#
# NOTE: The Image field is designed to display in Category Tables only.
# Do not define the Image field in @modify_display_numbers or
# %modify_fields_array.
#
# If you use the "Shipping" field, never set the "Shipping" field for
# display. It is used for calculating shipping costs only.
# @modify_display_numbers array lists the array index numbers for the database
# fields to display in View/Modify, Delete, Change Quantity, Order Form, and
# Reminder to client of what they ordered. Column header text is derived from
# the corresponding elements in @field_names (above).
# 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
# Color | Size | Shipping | Item | Category | Price | Name | Description | Image | Id
# NOTE: First element of an array is '0'.
# 6 0 1 5
# Name, Color, Size, Price
@modify_display_numbers = ('6', '0', '1', '5');
# %modify_fields_array is a hash which defines the alignment attribute for
# each database field set for display in @modify_display_numbers (above)
# for cart content tables.
# Valid alignment values are 'left', 'center', and 'right'.
# NOTE: First element of an array is '0'.
%modify_fields_array = (
'6' => 'left',
'0' => 'left',
'1' => 'left',
'5' => 'right',
); # DO NOT REMOVE - terminates %modify_fields_array
# $modify_table_border, $modify_spc_width, and $modify_spc_height are used
# to manipulate table appearance when the client's shopping cart contents
# are displayed.
#
# If $modify_table_border = 1, colored border is wrapped around the table.
# Setting $modify_table_border = '' disables printing of the colored border.
#
# $modify_spc_width controls the width of spacer columns located between
# displayed cart contents columns defined in @modify_display_numbers (above).
#
# $modify_spc_height controls the height of spacer rows separating displayed
# cart contents rows. Spacer rows follow the BGCOLOR or BACKGROUND attribute
# of the document.
$modify_table_border = ''; # 1 = Yes Display colored border
$modify_spc_width = '7'; # 7 = Width of cells between table columns
$modify_spc_height = '1'; # 1 = Height of spacer table rows
#--------------------------------------------------------------------------#
# Font Control
#--------------------------------------------------------------------------#
# $header_font and $header_face, set in ws_global.setup, are used with
# $header_fnt_clr and $dsc_hr_fnt_clr (below) to develop opening
# tags for use in table header rows.
# $data_font and $data_face, set in ws_global.setup, are used with
# $data_fnt_clr and $modify_fnt_clr (below) to develop opening tags
# for use in table data rows.
# $header_bkg_clr and $header_fnt_clr are the background color and font color
# used in table header rows (respectively) to display table page headers
# in all WebStore generated tables.
# Setting $header_bkg_clr = '' disables $header_bkg_clr.
# Setting $header_fnt_clr = '' disables $header_fnt_clr.
# Defaults to and attributes.
#ddd $header_bkg_clr = '#000000'; # Black
# $header_fnt_clr = '#FFFFFE'; # White
$header_bkg_clr = '#00006B'; # Black
$header_fnt_clr = '#FFFFFE'; # White
# $dsc_hr_bkg_clr and $dsc_hr_fnt_clr are the background color and font color
# used in table header rows (respectively) to display order subtotal
# messages and descriptive column text in all WebStore generated tables.
# Setting $dsc_hr_bkg_clr = '' disables $dsc_hr_bkg_clr.
# Setting $dsc_hr_fnt_clr = '' disables $dsc_hr_fnt_clr.
# Defaults to and attributes.
$dsc_hr_bkg_clr = '#DCDCDC'; # Gainsboro
$dsc_hr_fnt_clr = '#000000'; # Black
$dsc_hr_bkg_clr = '#F0F8FF'; # Gainsboro
$dsc_hr_fnt_clr = '#00006B'; # Black
# $data_bkg_clr and $data_fnt_clr are the background color and font color
# used in table data rows (respectively) to display database categories
# or items returned from a client search.
# Setting $data_bkg_clr = '' disables $data_bkg_clr.
# Setting $data_fnt_clr = '' disables $data_fnt_clr.
# Defaults to and attributes.
#ddd $data_bkg_clr = '#B0C4DE'; # Lightsteelblue
# $data_fnt_clr = '#000000'; # Black
$data_bkg_clr = ''; # Lightsteelblue
$data_fnt_clr = ''; # Black
# $modify_bkg_clr and $modify_fnt_clr are the background color and font color
# used in table data rows (respectively) to display items in the client's
# shopping cart.
# Setting $modify_bkg_clr = '' disables $modify_bkg_clr.
# Setting $modify_fnt_clr = '' disables $modify_fnt_clr.
# Defaults to and attributes.
#ddd $modify_bkg_clr = '#B0C4DE'; # Lightsteelblue
# $modify_fnt_clr = '#000000'; # Black
$modify_bkg_clr = ''; # Lightsteelblue
$modify_fnt_clr = '#00006B'; # Black
# $border_bkg_clr is the background color of table ornamental borders in all
# WebStore generated tables.
# Set $table_border = '' (above) to disable ornamental borders when displaying
# database categories or items returned from a client search.
# Set $modify_table_border = '' (above) to disable ornamental borders when
# displaying the client's shopping cart contents.
#ddd $border_bkg_clr = '#B0C4DE'; # Lightsteelblue
$border_bkg_clr = '#F0F8FF'; # Lightsteelblue
# $count_bkg_clr and $count_fnt_clr are the background color and
# font color used to display the access counter on the store's
# front page.
# uses $data_face, defined in ws_global.setup.
# Setting $count_bkg_clr = '' disables $count_bkg_clr.
# Setting $count_fnt_clr = '' disables $count_fnt_clr.
# Defaults to and attributes.
$count_bkg_clr = '#000000'; # Black
$count_fnt_clr = '#00FF00'; # Green
$count_bkg_clr = '#F0F8FF'; # Black
$count_fnt_clr = '#00006B'; # Green
#--------------------------------------------------------------------------#
# Subroutines: Display Additional HTML
#--------------------------------------------------------------------------#
# @include_files is a list of files to be inserted into parsed HTML documents.
# Files which may be included are JavaScripts (with tags),
# CSS files, etc.
# The contents of the files listed in @include_files are substituted into parsed
# HTML pages by adding hidden text tags using the file's name.
#
# Example:
#
# Whitespace is not allowed in include hidden text tags.
# WebStore ignores hidden text tags which contain whitespace.
#
# Hidden text tags are replaced with the associated file's contents.
#
# Files listed in @include_files must be located under the /Html sub-directory
# or any sub-directory you may create under /Html.
#
# When files are placed under sub-directories, the sub-directory must be listed
# in the hidden text tag:
# When a file does not exist under the /Html directory, WebStore writes a
# FILE NOT FOUND message in the file's associated hidden text tag:
#
#
# cart_id= substitution occurs on the contents of substituted files.
# WebStore disables SSI tags detected in HTML documents.
# Setting @include_files = () disables file includes.
@include_files = (
# 'include.Page_Header.txt',
# 'include.Page_Trailer.txt',
); # DO NOT REMOVE - terminates @include_files
# &print_text_file('filename.txt');
# Adding the command above to any of the subroutines below will access
# sub print_text_file in WebStore.
#
# WebStore will print the contents of filename.txt.
#
# Place text files in the /Html sub-directory.
#
# Do not include opening or closing , , or tags in
# text files printed using sub print_text_file.
#
# WebStore adds '.txt' to the filename listed in &print_text_file('filename');
# if the filename does not end in '.txt'.
#
# If filename.txt does not exist in the /Html sub-directory, WebStore prints
# the following hidden text to the document printed to the web browser:
#
#
# If $frontpage_trailer = 1, append the store's front page defined in
# $frontpage_file (above) with the contents of sub frontpage_trailer_html
# after form input buttons. Design the HTML code, copy and paste it below
# the PRINTED FROM: hidden comment line in sub frontpage_trailer_html.
# Setting $frontpage_trailer = '' disables access to
# sub frontpage_trailer_html. Nothing is printed to the bottom of the
# store's front page.
$frontpage_trailer = '1'; # 1 = Access sub frontpage_trailer_html
sub frontpage_trailer_html {
print qq!
<\!-- PRINTED FROM: sub frontpage_trailer_html in $store -->
!; # DO NOT REMOVE - terminates "print qq!" command above
# Print /Html/shipping.txt
&print_text_file('shipping.txt');
} # DO NOT REMOVE - End of sub frontpage_trailer_html
#-----------------------------------------------#
# If $pre_category = 1 or 2, preface database category displays and search
# result pages with the contents of sub pre_category_html. Design the HTML
# code, copy and paste it below the PRINTED FROM: hidden comment line in
# sub pre_category_html.
# If $pre_category = 2, convert the name of the current database category
# being displayed by the client to a header text filename.
#
# WebStore replaces spaces in the database category name with _ (underscores)
# to construct the header text filename.
#
# EXAMPLE category name: Category Name
# Header text filename: C-HDR.Category_Name.txt
#
# If the header text file exists in the Html sub-directory, WebStore will
# print the contents of the file to the client's web browser immediately after
# executing sub pre_category_html.
#
# Default header text filename: C-HDR.DEFAULT.txt
#
# If a header text file does not exist for a database category name,
# WebStore will print the contents of the default header text file,
# C-HDR.DEFAULT.txt, if it exists.
#
# WebStore performs query string substitution for occurrences of cart_id=
# detected in the header text file before printing the contents of the file
# to the client's web browser.
#
# Do not include opening or closing , , or tags in
# category header text files.
# Setting $pre_category = '' disables access to sub pre_category_html and
# the printing of category header text files to the top of database category
# displays and search result pages.
$pre_category = '2'; # 1 = Access sub pre_category_html only
# 2 = Access sub pre_category_html and
# Print header text files
sub pre_category_html {
print qq!
<\!-- PRINTED FROM: sub pre_category_html in $store -->
!; # DO NOT REMOVE - terminates "print qq!" command above
} # DO NOT REMOVE - End of sub pre_category_html
#-----------------------------------------------#
# If $category_trailer = 1 or 2, append database category displays and search
# result pages with the contents of sub category_trailer_html after the form
# input buttons. Design the HTML code, copy and paste it below the
# PRINTED FROM: hidden comment line in sub category_trailer_html.
# If $category_trailer = 2, convert the name of the current database category
# being displayed by the client to a trailer text filename.
#
# WebStore replaces spaces in the database category name with _ (underscores)
# to construct the trailer text filename.
#
# EXAMPLE category name: Category Name
# Trailer text filename: C-TRL.Category_Name.txt
#
# If the trailer text file exists in the Html sub-directory, WebStore will
# print the contents of the file to the client's web browser immediately after
# executing sub category_trailer_html.
#
# Default trailer text filename: C-TRL.DEFAULT.txt
#
# If a trailer text file does not exist for a database category name,
# WebStore will print the contents of the default trailer text file,
# C-TRL.DEFAULT.txt, if it exists.
#
# WebStore performs query string substitution for occurrences of cart_id=
# detected in the trailer text file before printing the contents of the file
# to the client's web browser.
#
# Do not include opening or closing , , or tags in category
# trailer text files.
# Setting $category_trailer = '' disables access to sub category_trailer_html
# and the printing of category trailer text files to the bottom of database
# category displays and search result pages.
$category_trailer = '2'; # 1 = Access sub category_trailer_html only
# 2 = Access sub category_trailer_html and
# Print trailer text files
sub category_trailer_html {
print qq!
<\!-- PRINTED FROM: sub category_trailer_html in $store -->
!; # DO NOT REMOVE - terminates "print qq!" command above
} # DO NOT REMOVE - End of sub category_trailer_html
#-----------------------------------------------#
# If $pre_view_modify = 1 or 2, preface shopping cart View/Modify displays with
# the contents of sub pre_view_modify_html. Design the HTML code, copy and
# paste it below the PRINTED FROM: hidden comment line in sub pre_category_html.
# If $pre_view_modify = 2, access sub pre_view_modify_html from any form file
# in WebStore. The contents of sub pre_view_modify_html will print directly
# below any printed output from the form file's corresponding subroutine.
#
# sub pre_client_form_html in client access form files and sub pre_form_html in
# order form and secondary form files contain the following command at the
# bottom of the subroutine:
#
# &pre_view_modify_html if $pre_view_modify eq '2';
#
# This line of code may be removed or commented in form files you do not want
# accessing sub pre_view_modify_html.
# Setting $pre_view_modify = '' disables access to sub pre_view_modify_html.
# Nothing is printed at the top of shopping cart content displays or the top
# of WebStore forms from sub pre_view_modify_html.
$pre_view_modify = '2'; # 1 = Access sub pre_view_modify_html
# 2 = Access sub pre_view_modify_html from form files
sub pre_view_modify_html {
print qq!
<\!-- PRINTED FROM: sub pre_view_modify_html in $store -->
!; # DO NOT REMOVE - terminates "print qq!" command above
} # DO NOT REMOVE - End of sub pre_view_modify_html
#--------------------------------------------------------------------------#
# Search Engine
#--------------------------------------------------------------------------#
# If $search_engine = 1, print WebStore's search form at the bottom of the
# store's front page, category front pages, and expanded item information
# pages.
# If $search_engine = 2, print WebStore's search form at the bottom of the
# store's front page. Substitute the name=value pair no_search=Y into
# WebStore query strings found in all HTML documents and WebStore query
# strings found in fields in the item database, outlet.data ($data_file).
# When no_search=Y exists in a WebStore query string on an HTML page or
# in a query string in the item database, outlet.data, do not print
# WebStore's search form to the HTML page defined in category= of the
# query string. When the client clicks an anchor containing no_search=Y,
# WebStore's search form remains prohibited until the client performs a
# search.
# Placing no_search= (with no value) in a WebStore query string prevents
# the WebStore script from substituting no_search=Y into the query string.
# When the client clicks an anchor containing no_search=, WebStore's search
# form is printed to the HTML page defined in category= of the query string
# and no_search=Y is not substituted into WebStore query strings present on
# the HTML page.
# When the client performs a search, substitution of no_search=Y into
# WebStore query strings is disabled until the client clicks an anchor
# containing no_search=Y.
# Setting $search_engine = '' disables search form output and substitution
# of no_search=Y into WebStore query strings are disabled.
$search_engine = '1'; # 1 = Yes
# $search_tips is WebStore's search engine help file. When $search_tips
# is equal to 'SearchTips.html', this file must be present in the /Html
# sub-directory or the script will generate an "HTML File not Found" message.
# Setting $search_tips = '' disables printing the search tips URL in the
# search engine form. Access to WebStore's search engine help file is
# disabled.
$search_tips = 'SearchTips.html';
# $categories_desc is the default text printed as the
# for the drop down list element of Categories.
$categories_desc = 'Search all Categories';
# @categories array lists all categories in the store's database, outlet.data,
# and is used to construct the drop down list box on the search form.
# WS Editor is configured to update @categories using any of it's Group or Sort
# functions in the distributions of WebStore. Refer to @store_files in
# outlet_editor.setup, the WS Editor setup file which maintains the database
# defined in $data_file (above).
# Prohibit the search of any category by omitting it from @categories.
@categories = (
'Outer Wear',
'Shirts',
'Sweaters',
# The following line must be on a line by itself
); # DO NOT REMOVE OR MODIFY THIS LINE - terminates @categories
1; # DO NOT REMOVE
# End of file