<?php
	/*
	** File: ScreenInfo
	** Description: assigns title, meta tags and path for each screen
	** Version: $Revision: 1.20 $
	** Created: 03/05/99
	** Author: Leon Atkinson
	** Email: leon@clearink.com
	** CVS Author: $Author: jj $
	** Last Revised: $Date: 1999/11/10 03:18:01 $
	**
	** The ScreenInfo array contains the following elements:
	**
	** Title -- title tag
	** Description -- meta tag
	** Keywords -- meta tag
	** Layout -- layout module to use
	**
	** Log : $Log: ScreenInfo,v $
	** Log : Revision 1.20  1999/11/10 03:18:01  jj
	** Log : Removed entry for edit_department (a screen that has been removed).
	** Log :
	** Log : Revision 1.19  1999/11/08 23:01:28  jj
	** Log : Cleaned up ScreenInfo a bit (rearragned a few items to make more sense).
	** Log :
	** Log : Revision 1.18  1999/11/02 18:23:08  chris
	** Log : Added support for coupons.
	** Log :
	** Log : Revision 1.16  1999/10/05 22:58:08  leon
	** Log : Used constants for elements in ScreenInfo array.
	** Log :
	** Log : Revision 1.15  1999/10/04 22:41:49  leon
	** Log : Added context-sensitive help.  New directory modules/help may have a file
	** Log : that matches a screen module.  If it exists, then a help link appears in
	** Log : the navigation.  This opens a smaller window with the contents of the
	** Log : help file.
	** Log :
	** Log : Revision 1.14  1999/09/28 20:41:28  leon
	** Log : Added set_relationships to ScreenInfo
	** Log :
	** Log : Revision 1.13  1999/09/23 23:28:56  jj
	** Log : Adding admin_relationships to ScreenInfo.
	** Log :
	** Log : Revision 1.12  1999/09/09 20:34:17  leon
	** Log : Added support for an index-based search.
	** Log : Constants in global_settings controls whether the index is used or
	** Log : not.  You can build/re-build the index through a link on the
	** Log : admin menu.
	** Log :
	** Log : Revision 1.11  1999/08/18 22:32:02  leon
	** Log : Returning opening PHP tag to XML-friendly tag
	** Log :
	** Log : Revision 1.10  1999/08/13 18:20:00  leon
	** Log : Added interface for setting sales prices per the requirements specification.
	** Log : (See "Add promotion/discount offers").  Since admin_sales needs to use
	** Log : DepartmentSelector, I tweaked it a bit.
	** Log :
	** Log : Revision 1.9  1999/08/10 22:49:41  leon
	** Log : Added "Express Order" screen that allows the user to set shippng and
	** Log : info all on one page.  It was added to the side nav, too.
	** Log :
	** Log : Revision 1.8  1999/08/10 20:54:27  jj
	** Log : Added code to allow a user to edit his own address information (edit_user).
	** Log :
	** Log : Revision 1.7  1999/08/09 23:01:39  leon
	** Log : Added new quick_order screen, added it to side nav, added link to attribute
	** Log : admin back to admin menu, and removed references to batches from build.sql
	** Log :
	** Log : Revision 1.6  1999/08/09 18:02:15  jj
	** Log : Had to add a screen for the new order confirmation process.
	** Log :
	** Log : Revision 1.5  1999/08/03 20:01:22  leon
	** Log : Updated search functionality
	** Log : You can now search on screens.  A constant controls whether you want
	** Log : to pull screen modules into memory to search on the contents.  Otherwise
	** Log : the search is only made on the meta tags as defined in ScreenInfo.
	** Log :
	** Log : Revision 1.4  1999/08/03 00:29:34  jj
	** Log : Removed a few screens, added others -- need to update ScreenInfo
	** Log :
	** Log : Revision 1.3  1999/07/28 19:27:21  leon
	** Log : Mass update based on code donation from a live project
	** Log :
	** Copyright (c) 1999 Working Dogs.  All rights reserved.
	*/

	/*
	** Define fields for array
	**
	** Why do this?  Well, now you can easily leave out some
	** elements, while still preserving backwards compatibility.
	** Example:
	**	"department"=>array
	**	(
	**		SI_TITLE=>"Departments",
	**		SI_LAYOUT=>SI_LAYOUT=>"with_side_nav"
	**	),
	**
	**	This might be nice if you add a bunch of new flat screens
	**	to the system
	*/
	define('SI_TITLE', 0);
	define('SI_DESCRIPTION', 1);
	define('SI_KEYWORDS', 2);
	define('SI_LAYOUT', 3);


	/*
	** use these as default meta tags
	*/
	$DefaultDescription = "Description of site";
	$DefaultKeywords = "Keywords";


	/*
	** Build the array
	*/
	$ScreenInfo = array
	(
		/*
		** top-level screen
		*/
		"welcome"=>array
		(
			SI_TITLE=>"Welcome to this site",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>"home",
			SI_LAYOUT=>"with_side_nav"
		),
	

		/*
		** item information
		*/
		"department"=>array
		(
			SI_TITLE=>"Departments",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),
		"item"=>array
		(
			SI_TITLE=>"Item Information",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"		
		),
		"item_details"=>array
		(
			SI_TITLE=>"Closeup",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"plain"		
		),
		"quick_order"=>array
		(
			SI_TITLE=>"All SKUs",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"		
		),

		
		/*
		** order fulfillment
		*/
		"order_info"=>array
		(
			SI_TITLE=>"Shipping Information",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),
		"order_address"=>array
		(
			SI_TITLE=>"Shipping Information",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),
		"order_billing"=>array
		(
			SI_TITLE=>"Billing and Shipping Information",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),
		"order_confirm"=>array
		(
			SI_TITLE=>"Order Confirmation",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),
		"order_view_ibid"=>array
		(
			SI_TITLE=>"Order Confirmation: Viewing an Item in Basket",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),
		"order_thankyou"=>array
		(
			SI_TITLE=>"Thank You!",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),
		"order_express"=>array
		(
			SI_TITLE=>"Getting ",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),


		/*
		** admin screens		
		*/
		"admin_menu"=>array
		(
			SI_TITLE=>"Administration Menu",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),
		"admin_departments"=>array
		(
			SI_TITLE=>"Administrate Departments",
			SI_DESCRIPTION=>$DefaultDescription, 
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),
		"add_item"=>array
		(
			SI_TITLE=>"Add item to Catalog",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),
		"add_sku"=>array
		(
			SI_TITLE=>"Add SKU to Catalog",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),
		"add_department"=>array
		(
			SI_TITLE=>"Add Department to Catalog",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),
		"admin_item"=>array
		(
			SI_TITLE=>"Edit Item Information",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),
		"edit_sku"=>array
		(
			SI_TITLE=>"Edit SKU Information",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),
		"admin_coupon"=>array
		(
			SI_TITLE=>"Coupon Administration",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),
		"edit_coupon"=>array
		(
			SI_TITLE=>"Edit Coupons Information",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),
		"edit_users"=>array
		(
			SI_TITLE=>"Edit Users",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),
		"edit_user"=>array
		(
			SI_TITLE=>"Edit User",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),		
		"admin_attribute"=>array
		(
			SI_TITLE=>"Administrate Attributes",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),
		"edit_attribute"=>array
		(
			SI_TITLE=>"Edit Attribute",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),
		"edit_variation"=>array
		(
			SI_TITLE=>"Edit Variation",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),
		"add_attribute"=>array
		(
			SI_TITLE=>"Add Attribute",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),
		"add_variation"=>array
		(
			SI_TITLE=>"Add Variation",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),
		"admin_invoice"=>array
		(
			SI_TITLE=>"Invoice Report",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),
		"edit_invoice"=>array
		(
			SI_TITLE=>"Update an Invoice",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),
		"edit_ibid"=>array
		(
			SI_TITLE=>"Edit an Ibid",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),
		"report_inventory"=>array
		(
			SI_TITLE=>"Intentory Report",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),
		"admin_tax_rates"=>array
		(
			SI_TITLE=>"Edit State-wide Tax Rates",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),
		"admin_sales"=>array
		(
			SI_TITLE=>"Edit Sales",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),
		"relate_item"=>array
		(
			SI_TITLE=>"Associate item with Others",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),
		"admin_relationships"=>array
		(
			SI_TITLE=>"Menu of Relationships",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),
		"set_relationships"=>array
		(
			SI_TITLE=>"Relate one item to another",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),
		"admin_fees"=>array
		(
			SI_TITLE=>"Administrate Fees",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),

		/*
		** Shopping Bag
		*/
		"contents"=>array
		(
			SI_TITLE=>"Contents of your Shopping Bag",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),
		"login"=>array
		(
			SI_TITLE=>"Login",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),

		"create_account"=>array
		(
			SI_TITLE=>"Create an Account",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),

		"wishlist"=>array
		(
			SI_TITLE=>"Your Wishlist",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),

		"order_history"=>array
		(
			SI_TITLE=>"View Past Orders",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),
		
		"view_invoice"=>array
		(
			SI_TITLE=>"View an Order",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),
		
		"view_ibid"=>array
		(
			SI_TITLE=>"View an Ibid",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),


		
		/*
		** common navigation
		*/		

		"search_form"=>array
		(
			SI_TITLE=>"Search Catalog",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),


		"search_results"=>array
		(
			SI_TITLE=>"Search Results",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),

		"create_index"=>array
		(
			SI_TITLE=>"Create Index",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		),

		"help"=>array
		(
			SI_TITLE=>"Help",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"plain"
		),


		"about_us"=>array
		(
			SI_TITLE=>"About the Site",
			SI_DESCRIPTION=>$DefaultDescription,
			SI_KEYWORDS=>$DefaultKeywords,
			SI_LAYOUT=>"with_side_nav"
		)

		
		
		
		
	);


?>
