#
# Template configuration file.
#
# This file can be maintained either by an external text editor or the online
# iNomads maintenance screen "Maint" in the library "*plus/inomads/templates/maint.en"
#
# The format of this file is:
#  - Comment lines start with '#'
#  - Description of each paramater start with ';' 
#     (These will be used by the maintenance program and must appear before the value)
#
#  - Main title description lines start with ';;' 
#     (Placed in maintenance screen hdr and must be first)

#  - Values start with a alphabetic variable name followed by an equal sign and value

#  - Validation rules should be included before any variable and start with a $
#    Rules have two forms:  
#         $RULE=..... which apply standard iNomads validation processing or comma sep list of values
#         $LIST=..... indicates a drop box with the values from file/directory
#                      (When a directory the file names are converted to 
#                       lowercase if directory starts with *)
#         $FMT=.....  which apply standard BB formating
#    Both may be provided.  These will be used by the maintenance program
#
# Comments that preceede the value and start with "##" will be converted into Help text
#

;; These are the template configuration settings which are used to control the display
;; and formatting for the template.  

# -------- Panel Layout information
<Layout>

; Alignment of the panel on the screen.

$Rule=left,center,right
PANEL_ALIGN=center

; Width of the border to include around panel.  Setting this to zero will result in no border around
; the panel

$Fmt=#0
PANEL_BORDER=1


; Folder Auto-invoke option.  If enabled, using the arrow keys to change tab will cause folder to be changed immediately.

$CHECKBOX
AUTO_FOLDER=0


; Overlay windows as opposed to creating popup windows.

$CheckBox
OVERLAY_WDWS=1

; Resize the windows on initial load to accomodate the panel size.
## If enabled the system will attempt to grow/shrink the windows to match the size of the panel
## on the initial load of a panel.

$CheckBox
SetWdwSize=1

; If resize option is enabled (above) this controls the shrinking windows to fit size of panel.
; Windows will always be expanded if required.

$Checkbox
Shrink=0

; Charting object to use.  If -none- then no chart will be available.  
; Path must be relative *plus/inomads/add-ons.

## Product includes FusionChartFree from Infosoft www.fusioncharts.com/free.
$list=*plus/inomads/add-ons/charts
Chart_obj=fusionfree

; JavaScript Window.open parameters to use when creating popup windows. 

## Position and size parameters are generated by system.
$FMT=Long

WINDOW_OPEN=

# -------- Panel/Display sizes 

<Sizing>

; Number of pixels used to determine standard character height when displaying screens

## The pixel size should be chosen based on the standard text size chosen for
## the template. (Suggestion: 14)

$Fmt=#0
$Rule=1-99

LINE_PX=14

; Number of pixels each column in the Nomads panel represents.  If zero the
; value in COL_PX (below) is used.


## This value should accomodate the standard text size chosen for template.
## Its value must be evenly divisble by COL_PX below. (Suggestion: 8)

$Fmt=#0
$Rule=1-99

CHR_PX=8


; Number of pixels used to define HTML column widths when generating panels

## This defines the resolution used when converting panels to HTML tabular displays
## Its value must be a integral factor of CHR_PX above. (Suggestion: 4)

$Fmt=#0
$Rule=1-99

COL_PX=4

; Pixels to be added to window width to compensate for external margins
# When determining panel sizes this number of pixels will be added to allow for margin width.

$Fmt=##0
FRAME_WIDTH=20

; Pixels to be added to window height to compensate for external margins
# When determining panel sizes this number of pixels will be added to allow for margin height.

$Fmt=##0
FRAME_HEIGHT=20

; Folder height factor.  The folder height (in lines) will be multiplied by this value
; to determine height in HTML (default 0: 1-Without frames, 1.2-With). 
# If borderless frames are suppressed we suggest 1 otherwise 1.2

$FMT=#0.00
FOLDER_FACTOR=0

; Folder tab height in pixels. Generally this should between 1.5 and 2 times line height.
; If zero then 1.5 times line height used.

$FMT=#0
TAB_HEIGHT=0

# -------- Overrides

