[Data]

Username = klaus
Password = klaus
Table    =
Order    =
QryFields   =
UpdFields   =
IdField     = dummy

[Debug]
Level = 0

[Browser]
MaxRows = 7

[Header]
Title = Possibilities of WWWdb

[GUI]
# FgColor = blue


[State All]
BtnCancel = Clear
BtnHelp   = Help

[State Init]
BtnNew = -
BtnQry = -


[Layout Table]
Border      = 0

# ----------------------------------------------------------------------
[Layout Label H1_Text_0]
Text = <<EOF
The way, your HTML-page looks, can be configured with a
configuration-file like this. The single data-fields are placed in a
virtual HTML-table. This table is for designing a nice-looking
surface, where you can place fields where you want, span fields over
some columns and place more fields in a column.
EOF
Pos  = 0.+0+3.0
Align = Center

[Layout Label H1_Text_1]
Text = <<EOF
Using such a file it is normaly not necessary to enter HTML-commands directly.
EOF
Italic = Yes
Pos  = +2.+0+3.0
Align = Center


# ----------------------------------------------------------------------
[Layout Label H1_Layout]
Text = Layout-Possibilities
Pos  = +2.0+3.0
Big = Yes
Bold = Yes
Font = color=blue
Align = center
BgColor = #e0e0e0

# ----------------------------------------------------------------------
[Layout Label H2_Spalten]
Text = Design your columns!!
Pos  = +1.0+3.0
Big = Yes
Bold = Yes
Font = color=#000090
Align = center
BgColor = #e0e0e0

[Layout Label Layout_1_0]
Pos  = +1.0.0
Text = Three columns in one line
Bold = Yes
Align = Right

[Layout Label Layout_1_1]
Pos  = +0.+1.0
Text = Column 1
BgColor = #cccccc

[Layout Label Layout_1_2]
Pos  = +0.+1.0
Text =  Column 2
BgColor = #dddddd

[Layout Label Layout_1_3]
Pos  = +0.+1.0
Text = Column 3
BgColor = #eeeeee

[Layout Label Layout_2_0]
Pos  = +1.0.0
Text = Two columns, where the first is spanning two columns
Bold = Yes
Align = Right

[Layout Label Layout_2_1bis2]
Pos  = +0.+1+1.0
Text = Columns 1 and 2
BgColor = #cccccc

[Layout Label Layout_2_3]
Pos  = +0.+1.0
Text = Column 3
BgColor = #dddddd

[Layout Label Layout_3_0]
Pos  = +1.0.0
Text = One Column, spanning over the whole line (three columns)
Bold = Yes
Align = Right

[Layout Label Layout_3_1bis3]
Pos  = +0.1+2.0
Text = Columns 1 to 3
BgColor = #cccccc

[Layout Label Layout_4_0]
Pos  = +1.0.0
Text = Two rows, connected with rowspan
Bold = Yes
Align = Right

[Layout Label Layout_4_1]
Pos  = +0+1.+1.0
Text = Row 1 and 2
BgColor = #cccccc

[Layout Label Layout_4_2]
Pos  = +0.+1.0
Text = Row 1, Col 2
BgColor = #dddddd

[Layout Label Layout_5_2]
Pos  = +1.2.0
Text = Row 2, Col 2
BgColor = #eeeeee

# ----------------------------------------------------------------------
[Layout Label H2_Stapeln]
Text = "Stacking" of fields
Pos  = +1.0+3.0
Big = Yes
Bold = Yes
Font = color=#000090
Align = center
BgColor = #e0e0e0

[Layout Label Stapel_1_0]
Text = Stacking in one column
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Label Stapel_1_2]
Pos  = +0.+1.0
Text = Column 1
BgColor = #cccccc

[Layout Label Stapel_1_1_1]
Pos  = +0.+1.0
Text = "(Element&nbsp;1) "
BgColor = #dddddd

[Layout Label Stapel_1_1_2]
Pos  = +0.+0.+1
Text = "(Element&nbsp;2) "
Bold = Yes
Align = Right

