Diff
Not logged in

Differences From:

File src/tktsetup.c part of check-in [efb759a07d] - Change the default subsystem list for tickets to an empty set. Update documentation to begin making a clearer distinction between local state and global state. by drh on 2008-10-26 02:16:51. [view]

To:

File src/tktsetup.c part of check-in [6bcff72d23] - Add a "Preview" button to the default Edit Ticket screen configuration. by drh on 2008-11-26 02:36:17. [view]

@@ -492,17 +492,35 @@
 @   <textarea name="comment" cols="80" rows="$nline"
 @    wrap="virtual" class="wikiedit">$<comment></textarea><br>
 @   <input type="hidden" name="eall" value="1">
 @   <input type="submit" name="aonlybtn" value="Append Remark">
+@   <input type="submit" name="preview1btn" value="Preview">
 @ <th1>enable_output [expr {!$eall}]</th1>
 @   Append Remark from
 @   <input type="text" name="username" value="$<username>" size="30">:<br>
 @   <textarea name="cmappnd" cols="80" rows="15"
 @    wrap="virtual" class="wikiedit">$<cmappnd></textarea><br>
 @ <th1>enable_output [expr {[hascap w] && !$eall}]</th1>
 @   <input type="submit" name="eallbtn" value="Edit All">
+@ <th1>enable_output [expr {!$eall}]</th1>
+@   <input type="submit" name="preview2btn" value="Preview">
 @ <th1>enable_output 1</th1>
+@ </td></tr>
+@
+@ <th1>enable_output [info exists preview1btn]</th1>
+@ <tr><td colspan="2">
+@ Description Preview:<br><hr>
+@ <th1>wiki $comment</th1>
+@ <hr>
+@ </td></tr>
+@ <th1>enable_output [info exists preview2btn]</th1>
+@ <tr><td colspan="2">
+@ Description Preview:<br><hr>
+@ <th1>wiki $cmappnd</th1>
+@ <hr>
 @ </td></tr>
+@ <th1>enable_output 1</th1>
+@
 @ <tr><td align="right"></td><td>
 @ <input type="submit" name="submit" value="Submit Changes">
 @ <input type="submit" name="cancel" value="Cancel">
 @ </td></tr>