Not logged in
Diff

Differences From Artifact [60a45e0840]:

  • File src/tktconfig.c — part of check-in [ffe92f1a2f] at 2008-02-13 19:50:27 on branch trunk — The entire header, including the menu bar, is now generated by TH script. This allows the menu bar to be customized by editing the header script. (user: drh size: 10397)

To Artifact [ef74b37d75]:

  • File src/tktconfig.c — part of check-in [fde1d82372] at 2008-02-13 22:31:59 on branch trunk — Cut over all code to use TH1 instead of subscript. Completely remove the subscript interpreter from the source tree. (user: drh size: 10127)

163
164
165
166
167
168
169
170
171
172
173
174

175
176
177
178
179
180
181
182
183
184
163
164
165
166
167
168
169





170



171
172
173
174
175
176
177







-
-
-
-
-
+
-
-
-







@   <tr>
@   <td colspan="2">
@   Enter a detailed description of the problem.
@   For code defects, be sure to provide details on exactly how
@   the problem can be reproduced.  Provide as much detail as
@   possible.
@   <br>
@   <th1>
@      if {![info exists comment]} {
@        set nline 10
@      } else {
@        set nline [linecount $comment]
@   <th1>set nline [linecount $comment 50 10]</th1>
@        if {$nline>50} {set nline 50}
@      }
@   </th1>
@   <textarea name="comment" cols="80" rows="$nline"
@    wrap="virtual" class="wikiedit">$<comment></textarea><br>
@   <input type="submit" name="preview" value="Preview">
@   </tr>
@ 
@   <th1>enable_output [info exists preview]</th1>
@   <tr><td colspan="2">
250
251
252
253
254
255
256
257
258
259
260
261
262
263






264
265


266
267

268
269

270
271
272
273

274
275

276
277
278


279
280
281

282
283
284
285
286
287

288
289
290
291
292
293
294
243
244
245
246
247
248
249







250
251
252
253
254
255


256
257
258

259


260
261
262


263
264

265
266


267
268
269


270
271
272
273
274
275

276
277
278
279
280
281
282
283







-
-
-
-
-
-
-
+
+
+
+
+
+
-
-
+
+

-
+
-
-
+


-
-
+

-
+

-
-
+
+

-
-
+





-
+







@     <input type="text" name="contact" size="40" value="$<contact>">
@     </td></tr>
@   <th1>enable_output 1</th1>
@   <tr><td align="right">Version&nbsp;Found&nbsp;In:</td><td>
@   <input type="text" name="foundin" size="50" value="$<foundin>">
@   </td></tr>
@   <tr><td colspan="2">
@
@   [
@      0 /eall get /eall set           # eall means "edit all".  default==no
@      /aonlybtn exists not /eall set  # Edit all if no aonlybtn CGI param
@      /eallbtn exists /eall set       # Edit all if eallbtn CGI param
@      /w hascap eall and /eall set    # WrTkt permission needed to edit all
@   ]
@   <th1>
@     if {![info exists eall]} {set eall 0}
@     if {[info exists aonlybtn]} {set eall 0}
@     if {[info exists eallbtn]} {set eall 1}
@     if {![hascap w]} {set eall 0}
@     set nline [linecount $comment 15 10]
@ 
@   [eall enable_output]
@     enable_output $eall
@   </th1>
@     Description And Comments:<br>
@     <textarea name="comment" cols="80" 
@     <textarea name="comment" cols="80" rows="$nline"
@      rows="[{} /comment get linecount 15 max 10 min html]"
@      wrap="virtual" class="wikiedit">[comment html]</textarea><br>
@      wrap="virtual" class="wikiedit">$<comment></textarea><br>
@     <input type="hidden" name="eall" value="1">
@     <input type="submit" name="aonlybtn" value="Append Remark">
@   
@   [eall not enable_output]
@   <th1>enable_output [expr {!$eall}]</th>
@     Append Remark from 
@     <input type="text" name="username" value="[username html]" size="30">:<br>
@     <input type="text" name="username" value="$<username>" size="30">:<br>
@     <textarea name="cmappnd" cols="80" rows="15"
@      wrap="virtual" class="wikiedit">[{} /cmappnd get html]</textarea><br>
@     [/w hascap eall not and enable_output]
@      wrap="virtual" class="wikiedit">$<cmappnd></textarea><br>
@   <th1>enable_output [expr {[hascap w] && !$eall}]</th1>
@     <input type="submit" name="eallbtn" value="Edit All">
@
@   [1 enable_output]
@   <th1>enable_output 1</th1>
@   </td></tr>
@   <tr><td align="right"></td><td>
@   <input type="submit" name="submit" value="Submit Changes">
@   </td></tr>
@   </table>
@ } /tktedit_template set
@ }
@ 
@ ##########################################################################
@ # The template for the "view ticket" page
@ set tktview_template {
@   <!-- load database fields automatically loaded into variables -->
@   <table cellpadding="5">
@   <tr><td align="right">Title:</td><td>