Hex Artifact Content
Not logged in

Artifact fc468af27b1420aefa54b56658886e0a4bc49db2:

File src/tktconfig.c part of check-in [46e6a03232] - Get rudimentary ticket editing working. by drh on 2008-05-16 18:57: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 72 65 73 6f 6c 75 74 69 6f 6e 20 54 45 58    resolution TEX
0940: 54 2c 0a 40 20 20 20 20 20 20 74 69 74 6c 65 20  T,.@      title 
0950: 54 45 58 54 2c 0a 40 20 20 20 20 20 20 63 6f 6d  TEXT,.@      com
0960: 6d 65 6e 74 20 54 45 58 54 2c 0a 40 20 20 20 20  ment TEXT,.@    
0970: 20 20 2d 2d 20 44 6f 20 6e 6f 74 20 61 6c 74 65    -- Do not alte
0980: 72 20 74 68 69 73 20 55 4e 49 51 55 45 20 63 6c  r this UNIQUE cl
0990: 61 75 73 65 3a 0a 40 20 20 20 20 20 20 55 4e 49  ause:.@      UNI
09a0: 51 55 45 28 74 6b 74 5f 75 75 69 64 2c 20 74 6b  QUE(tkt_uuid, tk
09b0: 74 5f 6d 74 69 6d 65 29 0a 40 20 20 20 20 29 3b  t_mtime).@    );
09c0: 0a 40 20 20 20 20 2d 2d 20 41 64 64 20 69 6e 64  .@    -- Add ind
09d0: 69 63 65 73 20 61 73 20 64 65 73 69 72 65 64 0a  ices as desired.
09e0: 40 20 7d 0a 40 20 0a 40 20 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 23 23 23  ################
0a20: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
0a30: 23 23 23 23 23 0a 40 20 23 20 59 6f 75 20 63 61  #####.@ # You ca
0a40: 6e 20 64 65 66 69 6e 65 20 61 64 64 69 74 69 6f  n define additio
0a50: 6e 61 6c 20 76 61 72 69 61 62 6c 65 73 20 68 65  nal variables he
0a60: 72 65 2e 20 20 54 68 65 73 65 20 76 61 72 69 61  re.  These varia
0a70: 62 6c 65 73 20 77 69 6c 6c 20 62 65 0a 40 20 23  bles will be.@ #
0a80: 20 61 63 63 65 73 73 69 62 6c 65 20 74 6f 20 74   accessible to t
0a90: 68 65 20 70 61 67 65 20 74 65 6d 70 6c 61 74 65  he page template
0aa0: 73 20 77 68 65 6e 20 74 68 65 79 20 72 75 6e 2e  s when they run.
0ab0: 0a 40 20 23 0a 40 20 73 65 74 20 74 79 70 65 5f  .@ #.@ set type_
0ac0: 63 68 6f 69 63 65 73 20 7b 0a 40 20 20 20 20 43  choices {.@    C
0ad0: 6f 64 65 5f 44 65 66 65 63 74 0a 40 20 20 20 20  ode_Defect.@    
0ae0: 42 75 69 6c 64 5f 50 72 6f 62 6c 65 6d 0a 40 20  Build_Problem.@ 
0af0: 20 20 20 44 6f 63 75 6d 65 6e 74 61 74 69 6f 6e     Documentation
0b00: 0a 40 20 20 20 20 46 65 61 74 75 72 65 5f 52 65  .@    Feature_Re
0b10: 71 75 65 73 74 0a 40 20 20 20 20 49 6e 63 69 64  quest.@    Incid
0b20: 65 6e 74 0a 40 20 7d 0a 40 20 73 65 74 20 70 72  ent.@ }.@ set pr
0b30: 69 6f 72 69 74 79 5f 63 68 6f 69 63 65 73 20 7b  iority_choices {
0b40: 49 6d 6d 65 64 69 61 74 65 20 48 69 67 68 20 4d  Immediate High M
0b50: 65 64 69 75 6d 20 4c 6f 77 20 5a 65 72 6f 7d 0a  edium Low Zero}.
0b60: 40 20 73 65 74 20 73 65 76 65 72 69 74 79 5f 63  @ set severity_c
0b70: 68 6f 69 63 65 73 20 7b 43 72 69 74 69 63 61 6c  hoices {Critical
0b80: 20 53 65 76 65 72 65 20 49 6d 70 6f 72 74 61 6e   Severe Importan
0b90: 74 20 4d 69 6e 6f 72 20 43 6f 73 6d 65 74 69 63  t Minor Cosmetic
0ba0: 7d 0a 40 20 73 65 74 20 72 65 73 6f 6c 75 74 69  }.@ set resoluti
0bb0: 6f 6e 5f 63 68 6f 69 63 65 73 20 7b 0a 40 20 20  on_choices {.@  
0bc0: 20 4f 70 65 6e 0a 40 20 20 20 46 69 78 65 64 0a   Open.@   Fixed.
0bd0: 40 20 20 20 52 65 6a 65 63 74 65 64 0a 40 20 20  @   Rejected.@  
0be0: 20 55 6e 61 62 6c 65 5f 54 6f 5f 52 65 70 72 6f   Unable_To_Repro
0bf0: 64 75 63 65 0a 40 20 20 20 57 6f 72 6b 73 5f 41  duce.@   Works_A
0c00: 73 5f 44 65 73 69 67 6e 65 64 0a 40 20 20 20 45  s_Designed.@   E
0c10: 78 74 65 72 6e 61 6c 5f 42 75 67 0a 40 20 20 20  xternal_Bug.@   
0c20: 4e 6f 74 5f 41 5f 42 75 67 0a 40 20 20 20 44 75  Not_A_Bug.@   Du
0c30: 70 6c 69 63 61 74 65 0a 40 20 20 20 4f 76 65 72  plicate.@   Over
0c40: 63 6f 6d 65 5f 42 79 5f 45 76 65 6e 74 73 0a 40  come_By_Events.@
0c50: 20 20 20 44 72 69 76 65 5f 42 79 5f 50 61 74 63     Drive_By_Patc
0c60: 68 0a 40 20 7d 0a 40 20 73 65 74 20 73 74 61 74  h.@ }.@ set stat
0c70: 75 73 5f 63 68 6f 69 63 65 73 20 7b 0a 40 20 20  us_choices {.@  
0c80: 20 4f 70 65 6e 0a 40 20 20 20 56 65 72 69 66 69   Open.@   Verifi
0c90: 65 64 0a 40 20 20 20 49 6e 5f 50 72 6f 63 65 73  ed.@   In_Proces
0ca0: 73 0a 40 20 20 20 44 65 66 65 72 72 65 64 0a 40  s.@   Deferred.@
0cb0: 20 20 20 46 69 78 65 64 0a 40 20 20 20 54 65 73     Fixed.@   Tes
0cc0: 74 65 64 0a 40 20 20 20 43 6c 6f 73 65 64 0a 40  ted.@   Closed.@
0cd0: 20 7d 0a 40 20 73 65 74 20 73 75 62 73 79 73 74   }.@ set subsyst
0ce0: 65 6d 5f 63 68 6f 69 63 65 73 20 7b 6f 6e 65 20  em_choices {one 
0cf0: 74 77 6f 20 74 68 72 65 65 7d 0a 40 20 0a 40 20  two three}.@ .@ 
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 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 0a 40 20 23 20 54  ##########.@ # T
0d50: 68 65 20 22 74 6b 74 6e 65 77 5f 74 65 6d 70 6c  he "tktnew_templ
0d60: 61 74 65 22 20 76 61 72 69 61 62 6c 65 20 69 73  ate" variable is
0d70: 20 73 65 74 20 74 6f 20 74 65 78 74 20 77 68 69   set to text whi
0d80: 63 68 20 69 73 20 61 20 74 65 6d 70 6c 61 74 65  ch is a template
0d90: 20 66 6f 72 0a 40 20 23 20 74 68 65 20 48 54 4d   for.@ # the HTM
0da0: 4c 20 6f 66 20 74 68 65 20 22 4e 65 77 20 54 69  L of the "New Ti
0db0: 63 6b 65 74 22 20 70 61 67 65 2e 20 20 57 69 74  cket" page.  Wit
0dc0: 68 69 6e 20 74 68 69 73 20 74 65 6d 70 6c 61 74  hin this templat
0dd0: 65 2c 20 74 65 78 74 20 63 6f 6e 74 61 69 6e 65  e, text containe
0de0: 64 0a 40 20 23 20 77 69 74 68 69 6e 20 5b 2e 2e  d.@ # within [..
0df0: 2e 5d 20 69 73 20 73 75 62 73 63 72 69 70 74 2e  .] is subscript.
0e00: 20 20 54 68 61 74 20 73 75 62 73 63 72 69 70 74    That subscript
0e10: 20 72 75 6e 73 20 77 68 65 6e 20 74 68 65 20 70   runs when the p
0e20: 61 67 65 20 69 73 0a 40 20 23 20 72 65 6e 64 65  age is.@ # rende
0e30: 72 65 64 2e 0a 40 20 23 0a 40 20 73 65 74 20 74  red..@ #.@ set t
0e40: 6b 74 6e 65 77 5f 74 65 6d 70 6c 61 74 65 20 7b  ktnew_template {
0e50: 0a 40 20 20 20 3c 21 2d 2d 20 6c 6f 61 64 20 64  .@   <!-- load d
0e60: 61 74 61 62 61 73 65 20 66 69 65 6c 64 20 6e 61  atabase field na
0e70: 6d 65 73 20 6e 6f 74 20 66 6f 75 6e 64 20 69 6e  mes not found in
0e80: 20 43 47 49 20 77 69 74 68 20 61 6e 20 65 6d 70   CGI with an emp
0e90: 74 79 20 73 74 72 69 6e 67 20 2d 2d 3e 0a 40 20  ty string -->.@ 
0ea0: 20 20 3c 21 2d 2d 20 73 74 61 72 74 20 61 20 66    <!-- start a f
0eb0: 6f 72 6d 20 2d 2d 3e 0a 40 20 20 20 3c 74 68 31  orm -->.@   <th1
0ec0: 3e 0a 40 20 20 20 20 20 69 66 20 7b 5b 69 6e 66  >.@     if {[inf
0ed0: 6f 20 65 78 69 73 74 73 20 73 75 62 6d 69 74 5d  o exists submit]
0ee0: 7d 20 7b 0a 40 20 20 20 20 20 20 20 20 73 65 74  } {.@        set
0ef0: 20 73 74 61 74 75 73 20 4f 70 65 6e 0a 40 20 20   status Open.@  
0f00: 20 20 20 20 20 20 73 75 62 6d 69 74 5f 74 69 63        submit_tic
0f10: 6b 65 74 0a 40 20 20 20 20 20 7d 0a 40 20 20 20  ket.@     }.@   
0f20: 3c 2f 74 68 31 3e 0a 40 20 20 20 3c 74 61 62 6c  </th1>.@   <tabl
0f30: 65 20 63 65 6c 6c 70 61 64 64 69 6e 67 3d 22 35  e cellpadding="5
0f40: 22 3e 0a 40 20 20 20 3c 74 72 3e 0a 40 20 20 20  ">.@   <tr>.@   
0f50: 3c 74 64 20 63 6f 6c 73 70 61 6e 3d 22 32 22 3e  <td colspan="2">
0f60: 0a 40 20 20 20 45 6e 74 65 72 20 61 20 6f 6e 65  .@   Enter a one
0f70: 2d 6c 69 6e 65 20 73 75 6d 6d 61 72 79 20 6f 66  -line summary of
0f80: 20 74 68 65 20 70 72 6f 62 6c 65 6d 3a 3c 62 72   the problem:<br
0f90: 3e 0a 40 20 20 20 3c 69 6e 70 75 74 20 74 79 70  >.@   <input typ
0fa0: 65 3d 22 74 65 78 74 22 20 6e 61 6d 65 3d 22 74  e="text" name="t
0fb0: 69 74 6c 65 22 20 73 69 7a 65 3d 22 36 30 22 20  itle" size="60" 
0fc0: 76 61 6c 75 65 3d 22 24 3c 74 69 74 6c 65 3e 22  value="$<title>"
0fd0: 3e 0a 40 20 20 20 3c 2f 74 64 3e 0a 40 20 20 20  >.@   </td>.@   
0fe0: 3c 2f 74 72 3e 0a 40 20 20 20 0a 40 20 20 20 3c  </tr>.@   .@   <
0ff0: 74 72 3e 0a 40 20 20 20 3c 74 64 20 61 6c 69 67  tr>.@   <td alig
1000: 6e 3d 22 72 69 67 68 74 22 3e 54 79 70 65 3a 0a  n="right">Type:.
1010: 40 20 20 20 3c 74 68 31 3e 63 6f 6d 62 6f 62 6f  @   <th1>combobo
1020: 78 20 74 79 70 65 20 24 74 79 70 65 5f 63 68 6f  x type $type_cho
1030: 69 63 65 73 20 31 3c 2f 74 68 31 3e 0a 40 20 20  ices 1</th1>.@  
1040: 20 3c 2f 74 64 3e 0a 40 20 20 20 3c 74 64 3e 57   </td>.@   <td>W
1050: 68 61 74 20 74 79 70 65 20 6f 66 20 74 69 63 6b  hat type of tick
1060: 65 74 20 69 73 20 74 68 69 73 3f 3c 2f 74 64 3e  et is this?</td>
1070: 0a 40 20 20 20 3c 2f 74 72 3e 0a 40 20 20 20 0a  .@   </tr>.@   .
1080: 40 20 20 20 3c 74 72 3e 0a 40 20 20 20 3c 74 64  @   <tr>.@   <td
1090: 20 61 6c 69 67 6e 3d 22 72 69 67 68 74 22 3e 56   align="right">V
10a0: 65 72 73 69 6f 6e 3a 20 0a 40 20 20 20 3c 69 6e  ersion: .@   <in
10b0: 70 75 74 20 74 79 70 65 3d 22 74 65 78 74 22 20  put type="text" 
10c0: 6e 61 6d 65 3d 22 66 6f 75 6e 64 69 6e 22 20 73  name="foundin" s
10d0: 69 7a 65 3d 22 32 30 22 20 76 61 6c 75 65 3d 22  ize="20" value="
10e0: 24 3c 66 6f 75 6e 64 69 6e 3e 22 3e 0a 40 20 20  $<foundin>">.@  
10f0: 20 3c 2f 74 64 3e 0a 40 20 20 20 3c 74 64 3e 49   </td>.@   <td>I
1100: 6e 20 77 68 61 74 20 76 65 72 73 69 6f 6e 20 6f  n what version o
1110: 72 20 62 75 69 6c 64 20 6e 75 6d 62 65 72 20 64  r build number d
1120: 6f 20 79 6f 75 20 6f 62 73 65 72 76 65 72 20 74  o you observer t
1130: 68 65 20 70 72 6f 62 6c 65 6d 3f 3c 2f 74 64 3e  he problem?</td>
1140: 0a 40 20 20 20 3c 2f 74 72 3e 0a 40 20 20 20 0a  .@   </tr>.@   .
1150: 40 20 20 20 3c 74 72 3e 0a 40 20 20 20 3c 74 64  @   <tr>.@   <td
1160: 20 61 6c 69 67 6e 3d 22 72 69 67 68 74 22 3e 53   align="right">S
1170: 65 76 65 72 69 74 79 3a 0a 40 20 20 20 3c 74 68  everity:.@   <th
1180: 31 3e 63 6f 6d 62 6f 62 6f 78 20 73 65 76 65 72  1>combobox sever
1190: 69 74 79 20 24 73 65 76 65 72 69 74 79 5f 63 68  ity $severity_ch
11a0: 6f 69 63 65 73 20 31 3c 2f 74 68 31 3e 0a 40 20  oices 1</th1>.@ 
11b0: 20 20 3c 2f 74 64 3e 0a 40 20 20 20 3c 74 64 3e    </td>.@   <td>
11c0: 48 6f 77 20 64 65 62 69 6c 69 74 61 74 69 6e 67  How debilitating
11d0: 20 69 73 20 74 68 65 20 70 72 6f 62 6c 65 6d 3f   is the problem?
11e0: 20 20 48 6f 77 20 62 61 64 6c 79 20 64 6f 65 73    How badly does
11f0: 20 74 68 65 20 70 72 6f 62 6c 65 6d 0a 40 20 20   the problem.@  
1200: 20 65 66 66 65 63 74 20 74 68 65 20 6f 70 65 72   effect the oper
1210: 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 70 72 6f  ation of the pro
1220: 64 75 63 74 3f 3c 2f 74 64 3e 0a 40 20 20 20 3c  duct?</td>.@   <
1230: 2f 74 72 3e 0a 40 20 20 20 0a 40 20 20 20 3c 74  /tr>.@   .@   <t
1240: 72 3e 0a 40 20 20 20 3c 74 64 20 61 6c 69 67 6e  r>.@   <td align
1250: 3d 22 72 69 67 68 74 22 3e 45 4d 61 69 6c 3a 0a  ="right">EMail:.
1260: 40 20 20 20 3c 69 6e 70 75 74 20 74 79 70 65 3d  @   <input type=
1270: 22 74 65 78 74 22 20 6e 61 6d 65 3d 22 63 6f 6e  "text" name="con
1280: 74 61 63 74 22 20 76 61 6c 75 65 3d 22 24 3c 63  tact" value="$<c
1290: 6f 6e 74 61 63 74 3e 22 20 73 69 7a 65 3d 22 33  ontact>" size="3
12a0: 30 22 3e 0a 40 20 20 20 3c 2f 74 64 3e 0a 40 20  0">.@   </td>.@ 
12b0: 20 20 3c 74 64 3e 4e 6f 74 20 70 75 62 6c 69 63    <td>Not public
12c0: 61 6c 6c 79 20 76 69 73 69 62 6c 65 2e 20 55 73  ally visible. Us
12d0: 65 64 20 62 79 20 64 65 76 65 6c 6f 70 65 72 73  ed by developers
12e0: 20 74 6f 20 63 6f 6e 74 61 63 74 20 79 6f 75 20   to contact you 
12f0: 77 69 74 68 0a 40 20 20 20 71 75 65 73 74 69 6f  with.@   questio
1300: 6e 73 2e 3c 2f 74 64 3e 0a 40 20 20 20 3c 2f 74  ns.</td>.@   </t
1310: 72 3e 0a 40 20 20 20 0a 40 20 20 20 3c 74 72 3e  r>.@   .@   <tr>
1320: 0a 40 20 20 20 3c 74 64 20 63 6f 6c 73 70 61 6e  .@   <td colspan
1330: 3d 22 32 22 3e 0a 40 20 20 20 45 6e 74 65 72 20  ="2">.@   Enter 
1340: 61 20 64 65 74 61 69 6c 65 64 20 64 65 73 63 72  a detailed descr
1350: 69 70 74 69 6f 6e 20 6f 66 20 74 68 65 20 70 72  iption of the pr
1360: 6f 62 6c 65 6d 2e 0a 40 20 20 20 46 6f 72 20 63  oblem..@   For c
1370: 6f 64 65 20 64 65 66 65 63 74 73 2c 20 62 65 20  ode defects, be 
1380: 73 75 72 65 20 74 6f 20 70 72 6f 76 69 64 65 20  sure to provide 
1390: 64 65 74 61 69 6c 73 20 6f 6e 20 65 78 61 63 74  details on exact
13a0: 6c 79 20 68 6f 77 0a 40 20 20 20 74 68 65 20 70  ly how.@   the p
13b0: 72 6f 62 6c 65 6d 20 63 61 6e 20 62 65 20 72 65  roblem can be re
13c0: 70 72 6f 64 75 63 65 64 2e 20 20 50 72 6f 76 69  produced.  Provi
13d0: 64 65 20 61 73 20 6d 75 63 68 20 64 65 74 61 69  de as much detai
13e0: 6c 20 61 73 0a 40 20 20 20 70 6f 73 73 69 62 6c  l as.@   possibl
13f0: 65 2e 0a 40 20 20 20 3c 62 72 3e 0a 40 20 20 20  e..@   <br>.@   
1400: 3c 74 68 31 3e 73 65 74 20 6e 6c 69 6e 65 20 5b  <th1>set nline [
1410: 6c 69 6e 65 63 6f 75 6e 74 20 24 63 6f 6d 6d 65  linecount $comme
1420: 6e 74 20 35 30 20 31 30 5d 3c 2f 74 68 31 3e 0a  nt 50 10]</th1>.
1430: 40 20 20 20 3c 74 65 78 74 61 72 65 61 20 6e 61  @   <textarea na
1440: 6d 65 3d 22 63 6f 6d 6d 65 6e 74 22 20 63 6f 6c  me="comment" col
1450: 73 3d 22 38 30 22 20 72 6f 77 73 3d 22 24 6e 6c  s="80" rows="$nl
1460: 69 6e 65 22 0a 40 20 20 20 20 77 72 61 70 3d 22  ine".@    wrap="
1470: 76 69 72 74 75 61 6c 22 20 63 6c 61 73 73 3d 22  virtual" class="
1480: 77 69 6b 69 65 64 69 74 22 3e 24 3c 63 6f 6d 6d  wikiedit">$<comm
1490: 65 6e 74 3e 3c 2f 74 65 78 74 61 72 65 61 3e 3c  ent></textarea><
14a0: 62 72 3e 0a 40 20 20 20 3c 69 6e 70 75 74 20 74  br>.@   <input t
14b0: 79 70 65 3d 22 73 75 62 6d 69 74 22 20 6e 61 6d  ype="submit" nam
14c0: 65 3d 22 70 72 65 76 69 65 77 22 20 76 61 6c 75  e="preview" valu
14d0: 65 3d 22 50 72 65 76 69 65 77 22 3e 0a 40 20 20  e="Preview">.@  
14e0: 20 3c 2f 74 72 3e 0a 40 20 0a 40 20 20 20 3c 74   </tr>.@ .@   <t
14f0: 68 31 3e 65 6e 61 62 6c 65 5f 6f 75 74 70 75 74  h1>enable_output
1500: 20 5b 69 6e 66 6f 20 65 78 69 73 74 73 20 70 72   [info exists pr
1510: 65 76 69 65 77 5d 3c 2f 74 68 31 3e 0a 40 20 20  eview]</th1>.@  
1520: 20 3c 74 72 3e 3c 74 64 20 63 6f 6c 73 70 61 6e   <tr><td colspan
1530: 3d 22 32 22 3e 0a 40 20 20 20 44 65 73 63 72 69  ="2">.@   Descri
1540: 70 74 69 6f 6e 20 50 72 65 76 69 65 77 3a 3c 62  ption Preview:<b
1550: 72 3e 3c 68 72 3e 0a 40 20 20 20 3c 74 68 31 3e  r><hr>.@   <th1>
1560: 77 69 6b 69 20 24 63 6f 6d 6d 65 6e 74 3c 2f 74  wiki $comment</t
1570: 68 31 3e 0a 40 20 20 20 3c 68 72 3e 0a 40 20 20  h1>.@   <hr>.@  
1580: 20 3c 2f 74 64 3e 3c 2f 74 72 3e 0a 40 20 20 20   </td></tr>.@   
1590: 3c 74 68 31 3e 65 6e 61 62 6c 65 5f 6f 75 74 70  <th1>enable_outp
15a0: 75 74 20 31 3c 2f 74 68 31 3e 0a 40 20 20 20 0a  ut 1</th1>.@   .
15b0: 40 20 20 20 3c 74 72 3e 0a 40 20 20 20 3c 74 64  @   <tr>.@   <td
15c0: 20 61 6c 69 67 6e 3d 22 72 69 67 68 74 22 3e 0a   align="right">.
15d0: 40 20 20 20 3c 69 6e 70 75 74 20 74 79 70 65 3d  @   <input type=
15e0: 22 73 75 62 6d 69 74 22 20 6e 61 6d 65 3d 22 73  "submit" name="s
15f0: 75 62 6d 69 74 22 20 76 61 6c 75 65 3d 22 53 75  ubmit" value="Su
1600: 62 6d 69 74 22 3e 0a 40 20 20 20 3c 2f 74 64 3e  bmit">.@   </td>
1610: 0a 40 20 20 20 3c 74 64 3e 41 66 74 65 72 20 66  .@   <td>After f
1620: 69 6c 6c 69 6e 67 20 69 6e 20 74 68 65 20 69 6e  illing in the in
1630: 66 6f 72 6d 61 74 69 6f 6e 20 61 62 6f 76 65 2c  formation above,
1640: 20 70 72 65 73 73 20 74 68 69 73 20 62 75 74 74   press this butt
1650: 6f 6e 20 74 6f 20 63 72 65 61 74 65 0a 40 20 20  on to create.@  
1660: 20 74 68 65 20 6e 65 77 20 74 69 63 6b 65 74 3c   the new ticket<
1670: 2f 74 64 3e 0a 40 20 20 20 3c 2f 74 72 3e 0a 40  /td>.@   </tr>.@
1680: 20 20 20 3c 2f 74 61 62 6c 65 3e 0a 40 20 20 20     </table>.@   
1690: 3c 21 2d 2d 20 65 6e 64 20 6f 66 20 66 6f 72 6d  <!-- end of form
16a0: 20 2d 2d 3e 0a 40 20 7d 0a 40 20 0a 40 20 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: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
16f0: 23 23 23 23 23 23 23 23 0a 40 20 23 20 54 68 65  ########.@ # The
1700: 20 74 65 6d 70 6c 61 74 65 20 66 6f 72 20 74 68   template for th
1710: 65 20 22 65 64 69 74 20 74 69 63 6b 65 74 22 20  e "edit ticket" 
1720: 70 61 67 65 0a 40 20 23 0a 40 20 23 20 54 68 65  page.@ #.@ # The
1730: 6e 20 67 65 6e 65 72 61 74 65 64 20 74 65 78 74  n generated text
1740: 20 69 73 20 69 6e 73 65 72 74 65 64 20 69 6e 73   is inserted ins
1750: 69 64 65 20 61 20 66 6f 72 6d 20 77 68 69 63 68  ide a form which
1760: 20 66 65 65 64 73 20 62 61 63 6b 20 74 6f 20 69   feeds back to i
1770: 74 73 65 6c 66 2e 0a 40 20 23 20 41 6c 6c 20 43  tself..@ # All C
1780: 47 49 20 70 61 72 61 6d 65 74 65 72 73 20 61 72  GI parameters ar
1790: 65 20 6c 6f 61 64 65 64 20 69 6e 74 6f 20 76 61  e loaded into va
17a0: 72 69 61 62 6c 65 73 2e 20 20 41 6c 6c 20 64 61  riables.  All da
17b0: 74 61 62 61 73 65 20 66 69 6c 65 73 20 61 72 65  tabase files are
17c0: 0a 40 20 23 20 6c 6f 61 64 65 64 20 69 6e 74 6f  .@ # loaded into
17d0: 20 76 61 72 69 61 62 6c 65 73 20 69 66 20 74 68   variables if th
17e0: 65 79 20 68 61 76 65 20 6e 6f 74 20 70 72 65 76  ey have not prev
17f0: 69 6f 75 73 6c 79 20 62 65 65 6e 20 6c 6f 61 64  iously been load
1800: 65 64 20 62 79 0a 40 20 23 20 43 47 49 20 70 61  ed by.@ # CGI pa
1810: 72 61 6d 65 74 65 72 73 2e 0a 40 20 73 65 74 20  rameters..@ set 
1820: 74 6b 74 65 64 69 74 5f 74 65 6d 70 6c 61 74 65  tktedit_template
1830: 20 7b 0a 40 20 20 20 3c 74 68 31 3e 0a 40 20 20   {.@   <th1>.@  
1840: 20 20 20 69 66 20 7b 21 5b 69 6e 66 6f 20 65 78     if {![info ex
1850: 69 73 74 73 20 75 73 65 72 6e 61 6d 65 5d 7d 20  ists username]} 
1860: 7b 73 65 74 20 75 73 65 72 6e 61 6d 65 20 24 6c  {set username $l
1870: 6f 67 69 6e 7d 0a 40 20 20 20 20 20 69 66 20 7b  ogin}.@     if {
1880: 5b 69 6e 66 6f 20 65 78 69 73 74 73 20 73 75 62  [info exists sub
1890: 6d 69 74 5d 7d 20 7b 0a 40 20 20 20 20 20 20 20  mit]} {.@       
18a0: 69 66 20 7b 5b 69 6e 66 6f 20 65 78 69 73 74 73  if {[info exists
18b0: 20 63 6d 61 70 70 6e 64 5d 7d 20 7b 0a 40 20 20   cmappnd]} {.@  
18c0: 20 20 20 20 20 20 20 69 66 20 7b 5b 73 74 72 69         if {[stri
18d0: 6e 67 20 6c 65 6e 67 74 68 20 24 63 6d 61 70 70  ng length $cmapp
18e0: 6e 64 5d 3e 30 7d 20 7b 0a 40 20 20 20 20 20 20  nd]>0} {.@      
18f0: 20 20 20 20 20 73 65 74 20 63 74 78 74 20 22 5c       set ctxt "\
1900: 6e 5c 6e 3c 68 72 3e 3c 69 3e 5b 68 74 6d 6c 69  n\n<hr><i>[htmli
1910: 7a 65 20 24 6c 6f 67 69 6e 5d 22 0a 40 20 20 20  ze $login]".@   
1920: 20 20 20 20 20 20 20 20 69 66 20 7b 24 75 73 65          if {$use
1930: 72 6e 61 6d 65 20 6e 65 20 24 6c 6f 67 69 6e 7d  rname ne $login}
1940: 20 7b 0a 40 20 20 20 20 20 20 20 20 20 20 20 20   {.@            
1950: 20 73 65 74 20 63 74 78 74 20 22 24 63 74 78 74   set ctxt "$ctxt
1960: 20 63 6c 61 69 6d 69 6e 67 20 74 6f 20 62 65 20   claiming to be 
1970: 5b 68 74 6d 6c 69 7a 65 20 24 75 73 65 72 6e 61  [htmlize $userna
1980: 6d 65 5d 22 0a 40 20 20 20 20 20 20 20 20 20 20  me]".@          
1990: 20 7d 0a 40 20 20 20 20 20 20 20 20 20 20 20 73   }.@           s
19a0: 65 74 20 63 74 78 74 20 22 24 63 74 78 74 20 61  et ctxt "$ctxt a
19b0: 64 64 65 64 20 6f 6e 20 5b 64 61 74 65 5d 3a 3c  dded on [date]:<
19c0: 2f 69 3e 3c 62 72 3e 5c 6e 24 63 6d 61 70 70 6e  /i><br>\n$cmappn
19d0: 64 22 0a 40 20 20 20 20 20 20 20 20 20 20 20 61  d".@           a
19e0: 70 70 65 6e 64 5f 66 69 65 6c 64 20 63 6f 6d 6d  ppend_field comm
19f0: 65 6e 74 20 24 63 74 78 74 0a 40 20 20 20 20 20  ent $ctxt.@     
1a00: 20 20 20 20 7d 0a 40 20 20 20 20 20 20 20 7d 0a      }.@       }.
1a10: 40 20 20 20 20 20 20 20 73 75 62 6d 69 74 5f 74  @       submit_t
1a20: 69 63 6b 65 74 0a 40 20 20 20 20 20 7d 0a 40 20  icket.@     }.@ 
1a30: 20 20 3c 2f 74 68 31 3e 0a 40 20 20 20 3c 74 61    </th1>.@   <ta
1a40: 62 6c 65 20 63 65 6c 6c 70 61 64 64 69 6e 67 3d  ble cellpadding=
1a50: 22 35 22 3e 0a 40 20 20 20 3c 74 72 3e 3c 74 64  "5">.@   <tr><td
1a60: 20 61 6c 69 67 6e 3d 22 72 69 67 68 74 22 3e 54   align="right">T
1a70: 69 74 6c 65 3a 3c 2f 74 64 3e 3c 74 64 3e 0a 40  itle:</td><td>.@
1a80: 20 20 20 3c 69 6e 70 75 74 20 74 79 70 65 3d 22     <input type="
1a90: 74 65 78 74 22 20 6e 61 6d 65 3d 22 74 69 74 6c  text" name="titl
1aa0: 65 22 20 76 61 6c 75 65 3d 22 24 3c 74 69 74 6c  e" value="$<titl
1ab0: 65 3e 22 20 73 69 7a 65 3d 22 36 30 22 3e 0a 40  e>" size="60">.@
1ac0: 20 20 20 3c 2f 74 64 3e 3c 2f 74 72 3e 0a 40 20     </td></tr>.@ 
1ad0: 20 20 3c 74 72 3e 3c 74 64 20 61 6c 69 67 6e 3d    <tr><td align=
1ae0: 22 72 69 67 68 74 22 3e 53 74 61 74 75 73 3a 3c  "right">Status:<
1af0: 2f 74 64 3e 3c 74 64 3e 0a 40 20 20 20 3c 74 68  /td><td>.@   <th
1b00: 31 3e 63 6f 6d 62 6f 62 6f 78 20 73 74 61 74 75  1>combobox statu
1b10: 73 20 24 73 74 61 74 75 73 5f 63 68 6f 69 63 65  s $status_choice
1b20: 73 20 31 3c 2f 74 68 31 3e 0a 40 20 20 20 3c 2f  s 1</th1>.@   </
1b30: 74 64 3e 3c 2f 74 72 3e 0a 40 20 20 20 3c 74 72  td></tr>.@   <tr
1b40: 3e 3c 74 64 20 61 6c 69 67 6e 3d 22 72 69 67 68  ><td align="righ
1b50: 74 22 3e 54 79 70 65 3a 3c 2f 74 64 3e 3c 74 64  t">Type:</td><td
1b60: 3e 0a 40 20 20 20 3c 74 68 31 3e 63 6f 6d 62 6f  >.@   <th1>combo
1b70: 62 6f 78 20 74 79 70 65 20 24 74 79 70 65 5f 63  box type $type_c
1b80: 68 6f 69 63 65 73 20 31 3c 2f 74 68 31 3e 0a 40  hoices 1</th1>.@
1b90: 20 20 20 3c 2f 74 64 3e 3c 2f 74 72 3e 0a 40 20     </td></tr>.@ 
1ba0: 20 20 3c 74 72 3e 3c 74 64 20 61 6c 69 67 6e 3d    <tr><td align=
1bb0: 22 72 69 67 68 74 22 3e 53 65 76 65 72 69 74 79  "right">Severity
1bc0: 3a 3c 2f 74 64 3e 3c 74 64 3e 0a 40 20 20 20 3c  :</td><td>.@   <
1bd0: 74 68 31 3e 63 6f 6d 62 6f 62 6f 78 20 73 65 76  th1>combobox sev
1be0: 65 72 69 74 79 20 24 73 65 76 65 72 69 74 79 5f  erity $severity_
1bf0: 63 68 6f 69 63 65 73 20 31 3c 2f 74 68 31 3e 0a  choices 1</th1>.
1c00: 40 20 20 20 3c 2f 74 64 3e 3c 2f 74 72 3e 0a 40  @   </td></tr>.@
1c10: 20 20 20 3c 74 72 3e 3c 74 64 20 61 6c 69 67 6e     <tr><td align
1c20: 3d 22 72 69 67 68 74 22 3e 50 72 69 6f 72 69 74  ="right">Priorit
1c30: 79 3a 3c 2f 74 64 3e 3c 74 64 3e 0a 40 20 20 20  y:</td><td>.@   
1c40: 3c 74 68 31 3e 63 6f 6d 62 6f 62 6f 78 20 70 72  <th1>combobox pr
1c50: 69 6f 72 69 74 79 20 24 70 72 69 6f 72 69 74 79  iority $priority
1c60: 5f 63 68 6f 69 63 65 73 20 31 3c 2f 74 68 31 3e  _choices 1</th1>
1c70: 0a 40 20 20 20 3c 2f 74 64 3e 3c 2f 74 72 3e 0a  .@   </td></tr>.
1c80: 40 20 20 20 3c 74 72 3e 3c 74 64 20 61 6c 69 67  @   <tr><td alig
1c90: 6e 3d 22 72 69 67 68 74 22 3e 52 65 73 6f 6c 75  n="right">Resolu
1ca0: 74 69 6f 6e 3a 3c 2f 74 64 3e 3c 74 64 3e 0a 40  tion:</td><td>.@
1cb0: 20 20 20 3c 74 68 31 3e 63 6f 6d 62 6f 62 6f 78     <th1>combobox
1cc0: 20 72 65 73 6f 6c 75 74 69 6f 6e 20 24 72 65 73   resolution $res
1cd0: 6f 6c 75 74 69 6f 6e 5f 63 68 6f 69 63 65 73 20  olution_choices 
1ce0: 31 3c 2f 74 68 31 3e 0a 40 20 20 20 3c 2f 74 64  1</th1>.@   </td
1cf0: 3e 3c 2f 74 72 3e 0a 40 20 20 20 3c 74 72 3e 3c  ></tr>.@   <tr><
1d00: 74 64 20 61 6c 69 67 6e 3d 22 72 69 67 68 74 22  td align="right"
1d10: 3e 53 75 62 73 79 73 74 65 6d 3a 3c 2f 74 64 3e  >Subsystem:</td>
1d20: 3c 74 64 3e 0a 40 20 20 20 3c 74 68 31 3e 63 6f  <td>.@   <th1>co
1d30: 6d 62 6f 62 6f 78 20 73 75 62 73 79 73 74 65 6d  mbobox subsystem
1d40: 20 24 73 75 62 73 79 73 74 65 6d 5f 63 68 6f 69   $subsystem_choi
1d50: 63 65 73 20 31 3c 2f 74 68 31 3e 0a 40 20 20 20  ces 1</th1>.@   
1d60: 3c 2f 74 64 3e 3c 2f 74 72 3e 0a 40 20 20 20 3c  </td></tr>.@   <
1d70: 74 68 31 3e 65 6e 61 62 6c 65 5f 6f 75 74 70 75  th1>enable_outpu
1d80: 74 20 5b 68 61 73 63 61 70 20 65 5d 3c 2f 74 68  t [hascap e]</th
1d90: 31 3e 0a 40 20 20 20 20 20 3c 74 72 3e 3c 74 64  1>.@     <tr><td
1da0: 20 61 6c 69 67 6e 3d 22 72 69 67 68 74 22 3e 43   align="right">C
1db0: 6f 6e 74 61 63 74 3a 3c 2f 74 64 3e 3c 74 64 3e  ontact:</td><td>
1dc0: 0a 40 20 20 20 20 20 3c 69 6e 70 75 74 20 74 79  .@     <input ty
1dd0: 70 65 3d 22 74 65 78 74 22 20 6e 61 6d 65 3d 22  pe="text" name="
1de0: 63 6f 6e 74 61 63 74 22 20 73 69 7a 65 3d 22 34  contact" size="4
1df0: 30 22 20 76 61 6c 75 65 3d 22 24 3c 63 6f 6e 74  0" value="$<cont
1e00: 61 63 74 3e 22 3e 0a 40 20 20 20 20 20 3c 2f 74  act>">.@     </t
1e10: 64 3e 3c 2f 74 72 3e 0a 40 20 20 20 3c 74 68 31  d></tr>.@   <th1
1e20: 3e 65 6e 61 62 6c 65 5f 6f 75 74 70 75 74 20 31  >enable_output 1
1e30: 3c 2f 74 68 31 3e 0a 40 20 20 20 3c 74 72 3e 3c  </th1>.@   <tr><
1e40: 74 64 20 61 6c 69 67 6e 3d 22 72 69 67 68 74 22  td align="right"
1e50: 3e 56 65 72 73 69 6f 6e 26 6e 62 73 70 3b 46 6f  >Version&nbsp;Fo
1e60: 75 6e 64 26 6e 62 73 70 3b 49 6e 3a 3c 2f 74 64  und&nbsp;In:</td
1e70: 3e 3c 74 64 3e 0a 40 20 20 20 3c 69 6e 70 75 74  ><td>.@   <input
1e80: 20 74 79 70 65 3d 22 74 65 78 74 22 20 6e 61 6d   type="text" nam
1e90: 65 3d 22 66 6f 75 6e 64 69 6e 22 20 73 69 7a 65  e="foundin" size
1ea0: 3d 22 35 30 22 20 76 61 6c 75 65 3d 22 24 3c 66  ="50" value="$<f
1eb0: 6f 75 6e 64 69 6e 3e 22 3e 0a 40 20 20 20 3c 2f  oundin>">.@   </
1ec0: 74 64 3e 3c 2f 74 72 3e 0a 40 20 20 20 3c 74 72  td></tr>.@   <tr
1ed0: 3e 3c 74 64 20 63 6f 6c 73 70 61 6e 3d 22 32 22  ><td colspan="2"
1ee0: 3e 0a 40 20 20 20 3c 74 68 31 3e 0a 40 20 20 20  >.@   <th1>.@   
1ef0: 20 20 69 66 20 7b 21 5b 69 6e 66 6f 20 65 78 69    if {![info exi
1f00: 73 74 73 20 65 61 6c 6c 5d 7d 20 7b 73 65 74 20  sts eall]} {set 
1f10: 65 61 6c 6c 20 30 7d 0a 40 20 20 20 20 20 69 66  eall 0}.@     if
1f20: 20 7b 5b 69 6e 66 6f 20 65 78 69 73 74 73 20 61   {[info exists a
1f30: 6f 6e 6c 79 62 74 6e 5d 7d 20 7b 73 65 74 20 65  onlybtn]} {set e
1f40: 61 6c 6c 20 30 7d 0a 40 20 20 20 20 20 69 66 20  all 0}.@     if 
1f50: 7b 5b 69 6e 66 6f 20 65 78 69 73 74 73 20 65 61  {[info exists ea
1f60: 6c 6c 62 74 6e 5d 7d 20 7b 73 65 74 20 65 61 6c  llbtn]} {set eal
1f70: 6c 20 31 7d 0a 40 20 20 20 20 20 69 66 20 7b 21  l 1}.@     if {!
1f80: 5b 68 61 73 63 61 70 20 77 5d 7d 20 7b 73 65 74  [hascap w]} {set
1f90: 20 65 61 6c 6c 20 30 7d 0a 40 20 20 20 20 20 69   eall 0}.@     i
1fa0: 66 20 7b 21 5b 69 6e 66 6f 20 65 78 69 73 74 73  f {![info exists
1fb0: 20 63 6d 61 70 70 6e 64 5d 7d 20 7b 73 65 74 20   cmappnd]} {set 
1fc0: 63 6d 61 70 70 6e 64 20 7b 7d 7d 0a 40 20 20 20  cmappnd {}}.@   
1fd0: 20 20 73 65 74 20 6e 6c 69 6e 65 20 5b 6c 69 6e    set nline [lin
1fe0: 65 63 6f 75 6e 74 20 24 63 6f 6d 6d 65 6e 74 20  ecount $comment 
1ff0: 31 35 20 31 30 5d 0a 40 20 20 20 20 20 65 6e 61  15 10].@     ena
2000: 62 6c 65 5f 6f 75 74 70 75 74 20 24 65 61 6c 6c  ble_output $eall
2010: 0a 40 20 20 20 3c 2f 74 68 31 3e 0a 40 20 20 20  .@   </th1>.@   
2020: 20 20 44 65 73 63 72 69 70 74 69 6f 6e 20 41 6e    Description An
2030: 64 20 43 6f 6d 6d 65 6e 74 73 3a 3c 62 72 3e 0a  d Comments:<br>.
2040: 40 20 20 20 20 20 3c 74 65 78 74 61 72 65 61 20  @     <textarea 
2050: 6e 61 6d 65 3d 22 63 6f 6d 6d 65 6e 74 22 20 63  name="comment" c
2060: 6f 6c 73 3d 22 38 30 22 20 72 6f 77 73 3d 22 24  ols="80" rows="$
2070: 6e 6c 69 6e 65 22 0a 40 20 20 20 20 20 20 77 72  nline".@      wr
2080: 61 70 3d 22 76 69 72 74 75 61 6c 22 20 63 6c 61  ap="virtual" cla
2090: 73 73 3d 22 77 69 6b 69 65 64 69 74 22 3e 24 3c  ss="wikiedit">$<
20a0: 63 6f 6d 6d 65 6e 74 3e 3c 2f 74 65 78 74 61 72  comment></textar
20b0: 65 61 3e 3c 62 72 3e 0a 40 20 20 20 20 20 3c 69  ea><br>.@     <i
20c0: 6e 70 75 74 20 74 79 70 65 3d 22 68 69 64 64 65  nput type="hidde
20d0: 6e 22 20 6e 61 6d 65 3d 22 65 61 6c 6c 22 20 76  n" name="eall" v
20e0: 61 6c 75 65 3d 22 31 22 3e 0a 40 20 20 20 20 20  alue="1">.@     
20f0: 3c 69 6e 70 75 74 20 74 79 70 65 3d 22 73 75 62  <input type="sub
2100: 6d 69 74 22 20 6e 61 6d 65 3d 22 61 6f 6e 6c 79  mit" name="aonly
2110: 62 74 6e 22 20 76 61 6c 75 65 3d 22 41 70 70 65  btn" value="Appe
2120: 6e 64 20 52 65 6d 61 72 6b 22 3e 0a 40 20 20 20  nd Remark">.@   
2130: 3c 74 68 31 3e 65 6e 61 62 6c 65 5f 6f 75 74 70  <th1>enable_outp
2140: 75 74 20 5b 65 78 70 72 20 7b 21 24 65 61 6c 6c  ut [expr {!$eall
2150: 7d 5d 3c 2f 74 68 31 3e 0a 40 20 20 20 20 20 41  }]</th1>.@     A
2160: 70 70 65 6e 64 20 52 65 6d 61 72 6b 20 66 72 6f  ppend Remark fro
2170: 6d 20 0a 40 20 20 20 20 20 3c 69 6e 70 75 74 20  m .@     <input 
2180: 74 79 70 65 3d 22 74 65 78 74 22 20 6e 61 6d 65  type="text" name
2190: 3d 22 75 73 65 72 6e 61 6d 65 22 20 76 61 6c 75  ="username" valu
21a0: 65 3d 22 24 3c 75 73 65 72 6e 61 6d 65 3e 22 20  e="$<username>" 
21b0: 73 69 7a 65 3d 22 33 30 22 3e 3a 3c 62 72 3e 0a  size="30">:<br>.
21c0: 40 20 20 20 20 20 3c 74 65 78 74 61 72 65 61 20  @     <textarea 
21d0: 6e 61 6d 65 3d 22 63 6d 61 70 70 6e 64 22 20 63  name="cmappnd" c
21e0: 6f 6c 73 3d 22 38 30 22 20 72 6f 77 73 3d 22 31  ols="80" rows="1
21f0: 35 22 0a 40 20 20 20 20 20 20 77 72 61 70 3d 22  5".@      wrap="
2200: 76 69 72 74 75 61 6c 22 20 63 6c 61 73 73 3d 22  virtual" class="
2210: 77 69 6b 69 65 64 69 74 22 3e 24 3c 63 6d 61 70  wikiedit">$<cmap
2220: 70 6e 64 3e 3c 2f 74 65 78 74 61 72 65 61 3e 3c  pnd></textarea><
2230: 62 72 3e 0a 40 20 20 20 3c 74 68 31 3e 65 6e 61  br>.@   <th1>ena
2240: 62 6c 65 5f 6f 75 74 70 75 74 20 5b 65 78 70 72  ble_output [expr
2250: 20 7b 5b 68 61 73 63 61 70 20 77 5d 20 26 26 20   {[hascap w] && 
2260: 21 24 65 61 6c 6c 7d 5d 3c 2f 74 68 31 3e 0a 40  !$eall}]</th1>.@
2270: 20 20 20 20 20 3c 69 6e 70 75 74 20 74 79 70 65       <input type
2280: 3d 22 73 75 62 6d 69 74 22 20 6e 61 6d 65 3d 22  ="submit" name="
2290: 65 61 6c 6c 62 74 6e 22 20 76 61 6c 75 65 3d 22  eallbtn" value="
22a0: 45 64 69 74 20 41 6c 6c 22 3e 0a 40 20 20 20 3c  Edit All">.@   <
22b0: 74 68 31 3e 65 6e 61 62 6c 65 5f 6f 75 74 70 75  th1>enable_outpu
22c0: 74 20 31 3c 2f 74 68 31 3e 0a 40 20 20 20 3c 2f  t 1</th1>.@   </
22d0: 74 64 3e 3c 2f 74 72 3e 0a 40 20 20 20 3c 74 72  td></tr>.@   <tr
22e0: 3e 3c 74 64 20 61 6c 69 67 6e 3d 22 72 69 67 68  ><td align="righ
22f0: 74 22 3e 3c 2f 74 64 3e 3c 74 64 3e 0a 40 20 20  t"></td><td>.@  
2300: 20 3c 69 6e 70 75 74 20 74 79 70 65 3d 22 73 75   <input type="su
2310: 62 6d 69 74 22 20 6e 61 6d 65 3d 22 73 75 62 6d  bmit" name="subm
2320: 69 74 22 20 76 61 6c 75 65 3d 22 53 75 62 6d 69  it" value="Submi
2330: 74 20 43 68 61 6e 67 65 73 22 3e 0a 40 20 20 20  t Changes">.@   
2340: 3c 2f 74 64 3e 3c 2f 74 72 3e 0a 40 20 20 20 3c  </td></tr>.@   <
2350: 2f 74 61 62 6c 65 3e 0a 40 20 7d 0a 40 20 0a 40  /table>.@ }.@ .@
2360: 20 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23   ###############
2370: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
2380: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
2390: 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23 23  ################
23a0: 23 23 23 23 23 23 23 23 23 23 23 0a 40 20 23 20  ###########.@ # 
23b0: 54 68 65 20 74 65 6d 70 6c 61 74 65 20 66 6f 72  The template for
23c0: 20 74 68 65 20 22 76 69 65 77 20 74 69 63 6b 65   the "view ticke
23d0: 74 22 20 70 61 67 65 0a 40 20 73 65 74 20 74 6b  t" page.@ set tk
23e0: 74 76 69 65 77 5f 74 65 6d 70 6c 61 74 65 20 7b  tview_template {
23f0: 0a 40 20 20 20 3c 21 2d 2d 20 6c 6f 61 64 20 64  .@   <!-- load d
2400: 61 74 61 62 61 73 65 20 66 69 65 6c 64 73 20 61  atabase fields a
2410: 75 74 6f 6d 61 74 69 63 61 6c 6c 79 20 6c 6f 61  utomatically loa
2420: 64 65 64 20 69 6e 74 6f 20 76 61 72 69 61 62 6c  ded into variabl
2430: 65 73 20 2d 2d 3e 0a 40 20 20 20 3c 74 61 62 6c  es -->.@   <tabl
2440: 65 20 63 65 6c 6c 70 61 64 64 69 6e 67 3d 22 35  e cellpadding="5
2450: 22 3e 0a 40 20 20 20 3c 74 72 3e 3c 74 64 20 61  ">.@   <tr><td a
2460: 6c 69 67 6e 3d 22 72 69 67 68 74 22 3e 54 69 74  lign="right">Tit
2470: 6c 65 3a 3c 2f 74 64 3e 3c 74 64 3e 0a 40 20 20  le:</td><td>.@  
2480: 20 24 3c 74 69 74 6c 65 3e 0a 40 20 20 20 3c 2f   $<title>.@   </
2490: 74 64 3e 3c 2f 74 72 3e 0a 40 20 20 20 3c 74 72  td></tr>.@   <tr
24a0: 3e 3c 74 64 20 61 6c 69 67 6e 3d 22 72 69 67 68  ><td align="righ
24b0: 74 22 3e 53 74 61 74 75 73 3a 3c 2f 74 64 3e 3c  t">Status:</td><
24c0: 74 64 3e 0a 40 20 20 20 24 3c 73 74 61 74 75 73  td>.@   $<status
24d0: 3e 0a 40 20 20 20 3c 2f 74 64 3e 3c 2f 74 72 3e  >.@   </td></tr>
24e0: 0a 40 20 20 20 3c 74 72 3e 3c 74 64 20 61 6c 69  .@   <tr><td ali
24f0: 67 6e 3d 22 72 69 67 68 74 22 3e 54 79 70 65 3a  gn="right">Type:
2500: 3c 2f 74 64 3e 3c 74 64 3e 0a 40 20 20 20 24 3c  </td><td>.@   $<
2510: 74 79 70 65 3e 0a 40 20 20 20 3c 2f 74 64 3e 3c  type>.@   </td><
2520: 2f 74 72 3e 0a 40 20 20 20 3c 74 72 3e 3c 74 64  /tr>.@   <tr><td
2530: 20 61 6c 69 67 6e 3d 22 72 69 67 68 74 22 3e 53   align="right">S
2540: 65 76 65 72 69 74 79 3a 3c 2f 74 64 3e 3c 74 64  everity:</td><td
2550: 3e 0a 40 20 20 20 24 3c 73 65 76 65 72 69 74 79  >.@   $<severity
2560: 3e 0a 40 20 20 20 3c 2f 74 64 3e 3c 2f 74 72 3e  >.@   </td></tr>
2570: 0a 40 20 20 20 3c 74 72 3e 3c 74 64 20 61 6c 69  .@   <tr><td ali
2580: 67 6e 3d 22 72 69 67 68 74 22 3e 50 72 69 6f 72  gn="right">Prior
2590: 69 74 79 3a 3c 2f 74 64 3e 3c 74 64 3e 0a 40 20  ity:</td><td>.@ 
25a0: 20 20 24 3c 70 72 69 6f 72 69 74 79 3e 0a 40 20    $<priority>.@ 
25b0: 20 20 3c 2f 74 64 3e 3c 2f 74 72 3e 0a 40 20 20    </td></tr>.@  
25c0: 20 3c 74 72 3e 3c 74 64 20 61 6c 69 67 6e 3d 22   <tr><td align="
25d0: 72 69 67 68 74 22 3e 52 65 73 6f 6c 75 74 69 6f  right">Resolutio
25e0: 6e 3a 3c 2f 74 64 3e 3c 74 64 3e 0a 40 20 20 20  n:</td><td>.@   
25f0: 24 3c 72 65 73 6f 6c 75 74 69 6f 6e 3e 0a 40 20  $<resolution>.@ 
2600: 20 20 3c 2f 74 64 3e 3c 2f 74 72 3e 0a 40 20 20    </td></tr>.@  
2610: 20 3c 74 72 3e 3c 74 64 20 61 6c 69 67 6e 3d 22   <tr><td align="
2620: 72 69 67 68 74 22 3e 53 75 62 73 79 73 74 65 6d  right">Subsystem
2630: 3a 3c 2f 74 64 3e 3c 74 64 3e 0a 40 20 20 20 24  :</td><td>.@   $
2640: 3c 73 75 62 73 79 73 74 65 6d 3e 0a 40 20 20 20  <subsystem>.@   
2650: 3c 2f 74 64 3e 3c 2f 74 72 3e 0a 40 20 20 20 3c  </td></tr>.@   <
2660: 74 68 31 3e 65 6e 61 62 6c 65 5f 6f 75 74 70 75  th1>enable_outpu
2670: 74 20 5b 68 61 73 63 61 70 20 65 5d 3c 2f 74 68  t [hascap e]</th
2680: 31 3e 0a 40 20 20 20 20 20 3c 74 72 3e 3c 74 64  1>.@     <tr><td
2690: 20 61 6c 69 67 6e 3d 22 72 69 67 68 74 22 3e 43   align="right">C
26a0: 6f 6e 74 61 63 74 3a 3c 2f 74 64 3e 3c 74 64 3e  ontact:</td><td>
26b0: 0a 40 20 20 20 20 20 24 3c 63 6f 6e 74 61 63 74  .@     $<contact
26c0: 3e 0a 40 20 20 20 20 20 3c 2f 74 64 3e 3c 2f 74  >.@     </td></t
26d0: 72 3e 0a 40 20 20 20 3c 74 68 31 3e 65 6e 61 62  r>.@   <th1>enab
26e0: 6c 65 5f 6f 75 74 70 75 74 20 31 3c 2f 74 68 31  le_output 1</th1
26f0: 3e 0a 40 20 20 20 3c 74 72 3e 3c 74 64 20 61 6c  >.@   <tr><td al
2700: 69 67 6e 3d 22 72 69 67 68 74 22 3e 56 65 72 73  ign="right">Vers
2710: 69 6f 6e 26 6e 62 73 70 3b 46 6f 75 6e 64 26 6e  ion&nbsp;Found&n
2720: 62 73 70 3b 49 6e 3a 3c 2f 74 64 3e 3c 74 64 3e  bsp;In:</td><td>
2730: 0a 40 20 20 20 24 3c 66 6f 75 6e 64 69 6e 3e 0a  .@   $<foundin>.
2740: 40 20 20 20 3c 2f 74 64 3e 3c 2f 74 72 3e 0a 40  @   </td></tr>.@
2750: 20 20 20 3c 74 72 3e 3c 74 64 20 63 6f 6c 73 70     <tr><td colsp
2760: 61 6e 3d 22 32 22 3e 0a 40 20 20 20 44 65 73 63  an="2">.@   Desc
2770: 72 69 70 74 69 6f 6e 20 41 6e 64 20 43 6f 6d 6d  ription And Comm
2780: 65 6e 74 73 3a 3c 62 72 3e 0a 40 20 20 20 3c 74  ents:<br>.@   <t
2790: 68 31 3e 77 69 6b 69 20 24 63 6f 6d 6d 65 6e 74  h1>wiki $comment
27a0: 3c 2f 74 68 31 3e 0a 40 20 20 20 3c 2f 74 64 3e  </th1>.@   </td>
27b0: 3c 2f 74 72 3e 0a 40 20 20 20 3c 2f 74 61 62 6c  </tr>.@   </tabl
27c0: 65 3e 0a 40 20 7d 0a 3b 0a                       e>.@ }.;.