[Layout Label Stapel_1_1_3]
Pos  = +0.+0.+1
Text = "(Element&nbsp;3)"

[Layout Label Stapel_1_3]
Pos  = +0.+1.0
Text = Column 3
BgColor = #eeeeee

[Layout Label Stapel_2]
Text = Stacking in more than one column
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Label Stapel_2_1_1]
Pos  = +0.+1+2.0
Text = "(Element&nbsp;1) "
BgColor = #cccccc

[Layout Label Stapel_2_1_2]
Pos  = +0.+0.+1
Text = "(Element&nbsp;2) "
Bold = Yes

[Layout Label Stapel_2_1_3]
Pos  = +0.+0.+1
Text = "(Element&nbsp;3)"

# ----------------------------------------------------------------------
[Layout Label H2_Align]
Text = Design of table-elements
Pos  = +1.0+3.0
Big = Yes
Bold = Yes
Font = color=#000090
Align = center
BgColor = #e0e0e0

[Layout Label Attr_Align_0]
Text = Horizontal Alignment
Pos  = +1.0.0
Bold = Yes
Align = Right
BgColor = #eeeeee

[Layout Label Attr_Align_1]
Pos  = +0.+1.0
Text = Left-<BR>aligned
Align = left
BgColor = #eeeeee

[Layout Label Attr_Align_2]
Pos  = +0.+1.0
Text = Cen-<BR>tered
Align = center
BgColor = #ffffff

[Layout Label Attr_Align_3]
Pos  = +0.+1.0
Text = Right-<BR>aligned
Align = right
BgColor = #eeeeee

[Layout Label Attr_VAlign_0]
Text = "Vertical Alignment<BR><BR>"
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Label Attr_VAlign_1]
Pos  = +0.+1.0
Text = Top-aligned
VAlign = Top
BgColor = #ffffff

[Layout Label Attr_VAlign_2]
Pos  = +0.+1.0
Text = Centered
VAlign = center
BgColor = #eeeeee

[Layout Label Attr_VAlign_3]
Pos  = +0.+1.0
Text = Bottom-aligned
VAlign = Bottom
BgColor = #ffffff

[Layout Label Attr_Color_0]
Text = Background-color
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Label Attr_Color_1]
Pos  = +0.+1.0
Text = Red
BgColor = #ff0000

[Layout Label Attr_Color_2]
Pos  = +0.+1.0
Text = Green
BgColor = #00ff##


[Layout Label Attr_Color_3]
Pos  = +0.+1.0
Text = Blue
BgColor = #0000ff
Font = color=white



[Layout Label Attr_NoWrap_0]
Text = No break in this column
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Label Attr_NoWrap_1]
Pos  = +0.+1.0
Text = foo bar foo bar foo bar foo bar foo bar foo bar
NoWrap = Yes

# ----------------------------------------------------------------------
[Layout Label H2_Attrib]
Text = Setting attributes
Pos  = +1.0+3.0
Big = Yes
Bold = Yes
Font = color=#000090
Align = center
BgColor = #e0e0e0

[Layout Label Attr_H1_0]
Text = Heading 1
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Label Attr_H1_1]
Pos  = +0.+1+2.0
Text = "Heading One"
H1   = Yes

[Layout Label Attr_H2_0]
Text = Heading 2
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Label Attr_H2_1]
Pos  = +0.+1+2.0
Text = "Heading Two"
H2   = Yes

[Layout Label Attr_H3_0]
Text = Heading 3
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Label Attr_H3_1]
Pos  = +0.+1+2.0
Text = "Heading Three"
H3   = Yes

[Layout Label Attr_H4_0]
Text = Heading 4
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Label Attr_H4_1]
Pos  = +0.+1+2.0
Text = "Heading Four"
H4   = Yes

[Layout Label Attr_H5_0]
Text = Heading 5
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Label Attr_H5_1]
Pos  = +0.+1+2.0
Text = "Heading Five"
H5   = Yes

[Layout Label Attr_H6_0]
Text = Heading 6
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Label Attr_H6_1]
Pos  = +0.+1+2.0
Text = "Heading Six"
H6   = Yes

