Overview
SHA1 Hash: | 6bcff72d23a42482562a2b4e46e0059ff276ece3 |
---|---|
Date: | 2008-11-26 02:36:17 |
User: | drh |
Comment: | Add a "Preview" button to the default Edit Ticket screen configuration. |
Timelines: | ancestors | descendants | both | trunk |
Other Links: | files | ZIP archive | manifest |
Tags And Properties
- branch=trunk inherited from [a28c83647d]
- sym-trunk inherited from [a28c83647d]
Changes
[hide diffs]Modified src/tktsetup.c from [866d7baa7c] to [893b046bc6].
@@ -491,19 +491,37 @@ @ Description And Comments:<br> @ <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> @ </table>