<%

' ********************************************************************
' Copyright (C) 2001 Microsoft Corporation. All rights reserved.
'
'	IMPORTANT.  Please read the legal.txt file, located in the
'	"<CMS Install Directory>\Server\httpexec\WBC\Internals"
'	directory, governing the use of this internal file."
' ********************************************************************

' ********************************************************************
' File:		/NR/System/WBC/Internals/WBCFuncPages/Cross-Browser/
'				TasksAssistant/ApprovalAssistant/
'				ApprovalAssistantConstants.inc
'
' Version: 	Microsoft Content Management Server
' Author:	Microsoft Corporation.
'
' Purpose:	Declaration of various constants for use by the task
'			assistant dialogs, namely pages	to approve.
'
' ********************************************************************


'---------------------------------------------------------------------
' QUERY STRING PARAMETERS
'---------------------------------------------------------------------

Const IDS_QPARAM_TIMESTAMP_NAME = "wbc_Timestamp"
Const IDS_QPARAM_PAGESTATUS_NAME = "wbc_PageStatus"
Const IDS_QPARAM_PAGESTATUS_VALUE_AFTERPOSTINGACTION = "AfterPostingAction"


'---------------------------------------------------------------------
' IMAGE PATHS
'---------------------------------------------------------------------

' constants indicating various directories where things like images
' can be found
Const IDS_PATH_IMAGES_COMMON = "../../../CommonImages/"
Const IDS_PATH_IMAGES_COMMON_BUTTONS = "../../../CommonImages/Buttons/"
Const IDS_PATH_IMAGES_COMMON_ICONS = "../../../CommonImages/Icons/"
Const IDS_PATH_IMAGES_COMMON_LOGOS = "../../../CommonImages/Logos/"
Const IDS_PATH_IMAGES_APPROVALASSISTANT = "../Images/"

Const IDS_IMG_ICON_PREVIEW = "iconPreview.gif"
Const IDS_IMG_ICON_APPROVEDECLINE = "iconApproveDecline.gif"
Const IDS_IMG_ICON_APPROVE = "iconApprove.gif"
Const IDS_IMG_ICON_DECLINE = "iconDecline.gif"
Const IDS_IMG_ICON_INACTIVECHECKBOX = "iconInactiveCheckbox.gif"
Const IDS_IMG_BUTTON_APPROVE = "btnApprove.gif"
Const IDS_IMG_BUTTON_DECLINE = "btnDecline.gif"
Const IDS_IMG_ICON_GOTO = "iconGoTo.gif"


'---------------------------------------------------------------------
' STYLE SHEETS
'---------------------------------------------------------------------

' define the styles used throughout the production manager. These style
' names are actually defined in WBC/Customizable/WBC.css
Const IDS_CSS_APPROVALASSISTANT_NORMALTEXT0 	= "WBC_styclsTextColor0"
Const IDS_CSS_APPROVALASSISTANT_NORMALTEXT1 	= "WBC_styclsTextColor1"
Const IDS_CSS_APPROVALASSISTANT_HEAVYTEXT1 		= "WBC_styclsHeavyTextColor1"
Const IDS_CSS_APPROVALASSISTANT_HEADERTEXT 		= "WBC_styclsHeaderText"
Const IDS_CSS_APPROVALASSISTANT_SUBHEADTEXT		= "WBC_styclsSubheadText"
Const IDS_CSS_APPROVALASSISTANT_ALTBG1 			= "WBC_styclsAlternateRowBg1"
Const IDS_CSS_APPROVALASSISTANT_ALTBG2 			= "WBC_styclsAlternateRowBg2"
Const IDS_CSS_APPROVALASSISTANT_BACKGROUND1 	= "WBC_styclsBackground1"
Const IDS_CSS_APPROVALASSISTANT_BACKGROUND2 	= "WBC_styclsBackground2"
Const IDS_CSS_APPROVALASSISTANT_BACKGROUND3 	= "WBC_styclsBackground3"


'---------------------------------------------------------------------
' FORM PARAMETERS
'---------------------------------------------------------------------

' constants used in the various forms for the task assistants
Const IDS_FORM_ELEMENT_PREFIX = "NC_"
Const IDS_FORM_APPROVALASSISTANT = "WBC_frmApprovalAssistant"

Const IDS_FORM_ELEMENT_SELECTFORAPPROVEDECLINE = "NC_Postings"

' the following form element is used to determine whether the action
' initiated by the user is an approve or decline
Const IDS_FORM_ELEMENT_APPROVEORDECLINE = "NC_ApproveOrDecline"
Const IDS_FORM_ELEMENT_APPROVEORDECLINE_VALUE_APPROVE = "Approve"
Const IDS_FORM_ELEMENT_APPROVEORDECLINE_VALUE_DECLINE = "Decline"


'---------------------------------------------------------------------
' GRID IDENTIFIERS AND PARAMETERS
'---------------------------------------------------------------------

' define the constants used by the grid control to identify the
' various columns of data that are to be rendered. These constants
' are used by the grid decorator for the various task assistants.
Const IDS_GRIDINDEX_SELECT = "Select"
Const IDS_GRIDINDEX_DISPLAYNAME = "DisplayName"
Const IDS_GRIDINDEX_GOTO = "GoTo"
Const IDS_GRIDINDEX_PATH = "Path"
Const IDS_GRIDINDEX_STATUS = "Status"
Const IDS_GRIDINDEX_OWNER = "Owner"
Const IDS_GRIDINDEX_LASTMODIFIED = "LastModified"
Const IDS_GRIDINDEX_DESCRIPTION = "Description"

' used when setting up the paging config control to give the created
' control a name
Const IDS_PAGINGCONFIG_ID_APPROVALASSISTANT_ITEMSPERPAGE = "PagesToApproveItemsPerPage"

Const IDS_PAGINGCONFIG_APPROVALASSISTANT_DEFAULTITEMSPERPAGE = 5

' define a string ID that identifies the grid control used int he production manager
Const IDS_GRIDID_APPROVALASSISTANT = "ApprovalAssistant"

'---------------------------------------------------------------------
' ERROR IDS
'---------------------------------------------------------------------

' error IDs used in Err.Raise statements throughout the tasks assistant
' code
Const ID_ERROR_UNKNOWN_COLUMN_TYPE = 10000
Const ID_ERROR_UNKNOWN_FORM_ACTION = 10001

%>