[Layout Label Attr_Cite_0]
Text = "Cite"
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Label Attr_Cite_1]
Pos  = +0.+1+2.0
Text = "Text, that is usually for citations"
Cite   = Yes

[Layout Label Attr_Code_0]
Text = "Code"
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Label Attr_Code_1]
Pos  = +0.+1+2.0
Text = "Here we see a code-example:"
Code   = Yes

[Layout Label Attr_Del_0]
Text = "Del"
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Label Attr_Del_1]
Pos  = +0.+1+2.0
Text = "This test was deleted in the last version"
Del   = Yes

[Layout Label Attr_Em_0]
Text = "Em"
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Label Attr_Em_1]
Pos  = +0.+1+2.0
Text = "Emphasized text, you can see here"
Em   = Yes

[Layout Label Attr_Ins_0]
Text = "Ins"
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Label Attr_Ins_1]
Pos  = +0.+1+2.0
Text = "New inserted text"
Ins   = Yes

[Layout Label Attr_Pre_0]
Text = "Pre"
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Label Attr_Pre_1]
Pos  = +0.+1+2.0
Text = <<EOF
Pre-formatted Text
- 1.)
  * a.)
  * b.)
EOF
Pre   = Yes

[Layout Label Attr_Strong_0]
Text = "Strong"
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Label Attr_Strong_1]
Pos  = +0.+1+2.0
Text = "Strong attributed text"
Strong   = Yes

[Layout Label Attr_Tt_0]
Text = "TT"
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Label Attr_Tt_1]
Pos  = +0.+1+2.0
Text = "Looks like written on a teletype"
TT   = Yes

[Layout Label Attr_Strike_0]
Text = "Strike"
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Label Attr_Strike_1]
Pos  = +0.+1+2.0
Text = "Let's strike this text out"
Strike   = Yes

[Layout Label Attr_Sub_0]
Text = "Sub"
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Label Attr_Sub_1]
Pos  = +0.+1+2.0
Text = "Lower this text down"
Sub   = Yes

[Layout Label Attr_Sup_0]
Text = "Sup"
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Label Attr_Sup_1]
Pos  = +0.+1+2.0
Text = "Raise this text up"
Sup   = Yes

[Layout Label Attr_Big_0]
Text = Larger font
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Label Attr_Big_1]
Pos  = +0.+1+2.0
Text = "This text is bigger than the rest"
Big  = Yes

[Layout Label Attr_Small_0]
Text = "Smaller font"
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Label Attr_Small_1]
Pos  = +0.+1+2.0
Text = "This is small Text"
Small  = Yes

[Layout Label Attr_Bold_0]
Text = Bold font
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Label Attr_Bold_1]
Pos  = +0.+1+2.0
Text = "This text is bold"
Bold = Yes

[Layout Label Attr_Italic_0]
Text = Italics
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Label Attr_Italic_1]
Pos  = +0.+1+2.0
Text = "This text is italic"
Italic = Yes

[Layout Label Attr_Blink_0]
Text = Blinking (Netscape, only)
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Label Attr_Blink_1]
Pos  = +0.+1+2.0
Text = ABCDE abcde 12345 !$%()
Blink = Yes

[Layout Label Attr_All_0]
Text = Any combinations of the above
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Label Attr_All_1]
Pos  = +0.+1+2.0
Text = ABCDE abcde 12345 !$%()
Strike = Yes
Bold = Yes
Italic = Yes
Small  = Yes
BgColor = blue
Font = color=white face=fixed

[Layout Label Attr_Font_0]
Text = Font
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Label Attr_Font_1]
Text = Type (by example. Times)
Pos  = +0.+1.0
Font = face=times

[Layout Label Attr_Font_2]
Text = Size
Pos  = +0.+1.0
Font = size=+3

[Layout Label Attr_Font_3]
Text = Color
Pos  = +0.+1.0
Font = color=green

[Layout Label Image_0]
Text = Images
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Label Image_1]
Pos  = +0.+1.0
Text = "This is a pretty WWWdb-logo"
Image = Images/WWWdb_050pt.png
ImgBorder = 0

