Hex Artifact Content
Not logged in

Artifact ef74b37d75b872de465987ea98138a060bd06637:

File src/tktconfig.c part of check-in [fde1d82372] - Cut over all code to use TH1 instead of subscript. Completely remove the subscript interpreter from the source tree. by drh on 2008-02-13 22:31:59.

0000: 2f 2a 0a 2a 2a 20 43 6f 70 79 72 69 67 68 74 20  /*.** Copyright 
0010: 28 63 29 20 32 30 30 37 20 44 2e 20 52 69 63 68  (c) 2007 D. Rich
0020: 61 72 64 20 48 69 70 70 0a 2a 2a 0a 2a 2a 20 54  ard Hipp.**.** T
0030: 68 69 73 20 70 72 6f 67 72 61 6d 20 69 73 20 66  his program is f
0040: 72 65 65 20 73 6f 66 74 77 61 72 65 3b 20 79 6f  ree software; yo
0050: 75 20 63 61 6e 20 72 65 64 69 73 74 72 69 62 75  u can redistribu
0060: 74 65 20 69 74 20 61 6e 64 2f 6f 72 0a 2a 2a 20  te it and/or.** 
0070: 6d 6f 64 69 66 79 20 69 74 20 75 6e 64 65 72 20  modify it under 
0080: 74 68 65 20 74 65 72 6d 73 20 6f 66 20 74 68 65  the terms of the
0090: 20 47 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 62   GNU General Pub
00a0: 6c 69 63 0a 2a 2a 20 4c 69 63 65 6e 73 65 20 76  lic.** License v
00b0: 65 72 73 69 6f 6e 20 32 20 61 73 20 70 75 62 6c  ersion 2 as publ
00c0: 69 73 68 65 64 20 62 79 20 74 68 65 20 46 72 65  ished by the Fre
00d0: 65 20 53 6f 66 74 77 61 72 65 20 46 6f 75 6e 64  e Software Found
00e0: 61 74 69 6f 6e 2e 0a 2a 2a 0a 2a 2a 20 54 68 69  ation..**.** Thi
00f0: 73 20 70 72 6f 67 72 61 6d 20 69 73 20 64 69 73  s program is dis
0100: 74 72 69 62 75 74 65 64 20 69 6e 20 74 68 65 20  tributed in the 
0110: 68 6f 70 65 20 74 68 61 74 20 69 74 20 77 69 6c  hope that it wil
0120: 6c 20 62 65 20 75 73 65 66 75 6c 2c 0a 2a 2a 20  l be useful,.** 
0130: 62 75 74 20 57 49 54 48 4f 55 54 20 41 4e 59 20  but WITHOUT ANY 
0140: 57 41 52 52 41 4e 54 59 3b 20 77 69 74 68 6f 75  WARRANTY; withou
0150: 74 20 65 76 65 6e 20 74 68 65 20 69 6d 70 6c 69  t even the impli
0160: 65 64 20 77 61 72 72 61 6e 74 79 20 6f 66 0a 2a  ed warranty of.*
0170: 2a 20 4d 45 52 43 48 41 4e 54 41 42 49 4c 49 54  * MERCHANTABILIT
0180: 59 20 6f 72 20 46 49 54 4e 45 53 53 20 46 4f 52  Y or FITNESS FOR
0190: 20 41 20 50 41 52 54 49 43 55 4c 41 52 20 50 55   A PARTICULAR PU
01a0: 52 50 4f 53 45 2e 20 20 53 65 65 20 74 68 65 20  RPOSE.  See the 
01b0: 47 4e 55 0a 2a 2a 20 47 65 6e 65 72 61 6c 20 50  GNU.** General P
01c0: 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 66 6f  ublic License fo
01d0: 72 20 6d 6f 72 65 20 64 65 74 61 69 6c 73 2e 0a  r more details..
01e0: 2a 2a 20 0a 2a 2a 20 59 6f 75 20 73 68 6f 75 6c  ** .** You shoul
01f0: 64 20 68 61 76 65 20 72 65 63 65 69 76 65 64 20  d have received 
0200: 61 20 63 6f 70 79 20 6f 66 20 74 68 65 20 47 4e  a copy of the GN
0210: 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63  U General Public
0220: 0a 2a 2a 20 4c 69 63 65 6e 73 65 20 61 6c 6f 6e  .** License alon
0230: 67 20 77 69 74 68 20 74 68 69 73 20 6c 69 62 72  g with this libr
0240: 61 72 79 3b 20 69 66 20 6e 6f 74 2c 20 77 72 69  ary; if not, wri
0250: 74 65 20 74 6f 20 74 68 65 0a 2a 2a 20 46 72 65  te to the.** Fre
0260: 65 20 53 6f 66 74 77 61 72 65 20 46 6f 75 6e 64  e Software Found
0270: 61 74 69 6f 6e 2c 20 49 6e 63 2e 2c 20 35 39 20  ation, Inc., 59 
0280: 54 65 6d 70 6c 65 20 50 6c 61 63 65 20 2d 20 53  Temple Place - S
0290: 75 69 74 65 20 33 33 30 2c 0a 2a 2a 20 42 6f 73  uite 330,.** Bos
02a0: 74 6f 6e 2c 20 4d 41 20 20 30 32 31 31 31 2d 31  ton, MA  02111-1
02b0: 33 30 37 2c 20 55 53 41 2e 0a 2a 2a 0a 2a 2a 20  307, USA..**.** 
02c0: 41 75 74 68 6f 72 20 63 6f 6e 74 61 63 74 20 69  Author contact i
02d0: 6e 66 6f 72 6d 61 74 69 6f 6e 3a 0a 2a 2a 20 20  nformation:.**  
02e0: 20 64 72 68 40 68 77 61 63 69 2e 63 6f 6d 0a 2a   drh@hwaci.com.*
02f0: 2a 20 20 20 68 74 74 70 3a 2f 2f 77 77 77 2e 68  *   http://www.h
0300: 77 61 63 69 2e 63 6f 6d 2f 64 72 68 2f 0a 2a 2a  waci.com/drh/.**
0310: 0a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a  .***************
0320: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a  ****************
0330: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a  ****************
0340: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a  ****************
0350: 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a  ****************
0360: 0a 2a 2a 20 0a 2a 2a 20 54 68 69 73 20 66 69 6c  .** .** This fil
0370: 65 20 63 6f 6e 74 61 69 6e 73 20 61 20 73 74 72  e contains a str
0380: 69 6e 67 20 63 6f 6e 73 74 61 6e 74 20 74 68 61  ing constant tha
0390: 74 20 69 73 20 74 68 65 20 64 65 66 61 75 6c 74  t is the default
03a0: 20 74 69 63 6b 65 74 0a 2a 2a 20 63 6f 6e 66 69   ticket.** confi
03b0: 67 75 72 61 74 69 6f 6e 2e 0a 2a 2f 0a 23 69 6e  guration..*/.#in
03c0: 63 6c 75 64 65 20 22 63 6f 6e 66 69 67 2e 68 22  clude "config.h"
03d0: 0a 23 69 6e 63 6c 75 64 65 20 22 74 6b 74 63 6f  .#include "tktco
03e0: 6e 66 69 67 2e 68 22 0a 0a 2f 2a 0a 2a 2a 20 54  nfig.h"../*.** T
03f0: 68 69 73 20 69 73 20 61 20 73 61 6d 70 6c 65 20  his is a sample 
0400: 22 74 69 63 6b 65 74 20 63 6f 6e 66 69 67 75 72  "ticket configur
0410: 61 74 69 6f 6e 22 20 66 69 6c 65 20 66 6f 72 20  ation" file for 
0420: 66 6f 73 73 69 6c 2e 0a 2a 2a 0a 2a 2a 20 54 68  fossil..**.** Th
0430: 65 72 65 20 69 73 20 63 6f 6e 73 69 64 65 72 61  ere is considera
0440: 62 6c 65 20 66 6c 65 78 69 62 69 6c 69 74 79 20  ble flexibility 
0450: 69 6e 20 68 6f 77 20 74 69 63 6b 65 74 73 20 61  in how tickets a
0460: 72 65 20 64 65 66 69 6e 65 64 0a 2a 2a 20 69 6e  re defined.** in
0470: 20 66 6f 73 73 69 6c 2e 20 20 45 61 63 68 20 72   fossil.  Each r
0480: 65 70 6f 73 69 74 6f 72 79 20 63 61 6e 20 64 65  epository can de
0490: 66 69 6e 65 20 69 74 73 20 6f 77 6e 20 74 69 63  fine its own tic
04a0: 6b 65 74 20 73 65 74 75 70 0a 2a 2a 20 64 69 66  ket setup.** dif
04b0: 66 65 72 65 6e 74 6c 79 2e 20 20 45 61 63 68 20  ferently.  Each 
04c0: 72 65 70 6f 73 69 74 6f 72 79 20 68 61 73 20 61  repository has a
04d0: 6e 20 69 6e 73 74 61 6e 63 65 20 6f 66 20 61 20  n instance of a 
04e0: 66 69 6c 65 2c 20 6c 69 6b 65 0a 2a 2a 20 74 68  file, like.** th
04f0: 69 73 20 6f 6e 65 20 74 68 61 74 20 64 65 66 69  is one that defi
0500: 6e 65 73 20 68 6f 77 20 74 68 61 74 20 72 65 70  nes how that rep
0510: 6f 73 69 74 6f 72 79 20 64 65 61 6c 73 20 77 69  ository deals wi
0520: 74 68 20 74 69 63 6b 65 74 73 2e 0a 2a 2a 0a 2a  th tickets..**.*
0530: 2a 20 54 68 69 73 20 66 69 6c 65 20 69 73 20 69  * This file is i
0540: 6e 20 74 68 65 20 66 6f 72 6d 20 6f 66 20 61 20  n the form of a 
0550: 73 63 72 69 70 74 20 69 6e 20 54 48 31 20 2d 20  script in TH1 - 
0560: 61 20 6d 69 6e 69 6d 61 6c 69 73 74 0a 2a 2a 20  a minimalist.** 
0570: 54 43 4c 20 63 6c 6f 6e 65 2e 0a 2a 2f 0a 0a 2f  TCL clone..*/../
0580: 2a 20 40 2d 63 6f 6d 6d 65 6e 74 3a 20 2a 2a 20  * @-comment: ** 
0590: 2a 2f 0a 63 6f 6e 73 74 20 63 68 61 72 20 7a 44  */.const char zD
05a0: 65 66 61 75 6c 74 54 69 63 6b 65 74 43 6f 6e 66  efaultTicketConf
05b0: 69 67 5b 5d 20 3d 20 0a 40 20 23 23 23 23 23 23  ig[] = .@ ######
05c0: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
05d0: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
05e0: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
05f0: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
0600: 23 23 23 23 23 23 0a 40 20 23 20 45 76 65 72 79  ######.@ # Every
0610: 20 74 69 63 6b 65 74 20 63 6f 6e 66 69 67 75 72   ticket configur
0620: 61 74 69 6f 6e 20 2a 6d 75 73 74 2a 20 64 65 66  ation *must* def
0630: 69 6e 65 20 61 6e 20 53 51 4c 20 73 74 61 74 65  ine an SQL state
0640: 6d 65 6e 74 20 74 68 61 74 20 63 72 65 61 74 65  ment that create
0650: 73 0a 40 20 23 20 74 68 65 20 54 49 43 4b 45 54  s.@ # the TICKET
0660: 20 74 61 62 6c 65 2e 20 20 54 68 69 73 20 74 61   table.  This ta
0670: 62 6c 65 20 6d 75 73 74 20 68 61 76 65 20 74 68  ble must have th
0680: 72 65 65 20 63 6f 6c 75 6d 6e 73 20 6e 61 6d 65  ree columns name
0690: 64 0a 40 20 23 20 74 6b 74 5f 69 64 2c 20 74 6b  d.@ # tkt_id, tk
06a0: 74 5f 75 75 69 64 2c 20 61 6e 64 20 74 6b 74 5f  t_uuid, and tkt_
06b0: 6d 74 69 6d 65 2e 20 20 74 6b 74 5f 69 64 20 6d  mtime.  tkt_id m
06c0: 75 73 74 20 62 65 20 74 68 65 20 69 6e 74 65 67  ust be the integ
06d0: 65 72 20 70 72 69 6d 61 72 79 0a 40 20 23 20 6b  er primary.@ # k
06e0: 65 79 20 61 6e 64 20 74 6b 74 5f 75 75 69 64 20  ey and tkt_uuid 
06f0: 61 6e 64 20 74 6b 74 5f 6d 74 69 6d 65 20 6d 75  and tkt_mtime mu
0700: 73 74 20 62 65 20 75 6e 69 71 75 65 2e 20 20 41  st be unique.  A
0710: 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 73   configuration s
0720: 68 6f 75 6c 64 0a 40 20 23 20 64 65 66 69 6e 65  hould.@ # define
0730: 20 61 64 64 69 74 69 6f 6e 20 63 6f 6c 75 6d 6e   addition column
0740: 73 20 61 73 20 6e 65 63 65 73 73 61 72 79 2e 20  s as necessary. 
0750: 20 41 6c 6c 20 63 6f 6c 75 6d 6e 73 20 73 68 6f   All columns sho
0760: 75 6c 64 20 62 65 20 69 6e 20 61 6c 6c 0a 40 20  uld be in all.@ 
0770: 23 20 6c 6f 77 65 72 2d 63 61 73 65 20 6c 65 74  # lower-case let
0780: 74 65 72 73 20 61 6e 64 20 73 68 6f 75 6c 64 20  ters and should 
0790: 6e 6f 74 20 62 65 67 69 6e 20 77 69 74 68 20 22  not begin with "
07a0: 74 6b 74 22 2e 0a 40 20 23 0a 40 20 73 65 74 20  tkt"..@ #.@ set 
07b0: 74 69 63 6b 65 74 5f 73 71 6c 20 7b 0a 40 20 20  ticket_sql {.@  
07c0: 20 20 43 52 45 41 54 45 20 54 41 42 4c 45 20 74    CREATE TABLE t
07d0: 69 63 6b 65 74 28 0a 40 20 20 20 20 20 20 2d 2d  icket(.@      --
07e0: 20 44 6f 20 6e 6f 74 20 63 68 61 6e 67 65 20 61   Do not change a
07f0: 6e 79 20 63 6f 6c 75 6d 6e 20 74 68 61 74 20 62  ny column that b
0800: 65 67 69 6e 73 20 77 69 74 68 20 74 6b 74 5f 0a  egins with tkt_.
0810: 40 20 20 20 20 20 20 74 6b 74 5f 69 64 20 49 4e  @      tkt_id IN
0820: 54 45 47 45 52 20 50 52 49 4d 41 52 59 20 4b 45  TEGER PRIMARY KE
0830: 59 2c 0a 40 20 20 20 20 20 20 74 6b 74 5f 75 75  Y,.@      tkt_uu
0840: 69 64 20 54 45 58 54 2c 0a 40 20 20 20 20 20 20  id TEXT,.@      
0850: 74 6b 74 5f 6d 74 69 6d 65 20 44 41 54 45 2c 0a  tkt_mtime DATE,.
0860: 40 20 20 20 20 20 20 2d 2d 20 41 64 64 20 61 73  @      -- Add as
0870: 20 6d 61 6e 79 20 66 69 65 6c 64 20 61 73 20 72   many field as r
0880: 65 71 75 69 72 65 64 20 62 65 6c 6f 77 20 74 68  equired below th
0890: 69 73 20 6c 69 6e 65 0a 40 20 20 20 20 20 20 74  is line.@      t
08a0: 79 70 65 20 54 45 58 54 2c 0a 40 20 20 20 20 20  ype TEXT,.@     
08b0: 20 73 74 61 74 75 73 20 54 45 58 54 2c 0a 40 20   status TEXT,.@ 
08c0: 20 20 20 20 20 73 75 62 73 79 73 74 65 6d 20 54       subsystem T
08d0: 45 58 54 2c 0a 40 20 20 20 20 20 20 70 72 69 6f  EXT,.@      prio
08e0: 72 69 74 79 20 54 45 58 54 2c 0a 40 20 20 20 20  rity TEXT,.@    
08f0: 20 20 73 65 76 65 72 69 74 79 20 54 45 58 54 2c    severity TEXT,
0900: 0a 40 20 20 20 20 20 20 66 6f 75 6e 64 69 6e 20  .@      foundin 
0910: 54 45 58 54 2c 0a 40 20 20 20 20 20 20 63 6f 6e  TEXT,.@      con
0920: 74 61 63 74 20 54 45 58 54 2c 0a 40 20 20 20 20  tact TEXT,.@    
0930: 20 20 74 69 74 6c 65 20 54 45 58 54 2c 0a 40 20    title TEXT,.@ 
0940: 20 20 20 20 20 63 6f 6d 6d 65 6e 74 20 54 45 58       comment TEX
0950: 54 2c 0a 40 20 20 20 20 20 20 2d 2d 20 44 6f 20  T,.@      -- Do 
0960: 6e 6f 74 20 61 6c 74 65 72 20 74 68 69 73 20 55  not alter this U
0970: 4e 49 51 55 45 20 63 6c 61 75 73 65 3a 0a 40 20  NIQUE clause:.@ 
0980: 20 20 20 20 20 55 4e 49 51 55 45 28 74 6b 74 5f       UNIQUE(tkt_
0990: 75 75 69 64 2c 20 74 6b 74 5f 6d 74 69 6d 65 29  uuid, tkt_mtime)
09a0: 0a 40 20 20 20 20 29 3b 0a 40 20 20 20 20 2d 2d  .@    );.@    --
09b0: 20 41 64 64 20 69 6e 64 69 63 65 73 20 61 73 20   Add indices as 
09c0: 64 65 73 69 72 65 64 0a 40 20 7d 0a 40 20 0a 40  desired.@ }.@ .@
09d0: 20 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23   ###############
09e0: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
09f0: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
0a00: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
0a10: 23 23 23 23 23 23 23 23 23 23 23 23 23 0a 40 20  #############.@ 
0a20: 23 20 59 6f 75 20 63 61 6e 20 64 65 66 69 6e 65  # You can define
0a30: 20 61 64 64 69 74 69 6f 6e 61 6c 20 76 61 72 69   additional vari
0a40: 61 62 6c 65 73 20 68 65 72 65 2e 20 20 54 68 65  ables here.  The
0a50: 73 65 20 76 61 72 69 61 62 6c 65 73 20 77 69 6c  se variables wil
0a60: 6c 20 62 65 0a 40 20 23 20 61 63 63 65 73 73 69  l be.@ # accessi
0a70: 62 6c 65 20 74 6f 20 74 68 65 20 70 61 67 65 20  ble to the page 
0a80: 74 65 6d 70 6c 61 74 65 73 20 77 68 65 6e 20 74  templates when t
0a90: 68 65 79 20 72 75 6e 2e 0a 40 20 23 0a 40 20 73  hey run..@ #.@ s
0aa0: 65 74 20 74 79 70 65 5f 63 68 6f 69 63 65 73 20  et type_choices 
0ab0: 7b 0a 40 20 20 20 20 43 6f 64 65 5f 44 65 66 65  {.@    Code_Defe
0ac0: 63 74 0a 40 20 20 20 20 42 75 69 6c 64 5f 50 72  ct.@    Build_Pr
0ad0: 6f 62 6c 65 6d 0a 40 20 20 20 20 44 6f 63 75 6d  oblem.@    Docum
0ae0: 65 6e 74 61 74 69 6f 6e 0a 40 20 20 20 20 46 65  entation.@    Fe
0af0: 61 74 75 72 65 5f 52 65 71 75 65 73 74 0a 40 20  ature_Request.@ 
0b00: 20 20 20 49 6e 63 69 64 65 6e 74 0a 40 20 7d 0a     Incident.@ }.
0b10: 40 20 73 65 74 20 70 72 69 6f 72 69 74 79 5f 63  @ set priority_c
0b20: 68 6f 69 63 65 73 20 7b 49 6d 6d 65 64 69 61 74  hoices {Immediat
0b30: 65 20 48 69 67 68 20 4d 65 64 69 75 6d 20 4c 6f  e High Medium Lo
0b40: 77 20 5a 65 72 6f 7d 0a 40 20 73 65 74 20 73 65  w Zero}.@ set se
0b50: 76 65 72 69 74 79 5f 63 68 6f 69 63 65 73 20 7b  verity_choices {
0b60: 43 72 69 74 69 63 61 6c 20 53 65 76 65 72 65 20  Critical Severe 
0b70: 49 6d 70 6f 72 74 61 6e 74 20 4d 69 6e 6f 72 20  Important Minor 
0b80: 43 6f 73 6d 65 74 69 63 7d 0a 40 20 73 65 74 20  Cosmetic}.@ set 
0b90: 72 65 73 6f 6c 75 74 69 6f 6e 5f 63 68 6f 69 63  resolution_choic
0ba0: 65 73 20 7b 0a 40 20 20 20 4f 70 65 6e 0a 40 20  es {.@   Open.@ 
0bb0: 20 20 46 69 78 65 64 0a 40 20 20 20 52 65 6a 65    Fixed.@   Reje
0bc0: 63 74 65 64 0a 40 20 20 20 55 6e 61 62 6c 65 5f  cted.@   Unable_
0bd0: 54 6f 5f 52 65 70 72 6f 64 75 63 65 0a 40 20 20  To_Reproduce.@  
0be0: 20 57 6f 72 6b 73 5f 41 73 5f 44 65 73 69 67 6e   Works_As_Design
0bf0: 65 64 0a 40 20 20 20 45 78 74 65 72 6e 61 6c 5f  ed.@   External_
0c00: 42 75 67 0a 40 20 20 20 4e 6f 74 5f 41 5f 42 75  Bug.@   Not_A_Bu
0c10: 67 0a 40 20 20 20 44 75 70 6c 69 63 61 74 65 0a  g.@   Duplicate.
0c20: 40 20 20 20 4f 76 65 72 63 6f 6d 65 5f 42 79 5f  @   Overcome_By_
0c30: 45 76 65 6e 74 73 0a 40 20 20 20 44 72 69 76 65  Events.@   Drive
0c40: 5f 42 79 5f 50 61 74 63 68 0a 40 20 7d 0a 40 20  _By_Patch.@ }.@ 
0c50: 73 65 74 20 73 74 61 74 75 73 5f 63 68 6f 69 63  set status_choic
0c60: 65 73 20 7b 0a 40 20 20 20 4f 70 65 6e 0a 40 20  es {.@   Open.@ 
0c70: 20 20 56 65 72 69 66 69 65 64 0a 40 20 20 20 49    Verified.@   I
0c80: 6e 5f 50 72 6f 63 65 73 73 0a 40 20 20 20 44 65  n_Process.@   De
0c90: 66 65 72 72 65 64 0a 40 20 20 20 46 69 78 65 64  ferred.@   Fixed
0ca0: 0a 40 20 20 20 54 65 73 74 65 64 0a 40 20 20 20  .@   Tested.@   
0cb0: 43 6c 6f 73 65 64 0a 40 20 7d 0a 40 20 73 65 74  Closed.@ }.@ set
0cc0: 20 73 75 62 73 79 73 74 65 6d 5f 63 68 6f 69 63   subsystem_choic
0cd0: 65 73 20 7b 6f 6e 65 20 74 77 6f 20 74 68 72 65  es {one two thre
0ce0: 65 7d 0a 40 20 0a 40 20 23 23 23 23 23 23 23 23  e}.@ .@ ########
0cf0: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
0d00: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
0d10: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
0d20: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
0d30: 23 23 0a 40 20 23 20 54 68 65 20 22 74 6b 74 6e  ##.@ # The "tktn
0d40: 65 77 5f 74 65 6d 70 6c 61 74 65 22 20 76 61 72  ew_template" var
0d50: 69 61 62 6c 65 20 69 73 20 73 65 74 20 74 6f 20  iable is set to 
0d60: 74 65 78 74 20 77 68 69 63 68 20 69 73 20 61 20  text which is a 
0d70: 74 65 6d 70 6c 61 74 65 20 66 6f 72 0a 40 20 23  template for.@ #
0d80: 20 74 68 65 20 48 54 4d 4c 20 6f 66 20 74 68 65   the HTML of the
0d90: 20 22 4e 65 77 20 54 69 63 6b 65 74 22 20 70 61   "New Ticket" pa
0da0: 67 65 2e 20 20 57 69 74 68 69 6e 20 74 68 69 73  ge.  Within this
0db0: 20 74 65 6d 70 6c 61 74 65 2c 20 74 65 78 74 20   template, text 
0dc0: 63 6f 6e 74 61 69 6e 65 64 0a 40 20 23 20 77 69  contained.@ # wi
0dd0: 74 68 69 6e 20 5b 2e 2e 2e 5d 20 69 73 20 73 75  thin [...] is su
0de0: 62 73 63 72 69 70 74 2e 20 20 54 68 61 74 20 73  bscript.  That s
0df0: 75 62 73 63 72 69 70 74 20 72 75 6e 73 20 77 68  ubscript runs wh
0e00: 65 6e 20 74 68 65 20 70 61 67 65 20 69 73 0a 40  en the page is.@
0e10: 20 23 20 72 65 6e 64 65 72 65 64 2e 0a 40 20 23   # rendered..@ #
0e20: 0a 40 20 73 65 74 20 74 6b 74 6e 65 77 5f 74 65  .@ set tktnew_te
0e30: 6d 70 6c 61 74 65 20 7b 0a 40 20 20 20 3c 21 2d  mplate {.@   <!-
0e40: 2d 20 6c 6f 61 64 20 64 61 74 61 62 61 73 65 20  - load database 
0e50: 66 69 65 6c 64 20 6e 61 6d 65 73 20 6e 6f 74 20  field names not 
0e60: 66 6f 75 6e 64 20 69 6e 20 43 47 49 20 77 69 74  found in CGI wit
0e70: 68 20 61 6e 20 65 6d 70 74 79 20 73 74 72 69 6e  h an empty strin
0e80: 67 20 2d 2d 3e 0a 40 20 20 20 3c 21 2d 2d 20 73  g -->.@   <!-- s
0e90: 74 61 72 74 20 61 20 66 6f 72 6d 20 2d 2d 3e 0a  tart a form -->.
0ea0: 40 20 20 20 3c 74 68 31 3e 0a 40 20 20 20 20 20  @   <th1>.@     
0eb0: 69 66 20 7b 5b 69 6e 66 6f 20 65 78 69 73 74 73  if {[info exists
0ec0: 20 73 75 62 6d 69 74 5d 7d 20 7b 0a 40 20 20 20   submit]} {.@   
0ed0: 20 20 20 20 20 73 65 74 20 73 74 61 74 75 73 20       set status 
0ee0: 4f 70 65 6e 0a 40 20 20 20 20 20 20 20 20 73 75  Open.@        su
0ef0: 62 6d 69 74 5f 74 69 63 6b 65 74 0a 40 20 20 20  bmit_ticket.@   
0f00: 20 20 7d 0a 40 20 20 20 3c 2f 74 68 31 3e 0a 40    }.@   </th1>.@
0f10: 20 20 20 3c 74 61 62 6c 65 20 63 65 6c 6c 70 61     <table cellpa
0f20: 64 64 69 6e 67 3d 22 35 22 3e 0a 40 20 20 20 3c  dding="5">.@   <
0f30: 74 72 3e 0a 40 20 20 20 3c 74 64 20 63 6f 6c 73  tr>.@   <td cols
0f40: 70 61 6e 3d 22 32 22 3e 0a 40 20 20 20 45 6e 74  pan="2">.@   Ent
0f50: 65 72 20 61 20 6f 6e 65 2d 6c 69 6e 65 20 73 75  er a one-line su
0f60: 6d 6d 61 72 79 20 6f 66 20 74 68 65 20 70 72 6f  mmary of the pro
0f70: 62 6c 65 6d 3a 3c 62 72 3e 0a 40 20 20 20 3c 69  blem:<br>.@   <i
0f80: 6e 70 75 74 20 74 79 70 65 3d 22 74 65 78 74 22  nput type="text"
0f90: 20 6e 61 6d 65 3d 22 74 69 74 6c 65 22 20 73 69   name="title" si
0fa0: 7a 65 3d 22 36 30 22 20 76 61 6c 75 65 3d 22 24  ze="60" value="$
0fb0: 3c 74 69 74 6c 65 3e 22 3e 0a 40 20 20 20 3c 2f  <title>">.@   </
0fc0: 74 64 3e 0a 40 20 20 20 3c 2f 74 72 3e 0a 40 20  td>.@   </tr>.@ 
0fd0: 20 20 0a 40 20 20 20 3c 74 72 3e 0a 40 20 20 20    .@   <tr>.@   
0fe0: 3c 74 64 20 61 6c 69 67 6e 3d 22 72 69 67 68 74  <td align="right
0ff0: 22 3e 54 79 70 65 3a 0a 40 20 20 20 3c 74 68 31  ">Type:.@   <th1
1000: 3e 63 6f 6d 62 6f 62 6f 78 20 74 79 70 65 20 24  >combobox type $
1010: 74 79 70 65 5f 63 68 6f 69 63 65 73 20 31 3c 2f  type_choices 1</
1020: 74 68 31 3e 0a 40 20 20 20 3c 2f 74 64 3e 0a 40  th1>.@   </td>.@
1030: 20 20 20 3c 74 64 3e 57 68 61 74 20 74 79 70 65     <td>What type
1040: 20 6f 66 20 74 69 63 6b 65 74 20 69 73 20 74 68   of ticket is th
1050: 69 73 3f 3c 2f 74 64 3e 0a 40 20 20 20 3c 2f 74  is?</td>.@   </t
1060: 72 3e 0a 40 20 20 20 0a 40 20 20 20 3c 74 72 3e  r>.@   .@   <tr>
1070: 0a 40 20 20 20 3c 74 64 20 61 6c 69 67 6e 3d 22  .@   <td align="
1080: 72 69 67 68 74 22 3e 56 65 72 73 69 6f 6e 3a 20  right">Version: 
1090: 0a 40 20 20 20 3c 69 6e 70 75 74 20 74 79 70 65  .@   <input type
10a0: 3d 22 74 65 78 74 22 20 6e 61 6d 65 3d 22 66 6f  ="text" name="fo
10b0: 75 6e 64 69 6e 22 20 73 69 7a 65 3d 22 32 30 22  undin" size="20"
10c0: 20 76 61 6c 75 65 3d 22 24 3c 66 6f 75 6e 64 69   value="$<foundi
10d0: 6e 3e 22 3e 0a 40 20 20 20 3c 2f 74 64 3e 0a 40  n>">.@   </td>.@
10e0: 20 20 20 3c 74 64 3e 49 6e 20 77 68 61 74 20 76     <td>In what v
10f0: 65 72 73 69 6f 6e 20 6f 72 20 62 75 69 6c 64 20  ersion or build 
1100: 6e 75 6d 62 65 72 20 64 6f 20 79 6f 75 20 6f 62  number do you ob
1110: 73 65 72 76 65 72 20 74 68 65 20 70 72 6f 62 6c  server the probl
1120: 65 6d 3f 3c 2f 74 64 3e 0a 40 20 20 20 3c 2f 74  em?</td>.@   </t
1130: 72 3e 0a 40 20 20 20 0a 40 20 20 20 3c 74 72 3e  r>.@   .@   <tr>
1140: 0a 40 20 20 20 3c 74 64 20 61 6c 69 67 6e 3d 22  .@   <td align="
1150: 72 69 67 68 74 22 3e 53 65 76 65 72 69 74 79 3a  right">Severity:
1160: 0a 40 20 20 20 3c 74 68 31 3e 63 6f 6d 62 6f 62  .@   <th1>combob
1170: 6f 78 79 20 73 65 76 65 72 69 74 79 20 73 65 76  oxy severity sev
1180: 65 72 69 74 79 5f 63 68 6f 69 63 65 73 20 31 3c  erity_choices 1<
1190: 2f 74 68 31 3e 0a 40 20 20 20 3c 2f 74 64 3e 0a  /th1>.@   </td>.
11a0: 40 20 20 20 3c 74 64 3e 48 6f 77 20 64 65 62 69  @   <td>How debi
11b0: 6c 69 74 61 74 69 6e 67 20 69 73 20 74 68 65 20  litating is the 
11c0: 70 72 6f 62 6c 65 6d 3f 20 20 48 6f 77 20 62 61  problem?  How ba
11d0: 64 6c 79 20 64 6f 65 73 20 74 68 65 20 70 72 6f  dly does the pro
11e0: 62 6c 65 6d 0a 40 20 20 20 65 66 66 65 63 74 20  blem.@   effect 
11f0: 74 68 65 20 6f 70 65 72 61 74 69 6f 6e 20 6f 66  the operation of
1200: 20 74 68 65 20 70 72 6f 64 75 63 74 3f 3c 2f 74   the product?</t
1210: 64 3e 0a 40 20 20 20 3c 2f 74 72 3e 0a 40 20 20  d>.@   </tr>.@  
1220: 20 0a 40 20 20 20 3c 74 72 3e 0a 40 20 20 20 3c   .@   <tr>.@   <
1230: 74 64 20 61 6c 69 67 6e 3d 22 72 69 67 68 74 22  td align="right"
1240: 3e 45 4d 61 69 6c 3a 0a 40 20 20 20 3c 69 6e 70  >EMail:.@   <inp
1250: 75 74 20 74 79 70 65 3d 22 74 65 78 74 22 20 6e  ut type="text" n
1260: 61 6d 65 3d 22 63 6f 6e 74 61 63 74 22 20 76 61  ame="contact" va
1270: 6c 75 65 3d 22 24 3c 63 6f 6e 74 61 63 74 3e 22  lue="$<contact>"
1280: 20 73 69 7a 65 3d 22 33 30 22 3e 0a 40 20 20 20   size="30">.@   
1290: 3c 2f 74 64 3e 0a 40 20 20 20 3c 74 64 3e 4e 6f  </td>.@   <td>No
12a0: 74 20 70 75 62 6c 69 63 61 6c 6c 79 20 76 69 73  t publically vis
12b0: 69 62 6c 65 2e 20 55 73 65 64 20 62 79 20 64 65  ible. Used by de
12c0: 76 65 6c 6f 70 65 72 73 20 74 6f 20 63 6f 6e 74  velopers to cont
12d0: 61 63 74 20 79 6f 75 20 77 69 74 68 0a 40 20 20  act you with.@  
12e0: 20 71 75 65 73 74 69 6f 6e 73 2e 3c 2f 74 64 3e   questions.</td>
12f0: 0a 40 20 20 20 3c 2f 74 72 3e 0a 40 20 20 20 0a  .@   </tr>.@   .
1300: 40 20 20 20 3c 74 72 3e 0a 40 20 20 20 3c 74 64  @   <tr>.@   <td
1310: 20 63 6f 6c 73 70 61 6e 3d 22 32 22 3e 0a 40 20   colspan="2">.@ 
1320: 20 20 45 6e 74 65 72 20 61 20 64 65 74 61 69 6c    Enter a detail
1330: 65 64 20 64 65 73 63 72 69 70 74 69 6f 6e 20 6f  ed description o
1340: 66 20 74 68 65 20 70 72 6f 62 6c 65 6d 2e 0a 40  f the problem..@
1350: 20 20 20 46 6f 72 20 63 6f 64 65 20 64 65 66 65     For code defe
1360: 63 74 73 2c 20 62 65 20 73 75 72 65 20 74 6f 20  cts, be sure to 
1370: 70 72 6f 76 69 64 65 20 64 65 74 61 69 6c 73 20  provide details 
1380: 6f 6e 20 65 78 61 63 74 6c 79 20 68 6f 77 0a 40  on exactly how.@
1390: 20 20 20 74 68 65 20 70 72 6f 62 6c 65 6d 20 63     the problem c
13a0: 61 6e 20 62 65 20 72 65 70 72 6f 64 75 63 65 64  an be reproduced
13b0: 2e 20 20 50 72 6f 76 69 64 65 20 61 73 20 6d 75  .  Provide as mu
13c0: 63 68 20 64 65 74 61 69 6c 20 61 73 0a 40 20 20  ch detail as.@  
13d0: 20 70 6f 73 73 69 62 6c 65 2e 0a 40 20 20 20 3c   possible..@   <
13e0: 62 72 3e 0a 40 20 20 20 3c 74 68 31 3e 73 65 74  br>.@   <th1>set
13f0: 20 6e 6c 69 6e 65 20 5b 6c 69 6e 65 63 6f 75 6e   nline [linecoun
1400: 74 20 24 63 6f 6d 6d 65 6e 74 20 35 30 20 31 30  t $comment 50 10
1410: 5d 3c 2f 74 68 31 3e 0a 40 20 20 20 3c 74 65 78  ]</th1>.@   <tex
1420: 74 61 72 65 61 20 6e 61 6d 65 3d 22 63 6f 6d 6d  tarea name="comm
1430: 65 6e 74 22 20 63 6f 6c 73 3d 22 38 30 22 20 72  ent" cols="80" r
1440: 6f 77 73 3d 22 24 6e 6c 69 6e 65 22 0a 40 20 20  ows="$nline".@  
1450: 20 20 77 72 61 70 3d 22 76 69 72 74 75 61 6c 22    wrap="virtual"
1460: 20 63 6c 61 73 73 3d 22 77 69 6b 69 65 64 69 74   class="wikiedit
1470: 22 3e 24 3c 63 6f 6d 6d 65 6e 74 3e 3c 2f 74 65  ">$<comment></te
1480: 78 74 61 72 65 61 3e 3c 62 72 3e 0a 40 20 20 20  xtarea><br>.@   
1490: 3c 69 6e 70 75 74 20 74 79 70 65 3d 22 73 75 62  <input type="sub
14a0: 6d 69 74 22 20 6e 61 6d 65 3d 22 70 72 65 76 69  mit" name="previ
14b0: 65 77 22 20 76 61 6c 75 65 3d 22 50 72 65 76 69  ew" value="Previ
14c0: 65 77 22 3e 0a 40 20 20 20 3c 2f 74 72 3e 0a 40  ew">.@   </tr>.@
14d0: 20 0a 40 20 20 20 3c 74 68 31 3e 65 6e 61 62 6c   .@   <th1>enabl
14e0: 65 5f 6f 75 74 70 75 74 20 5b 69 6e 66 6f 20 65  e_output [info e
14f0: 78 69 73 74 73 20 70 72 65 76 69 65 77 5d 3c 2f  xists preview]</
1500: 74 68 31 3e 0a 40 20 20 20 3c 74 72 3e 3c 74 64  th1>.@   <tr><td
1510: 20 63 6f 6c 73 70 61 6e 3d 22 32 22 3e 0a 40 20   colspan="2">.@ 
1520: 20 20 44 65 73 63 72 69 70 74 69 6f 6e 20 50 72    Description Pr
1530: 65 76 69 65 77 3a 3c 62 72 3e 3c 68 72 3e 0a 40  eview:<br><hr>.@
1540: 20 20 20 3c 74 68 31 3e 77 69 6b 69 20 24 63 6f     <th1>wiki $co
1550: 6d 6d 65 6e 74 3c 2f 74 68 31 3e 0a 40 20 20 20  mment</th1>.@   
1560: 3c 68 72 3e 0a 40 20 20 20 3c 2f 74 64 3e 3c 2f  <hr>.@   </td></
1570: 74 72 3e 0a 40 20 20 20 3c 74 68 31 3e 65 6e 61  tr>.@   <th1>ena
1580: 62 6c 65 5f 6f 75 74 70 75 74 20 31 3c 2f 74 68  ble_output 1</th
1590: 31 3e 0a 40 20 20 20 0a 40 20 20 20 3c 74 72 3e  1>.@   .@   <tr>
15a0: 0a 40 20 20 20 3c 74 64 20 61 6c 69 67 6e 3d 22  .@   <td align="
15b0: 72 69 67 68 74 22 3e 0a 40 20 20 20 3c 69 6e 70  right">.@   <inp
15c0: 75 74 20 74 79 70 65 3d 22 73 75 62 6d 69 74 22  ut type="submit"
15d0: 20 6e 61 6d 65 3d 22 73 75 62 6d 69 74 22 20 76   name="submit" v
15e0: 61 6c 75 65 3d 22 53 75 62 6d 69 74 22 3e 0a 40  alue="Submit">.@
15f0: 20 20 20 3c 2f 74 64 3e 0a 40 20 20 20 3c 74 64     </td>.@   <td
1600: 3e 41 66 74 65 72 20 66 69 6c 6c 69 6e 67 20 69  >After filling i
1610: 6e 20 74 68 65 20 69 6e 66 6f 72 6d 61 74 69 6f  n the informatio
1620: 6e 20 61 62 6f 76 65 2c 20 70 72 65 73 73 20 74  n above, press t
1630: 68 69 73 20 62 75 74 74 6f 6e 20 74 6f 20 63 72  his button to cr
1640: 65 61 74 65 0a 40 20 20 20 74 68 65 20 6e 65 77  eate.@   the new
1650: 20 74 69 63 6b 65 74 3c 2f 74 64 3e 0a 40 20 20   ticket</td>.@  
1660: 20 3c 2f 74 72 3e 0a 40 20 20 20 3c 2f 74 61 62   </tr>.@   </tab
1670: 6c 65 3e 0a 40 20 20 20 3c 21 2d 2d 20 65 6e 64  le>.@   <!-- end
1680: 20 6f 66 20 66 6f 72 6d 20 2d 2d 3e 0a 40 20 7d   of form -->.@ }
1690: 0a 40 20 0a 40 20 23 23 23 23 23 23 23 23 23 23  .@ .@ ##########
16a0: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
16b0: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
16c0: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
16d0: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
16e0: 0a 40 20 23 20 54 68 65 20 74 65 6d 70 6c 61 74  .@ # The templat
16f0: 65 20 66 6f 72 20 74 68 65 20 22 65 64 69 74 20  e for the "edit 
1700: 74 69 63 6b 65 74 22 20 70 61 67 65 0a 40 20 23  ticket" page.@ #
1710: 0a 40 20 23 20 54 68 65 6e 20 67 65 6e 65 72 61  .@ # Then genera
1720: 74 65 64 20 74 65 78 74 20 69 73 20 69 6e 73 65  ted text is inse
1730: 72 74 65 64 20 69 6e 73 69 64 65 20 61 20 66 6f  rted inside a fo
1740: 72 6d 20 77 68 69 63 68 20 66 65 65 64 73 20 62  rm which feeds b
1750: 61 63 6b 20 74 6f 20 69 74 73 65 6c 66 2e 0a 40  ack to itself..@
1760: 20 23 20 41 6c 6c 20 43 47 49 20 70 61 72 61 6d   # All CGI param
1770: 65 74 65 72 73 20 61 72 65 20 6c 6f 61 64 65 64  eters are loaded
1780: 20 69 6e 74 6f 20 76 61 72 69 61 62 6c 65 73 2e   into variables.
1790: 20 20 41 6c 6c 20 64 61 74 61 62 61 73 65 20 66    All database f
17a0: 69 6c 65 73 20 61 72 65 0a 40 20 23 20 6c 6f 61  iles are.@ # loa
17b0: 64 65 64 20 69 6e 74 6f 20 76 61 72 69 61 62 6c  ded into variabl
17c0: 65 73 20 69 66 20 74 68 65 79 20 68 61 76 65 20  es if they have 
17d0: 6e 6f 74 20 70 72 65 76 69 6f 75 73 6c 79 20 62  not previously b
17e0: 65 65 6e 20 6c 6f 61 64 65 64 20 62 79 0a 40 20  een loaded by.@ 
17f0: 23 20 43 47 49 20 70 61 72 61 6d 65 74 65 72 73  # CGI parameters
1800: 2e 0a 40 20 73 65 74 20 74 6b 74 65 64 69 74 5f  ..@ set tktedit_
1810: 74 65 6d 70 6c 61 74 65 20 7b 0a 40 20 20 20 3c  template {.@   <
1820: 74 68 31 3e 0a 40 20 20 20 20 20 69 66 20 7b 21  th1>.@     if {!
1830: 5b 69 6e 66 6f 20 65 78 69 73 74 73 20 75 73 65  [info exists use
1840: 72 6e 61 6d 65 5d 7d 20 7b 73 65 74 20 75 73 65  rname]} {set use
1850: 72 6e 61 6d 65 20 24 6c 6f 67 69 6e 7d 0a 40 20  rname $login}.@ 
1860: 20 20 20 20 69 66 20 7b 5b 69 6e 66 6f 20 65 78      if {[info ex
1870: 69 73 74 73 20 73 75 62 6d 69 74 5d 7d 20 7b 0a  ists submit]} {.
1880: 40 20 20 20 20 20 20 20 69 66 20 7b 5b 69 6e 66  @       if {[inf
1890: 6f 20 65 78 69 73 74 73 20 24 63 6d 61 70 70 6e  o exists $cmappn
18a0: 64 5d 20 26 26 20 5b 73 74 72 69 6e 67 20 6c 65  d] && [string le
18b0: 6e 67 74 68 20 24 63 6d 61 70 70 6e 64 5d 3e 30  ngth $cmappnd]>0
18c0: 7d 20 7b 0a 40 20 20 20 20 20 20 20 20 20 73 65  } {.@         se
18d0: 74 20 63 74 78 74 20 22 5c 6e 5c 6e 3c 68 72 3e  t ctxt "\n\n<hr>
18e0: 3c 69 3e 22 0a 40 20 20 20 20 20 20 20 20 20 69  <i>".@         i
18f0: 66 20 7b 24 75 73 65 72 6e 61 6d 65 3d 3d 24 6c  f {$username==$l
1900: 6f 67 69 6e 7d 20 7b 0a 40 20 20 20 20 20 20 20  ogin} {.@       
1910: 20 20 20 20 73 65 74 20 75 73 72 20 22 24 63 74      set usr "$ct
1920: 78 74 5b 68 74 6d 6c 69 7a 65 20 24 6c 6f 67 69  xt[htmlize $logi
1930: 6e 5d 22 0a 40 20 20 20 20 20 20 20 20 20 7d 20  n]".@         } 
1940: 65 6c 73 65 20 7b 0a 40 20 20 20 20 20 20 20 20  else {.@        
1950: 20 20 20 73 65 74 20 75 73 72 20 22 5b 68 74 6d     set usr "[htm
1960: 6c 69 7a 65 20 24 6c 6f 67 69 6e 20 63 6c 61 69  lize $login clai
1970: 6d 69 6e 67 6e 20 74 6f 20 62 65 20 5b 68 74 6d  mingn to be [htm
1980: 6c 69 7a 65 20 24 75 73 65 72 6e 61 6d 65 5d 22  lize $username]"
1990: 0a 40 20 20 20 20 20 20 20 20 20 7d 0a 40 20 20  .@         }.@  
19a0: 20 20 20 20 20 20 20 61 70 70 65 6e 64 5f 66 69         append_fi
19b0: 65 6c 64 20 63 6f 6d 6d 65 6e 74 20 5c 0a 40 20  eld comment \.@ 
19c0: 20 20 20 20 20 20 20 20 20 20 20 22 5c 6e 5c 6e             "\n\n
19d0: 3c 68 72 3e 3c 69 3e 24 75 73 72 20 61 64 64 65  <hr><i>$usr adde
19e0: 64 20 6f 6e 20 5b 64 61 74 65 5d 3a 3c 2f 69 3e  d on [date]:</i>
19f0: 3c 62 72 3e 5c 6e 24 63 6f 6d 6d 65 6e 74 22 0a  <br>\n$comment".
1a00: 40 20 20 20 20 20 20 20 7d 0a 40 20 20 20 20 20  @       }.@     
1a10: 20 20 73 75 62 6d 69 74 5f 74 69 63 6b 65 74 0a    submit_ticket.
1a20: 40 20 20 20 20 20 7d 0a 40 20 20 20 3c 2f 74 68  @     }.@   </th
1a30: 31 3e 0a 40 20 20 20 3c 74 61 62 6c 65 20 63 65  1>.@   <table ce
1a40: 6c 6c 70 61 64 64 69 6e 67 3d 22 35 22 3e 0a 40  llpadding="5">.@
1a50: 20 20 20 3c 74 72 3e 3c 74 64 20 61 6c 69 67 6e     <tr><td align
1a60: 3d 22 72 69 67 68 74 22 3e 54 69 74 6c 65 3a 3c  ="right">Title:<
1a70: 2f 74 64 3e 3c 74 64 3e 0a 40 20 20 20 3c 69 6e  /td><td>.@   <in
1a80: 70 75 74 20 74 79 70 65 3d 22 74 65 78 74 22 20  put type="text" 
1a90: 6e 61 6d 65 3d 22 74 69 74 6c 65 22 20 76 61 6c  name="title" val
1aa0: 75 65 3d 22 24 3c 74 69 74 6c 65 3e 22 20 73 69  ue="$<title>" si
1ab0: 7a 65 3d 22 36 30 22 3e 0a 40 20 20 20 3c 2f 74  ze="60">.@   </t
1ac0: 64 3e 3c 2f 74 72 3e 0a 40 20 20 20 3c 74 72 3e  d></tr>.@   <tr>
1ad0: 3c 74 64 20 61 6c 69 67 6e 3d 22 72 69 67 68 74  <td align="right
1ae0: 22 3e 53 74 61 74 75 73 3a 3c 2f 74 64 3e 3c 74  ">Status:</td><t
1af0: 64 3e 0a 40 20 20 20 3c 74 68 31 3e 63 6f 6d 62  d>.@   <th1>comb
1b00: 6f 62 6f 78 20 73 74 61 74 75 73 20 24 73 74 61  obox status $sta
1b10: 74 75 73 5f 63 68 6f 69 63 65 73 20 31 3c 2f 74  tus_choices 1</t
1b20: 68 31 3e 0a 40 20 20 20 3c 2f 74 64 3e 3c 2f 74  h1>.@   </td></t
1b30: 72 3e 0a 40 20 20 20 3c 74 72 3e 3c 74 64 20 61  r>.@   <tr><td a
1b40: 6c 69 67 6e 3d 22 72 69 67 68 74 22 3e 54 79 70  lign="right">Typ
1b50: 65 3a 3c 2f 74 64 3e 3c 74 64 3e 0a 40 20 20 20  e:</td><td>.@   
1b60: 3c 74 68 31 3e 63 6f 6d 62 6f 62 6f 78 20 74 79  <th1>combobox ty
1b70: 70 65 20 24 74 79 70 65 5f 63 68 6f 69 63 65 73  pe $type_choices
1b80: 20 31 3c 2f 74 68 31 3e 0a 40 20 20 20 3c 2f 74   1</th1>.@   </t
1b90: 64 3e 3c 2f 74 72 3e 0a 40 20 20 20 3c 74 72 3e  d></tr>.@   <tr>
1ba0: 3c 74 64 20 61 6c 69 67 6e 3d 22 72 69 67 68 74  <td align="right
1bb0: 22 3e 53 65 76 65 72 69 74 79 3a 3c 2f 74 64 3e  ">Severity:</td>
1bc0: 3c 74 64 3e 0a 40 20 20 20 3c 74 68 31 3e 63 6f  <td>.@   <th1>co
1bd0: 6d 62 6f 62 6f 78 20 73 65 76 65 72 69 74 79 20  mbobox severity 
1be0: 24 73 65 76 65 72 69 74 79 5f 63 68 6f 69 63 65  $severity_choice
1bf0: 73 20 31 3c 2f 74 68 31 3e 0a 40 20 20 20 3c 2f  s 1</th1>.@   </
1c00: 74 64 3e 3c 2f 74 72 3e 0a 40 20 20 20 3c 74 72  td></tr>.@   <tr
1c10: 3e 3c 74 64 20 61 6c 69 67 6e 3d 22 72 69 67 68  ><td align="righ
1c20: 74 22 3e 50 72 69 6f 72 69 74 79 3a 3c 2f 74 64  t">Priority:</td
1c30: 3e 3c 74 64 3e 0a 40 20 20 20 3c 74 68 31 3e 63  ><td>.@   <th1>c
1c40: 6f 6d 62 6f 62 6f 78 20 70 72 69 6f 72 69 74 79  ombobox priority
1c50: 20 24 70 72 69 6f 72 69 74 79 5f 63 68 6f 69 63   $priority_choic
1c60: 65 73 20 31 3c 2f 74 68 31 3e 0a 40 20 20 20 3c  es 1</th1>.@   <
1c70: 2f 74 64 3e 3c 2f 74 72 3e 0a 40 20 20 20 3c 74  /td></tr>.@   <t
1c80: 72 3e 3c 74 64 20 61 6c 69 67 6e 3d 22 72 69 67  r><td align="rig
1c90: 68 74 22 3e 52 65 73 6f 6c 75 74 69 6f 6e 3a 3c  ht">Resolution:<
1ca0: 2f 74 64 3e 3c 74 64 3e 0a 40 20 20 20 3c 74 68  /td><td>.@   <th
1cb0: 31 3e 63 6f 6d 62 6f 62 6f 78 20 72 65 73 6f 6c  1>combobox resol
1cc0: 75 74 69 6f 6e 20 24 72 65 73 6f 6c 75 74 69 6f  ution $resolutio
1cd0: 6e 5f 63 68 6f 69 63 65 73 20 31 3c 2f 74 68 31  n_choices 1</th1
1ce0: 3e 0a 40 20 20 20 3c 2f 74 64 3e 3c 2f 74 72 3e  >.@   </td></tr>
1cf0: 0a 40 20 20 20 3c 74 72 3e 3c 74 64 20 61 6c 69  .@   <tr><td ali
1d00: 67 6e 3d 22 72 69 67 68 74 22 3e 53 75 62 73 79  gn="right">Subsy
1d10: 73 74 65 6d 3a 3c 2f 74 64 3e 3c 74 64 3e 0a 40  stem:</td><td>.@
1d20: 20 20 20 3c 74 68 31 3e 63 6f 6d 62 6f 62 6f 78     <th1>combobox
1d30: 20 73 75 62 73 79 73 74 65 6d 20 24 73 75 62 73   subsystem $subs
1d40: 79 73 74 65 6d 5f 63 68 6f 69 63 65 73 20 31 3c  ystem_choices 1<
1d50: 2f 74 68 31 3e 0a 40 20 20 20 3c 2f 74 64 3e 3c  /th1>.@   </td><
1d60: 2f 74 72 3e 0a 40 20 20 20 3c 74 68 31 3e 65 6e  /tr>.@   <th1>en
1d70: 61 62 6c 65 5f 6f 75 74 70 75 74 20 5b 68 61 73  able_output [has
1d80: 63 61 70 20 65 5d 3c 2f 74 68 31 3e 0a 40 20 20  cap e]</th1>.@  
1d90: 20 20 20 3c 74 72 3e 3c 74 64 20 61 6c 69 67 6e     <tr><td align
1da0: 3d 22 72 69 67 68 74 22 3e 43 6f 6e 74 61 63 74  ="right">Contact
1db0: 3a 3c 2f 74 64 3e 3c 74 64 3e 0a 40 20 20 20 20  :</td><td>.@    
1dc0: 20 3c 69 6e 70 75 74 20 74 79 70 65 3d 22 74 65   <input type="te
1dd0: 78 74 22 20 6e 61 6d 65 3d 22 63 6f 6e 74 61 63  xt" name="contac
1de0: 74 22 20 73 69 7a 65 3d 22 34 30 22 20 76 61 6c  t" size="40" val
1df0: 75 65 3d 22 24 3c 63 6f 6e 74 61 63 74 3e 22 3e  ue="$<contact>">
1e00: 0a 40 20 20 20 20 20 3c 2f 74 64 3e 3c 2f 74 72  .@     </td></tr
1e10: 3e 0a 40 20 20 20 3c 74 68 31 3e 65 6e 61 62 6c  >.@   <th1>enabl
1e20: 65 5f 6f 75 74 70 75 74 20 31 3c 2f 74 68 31 3e  e_output 1</th1>
1e30: 0a 40 20 20 20 3c 74 72 3e 3c 74 64 20 61 6c 69  .@   <tr><td ali
1e40: 67 6e 3d 22 72 69 67 68 74 22 3e 56 65 72 73 69  gn="right">Versi
1e50: 6f 6e 26 6e 62 73 70 3b 46 6f 75 6e 64 26 6e 62  on&nbsp;Found&nb
1e60: 73 70 3b 49 6e 3a 3c 2f 74 64 3e 3c 74 64 3e 0a  sp;In:</td><td>.
1e70: 40 20 20 20 3c 69 6e 70 75 74 20 74 79 70 65 3d  @   <input type=
1e80: 22 74 65 78 74 22 20 6e 61 6d 65 3d 22 66 6f 75  "text" name="fou
1e90: 6e 64 69 6e 22 20 73 69 7a 65 3d 22 35 30 22 20  ndin" size="50" 
1ea0: 76 61 6c 75 65 3d 22 24 3c 66 6f 75 6e 64 69 6e  value="$<foundin
1eb0: 3e 22 3e 0a 40 20 20 20 3c 2f 74 64 3e 3c 2f 74  >">.@   </td></t
1ec0: 72 3e 0a 40 20 20 20 3c 74 72 3e 3c 74 64 20 63  r>.@   <tr><td c
1ed0: 6f 6c 73 70 61 6e 3d 22 32 22 3e 0a 40 20 20 20  olspan="2">.@   
1ee0: 3c 74 68 31 3e 0a 40 20 20 20 20 20 69 66 20 7b  <th1>.@     if {
1ef0: 21 5b 69 6e 66 6f 20 65 78 69 73 74 73 20 65 61  ![info exists ea
1f00: 6c 6c 5d 7d 20 7b 73 65 74 20 65 61 6c 6c 20 30  ll]} {set eall 0
1f10: 7d 0a 40 20 20 20 20 20 69 66 20 7b 5b 69 6e 66  }.@     if {[inf
1f20: 6f 20 65 78 69 73 74 73 20 61 6f 6e 6c 79 62 74  o exists aonlybt
1f30: 6e 5d 7d 20 7b 73 65 74 20 65 61 6c 6c 20 30 7d  n]} {set eall 0}
1f40: 0a 40 20 20 20 20 20 69 66 20 7b 5b 69 6e 66 6f  .@     if {[info
1f50: 20 65 78 69 73 74 73 20 65 61 6c 6c 62 74 6e 5d   exists eallbtn]
1f60: 7d 20 7b 73 65 74 20 65 61 6c 6c 20 31 7d 0a 40  } {set eall 1}.@
1f70: 20 20 20 20 20 69 66 20 7b 21 5b 68 61 73 63 61       if {![hasca
1f80: 70 20 77 5d 7d 20 7b 73 65 74 20 65 61 6c 6c 20  p w]} {set eall 
1f90: 30 7d 0a 40 20 20 20 20 20 73 65 74 20 6e 6c 69  0}.@     set nli
1fa0: 6e 65 20 5b 6c 69 6e 65 63 6f 75 6e 74 20 24 63  ne [linecount $c
1fb0: 6f 6d 6d 65 6e 74 20 31 35 20 31 30 5d 0a 40 20  omment 15 10].@ 
1fc0: 20 20 20 20 65 6e 61 62 6c 65 5f 6f 75 74 70 75      enable_outpu
1fd0: 74 20 24 65 61 6c 6c 0a 40 20 20 20 3c 2f 74 68  t $eall.@   </th
1fe0: 31 3e 0a 40 20 20 20 20 20 44 65 73 63 72 69 70  1>.@     Descrip
1ff0: 74 69 6f 6e 20 41 6e 64 20 43 6f 6d 6d 65 6e 74  tion And Comment
2000: 73 3a 3c 62 72 3e 0a 40 20 20 20 20 20 3c 74 65  s:<br>.@     <te
2010: 78 74 61 72 65 61 20 6e 61 6d 65 3d 22 63 6f 6d  xtarea name="com
2020: 6d 65 6e 74 22 20 63 6f 6c 73 3d 22 38 30 22 20  ment" cols="80" 
2030: 72 6f 77 73 3d 22 24 6e 6c 69 6e 65 22 0a 40 20  rows="$nline".@ 
2040: 20 20 20 20 20 77 72 61 70 3d 22 76 69 72 74 75       wrap="virtu
2050: 61 6c 22 20 63 6c 61 73 73 3d 22 77 69 6b 69 65  al" class="wikie
2060: 64 69 74 22 3e 24 3c 63 6f 6d 6d 65 6e 74 3e 3c  dit">$<comment><
2070: 2f 74 65 78 74 61 72 65 61 3e 3c 62 72 3e 0a 40  /textarea><br>.@
2080: 20 20 20 20 20 3c 69 6e 70 75 74 20 74 79 70 65       <input type
2090: 3d 22 68 69 64 64 65 6e 22 20 6e 61 6d 65 3d 22  ="hidden" name="
20a0: 65 61 6c 6c 22 20 76 61 6c 75 65 3d 22 31 22 3e  eall" value="1">
20b0: 0a 40 20 20 20 20 20 3c 69 6e 70 75 74 20 74 79  .@     <input ty
20c0: 70 65 3d 22 73 75 62 6d 69 74 22 20 6e 61 6d 65  pe="submit" name
20d0: 3d 22 61 6f 6e 6c 79 62 74 6e 22 20 76 61 6c 75  ="aonlybtn" valu
20e0: 65 3d 22 41 70 70 65 6e 64 20 52 65 6d 61 72 6b  e="Append Remark
20f0: 22 3e 0a 40 20 20 20 3c 74 68 31 3e 65 6e 61 62  ">.@   <th1>enab
2100: 6c 65 5f 6f 75 74 70 75 74 20 5b 65 78 70 72 20  le_output [expr 
2110: 7b 21 24 65 61 6c 6c 7d 5d 3c 2f 74 68 3e 0a 40  {!$eall}]</th>.@
2120: 20 20 20 20 20 41 70 70 65 6e 64 20 52 65 6d 61       Append Rema
2130: 72 6b 20 66 72 6f 6d 20 0a 40 20 20 20 20 20 3c  rk from .@     <
2140: 69 6e 70 75 74 20 74 79 70 65 3d 22 74 65 78 74  input type="text
2150: 22 20 6e 61 6d 65 3d 22 75 73 65 72 6e 61 6d 65  " name="username
2160: 22 20 76 61 6c 75 65 3d 22 24 3c 75 73 65 72 6e  " value="$<usern
2170: 61 6d 65 3e 22 20 73 69 7a 65 3d 22 33 30 22 3e  ame>" size="30">
2180: 3a 3c 62 72 3e 0a 40 20 20 20 20 20 3c 74 65 78  :<br>.@     <tex
2190: 74 61 72 65 61 20 6e 61 6d 65 3d 22 63 6d 61 70  tarea name="cmap
21a0: 70 6e 64 22 20 63 6f 6c 73 3d 22 38 30 22 20 72  pnd" cols="80" r
21b0: 6f 77 73 3d 22 31 35 22 0a 40 20 20 20 20 20 20  ows="15".@      
21c0: 77 72 61 70 3d 22 76 69 72 74 75 61 6c 22 20 63  wrap="virtual" c
21d0: 6c 61 73 73 3d 22 77 69 6b 69 65 64 69 74 22 3e  lass="wikiedit">
21e0: 24 3c 63 6d 61 70 70 6e 64 3e 3c 2f 74 65 78 74  $<cmappnd></text
21f0: 61 72 65 61 3e 3c 62 72 3e 0a 40 20 20 20 3c 74  area><br>.@   <t
2200: 68 31 3e 65 6e 61 62 6c 65 5f 6f 75 74 70 75 74  h1>enable_output
2210: 20 5b 65 78 70 72 20 7b 5b 68 61 73 63 61 70 20   [expr {[hascap 
2220: 77 5d 20 26 26 20 21 24 65 61 6c 6c 7d 5d 3c 2f  w] && !$eall}]</
2230: 74 68 31 3e 0a 40 20 20 20 20 20 3c 69 6e 70 75  th1>.@     <inpu
2240: 74 20 74 79 70 65 3d 22 73 75 62 6d 69 74 22 20  t type="submit" 
2250: 6e 61 6d 65 3d 22 65 61 6c 6c 62 74 6e 22 20 76  name="eallbtn" v
2260: 61 6c 75 65 3d 22 45 64 69 74 20 41 6c 6c 22 3e  alue="Edit All">
2270: 0a 40 20 20 20 3c 74 68 31 3e 65 6e 61 62 6c 65  .@   <th1>enable
2280: 5f 6f 75 74 70 75 74 20 31 3c 2f 74 68 31 3e 0a  _output 1</th1>.
2290: 40 20 20 20 3c 2f 74 64 3e 3c 2f 74 72 3e 0a 40  @   </td></tr>.@
22a0: 20 20 20 3c 74 72 3e 3c 74 64 20 61 6c 69 67 6e     <tr><td align
22b0: 3d 22 72 69 67 68 74 22 3e 3c 2f 74 64 3e 3c 74  ="right"></td><t
22c0: 64 3e 0a 40 20 20 20 3c 69 6e 70 75 74 20 74 79  d>.@   <input ty
22d0: 70 65 3d 22 73 75 62 6d 69 74 22 20 6e 61 6d 65  pe="submit" name
22e0: 3d 22 73 75 62 6d 69 74 22 20 76 61 6c 75 65 3d  ="submit" value=
22f0: 22 53 75 62 6d 69 74 20 43 68 61 6e 67 65 73 22  "Submit Changes"
2300: 3e 0a 40 20 20 20 3c 2f 74 64 3e 3c 2f 74 72 3e  >.@   </td></tr>
2310: 0a 40 20 20 20 3c 2f 74 61 62 6c 65 3e 0a 40 20  .@   </table>.@ 
2320: 7d 0a 40 20 0a 40 20 23 23 23 23 23 23 23 23 23  }.@ .@ #########
2330: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
2340: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
2350: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
2360: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
2370: 23 0a 40 20 23 20 54 68 65 20 74 65 6d 70 6c 61  #.@ # The templa
2380: 74 65 20 66 6f 72 20 74 68 65 20 22 76 69 65 77  te for the "view
2390: 20 74 69 63 6b 65 74 22 20 70 61 67 65 0a 40 20   ticket" page.@ 
23a0: 73 65 74 20 74 6b 74 76 69 65 77 5f 74 65 6d 70  set tktview_temp
23b0: 6c 61 74 65 20 7b 0a 40 20 20 20 3c 21 2d 2d 20  late {.@   <!-- 
23c0: 6c 6f 61 64 20 64 61 74 61 62 61 73 65 20 66 69  load database fi
23d0: 65 6c 64 73 20 61 75 74 6f 6d 61 74 69 63 61 6c  elds automatical
23e0: 6c 79 20 6c 6f 61 64 65 64 20 69 6e 74 6f 20 76  ly loaded into v
23f0: 61 72 69 61 62 6c 65 73 20 2d 2d 3e 0a 40 20 20  ariables -->.@  
2400: 20 3c 74 61 62 6c 65 20 63 65 6c 6c 70 61 64 64   <table cellpadd
2410: 69 6e 67 3d 22 35 22 3e 0a 40 20 20 20 3c 74 72  ing="5">.@   <tr
2420: 3e 3c 74 64 20 61 6c 69 67 6e 3d 22 72 69 67 68  ><td align="righ
2430: 74 22 3e 54 69 74 6c 65 3a 3c 2f 74 64 3e 3c 74  t">Title:</td><t
2440: 64 3e 0a 40 20 20 20 24 3c 74 69 74 6c 65 3e 0a  d>.@   $<title>.
2450: 40 20 20 20 3c 2f 74 64 3e 3c 2f 74 72 3e 0a 40  @   </td></tr>.@
2460: 20 20 20 3c 74 72 3e 3c 74 64 20 61 6c 69 67 6e     <tr><td align
2470: 3d 22 72 69 67 68 74 22 3e 53 74 61 74 75 73 3a  ="right">Status:
2480: 3c 2f 74 64 3e 3c 74 64 3e 0a 40 20 20 20 24 3c  </td><td>.@   $<
2490: 73 74 61 74 75 73 3e 0a 40 20 20 20 3c 2f 74 64  status>.@   </td
24a0: 3e 3c 2f 74 72 3e 0a 40 20 20 20 3c 74 72 3e 3c  ></tr>.@   <tr><
24b0: 74 64 20 61 6c 69 67 6e 3d 22 72 69 67 68 74 22  td align="right"
24c0: 3e 54 79 70 65 3a 3c 2f 74 64 3e 3c 74 64 3e 0a  >Type:</td><td>.
24d0: 40 20 20 20 24 3c 74 79 70 65 3e 0a 40 20 20 20  @   $<type>.@   
24e0: 3c 2f 74 64 3e 3c 2f 74 72 3e 0a 40 20 20 20 3c  </td></tr>.@   <
24f0: 74 72 3e 3c 74 64 20 61 6c 69 67 6e 3d 22 72 69  tr><td align="ri
2500: 67 68 74 22 3e 53 65 76 65 72 69 74 79 3a 3c 2f  ght">Severity:</
2510: 74 64 3e 3c 74 64 3e 0a 40 20 20 20 24 3c 73 65  td><td>.@   $<se
2520: 76 65 72 69 74 79 3e 0a 40 20 20 20 3c 2f 74 64  verity>.@   </td
2530: 3e 3c 2f 74 72 3e 0a 40 20 20 20 3c 74 72 3e 3c  ></tr>.@   <tr><
2540: 74 64 20 61 6c 69 67 6e 3d 22 72 69 67 68 74 22  td align="right"
2550: 3e 50 72 69 6f 72 69 74 79 3a 3c 2f 74 64 3e 3c  >Priority:</td><
2560: 74 64 3e 0a 40 20 20 20 24 3c 70 72 69 6f 72 69  td>.@   $<priori
2570: 74 79 3e 0a 40 20 20 20 3c 2f 74 64 3e 3c 2f 74  ty>.@   </td></t
2580: 72 3e 0a 40 20 20 20 3c 74 72 3e 3c 74 64 20 61  r>.@   <tr><td a
2590: 6c 69 67 6e 3d 22 72 69 67 68 74 22 3e 52 65 73  lign="right">Res
25a0: 6f 6c 75 74 69 6f 6e 3a 3c 2f 74 64 3e 3c 74 64  olution:</td><td
25b0: 3e 0a 40 20 20 20 24 3c 72 65 73 6f 6c 75 74 69  >.@   $<resoluti
25c0: 6f 6e 3e 0a 40 20 20 20 3c 2f 74 64 3e 3c 2f 74  on>.@   </td></t
25d0: 72 3e 0a 40 20 20 20 3c 74 72 3e 3c 74 64 20 61  r>.@   <tr><td a
25e0: 6c 69 67 6e 3d 22 72 69 67 68 74 22 3e 53 75 62  lign="right">Sub
25f0: 73 79 73 74 65 6d 3a 3c 2f 74 64 3e 3c 74 64 3e  system:</td><td>
2600: 0a 40 20 20 20 24 3c 73 75 62 73 79 73 74 65 6d  .@   $<subsystem
2610: 3e 0a 40 20 20 20 3c 2f 74 64 3e 3c 2f 74 72 3e  >.@   </td></tr>
2620: 0a 40 20 20 20 3c 74 68 31 3e 65 6e 61 62 6c 65  .@   <th1>enable
2630: 5f 6f 75 74 70 75 74 20 5b 68 61 73 63 61 70 20  _output [hascap 
2640: 65 5d 3c 2f 74 68 31 3e 0a 40 20 20 20 20 20 3c  e]</th1>.@     <
2650: 74 72 3e 3c 74 64 20 61 6c 69 67 6e 3d 22 72 69  tr><td align="ri
2660: 67 68 74 22 3e 43 6f 6e 74 61 63 74 3a 3c 2f 74  ght">Contact:</t
2670: 64 3e 3c 74 64 3e 0a 40 20 20 20 20 20 24 3c 63  d><td>.@     $<c
2680: 6f 6e 74 61 63 74 3e 0a 40 20 20 20 20 20 3c 2f  ontact>.@     </
2690: 74 64 3e 3c 2f 74 72 3e 0a 40 20 20 20 3c 74 68  td></tr>.@   <th
26a0: 31 3e 65 6e 61 62 6c 65 5f 6f 75 74 70 75 74 20  1>enable_output 
26b0: 31 3c 2f 74 68 31 3e 0a 40 20 20 20 3c 74 72 3e  1</th1>.@   <tr>
26c0: 3c 74 64 20 61 6c 69 67 6e 3d 22 72 69 67 68 74  <td align="right
26d0: 22 3e 56 65 72 73 69 6f 6e 26 6e 62 73 70 3b 46  ">Version&nbsp;F
26e0: 6f 75 6e 64 26 6e 62 73 70 3b 49 6e 3a 3c 2f 74  ound&nbsp;In:</t
26f0: 64 3e 3c 74 64 3e 0a 40 20 20 20 24 3c 66 6f 75  d><td>.@   $<fou
2700: 6e 64 69 6e 3e 0a 40 20 20 20 3c 2f 74 64 3e 3c  ndin>.@   </td><
2710: 2f 74 72 3e 0a 40 20 20 20 3c 74 72 3e 3c 74 64  /tr>.@   <tr><td
2720: 20 63 6f 6c 73 70 61 6e 3d 22 32 22 3e 0a 40 20   colspan="2">.@ 
2730: 20 20 44 65 73 63 72 69 70 74 69 6f 6e 20 41 6e    Description An
2740: 64 20 43 6f 6d 6d 65 6e 74 73 3a 3c 62 72 3e 0a  d Comments:<br>.
2750: 40 20 20 20 3c 74 68 31 3e 77 69 6b 69 20 24 63  @   <th1>wiki $c
2760: 6f 6d 6d 65 6e 74 3c 2f 74 68 31 3e 0a 40 20 20  omment</th1>.@  
2770: 20 3c 2f 74 64 3e 3c 2f 74 72 3e 0a 40 20 20 20   </td></tr>.@   
2780: 3c 2f 74 61 62 6c 65 3e 0a 40 20 7d 0a 3b 0a     </table>.@ }.;.