<Overrides>

; Include all static application defined images.  Style sheets will provide images
; Dynamic images will be included.

## Normally the system uses Style Sheets to provide images.
## Enabling this option forces iNomads to use images from the panel definition.

$Checkbox
USE_IMAGES=1

; Force all Image-only buttons to be 'Flat' (no visible button -- image only)

$Checkbox
FLAT_IMG_BTN=0


; Use application defined font information when displaying text

## Normally the system uses Style Sheets to control the font of text.
## Enabling this option forces iNomads to use Fonts from the panel definition/application code.

$CHECKBOX
USE_FONTS=0

; Use application defined background colours when displaying controls/text

## Normally the system uses Style Sheets to control the background colours.
## Enabling this option forces iNomads to use Background colours from the panel definition.

$CHECKBOX
USE_BACKCOLOR=0

; Use application defined text colours when displaying controls. (Text always uses appication colour)

## Normally the system uses Style Sheets to control the text colours.
## Enabling this option forces iNomads to use Background colours from the panel definition.

$CHECKBOX
USE_TEXTCOLOR=1


# -------- General tweaks to the layout

<Tweaks>

; Line position allowance to use when generating HTML.  Controls that start within this 
; distance of proceeding control are to be considered on the same line.

## If non-zero controls positions are compared relative prior controls for alignment. If zero
## controls are positioned using simple rounding.

$Fmt=#0.00
VERT_ALLOWANCE=0.00

; Use orignal line spacing algorithm when applying VERT_ALLOWANCE (above)

$CHECKBOX
VERT_ADJ_METHOD=0

; Additional header META tags to be included in the HTML.

$Fmt=LONG
META_TAGS=

; Disable the forcing of table row heights and allow browser to determine optimal row height
## If disabled this option has been shown to cause random line spacing in FireFox
$CHECKBOX
DISABLE_TR_HEIGHT=0

# -------- Frame settings
<Frames>

# 
# Frame settings -- ability to supress the frames borders
# 

; Enable suppression of 'Frames' that do not have titles associated with them.
## Frames with titles are always display in the HTML, however in some cases it may be desirable to suppress simple Non-titled frames due to overlaps.

$CheckBox
FRAME_SUPPRESS=0


; Suppress the Vertical allowance for Frames.  (Only applicable if the VERT_ALLOWANCE is non-zero)

$CheckBox
VERT_ALLOW_NOFRAMES=0

; Frame bottom adjustment. Logical number of lines the bottom of a frame will be moved up to 
; compute true bottom.  Nomads centered the bottom within the line.

$Fmt=#0.00
FRAME_BTM_ADJ=0.00

; Use <HR> for single line high frames instead of standard frame display.

$Checkbox
FRAME_USE_HR=0

; On frames with text (Headers), don't use end frame header formatted cells if frame is 1 line high.

$Checkbox
SINGLE_FRAME_CROP=0

# -------- Text displays

<Text>

; The text word to be displayed that will 'Close' a window.  Default is 'Close'
; but in multilingual systems you can change this

TEXT_CLOSE=Close


; Text to display during disconnect countdown when device idle too long.
; Insert ##:## where you ant the count down to appear

$Fmt=LONG
TEXT_TIMEOUT=Time limit has been reached.\n\nYour session will be terminated in ##:##.;Timeout

# -------- Query system options

<Query> 

# --------
# 
# Qry settings
# 

; Use new style Query (Listview oriented) for queries.

$Checkbox
QRY_LISTVIEW=1

; Number of lines to display per "Page" on the query display.

# The default we suggest is 25 although the allowable raneg is between 5 and 500

$Rule=5-500
$Fmt=##0

QRY_PAGELEN=15

; Do you want to use the full width of the display when showing querys or use the screen width
; as defined in the query definition?

$Rule=Yes,No
QRY_FULLSCREEN=No

; Force a popup for the Query regardless of whether popups are suppressed.

$Checkbox
QRY_POPUP=1


<URLPaths>

; Image web based URL (In HTML will have "/" appended - Default 'images')

imG_dir=