[Layout Label Image_2]
Pos  = +0.+1.0
Text = "This is a smaller WWWdb-logo"
Image = Images/WWWdb_025pt.png
ImgBorder = 1

[Layout Label Image_3]
Pos  = +0.+1.0
Text = "This is a very small WWWdb-logo"
Image = Images/WWWdb_015pt.png
ImgBorder = 5

# ----------------------------------------------------------------------
[Layout Label H2_Input]
Text = Input-Fields
Pos  = +1.0+3.0
Big = Yes
Bold = Yes
Font = color=#000090
Align = center
BgColor = #e0e0e0

[Layout Label Inp_Text_0]
Text = Text-field
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Field Inp_Text_1]
Pos  = +0.+1+2.0
Type = Text
Size = 60
Help = "Please give in some text!"

[Layout Label Inp_Pass_0]
Text = Password-Feld
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Field Inp_Pass_1]
Pos  = +0.+1+2.0
Type = Password
Help = "The password is hidden!"

[Layout Label Inp_Area_0]
Text = Multi-lined Text-area
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Field Inp_Area_1]
Pos  = +0.+1+2.0
Type = Area
Size = 50
Help = "Please give in much text!"

[Layout Label Inp_Radio_0]
Text = Radio-Buttons
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Field Inp_Radio_1]
Pos  = +0.+1+1.0
Type = Radio
Values = <<EOF
Yes
No
Maybe
Maybe not
EOF
Help = "Select one value!"

[Layout Label Inp_Radio_2]
Text = This field can also be filled with a SQL-Statement
Pos  = +0.+1.0

[Layout Label Inp_Select_S_0]
Text = Single Selection-Field
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Field Inp_Select_S_1]
Pos  = +0.+1.0
Type = Select
Values = <<EOF
One  \,1
Two  \,2
Three\,3
Four \,4
Five \,5
EOF
Help = "Select one value!"

[Layout Label Inp_Select_2]
Text = This field can also be filled with a SQL-Statement
Pos  = +0.+1+1.0

[Layout Label Inp_Select_M_0]
Text = Multiple Selection-Field
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Field Inp_Select_M_1]
Pos  = +0.+1.0
Type = Select
Values = <<EOF
A\,First letter
B\,Second letter
C\,Third letter
D\,Fourth letter
EOF
Multiple = Yes
Rows = 3
Help = "Select more values!"

[Layout Label Inp_Select_M_2]
Text = This field can also be filled with a SQL-Statement
Pos  = +0.+1+1.0

[Layout Label Inp_Check_0]
Text = Checkbox
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Field Inp_Check_1]
Pos  = +0.+1+2.0
Type = Checkbutton
Text = Press me!
Help = "Here you can select yes or no!"


[Layout Label Inp_Hidden_0]
Text = Hidden-field
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Label Inp_Hidden_1_0]
Text = "Here comes the field -->"
Pos  = +0.+1+2.0

[Layout Field Inp_Hidden_1_1]
Pos  = +0.+0.+1
Type = Hidden
Help = "You can't enter data here!"

[Layout Label Inp_Hidden_1_2]
Text = "<--"
Pos  = +0.+0.+1

; [Layout Label Inp_Label_0]
; Text = Label-field
; Pos  = +1.0.0
; Bold = Yes

; [Layout Field Inp_Label_0]
; Pos  = +0.+1+2.0
; Type = Label
; Text = "This field contains this text"

[Layout Label Inp_Ref_0]
Text = Link-field
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Label Inp_Ref_1_0]
Pos  = +0.+1+2.0
Type = Label
Text = "This field contains a link to myself"
Ref  = "wwwdb://WWWdb:Demo:Example"

[Layout Label Inp_Btn_0]
Text = Submit-Buttons
Pos  = +1.0.0
Bold = Yes
Align = Right

[Layout Field Inp_Btn_1_0]
Pos  = +0.+1+2.0
Type = Btn
Label = "Press me not!"




