Hex Artifact Content
Not logged in

Artifact cd7d68e8665eff6edab236fe4f475e7cc434e217:

File src/sample-config1.txt part of check-in [d5e7891b07] - Add a more advanced commit-hook mechanism that allows us to specify multiple procedures in a particular order prior to commit. Continuing work toward getting tickets going. by drh on 2007-11-18 20:48:07.

0000: 23 20 54 68 69 73 20 69 73 20 61 20 73 61 6d 70  # This is a samp
0010: 6c 65 20 22 74 69 63 6b 65 74 20 63 6f 6e 66 69  le "ticket confi
0020: 67 75 72 61 74 69 6f 6e 22 20 66 69 6c 65 20 66  guration" file f
0030: 6f 72 20 66 6f 73 73 69 6c 2e 0a 23 0a 23 20 54  or fossil..#.# T
0040: 68 65 72 65 20 69 73 20 63 6f 6e 73 69 64 65 72  here is consider
0050: 61 62 6c 65 20 66 6c 65 78 69 62 69 6c 69 74 79  able flexibility
0060: 20 69 6e 20 68 6f 77 20 74 69 63 6b 65 74 73 20   in how tickets 
0070: 61 72 65 20 64 65 66 69 6e 65 64 0a 23 20 69 6e  are defined.# in
0080: 20 66 6f 73 73 69 6c 2e 20 20 45 61 63 68 20 72   fossil.  Each r
0090: 65 70 6f 73 69 74 6f 72 79 20 63 61 6e 20 64 65  epository can de
00a0: 66 69 6e 65 20 69 74 73 20 6f 77 6e 20 74 69 63  fine its own tic
00b0: 6b 65 74 20 73 65 74 75 70 0a 23 20 64 69 66 66  ket setup.# diff
00c0: 65 72 65 6e 74 6c 79 2e 20 20 45 61 63 68 20 72  erently.  Each r
00d0: 65 70 6f 73 69 74 6f 72 79 20 68 61 73 20 61 6e  epository has an
00e0: 20 69 6e 73 74 61 6e 63 65 20 6f 66 20 61 20 66   instance of a f
00f0: 69 6c 65 2c 20 6c 69 6b 65 0a 23 20 74 68 69 73  ile, like.# this
0100: 20 6f 6e 65 20 74 68 61 74 20 64 65 66 69 6e 65   one that define
0110: 73 20 68 6f 77 20 74 68 61 74 20 72 65 70 6f 73  s how that repos
0120: 69 74 6f 72 79 20 64 65 61 6c 73 20 77 69 74 68  itory deals with
0130: 20 74 69 63 6b 65 74 73 2e 0a 23 0a 23 20 54 68   tickets..#.# Th
0140: 69 73 20 66 69 6c 65 20 69 73 20 69 6e 20 74 68  is file is in th
0150: 65 20 66 6f 72 6d 20 6f 66 20 61 20 73 63 72 69  e form of a scri
0160: 70 74 20 69 6e 20 61 6e 20 65 78 63 65 65 64 69  pt in an exceedi
0170: 6e 67 6c 79 20 0a 23 20 6d 69 6e 69 6d 61 6c 69  ngly .# minimali
0180: 73 74 20 73 63 72 69 70 74 69 6e 67 20 6c 61 6e  st scripting lan
0190: 67 75 61 67 65 20 63 61 6c 6c 65 64 20 22 73 75  guage called "su
01a0: 62 73 63 72 69 70 74 22 2e 20 20 48 65 72 65 20  bscript".  Here 
01b0: 61 72 65 0a 23 20 74 68 65 20 72 75 6c 65 73 3a  are.# the rules:
01c0: 0a 23 0a 23 20 53 59 4e 54 41 58 0a 23 0a 23 20  .#.# SYNTAX.#.# 
01d0: 20 20 20 20 2a 20 20 54 68 65 20 73 63 72 69 70      *  The scrip
01e0: 74 20 63 6f 6e 73 69 73 74 73 20 6f 66 20 61 20  t consists of a 
01f0: 73 65 71 75 65 6e 63 65 20 6f 66 20 77 68 69 74  sequence of whit
0200: 65 73 70 61 63 65 0a 23 20 20 20 20 20 20 20 20  espace.#        
0210: 73 65 70 61 72 61 74 65 64 20 74 6f 6b 65 6e 73  separated tokens
0220: 2e 20 20 57 68 69 74 65 73 70 61 63 65 20 69 73  .  Whitespace is
0230: 20 69 67 6e 6f 72 65 64 2c 20 65 78 63 65 70 74   ignored, except
0240: 0a 23 20 20 20 20 20 20 20 20 61 73 20 69 74 73  .#        as its
0250: 20 72 6f 6c 65 20 61 73 20 61 20 74 6f 6b 65 6e   role as a token
0260: 20 73 65 70 61 72 61 74 6f 72 2e 0a 23 0a 23 20   separator..#.# 
0270: 20 20 20 20 2a 20 20 4c 69 6e 65 73 20 74 68 61      *  Lines tha
0280: 74 20 62 65 67 69 6e 20 77 69 74 68 20 27 23 27  t begin with '#'
0290: 20 61 72 65 20 63 6f 6e 73 69 64 65 72 65 64 20   are considered 
02a0: 74 6f 20 62 65 20 77 68 69 74 65 73 70 61 63 65  to be whitespace
02b0: 2e 0a 23 0a 23 20 20 20 20 20 2a 20 20 54 65 78  ..#.#     *  Tex
02c0: 74 20 77 69 74 68 69 6e 20 6d 61 74 63 68 69 6e  t within matchin
02d0: 67 20 7b 2e 2e 2e 7d 20 69 73 20 63 6f 6e 73 69  g {...} is consi
02e0: 64 65 72 20 74 6f 20 62 65 20 61 20 73 69 6e 67  der to be a sing
02f0: 6c 65 20 22 73 74 72 69 6e 67 22 0a 23 20 20 20  le "string".#   
0300: 20 20 20 20 20 74 6f 6b 65 6e 2c 20 65 76 65 6e       token, even
0310: 20 69 66 20 74 68 65 20 74 65 78 74 20 73 70 61   if the text spa
0320: 6e 73 20 6d 75 6c 74 69 70 6c 65 20 6c 69 6e 65  ns multiple line
0330: 73 20 61 6e 64 20 69 6e 63 6c 75 64 65 73 0a 23  s and includes.#
0340: 20 20 20 20 20 20 20 20 65 6d 62 65 64 64 65 64          embedded
0350: 20 77 68 69 74 65 73 70 61 63 65 2e 20 20 54 68   whitespace.  Th
0360: 65 20 6f 75 74 65 72 6d 6f 73 74 20 7b 2e 2e 2e  e outermost {...
0370: 7d 20 61 72 65 20 6e 6f 74 20 70 61 72 74 20 6f  } are not part o
0380: 66 0a 23 20 20 20 20 20 20 20 20 74 68 65 20 74  f.#        the t
0390: 65 78 74 20 6f 66 20 74 68 65 20 74 6f 6b 65 6e  ext of the token
03a0: 2e 0a 23 0a 23 20 20 20 20 20 2a 20 20 41 20 74  ..#.#     *  A t
03b0: 6f 6b 65 6e 20 74 68 61 74 20 62 65 67 69 6e 73  oken that begins
03c0: 20 77 69 74 68 20 22 2f 22 20 69 73 20 61 20 73   with "/" is a s
03d0: 74 72 69 6e 67 20 74 6f 6b 65 6e 2e 0a 23 0a 23  tring token..#.#
03e0: 20 20 20 20 20 2a 20 20 41 20 74 6f 6b 65 6e 20       *  A token 
03f0: 74 68 61 74 20 6c 6f 6f 6b 73 20 6c 69 6b 65 20  that looks like 
0400: 61 20 6e 75 6d 62 65 72 20 69 73 20 61 20 73 74  a number is a st
0410: 72 69 6e 67 20 74 6f 6b 65 6e 2e 0a 23 0a 23 20  ring token..#.# 
0420: 20 20 20 20 2a 20 20 54 6f 6b 65 6e 73 20 74 68      *  Tokens th
0430: 61 74 20 64 6f 20 6e 6f 74 20 66 61 6c 6c 20 75  at do not fall u
0440: 6e 64 65 72 20 74 68 65 20 70 72 65 76 69 6f 75  nder the previou
0450: 73 20 74 68 72 65 65 20 72 75 6c 65 73 0a 23 20  s three rules.# 
0460: 20 20 20 20 20 20 20 61 72 65 20 22 76 65 72 62         are "verb
0470: 22 20 74 6f 6b 65 6e 73 2e 0a 23 0a 23 20 20 50  " tokens..#.#  P
0480: 52 4f 43 45 53 53 49 4e 47 3a 0a 23 0a 23 20 20  ROCESSING:.#.#  
0490: 20 20 20 2a 20 20 57 68 65 6e 20 61 20 73 63 72     *  When a scr
04a0: 69 70 74 20 69 73 20 70 72 6f 63 65 73 73 65 64  ipt is processed
04b0: 2c 20 74 68 65 20 65 6e 67 69 6e 65 20 72 65 61  , the engine rea
04c0: 64 73 20 74 6f 6b 65 6e 73 0a 23 20 20 20 20 20  ds tokens.#     
04d0: 20 20 20 6f 6e 65 20 62 79 20 6f 6e 65 2e 0a 23     one by one..#
04e0: 0a 23 20 20 20 20 20 2a 20 20 53 74 72 69 6e 67  .#     *  String
04f0: 20 74 6f 6b 65 6e 73 20 61 72 65 20 70 75 73 68   tokens are push
0500: 65 64 20 6f 6e 74 6f 20 74 68 65 20 73 74 61 63  ed onto the stac
0510: 6b 2e 0a 23 0a 23 20 20 20 20 20 2a 20 20 56 65  k..#.#     *  Ve
0520: 72 62 20 74 6f 6b 65 6e 73 20 77 68 69 63 68 20  rb tokens which 
0530: 63 6f 72 72 65 73 70 6f 6e 64 20 74 6f 20 74 68  correspond to th
0540: 65 20 6e 61 6d 65 73 20 6f 66 20 76 61 72 69 61  e names of varia
0550: 62 6c 65 73 0a 23 20 20 20 20 20 20 20 20 63 61  bles.#        ca
0560: 75 73 65 20 74 68 65 20 63 6f 72 72 65 73 70 6f  use the correspo
0570: 6e 64 69 6e 67 20 76 61 72 69 61 62 6c 65 20 74  nding variable t
0580: 6f 20 62 65 20 70 75 73 68 65 64 20 6f 6e 74 6f  o be pushed onto
0590: 20 74 68 65 0a 23 20 20 20 20 20 20 20 20 73 74   the.#        st
05a0: 61 63 6b 2e 0a 23 0a 23 20 20 20 20 20 2a 20 20  ack..#.#     *  
05b0: 56 65 72 62 20 74 6f 6b 65 6e 73 20 77 68 69 63  Verb tokens whic
05c0: 68 20 63 6f 72 72 65 73 70 6f 6e 64 20 74 6f 20  h correspond to 
05d0: 70 72 6f 63 65 64 75 72 65 73 20 63 61 75 73 65  procedures cause
05e0: 20 74 68 65 0a 23 20 20 20 20 20 20 20 20 70 72   the.#        pr
05f0: 6f 63 65 64 75 72 65 73 20 74 6f 20 72 75 6e 2e  ocedures to run.
0600: 20 20 54 68 65 20 70 72 6f 63 65 64 75 72 65 73    The procedures
0610: 20 6d 69 67 68 74 20 70 75 73 68 20 6f 72 20 70   might push or p
0620: 75 6c 6c 20 0a 23 20 20 20 20 20 20 20 20 76 61  ull .#        va
0630: 6c 75 65 73 20 66 72 6f 6d 20 74 68 65 20 73 74  lues from the st
0640: 61 63 6b 2e 0a 23 0a 23 20 54 68 65 72 65 20 61  ack..#.# There a
0650: 72 65 20 6a 75 73 74 20 61 20 68 61 6e 64 66 75  re just a handfu
0660: 6c 20 6f 66 20 76 65 72 62 73 2e 20 20 46 6f 72  l of verbs.  For
0670: 20 74 68 65 20 70 75 72 70 6f 73 65 73 20 6f 66   the purposes of
0680: 20 74 68 69 73 0a 23 20 63 6f 6e 66 69 67 75 72   this.# configur
0690: 61 74 69 6f 6e 20 73 63 72 69 70 74 2c 20 74 68  ation script, th
06a0: 65 72 65 20 69 73 20 6f 6e 6c 79 20 61 20 73 69  ere is only a si
06b0: 6e 67 6c 65 20 76 65 72 62 3a 20 22 73 65 74 22  ngle verb: "set"
06c0: 2e 20 20 54 68 65 0a 23 20 22 73 65 74 22 20 76  .  The.# "set" v
06d0: 65 72 62 20 70 6f 70 73 20 74 77 6f 20 61 72 67  erb pops two arg
06e0: 75 6d 65 6e 74 73 20 66 72 6f 6d 20 74 68 65 20  uments from the 
06f0: 73 74 61 63 6b 2e 20 20 54 68 65 20 74 6f 70 6d  stack.  The topm
0700: 6f 73 74 20 69 73 0a 23 20 74 68 65 20 6e 61 6d  ost is.# the nam
0710: 65 20 6f 66 20 61 20 76 61 72 69 61 62 6c 65 2e  e of a variable.
0720: 20 20 54 68 65 20 73 65 63 6f 6e 64 20 65 6c 65    The second ele
0730: 6d 65 6e 74 20 69 73 20 74 68 65 20 76 61 6c 75  ment is the valu
0740: 65 2e 20 20 54 68 65 0a 23 20 22 73 65 74 22 20  e.  The.# "set" 
0750: 76 65 72 62 20 73 65 74 73 20 74 68 65 20 76 61  verb sets the va
0760: 6c 75 65 20 6f 66 20 74 68 65 20 6e 61 6d 65 64  lue of the named
0770: 20 76 61 72 69 61 62 6c 65 2e 0a 23 0a 23 20 20   variable..#.#  
0780: 20 20 20 20 56 41 4c 55 45 20 4e 41 4d 45 20 73      VALUE NAME s
0790: 65 74 0a 23 0a 23 20 54 68 69 73 20 63 6f 6e 66  et.#.# This conf
07a0: 69 67 75 72 61 74 69 6f 6e 20 66 69 6c 65 20 6a  iguration file j
07b0: 75 73 74 20 73 65 74 73 20 74 68 65 20 76 61 6c  ust sets the val
07c0: 75 65 73 20 6f 66 20 76 61 72 69 6f 75 73 20 76  ues of various v
07d0: 61 72 69 61 62 6c 65 73 2e 0a 23 20 53 6f 6d 65  ariables..# Some
07e0: 20 6f 66 20 74 68 65 20 76 61 72 69 61 62 6c 65   of the variable
07f0: 73 20 68 61 76 65 20 73 70 65 63 69 61 6c 20 6d  s have special m
0800: 65 61 6e 69 6e 67 73 2e 20 20 54 68 65 20 63 6f  eanings.  The co
0810: 6e 74 65 6e 74 20 6f 66 20 73 6f 6d 65 0a 23 20  ntent of some.# 
0820: 6f 66 20 74 68 65 20 76 61 72 69 61 62 6c 65 73  of the variables
0830: 20 61 72 65 20 61 64 64 69 74 69 6f 6e 61 6c 20   are additional 
0840: 73 75 62 73 63 72 69 70 74 20 73 63 72 69 70 74  subscript script
0850: 73 2e 0a 23 0a 23 23 23 23 23 23 23 23 23 23 23  s..#.###########
0860: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
0870: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
0880: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
0890: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
08a0: 23 0a 23 0a 23 20 45 76 65 72 79 20 74 69 63 6b  #.#.# Every tick
08b0: 65 74 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e  et configuration
08c0: 20 66 69 6c 65 20 73 68 6f 75 6c 64 20 68 61 76   file should hav
08d0: 65 20 61 20 74 69 74 6c 65 2e 20 20 57 68 65 6e  e a title.  When
08e0: 20 79 6f 75 0a 23 20 63 6f 6d 65 20 75 70 20 77   you.# come up w
08f0: 69 74 68 20 61 20 6e 65 77 20 74 69 63 6b 65 74  ith a new ticket
0900: 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 2c 20   configuration, 
0910: 70 6c 65 61 73 65 20 63 68 61 6e 67 65 20 74 68  please change th
0920: 65 20 74 69 74 6c 65 0a 23 20 74 6f 20 73 6f 6d  e title.# to som
0930: 65 74 68 69 6e 67 20 64 65 73 63 72 69 70 74 69  ething descripti
0940: 76 65 2e 0a 23 0a 7b 44 65 66 61 75 6c 74 20 54  ve..#.{Default T
0950: 69 63 6b 65 74 20 43 6f 6e 66 69 67 75 72 61 74  icket Configurat
0960: 69 6f 6e 7d 20 2f 74 69 63 6b 65 74 5f 63 6f 6e  ion} /ticket_con
0970: 66 69 67 5f 74 69 74 6c 65 20 73 65 74 0a 0a 23  fig_title set..#
0980: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
0990: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
09a0: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
09b0: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
09c0: 23 23 23 23 23 23 23 23 23 23 23 0a 23 20 45 76  ###########.# Ev
09d0: 65 72 79 20 74 69 63 6b 65 74 20 63 6f 6e 66 69  ery ticket confi
09e0: 67 75 72 61 74 69 6f 6e 20 2a 6d 75 73 74 2a 20  guration *must* 
09f0: 64 65 66 69 6e 65 20 61 20 73 65 74 20 6f 66 20  define a set of 
0a00: 63 6f 6c 75 6d 6e 73 20 66 6f 72 20 74 68 65 0a  columns for the.
0a10: 23 20 22 74 69 63 6b 65 74 22 20 74 61 62 6c 65  # "ticket" table
0a20: 20 6f 66 20 74 68 65 20 64 61 74 61 62 61 73 65   of the database
0a30: 2e 20 20 54 68 65 73 65 20 63 6f 6c 75 6d 6e 20  .  These column 
0a40: 6e 61 6d 65 73 20 77 69 6c 6c 20 61 6c 73 6f 20  names will also 
0a50: 62 65 0a 23 20 75 73 65 64 20 61 73 20 43 47 49  be.# used as CGI
0a60: 20 70 61 72 61 6d 65 74 65 72 20 6e 61 6d 65 73   parameter names
0a70: 2c 20 73 6f 20 74 6f 20 61 76 6f 69 64 20 70 72  , so to avoid pr
0a80: 6f 62 6c 65 6d 73 20 69 74 20 69 73 20 62 65 73  oblems it is bes
0a90: 74 20 74 68 61 74 0a 23 20 74 68 65 20 6e 61 6d  t that.# the nam
0aa0: 65 73 20 62 65 20 61 6c 6c 20 6c 6f 77 65 72 2d  es be all lower-
0ab0: 63 61 73 65 20 61 6c 70 68 61 62 65 74 69 63 20  case alphabetic 
0ac0: 63 68 61 72 61 63 74 65 72 73 2e 20 20 54 68 65  characters.  The
0ad0: 20 6e 61 6d 65 73 20 6d 75 73 74 0a 23 20 62 65   names must.# be
0ae0: 20 75 6e 69 71 75 65 20 61 6e 64 20 6d 75 73 74   unique and must
0af0: 20 6e 6f 74 20 62 65 67 69 6e 20 77 69 74 68 20   not begin with 
0b00: 22 74 6b 74 5f 22 2e 0a 23 0a 7b 0a 20 20 20 74  "tkt_"..#.{.   t
0b10: 79 70 65 0a 20 20 20 73 74 61 74 75 73 0a 20 20  ype.   status.  
0b20: 20 73 75 62 73 79 73 74 65 6d 0a 20 20 20 70 72   subsystem.   pr
0b30: 69 6f 72 69 74 79 0a 20 20 20 73 65 76 65 72 69  iority.   severi
0b40: 74 79 0a 20 20 20 63 6f 6e 74 61 63 74 0a 20 20  ty.   contact.  
0b50: 20 74 69 74 6c 65 0a 20 20 20 63 6f 6d 6d 65 6e   title.   commen
0b60: 74 0a 7d 20 2f 74 69 63 6b 65 74 5f 66 69 65 6c  t.} /ticket_fiel
0b70: 64 73 0a 7b 0a 20 20 20 43 52 45 41 54 45 20 54  ds.{.   CREATE T
0b80: 41 42 4c 45 20 74 69 63 6b 65 74 28 0a 20 20 20  ABLE ticket(.   
0b90: 20 20 2d 2d 20 44 6f 20 6e 6f 74 20 63 68 61 6e    -- Do not chan
0ba0: 67 65 20 61 6e 79 20 63 6f 6c 75 6d 6e 20 74 68  ge any column th
0bb0: 61 74 20 62 65 67 69 6e 73 20 77 69 74 68 20 74  at begins with t
0bc0: 6b 74 5f 0a 20 20 20 20 20 74 6b 74 5f 69 64 20  kt_.     tkt_id 
0bd0: 49 4e 54 45 47 45 52 20 50 52 49 4d 41 52 59 20  INTEGER PRIMARY 
0be0: 4b 45 59 2c 0a 20 20 20 20 20 74 6b 74 5f 75 75  KEY,.     tkt_uu
0bf0: 69 64 20 54 45 58 54 20 55 4e 49 51 55 45 2c 0a  id TEXT UNIQUE,.
0c00: 20 20 20 20 20 74 6b 74 5f 6d 74 69 6d 65 20 44       tkt_mtime D
0c10: 41 54 45 2c 0a 20 20 20 20 20 74 6b 74 5f 76 61  ATE,.     tkt_va
0c20: 6c 69 64 20 42 4f 4f 4c 45 41 4e 2c 0a 20 20 20  lid BOOLEAN,.   
0c30: 20 20 2d 2d 20 41 64 64 20 61 73 20 6d 61 6e 79    -- Add as many
0c40: 20 66 69 65 6c 64 20 61 73 20 72 65 71 75 69 72   field as requir
0c50: 65 64 20 62 65 6c 6f 77 20 74 68 69 73 20 6c 69  ed below this li
0c60: 6e 65 0a 20 20 20 20 20 74 79 70 65 20 54 45 58  ne.     type TEX
0c70: 54 2c 0a 20 20 20 20 20 73 74 61 74 75 73 20 54  T,.     status T
0c80: 45 58 54 2c 0a 20 20 20 20 20 73 75 62 73 79 73  EXT,.     subsys
0c90: 74 65 6d 20 54 45 58 54 2c 0a 20 20 20 20 20 70  tem TEXT,.     p
0ca0: 72 69 6f 72 69 74 79 20 54 45 58 54 2c 0a 20 20  riority TEXT,.  
0cb0: 20 20 20 73 65 76 65 72 69 74 79 20 54 45 58 54     severity TEXT
0cc0: 2c 0a 20 20 20 20 20 74 69 74 6c 65 20 54 45 58  ,.     title TEX
0cd0: 54 2c 0a 20 20 20 20 20 63 6f 6d 6d 65 6e 74 20  T,.     comment 
0ce0: 54 45 58 54 0a 20 20 20 29 3b 0a 20 20 20 2d 2d  TEXT.   );.   --
0cf0: 20 41 64 64 20 69 6e 64 69 63 65 73 20 61 73 20   Add indices as 
0d00: 64 65 73 69 72 65 64 0a 7d 20 2f 74 69 63 6b 65  desired.} /ticke
0d10: 74 5f 73 71 6c 20 73 65 74 0a 0a 23 23 23 23 23  t_sql set..#####
0d20: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
0d30: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
0d40: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
0d50: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
0d60: 23 23 23 23 23 23 23 23 0a 23 20 59 6f 75 20 63  ########.# You c
0d70: 61 6e 20 64 65 66 69 6e 65 20 61 64 64 69 74 69  an define additi
0d80: 6f 6e 61 6c 20 76 61 72 69 61 62 6c 65 73 20 68  onal variables h
0d90: 65 72 65 2e 20 20 54 68 65 73 65 20 76 61 72 69  ere.  These vari
0da0: 61 62 6c 65 73 20 77 69 6c 6c 20 62 65 0a 23 20  ables will be.# 
0db0: 61 63 63 65 73 73 69 62 6c 65 20 74 6f 20 74 68  accessible to th
0dc0: 65 20 70 61 67 65 20 74 65 6d 70 6c 61 74 65 73  e page templates
0dd0: 20 77 68 65 6e 20 74 68 65 79 20 72 75 6e 2e 0a   when they run..
0de0: 23 0a 7b 43 6f 64 65 20 42 75 69 6c 64 5f 50 72  #.{Code Build_Pr
0df0: 6f 62 6c 65 6d 20 44 6f 63 75 6d 65 6e 74 61 74  oblem Documentat
0e00: 69 6f 6e 20 46 65 61 74 75 72 65 5f 52 65 71 75  ion Feature_Requ
0e10: 65 73 74 20 49 6e 63 69 64 65 6e 74 7d 20 2f 74  est Incident} /t
0e20: 79 70 65 5f 63 68 6f 69 63 65 73 20 73 65 74 0a  ype_choices set.
0e30: 7b 48 69 67 68 20 4d 65 64 69 75 6d 20 4c 6f 77  {High Medium Low
0e40: 7d 20 2f 70 72 69 6f 72 69 74 79 5f 63 68 6f 69  } /priority_choi
0e50: 63 65 73 20 73 65 74 0a 7b 43 72 69 74 69 63 61  ces set.{Critica
0e60: 6c 20 53 65 76 65 72 65 20 49 6d 70 6f 72 74 61  l Severe Importa
0e70: 6e 74 20 4d 69 6e 6f 72 20 43 6f 73 6d 65 74 69  nt Minor Cosmeti
0e80: 63 7d 20 2f 73 65 76 65 72 69 74 79 5f 63 68 6f  c} /severity_cho
0e90: 69 63 65 73 20 73 65 74 0a 7b 0a 20 20 4f 70 65  ices set.{.  Ope
0ea0: 6e 0a 20 20 46 69 78 65 64 0a 20 20 52 65 6a 65  n.  Fixed.  Reje
0eb0: 63 74 65 64 0a 20 20 55 6e 61 62 6c 65 5f 54 6f  cted.  Unable_To
0ec0: 5f 52 65 70 72 6f 64 75 63 65 0a 20 20 57 6f 72  _Reproduce.  Wor
0ed0: 6b 73 5f 41 73 5f 44 65 73 69 67 6e 65 64 0a 20  ks_As_Designed. 
0ee0: 20 45 78 74 65 72 6e 61 6c 5f 42 75 67 0a 20 20   External_Bug.  
0ef0: 4e 6f 74 5f 41 5f 42 75 67 0a 20 20 44 75 70 6c  Not_A_Bug.  Dupl
0f00: 69 63 61 74 65 0a 20 20 4f 76 65 72 63 6f 6d 65  icate.  Overcome
0f10: 5f 42 79 5f 45 76 65 6e 74 73 0a 20 20 44 72 69  _By_Events.  Dri
0f20: 76 65 5f 42 79 5f 50 61 74 63 68 0a 7d 20 2f 72  ve_By_Patch.} /r
0f30: 65 73 6f 6c 75 74 69 6f 6e 5f 63 68 6f 69 63 65  esolution_choice
0f40: 73 20 73 65 74 0a 7b 0a 20 20 4f 70 65 6e 0a 20  s set.{.  Open. 
0f50: 20 56 65 72 69 66 69 65 64 0a 20 20 49 6e 5f 50   Verified.  In_P
0f60: 72 6f 63 65 73 73 0a 20 20 44 65 66 65 72 72 65  rocess.  Deferre
0f70: 64 0a 20 20 46 69 78 65 64 0a 20 20 54 65 73 74  d.  Fixed.  Test
0f80: 65 64 0a 20 20 43 6c 6f 73 65 64 0a 7d 20 2f 73  ed.  Closed.} /s
0f90: 74 61 74 75 73 5f 63 68 6f 69 63 65 73 20 73 65  tatus_choices se
0fa0: 74 0a 0a 23 23 23 23 23 23 23 23 23 23 23 23 23  t..#############
0fb0: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
0fc0: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
0fd0: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
0fe0: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 0a  ###############.
0ff0: 23 20 54 68 65 20 22 74 6b 74 6e 65 77 5f 74 65  # The "tktnew_te
1000: 6d 70 6c 61 74 65 22 20 76 61 72 69 61 62 6c 65  mplate" variable
1010: 20 69 73 20 73 65 74 20 74 6f 20 74 65 78 74 20   is set to text 
1020: 77 68 69 63 68 20 69 73 20 61 20 74 65 6d 70 6c  which is a templ
1030: 61 74 65 20 66 6f 72 0a 23 20 74 68 65 20 48 54  ate for.# the HT
1040: 4d 4c 20 6f 66 20 74 68 65 20 22 4e 65 77 20 54  ML of the "New T
1050: 69 63 6b 65 74 22 20 70 61 67 65 2e 20 20 57 69  icket" page.  Wi
1060: 74 68 69 6e 20 74 68 69 73 20 74 65 6d 70 6c 61  thin this templa
1070: 74 65 2c 20 74 65 78 74 20 63 6f 6e 74 61 69 6e  te, text contain
1080: 65 64 0a 23 20 77 69 74 68 69 6e 20 5b 2e 2e 2e  ed.# within [...
1090: 5d 20 69 73 20 73 75 62 73 63 72 69 70 74 2e 20  ] is subscript. 
10a0: 20 54 68 61 74 20 73 75 62 73 63 72 69 70 74 20   That subscript 
10b0: 72 75 6e 73 20 77 68 65 6e 20 74 68 65 20 70 61  runs when the pa
10c0: 67 65 20 69 73 0a 23 20 72 65 6e 64 65 72 65 64  ge is.# rendered
10d0: 2e 0a 23 0a 7b 0a 20 20 3c 21 2d 2d 20 6c 6f 61  ..#.{.  <!-- loa
10e0: 64 20 64 61 74 61 62 61 73 65 20 66 69 65 6c 64  d database field
10f0: 20 6e 61 6d 65 73 20 6e 6f 74 20 66 6f 75 6e 64   names not found
1100: 20 69 6e 20 43 47 49 20 77 69 74 68 20 61 6e 20   in CGI with an 
1110: 65 6d 70 74 79 20 73 74 72 69 6e 67 20 2d 2d 3e  empty string -->
1120: 0a 20 20 3c 21 2d 2d 20 73 74 61 72 74 20 61 20  .  <!-- start a 
1130: 66 6f 72 6d 20 2d 2d 3e 0a 20 20 5b 7b 4f 70 65  form -->.  [{Ope
1140: 6e 7d 20 2f 73 74 61 74 75 73 20 73 65 74 20 2f  n} /status set /
1150: 73 75 62 6d 69 74 20 73 75 62 6d 69 74 5f 6e 65  submit submit_ne
1160: 77 5f 74 69 63 6b 65 74 5d 0a 20 20 3c 74 61 62  w_ticket].  <tab
1170: 6c 65 20 63 65 6c 6c 70 61 64 64 69 6e 67 3d 22  le cellpadding="
1180: 35 22 3e 0a 20 20 3c 74 72 3e 0a 20 20 3c 74 64  5">.  <tr>.  <td
1190: 20 63 65 6c 6c 70 61 64 64 69 6e 67 3d 22 32 22   cellpadding="2"
11a0: 3e 0a 20 20 45 6e 74 65 72 20 61 20 6f 6e 65 2d  >.  Enter a one-
11b0: 6c 69 6e 65 20 73 75 6d 6d 61 72 79 20 6f 66 20  line summary of 
11c0: 74 68 65 20 70 72 6f 62 6c 65 6d 3a 3c 62 72 3e  the problem:<br>
11d0: 0a 20 20 3c 69 6e 70 75 74 20 74 79 70 65 3d 22  .  <input type="
11e0: 74 65 78 74 22 20 6e 61 6d 65 3d 22 74 69 74 6c  text" name="titl
11f0: 65 22 20 73 69 7a 65 3d 22 36 30 22 20 76 61 6c  e" size="60" val
1200: 75 65 3d 22 5b 74 69 74 6c 65 20 68 74 6d 6c 5d  ue="[title html]
1210: 22 3e 0a 20 20 3c 2f 74 64 3e 0a 20 20 3c 2f 74  ">.  </td>.  </t
1220: 72 3e 0a 20 20 0a 20 20 3c 74 72 3e 0a 20 20 3c  r>.  .  <tr>.  <
1230: 74 64 20 61 6c 69 67 6e 3d 22 72 69 67 68 74 22  td align="right"
1240: 3e 54 79 70 65 3a 0a 20 20 5b 2f 74 79 70 65 20  >Type:.  [/type 
1250: 74 79 70 65 63 68 6f 69 63 65 73 20 32 30 20 63  typechoices 20 c
1260: 6f 6d 62 6f 62 6f 78 5d 0a 20 20 3c 2f 74 64 3e  ombobox].  </td>
1270: 0a 20 20 3c 74 64 3e 57 68 61 74 20 74 79 70 65  .  <td>What type
1280: 20 6f 66 20 74 69 63 6b 65 74 20 69 73 20 74 68   of ticket is th
1290: 69 73 3f 3c 2f 74 64 3e 0a 20 20 3c 2f 74 72 3e  is?</td>.  </tr>
12a0: 0a 20 20 0a 20 20 3c 74 72 3e 0a 20 20 3c 74 64  .  .  <tr>.  <td
12b0: 20 61 6c 69 67 6e 3d 22 72 69 67 68 74 22 3e 56   align="right">V
12c0: 65 72 73 69 6f 6e 3a 20 0a 20 20 3c 69 6e 70 75  ersion: .  <inpu
12d0: 74 20 74 79 70 65 3d 22 74 65 78 74 22 20 6e 61  t type="text" na
12e0: 6d 65 3d 22 66 6f 75 6e 64 69 6e 22 20 73 69 7a  me="foundin" siz
12f0: 65 3d 22 32 30 22 20 76 61 6c 75 65 3d 22 5b 66  e="20" value="[f
1300: 6f 75 6e 64 69 6e 20 68 74 6d 6c 5d 22 3e 0a 20  oundin html]">. 
1310: 20 3c 2f 74 64 3e 0a 20 20 3c 74 64 3e 49 6e 20   </td>.  <td>In 
1320: 77 68 61 74 20 76 65 72 73 69 6f 6e 20 6f 72 20  what version or 
1330: 62 75 69 6c 64 20 6e 75 6d 62 65 72 20 64 6f 20  build number do 
1340: 79 6f 75 20 6f 62 73 65 72 76 65 72 20 74 68 65  you observer the
1350: 20 70 72 6f 62 6c 65 6d 3f 3c 2f 74 64 3e 0a 20   problem?</td>. 
1360: 20 3c 2f 74 72 3e 0a 20 20 0a 20 20 3c 74 72 3e   </tr>.  .  <tr>
1370: 0a 20 20 3c 74 64 20 61 6c 69 67 6e 3d 22 72 69  .  <td align="ri
1380: 67 68 74 22 3e 53 65 76 65 72 69 74 79 3a 0a 20  ght">Severity:. 
1390: 20 5b 2f 73 65 76 65 72 69 74 79 20 7b 48 69 67   [/severity {Hig
13a0: 68 20 4d 65 64 69 75 6d 20 4c 6f 77 7d 20 38 20  h Medium Low} 8 
13b0: 63 6f 6d 62 6f 62 6f 78 5d 0a 20 20 3c 2f 74 64  combobox].  </td
13c0: 3e 0a 20 20 3c 74 64 3e 48 6f 77 20 64 65 62 69  >.  <td>How debi
13d0: 6c 69 74 61 74 69 6e 67 20 69 73 20 74 68 65 20  litating is the 
13e0: 70 72 6f 62 6c 65 6d 3f 20 20 48 6f 77 20 62 61  problem?  How ba
13f0: 64 6c 79 20 64 6f 65 73 20 74 68 65 20 70 72 6f  dly does the pro
1400: 62 6c 65 6d 0a 20 20 65 66 66 65 63 74 20 74 68  blem.  effect th
1410: 65 20 6f 70 65 72 61 74 69 6f 6e 20 6f 66 20 74  e operation of t
1420: 68 65 20 70 72 6f 64 75 63 74 3f 3c 2f 74 64 3e  he product?</td>
1430: 0a 20 20 3c 2f 74 72 3e 0a 20 20 0a 20 20 3c 74  .  </tr>.  .  <t
1440: 72 3e 0a 20 20 3c 74 64 20 63 6f 6c 73 70 61 6e  r>.  <td colspan
1450: 3d 22 32 22 3e 0a 20 20 45 6e 74 65 72 20 61 20  ="2">.  Enter a 
1460: 64 65 74 61 69 6c 65 64 20 64 65 73 63 72 69 70  detailed descrip
1470: 74 69 6f 6e 20 6f 66 20 74 68 65 20 70 72 6f 62  tion of the prob
1480: 6c 65 6d 2e 0a 20 20 46 6f 72 20 63 6f 64 65 20  lem..  For code 
1490: 64 65 66 65 63 74 73 2c 20 62 65 20 73 75 72 65  defects, be sure
14a0: 20 74 6f 20 70 72 6f 76 69 64 65 20 64 65 74 61   to provide deta
14b0: 69 6c 73 20 6f 6e 20 65 78 61 63 74 6c 79 20 68  ils on exactly h
14c0: 6f 77 0a 20 20 74 68 65 20 70 72 6f 62 6c 65 6d  ow.  the problem
14d0: 20 63 61 6e 20 62 65 20 72 65 70 72 6f 64 75 63   can be reproduc
14e0: 65 64 2e 20 20 50 72 6f 76 69 64 65 20 61 73 20  ed.  Provide as 
14f0: 6d 75 63 68 20 64 65 74 61 69 6c 20 61 73 0a 20  much detail as. 
1500: 20 70 6f 73 73 69 62 6c 65 2e 0a 20 20 3c 62 72   possible..  <br
1510: 3e 0a 20 20 3c 74 65 78 74 61 72 65 61 20 6e 61  >.  <textarea na
1520: 6d 65 3d 22 63 6f 6d 6d 65 6e 74 22 20 63 6f 6c  me="comment" col
1530: 73 3d 22 38 30 22 20 72 6f 77 73 3d 22 5b 63 6f  s="80" rows="[co
1540: 6d 6d 65 6e 74 20 6c 69 6e 65 63 6f 75 6e 74 20  mment linecount 
1550: 35 30 20 6d 61 78 20 31 30 20 6d 69 6e 5d 22 0a  50 max 10 min]".
1560: 20 20 20 77 72 61 70 3d 22 76 69 72 74 75 61 6c     wrap="virtual
1570: 22 20 63 6c 61 73 73 3d 22 77 69 6b 69 65 64 69  " class="wikiedi
1580: 74 22 3e 5b 63 6f 6d 6d 65 6e 74 20 68 74 6d 6c  t">[comment html
1590: 5d 3c 2f 74 65 78 74 61 72 65 61 3e 3c 62 72 3e  ]</textarea><br>
15a0: 0a 20 20 3c 62 72 3e 0a 20 20 3c 69 6e 70 75 74  .  <br>.  <input
15b0: 20 74 79 70 65 3d 22 73 75 62 6d 69 74 22 20 6e   type="submit" n
15c0: 61 6d 65 3d 22 70 72 65 76 69 65 77 22 20 76 61  ame="preview" va
15d0: 6c 75 65 3d 22 50 72 65 76 69 65 77 22 3e 0a 20  lue="Preview">. 
15e0: 20 3c 2f 74 72 3e 0a 0a 20 20 5b 30 20 2f 70 72   </tr>..  [0 /pr
15f0: 65 76 69 65 77 20 67 65 74 20 65 6e 61 62 6c 65  eview get enable
1600: 5f 6f 75 74 70 75 74 5d 0a 20 20 3c 74 72 3e 3c  _output].  <tr><
1610: 74 64 20 63 6f 6c 73 70 61 6e 3d 22 32 22 3e 0a  td colspan="2">.
1620: 20 20 44 65 73 63 72 69 70 74 69 6f 6e 20 50 72    Description Pr
1630: 65 76 69 65 77 3a 3c 62 72 3e 3c 68 72 3e 0a 20  eview:<br><hr>. 
1640: 20 5b 2f 63 6f 6d 6d 65 6e 74 20 68 74 6d 6c 5d   [/comment html]
1650: 0a 20 20 3c 68 72 3e 0a 20 20 3c 2f 74 64 3e 3c  .  <hr>.  </td><
1660: 2f 74 72 3e 0a 20 20 5b 31 20 65 6e 61 62 6c 65  /tr>.  [1 enable
1670: 5f 6f 75 74 70 75 74 5d 0a 20 20 0a 20 20 3c 74  _output].  .  <t
1680: 72 3e 0a 20 20 3c 74 64 20 61 6c 69 67 6e 3d 22  r>.  <td align="
1690: 72 69 67 68 74 22 3e 0a 20 20 3c 69 6e 70 75 74  right">.  <input
16a0: 20 74 79 70 65 3d 22 73 75 62 6d 69 74 22 20 6e   type="submit" n
16b0: 61 6d 65 3d 22 73 75 62 6d 69 74 22 20 76 61 6c  ame="submit" val
16c0: 75 65 3d 22 53 75 62 6d 69 74 22 3e 0a 20 20 3c  ue="Submit">.  <
16d0: 2f 74 64 3e 0a 20 20 3c 74 64 3e 41 66 74 65 72  /td>.  <td>After
16e0: 20 66 69 6c 6c 69 6e 67 20 69 6e 20 74 68 65 20   filling in the 
16f0: 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 61 62 6f 76  information abov
1700: 65 2c 20 70 72 65 73 73 20 74 68 69 73 20 62 75  e, press this bu
1710: 74 74 6f 6e 20 74 6f 20 63 72 65 61 74 65 0a 20  tton to create. 
1720: 20 74 68 65 20 6e 65 77 20 74 69 63 6b 65 74 3c   the new ticket<
1730: 2f 74 64 3e 0a 20 20 3c 2f 74 72 3e 0a 20 20 3c  /td>.  </tr>.  <
1740: 2f 74 61 62 6c 65 3e 0a 20 20 3c 21 2d 2d 20 65  /table>.  <!-- e
1750: 6e 64 20 6f 66 20 66 6f 72 6d 20 2d 2d 3e 0a 7d  nd of form -->.}
1760: 20 2f 74 6b 74 6e 65 77 5f 74 65 6d 70 6c 61 74   /tktnew_templat
1770: 65 20 73 65 74 0a 0a 23 23 23 23 23 23 23 23 23  e set..#########
1780: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
1790: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
17a0: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
17b0: 23 23 23 23 23 23 23 23 23 23 23 23 23 0a 23 20  #############.# 
17c0: 54 68 65 20 74 65 6d 70 6c 61 74 65 20 66 6f 72  The template for
17d0: 20 74 68 65 20 22 65 64 69 74 20 74 69 63 6b 65   the "edit ticke
17e0: 74 22 20 70 61 67 65 0a 7b 0a 20 20 3c 21 2d 2d  t" page.{.  <!--
17f0: 20 64 61 74 61 62 61 73 65 20 66 69 65 6c 64 20   database field 
1800: 6e 61 6d 65 73 20 6e 6f 74 20 66 6f 75 6e 64 20  names not found 
1810: 61 73 20 43 47 49 20 70 61 72 61 6d 65 74 65 72  as CGI parameter
1820: 73 20 61 72 65 20 6c 6f 61 64 65 64 0a 20 20 20  s are loaded.   
1830: 20 20 20 20 66 72 6f 6d 20 74 68 65 20 64 61 74      from the dat
1840: 61 62 61 73 65 20 61 75 74 6f 6d 61 74 69 63 61  abase automatica
1850: 6c 6c 79 20 2d 2d 3e 0a 20 20 3c 21 2d 2d 20 73  lly -->.  <!-- s
1860: 74 61 72 74 20 61 20 66 6f 72 6d 20 2d 2d 3e 0a  tart a form -->.
1870: 20 20 5b 7b 3c 68 72 3e 3c 69 3e 25 55 53 45 52    [{<hr><i>%USER
1880: 25 20 61 64 64 65 64 20 6f 6e 20 25 44 41 54 45  % added on %DATE
1890: 25 3a 3c 2f 69 3e 3c 62 72 3e 7d 0a 20 20 20 20  %:</i><br>}.    
18a0: 2f 63 6d 61 70 70 6e 64 20 2f 63 6f 6d 6d 65 6e  /cmappnd /commen
18b0: 74 20 61 70 70 65 6e 64 5f 72 65 6d 61 72 6b 5d  t append_remark]
18c0: 0a 20 20 5b 2f 73 75 62 6d 69 74 20 73 75 62 6d  .  [/submit subm
18d0: 69 74 5f 74 69 63 6b 65 74 5f 63 68 61 6e 67 65  it_ticket_change
18e0: 5d 0a 20 20 3c 74 61 62 6c 65 20 63 65 6c 6c 70  ].  <table cellp
18f0: 61 64 64 69 6e 67 3d 22 35 22 3e 0a 20 20 3c 74  adding="5">.  <t
1900: 72 3e 3c 74 64 20 61 6c 69 67 6e 3d 22 72 69 67  r><td align="rig
1910: 68 74 22 3e 54 69 74 6c 65 3a 3c 2f 74 64 3e 3c  ht">Title:</td><
1920: 74 64 3e 0a 20 20 3c 69 6e 70 75 74 20 74 79 70  td>.  <input typ
1930: 65 3d 22 74 65 78 74 22 20 6e 61 6d 65 3d 22 74  e="text" name="t
1940: 69 74 6c 65 22 20 76 61 6c 75 65 3d 22 5b 74 69  itle" value="[ti
1950: 74 6c 65 20 68 74 6d 6c 5d 20 73 69 7a 65 3d 36  tle html] size=6
1960: 30 22 3e 0a 20 20 3c 2f 74 64 3e 3c 2f 74 72 3e  0">.  </td></tr>
1970: 0a 20 20 3c 74 72 3e 3c 74 64 20 61 6c 69 67 6e  .  <tr><td align
1980: 3d 22 72 69 67 68 74 22 3e 53 74 61 74 75 73 3a  ="right">Status:
1990: 3c 2f 74 64 3e 3c 74 64 3e 0a 20 20 5b 2f 73 74  </td><td>.  [/st
19a0: 61 74 75 73 20 73 74 61 74 75 73 5f 63 68 6f 69  atus status_choi
19b0: 63 65 73 20 32 30 20 63 6f 6d 62 6f 62 6f 78 5d  ces 20 combobox]
19c0: 0a 20 20 3c 2f 74 64 3e 3c 2f 74 72 3e 0a 20 20  .  </td></tr>.  
19d0: 3c 74 72 3e 3c 74 64 20 61 6c 69 67 6e 3d 22 72  <tr><td align="r
19e0: 69 67 68 74 22 3e 54 79 70 65 3a 3c 2f 74 64 3e  ight">Type:</td>
19f0: 3c 74 64 3e 0a 20 20 5b 2f 74 79 70 65 20 74 79  <td>.  [/type ty
1a00: 70 65 5f 63 68 6f 69 63 65 73 20 32 30 20 63 6f  pe_choices 20 co
1a10: 6d 62 6f 62 6f 78 5d 0a 20 20 3c 2f 74 64 3e 3c  mbobox].  </td><
1a20: 2f 74 72 3e 0a 20 20 3c 74 72 3e 3c 74 64 20 61  /tr>.  <tr><td a
1a30: 6c 69 67 6e 3d 22 72 69 67 68 74 22 3e 53 65 76  lign="right">Sev
1a40: 65 72 69 74 79 3a 3c 2f 74 64 3e 3c 74 64 3e 0a  erity:</td><td>.
1a50: 20 20 5b 2f 73 65 76 65 72 69 74 79 20 7b 48 69    [/severity {Hi
1a60: 67 68 20 4d 65 64 69 75 6d 20 4c 6f 77 7d 20 31  gh Medium Low} 1
1a70: 30 20 63 6f 6d 62 6f 62 6f 78 5d 0a 20 20 3c 2f  0 combobox].  </
1a80: 74 64 3e 3c 2f 74 72 3e 0a 20 20 3c 74 72 3e 3c  td></tr>.  <tr><
1a90: 74 64 20 61 6c 69 67 6e 3d 22 72 69 67 68 74 22  td align="right"
1aa0: 3e 50 72 69 6f 72 69 74 79 3a 3c 2f 74 64 3e 3c  >Priority:</td><
1ab0: 74 64 3e 0a 20 20 5b 2f 70 72 69 6f 72 69 74 79  td>.  [/priority
1ac0: 20 7b 48 69 67 68 20 4d 65 64 69 75 6d 20 4c 6f   {High Medium Lo
1ad0: 77 7d 20 31 30 20 63 6f 6d 62 6f 62 6f 78 5d 0a  w} 10 combobox].
1ae0: 20 20 3c 2f 74 64 3e 3c 2f 74 72 3e 0a 20 20 3c    </td></tr>.  <
1af0: 74 72 3e 3c 74 64 20 61 6c 69 67 6e 3d 22 72 69  tr><td align="ri
1b00: 67 68 74 22 3e 52 65 73 6f 6c 75 74 69 6f 6e 3a  ght">Resolution:
1b10: 3c 2f 74 64 3e 3c 74 64 3e 0a 20 20 5b 2f 72 65  </td><td>.  [/re
1b20: 73 6f 6c 75 74 69 6f 6e 20 72 65 73 6f 6c 75 74  solution resolut
1b30: 69 6f 6e 5f 63 68 6f 69 63 65 73 20 32 30 20 63  ion_choices 20 c
1b40: 6f 6d 62 6f 62 6f 78 5d 0a 20 20 3c 2f 74 64 3e  ombobox].  </td>
1b50: 3c 2f 74 72 3e 0a 20 20 3c 74 72 3e 3c 74 64 20  </tr>.  <tr><td 
1b60: 61 6c 69 67 6e 3d 22 72 69 67 68 74 22 3e 53 75  align="right">Su
1b70: 62 73 79 73 74 65 6d 3a 3c 2f 74 64 3e 3c 74 64  bsystem:</td><td
1b80: 3e 0a 20 20 5b 2f 73 75 62 73 79 73 74 65 6d 20  >.  [/subsystem 
1b90: 73 75 62 73 79 73 74 65 6d 5f 63 68 6f 69 63 65  subsystem_choice
1ba0: 73 20 33 30 20 63 6f 6d 62 6f 62 6f 78 5d 0a 20  s 30 combobox]. 
1bb0: 20 3c 2f 74 64 3e 3c 2f 74 72 3e 0a 20 20 5b 2f   </td></tr>.  [/
1bc0: 65 20 68 61 73 63 61 70 20 65 6e 61 62 6c 65 5f  e hascap enable_
1bd0: 6f 75 74 70 75 74 5d 0a 20 20 20 20 3c 74 72 3e  output].    <tr>
1be0: 3c 74 64 20 61 6c 69 67 6e 3d 22 72 69 67 68 74  <td align="right
1bf0: 22 3e 43 6f 6e 74 61 63 74 3a 3c 2f 74 64 3e 3c  ">Contact:</td><
1c00: 74 64 3e 0a 20 20 20 20 3c 69 6e 70 75 74 20 74  td>.    <input t
1c10: 79 70 65 3d 22 74 65 78 74 22 20 6e 61 6d 65 3d  ype="text" name=
1c20: 22 63 6f 6e 74 61 63 74 22 20 73 69 7a 65 3d 22  "contact" size="
1c30: 34 30 22 20 76 61 6c 75 65 3d 22 5b 63 6f 6e 74  40" value="[cont
1c40: 61 63 74 20 68 74 6d 6c 5d 22 3e 0a 20 20 20 20  act html]">.    
1c50: 3c 2f 74 64 3e 3c 2f 74 72 3e 0a 20 20 5b 31 20  </td></tr>.  [1 
1c60: 65 6e 61 62 6c 65 5f 6f 75 74 70 75 74 5d 0a 20  enable_output]. 
1c70: 20 3c 74 72 3e 3c 74 64 20 61 6c 69 67 6e 3d 22   <tr><td align="
1c80: 72 69 67 68 74 22 3e 56 65 72 73 69 6f 6e 26 6e  right">Version&n
1c90: 62 73 70 3b 46 6f 75 6e 64 26 6e 62 73 70 3b 49  bsp;Found&nbsp;I
1ca0: 6e 3a 3c 2f 74 64 3e 3c 74 64 3e 0a 20 20 3c 69  n:</td><td>.  <i
1cb0: 6e 70 75 74 20 74 79 70 65 3d 22 74 65 78 74 22  nput type="text"
1cc0: 20 6e 61 6d 65 3d 22 66 6f 75 6e 64 69 6e 22 20   name="foundin" 
1cd0: 73 69 7a 65 3d 22 35 30 22 20 76 61 6c 75 65 3d  size="50" value=
1ce0: 22 5b 66 6f 75 6e 64 69 6e 20 68 74 6d 6c 5d 22  "[foundin html]"
1cf0: 3e 0a 20 20 3c 2f 74 64 3e 3c 2f 74 72 3e 0a 20  >.  </td></tr>. 
1d00: 20 3c 74 72 3e 3c 74 64 20 63 6f 6c 73 70 61 6e   <tr><td colspan
1d10: 3d 22 32 22 3e 0a 20 20 5b 30 20 2f 65 61 6c 6c  ="2">.  [0 /eall
1d20: 20 30 20 67 65 74 20 2f 65 61 6c 6c 20 73 65 74   0 get /eall set
1d30: 5d 0a 20 20 5b 2f 61 6f 6e 6c 79 62 74 6e 20 65  ].  [/aonlybtn e
1d40: 78 69 73 74 73 20 6e 6f 74 20 2f 65 61 6c 6c 20  xists not /eall 
1d50: 73 65 74 5d 0a 20 20 5b 2f 65 61 6c 6c 62 74 6e  set].  [/eallbtn
1d60: 20 65 78 69 73 74 73 20 2f 65 61 6c 6c 20 73 65   exists /eall se
1d70: 74 5d 0a 20 20 5b 2f 77 20 68 61 73 63 61 70 20  t].  [/w hascap 
1d80: 65 61 6c 6c 20 61 6e 64 20 2f 65 61 6c 6c 20 73  eall and /eall s
1d90: 65 74 5d 0a 20 20 5b 65 61 6c 6c 20 65 6e 61 62  et].  [eall enab
1da0: 6c 65 5f 6f 75 74 70 75 74 5d 0a 20 20 20 20 44  le_output].    D
1db0: 65 73 63 72 69 70 74 69 6f 6e 20 41 6e 64 20 43  escription And C
1dc0: 6f 6d 6d 65 6e 74 73 3a 3c 62 72 3e 0a 20 20 20  omments:<br>.   
1dd0: 20 3c 74 65 78 74 61 72 65 61 20 6e 61 6d 65 3d   <textarea name=
1de0: 22 63 6f 6d 6d 65 6e 74 22 20 63 6f 6c 73 3d 22  "comment" cols="
1df0: 38 30 22 20 72 6f 77 73 3d 22 5b 63 6f 6d 6d 65  80" rows="[comme
1e00: 6e 74 20 6c 69 6e 65 63 6f 75 6e 74 20 31 35 20  nt linecount 15 
1e10: 6d 61 78 20 31 30 20 6d 69 6e 5d 22 0a 20 20 20  max 10 min]".   
1e20: 20 20 77 72 61 70 3d 22 76 69 72 74 75 61 6c 22    wrap="virtual"
1e30: 20 63 6c 61 73 73 3d 22 77 69 6b 69 65 64 69 74   class="wikiedit
1e40: 22 3e 5b 63 6f 6d 6d 65 6e 74 20 68 74 6d 6c 5d  ">[comment html]
1e50: 3c 2f 74 65 78 74 61 72 65 61 3e 3c 62 72 3e 0a  </textarea><br>.
1e60: 20 20 20 20 3c 69 6e 70 75 74 20 74 79 70 65 3d      <input type=
1e70: 22 68 69 64 64 65 6e 22 20 6e 61 6d 65 3d 22 65  "hidden" name="e
1e80: 61 6c 6c 22 20 76 61 6c 75 65 3d 22 31 22 3e 0a  all" value="1">.
1e90: 20 20 20 20 3c 69 6e 70 75 74 20 74 79 70 65 3d      <input type=
1ea0: 22 73 75 62 6d 69 74 22 20 6e 61 6d 65 3d 22 61  "submit" name="a
1eb0: 6f 6e 6c 79 62 74 6e 22 20 76 61 6c 75 65 3d 22  onlybtn" value="
1ec0: 41 70 70 65 6e 64 20 52 65 6d 61 72 6b 22 3e 0a  Append Remark">.
1ed0: 20 20 5b 65 61 6c 6c 20 6e 6f 74 20 65 6e 61 62    [eall not enab
1ee0: 6c 65 5f 6f 75 74 70 75 74 5d 0a 20 20 20 20 41  le_output].    A
1ef0: 70 70 65 6e 64 20 52 65 6d 61 72 6b 3a 3c 62 72  ppend Remark:<br
1f00: 3e 0a 20 20 20 20 3c 74 65 78 74 61 72 65 61 20  >.    <textarea 
1f10: 6e 61 6d 65 3d 22 63 6d 61 70 70 6e 64 22 20 63  name="cmappnd" c
1f20: 6f 6c 73 3d 22 38 30 22 20 72 6f 77 73 3d 22 31  ols="80" rows="1
1f30: 35 22 0a 20 20 20 20 20 77 72 61 70 3d 22 76 69  5".     wrap="vi
1f40: 72 74 75 61 6c 22 20 63 6c 61 73 73 3d 22 77 69  rtual" class="wi
1f50: 6b 69 65 64 69 74 22 3e 5b 63 6d 61 70 70 6e 64  kiedit">[cmappnd
1f60: 20 68 74 6d 6c 5d 3c 2f 74 65 78 74 61 72 65 61   html]</textarea
1f70: 3e 3c 62 72 3e 0a 20 20 20 20 5b 6f 6b 5f 77 72  ><br>.    [ok_wr
1f80: 74 6b 74 20 65 6e 61 62 6c 65 5f 6f 75 74 70 75  tkt enable_outpu
1f90: 74 5d 0a 20 20 20 20 3c 69 6e 70 75 74 20 74 79  t].    <input ty
1fa0: 70 65 3d 22 73 75 62 6d 69 74 22 20 6e 61 6d 65  pe="submit" name
1fb0: 3d 22 65 61 6c 6c 62 74 6e 22 20 76 61 6c 75 65  ="eallbtn" value
1fc0: 3d 22 45 64 69 74 20 41 6c 6c 22 3e 0a 20 20 5b  ="Edit All">.  [
1fd0: 31 20 65 6e 61 62 6c 65 5f 6f 75 74 70 75 74 5d  1 enable_output]
1fe0: 0a 20 20 3c 2f 74 64 3e 3c 2f 74 72 3e 0a 20 20  .  </td></tr>.  
1ff0: 3c 74 72 3e 3c 74 64 20 61 6c 69 67 6e 3d 22 72  <tr><td align="r
2000: 69 67 68 74 22 3e 3c 2f 74 64 3e 3c 74 64 3e 0a  ight"></td><td>.
2010: 20 20 3c 69 6e 70 75 74 20 74 79 70 65 3d 22 73    <input type="s
2020: 75 62 6d 69 74 22 20 6e 61 6d 65 3d 22 73 75 62  ubmit" name="sub
2030: 6d 69 74 22 20 76 61 6c 75 65 3d 22 53 75 62 6d  mit" value="Subm
2040: 69 74 20 43 68 61 6e 67 65 73 22 3e 0a 20 20 3c  it Changes">.  <
2050: 2f 74 64 3e 3c 2f 74 72 3e 0a 20 20 3c 2f 74 61  /td></tr>.  </ta
2060: 62 6c 65 3e 0a 20 20 3c 21 2d 2d 20 65 6e 64 2d  ble>.  <!-- end-
2070: 66 6f 72 6d 20 69 6e 73 65 72 74 65 64 20 61 75  form inserted au
2080: 74 6f 6d 61 74 69 63 61 6c 6c 79 20 2d 2d 3e 0a  tomatically -->.
2090: 7d 20 2f 74 6b 74 65 64 69 74 5f 74 65 6d 70 6c  } /tktedit_templ
20a0: 61 74 65 20 73 65 74 0a 0a 23 23 23 23 23 23 23  ate set..#######
20b0: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
20c0: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
20d0: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
20e0: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 0a  ###############.
20f0: 23 20 54 68 65 20 74 65 6d 70 6c 61 74 65 20 66  # The template f
2100: 6f 72 20 74 68 65 20 22 76 69 65 77 20 74 69 63  or the "view tic
2110: 6b 65 74 22 20 70 61 67 65 0a 7b 0a 20 20 3c 21  ket" page.{.  <!
2120: 2d 2d 20 6c 6f 61 64 20 64 61 74 61 62 61 73 65  -- load database
2130: 20 66 69 65 6c 64 73 20 61 75 74 6f 6d 61 74 69   fields automati
2140: 63 61 6c 6c 79 20 6c 6f 61 64 65 64 20 69 6e 74  cally loaded int
2150: 6f 20 76 61 72 69 61 62 6c 65 73 20 2d 2d 3e 0a  o variables -->.
2160: 20 20 3c 74 61 62 6c 65 20 63 65 6c 6c 70 61 64    <table cellpad
2170: 64 69 6e 67 3d 22 35 22 3e 0a 20 20 3c 74 72 3e  ding="5">.  <tr>
2180: 3c 74 64 20 61 6c 69 67 6e 3d 22 72 69 67 68 74  <td align="right
2190: 22 3e 54 69 74 6c 65 3a 3c 2f 74 64 3e 3c 74 64  ">Title:</td><td
21a0: 3e 0a 20 20 5b 2f 74 69 74 6c 65 20 68 74 6d 6c  >.  [/title html
21b0: 5d 0a 20 20 3c 2f 74 64 3e 3c 2f 74 72 3e 0a 20  ].  </td></tr>. 
21c0: 20 3c 74 72 3e 3c 74 64 20 61 6c 69 67 6e 3d 22   <tr><td align="
21d0: 72 69 67 68 74 22 3e 53 74 61 74 75 73 3a 3c 2f  right">Status:</
21e0: 74 64 3e 3c 74 64 3e 0a 20 20 5b 2f 73 74 61 74  td><td>.  [/stat
21f0: 75 73 20 68 74 6d 6c 5d 0a 20 20 3c 2f 74 64 3e  us html].  </td>
2200: 3c 2f 74 72 3e 0a 20 20 3c 74 72 3e 3c 74 64 20  </tr>.  <tr><td 
2210: 61 6c 69 67 6e 3d 22 72 69 67 68 74 22 3e 54 79  align="right">Ty
2220: 70 65 3a 3c 2f 74 64 3e 3c 74 64 3e 0a 20 20 5b  pe:</td><td>.  [
2230: 2f 74 79 70 65 20 68 74 6d 6c 5d 0a 20 20 3c 2f  /type html].  </
2240: 74 64 3e 3c 2f 74 72 3e 0a 20 20 3c 74 72 3e 3c  td></tr>.  <tr><
2250: 74 64 20 61 6c 69 67 6e 3d 22 72 69 67 68 74 22  td align="right"
2260: 3e 53 65 76 65 72 69 74 79 3a 3c 2f 74 64 3e 3c  >Severity:</td><
2270: 74 64 3e 0a 20 20 5b 2f 73 65 76 65 72 69 74 79  td>.  [/severity
2280: 20 68 74 6d 6c 5d 0a 20 20 3c 2f 74 64 3e 3c 2f   html].  </td></
2290: 74 72 3e 0a 20 20 3c 74 72 3e 3c 74 64 20 61 6c  tr>.  <tr><td al
22a0: 69 67 6e 3d 22 72 69 67 68 74 22 3e 50 72 69 6f  ign="right">Prio
22b0: 72 69 74 79 3a 3c 2f 74 64 3e 3c 74 64 3e 0a 20  rity:</td><td>. 
22c0: 20 5b 2f 70 72 69 6f 72 69 74 79 20 68 74 6d 6c   [/priority html
22d0: 5d 0a 20 20 3c 2f 74 64 3e 3c 2f 74 72 3e 0a 20  ].  </td></tr>. 
22e0: 20 3c 74 72 3e 3c 74 64 20 61 6c 69 67 6e 3d 22   <tr><td align="
22f0: 72 69 67 68 74 22 3e 52 65 73 6f 6c 75 74 69 6f  right">Resolutio
2300: 6e 3a 3c 2f 74 64 3e 3c 74 64 3e 0a 20 20 5b 2f  n:</td><td>.  [/
2310: 70 72 69 6f 72 69 74 79 20 68 74 6d 6c 5d 0a 20  priority html]. 
2320: 20 3c 2f 74 64 3e 3c 2f 74 72 3e 0a 20 20 3c 74   </td></tr>.  <t
2330: 72 3e 3c 74 64 20 61 6c 69 67 6e 3d 22 72 69 67  r><td align="rig
2340: 68 74 22 3e 53 75 62 73 79 73 74 65 6d 3a 3c 2f  ht">Subsystem:</
2350: 74 64 3e 3c 74 64 3e 0a 20 20 5b 2f 73 75 62 73  td><td>.  [/subs
2360: 79 73 74 65 6d 20 68 74 6d 6c 5d 0a 20 20 3c 2f  ystem html].  </
2370: 74 64 3e 3c 2f 74 72 3e 0a 20 20 5b 7b 65 7d 20  td></tr>.  [{e} 
2380: 68 61 73 63 61 70 20 65 6e 61 62 6c 65 5f 6f 75  hascap enable_ou
2390: 74 70 75 74 5d 0a 20 20 20 20 3c 74 72 3e 3c 74  tput].    <tr><t
23a0: 64 20 61 6c 69 67 6e 3d 22 72 69 67 68 74 22 3e  d align="right">
23b0: 43 6f 6e 74 61 63 74 3a 3c 2f 74 64 3e 3c 74 64  Contact:</td><td
23c0: 3e 0a 20 20 20 20 5b 2f 63 6f 6e 74 61 63 74 20  >.    [/contact 
23d0: 68 74 6d 6c 5d 0a 20 20 20 20 3c 2f 74 64 3e 3c  html].    </td><
23e0: 2f 74 72 3e 0a 20 20 5b 31 20 65 6e 61 62 6c 65  /tr>.  [1 enable
23f0: 5f 6f 75 74 70 75 74 5d 0a 20 20 3c 74 72 3e 3c  _output].  <tr><
2400: 74 64 20 61 6c 69 67 6e 3d 22 72 69 67 68 74 22  td align="right"
2410: 3e 56 65 72 73 69 6f 6e 26 6e 62 73 70 3b 46 6f  >Version&nbsp;Fo
2420: 75 6e 64 26 6e 62 73 70 3b 49 6e 3a 3c 2f 74 64  und&nbsp;In:</td
2430: 3e 3c 74 64 3e 0a 20 20 5b 2f 66 6f 75 6e 64 69  ><td>.  [/foundi
2440: 6e 20 68 74 6d 6c 5d 0a 20 20 3c 2f 74 64 3e 3c  n html].  </td><
2450: 2f 74 72 3e 0a 20 20 3c 74 72 3e 3c 74 64 20 63  /tr>.  <tr><td c
2460: 6f 6c 73 70 61 6e 3d 22 32 22 3e 0a 20 20 44 65  olspan="2">.  De
2470: 73 63 72 69 70 74 69 6f 6e 20 41 6e 64 20 43 6f  scription And Co
2480: 6d 6d 65 6e 74 73 3a 3c 62 72 3e 0a 20 20 5b 2f  mments:<br>.  [/
2490: 63 6f 6d 6d 65 6e 74 20 68 74 6d 6c 5d 0a 20 20  comment html].  
24a0: 3c 2f 74 64 3e 3c 2f 74 72 3e 0a 20 20 3c 2f 74  </td></tr>.  </t
24b0: 61 62 6c 65 3e 0a 7d 20 2f 74 6b 74 76 69 65 77  able>.} /tktview
24c0: 5f 74 65 6d 70 6c 61 74 65 20 73 65 74 0a        _template set.