[Rt-commit] r7508 - in rt/branches/3.7-EXPERIMENTAL: .

ruz at bestpractical.com ruz at bestpractical.com
Mon Apr 16 08:51:02 EDT 2007


Author: ruz
Date: Mon Apr 16 08:51:01 2007
New Revision: 7508

Modified:
   rt/branches/3.7-EXPERIMENTAL/   (props changed)
   rt/branches/3.7-EXPERIMENTAL/html/Ticket/Create.html
   rt/branches/3.7-EXPERIMENTAL/html/Ticket/Update.html

Log:
 r4916 at cubic-pc:  cubic | 2007-04-11 00:01:56 +0400
 * add Sign/Encrypt to reply page


Modified: rt/branches/3.7-EXPERIMENTAL/html/Ticket/Create.html
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Ticket/Create.html	(original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Ticket/Create.html	Mon Apr 16 08:51:01 2007
@@ -259,7 +259,7 @@
 foreach ( qw(Sign Encrypt) ) {
     $ARGS{ $_ } = $m->comp( '/Widgets/Form/Boolean:Process',
         Name => $_,
-        CurrentValue => $QueueObj->$_,
+        DefaultValue => $QueueObj->$_,
         Arguments => \%ARGS,
     );
 }

Modified: rt/branches/3.7-EXPERIMENTAL/html/Ticket/Update.html
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Ticket/Update.html	(original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Ticket/Update.html	Mon Apr 16 08:51:01 2007
@@ -107,6 +107,14 @@
 
 <tr><td align="right"><&|/l&>Attach</&>:</td><td><input name="Attach" type="file" /><input type="submit" class="button" name="AddMoreAttach" value="<&|/l&>Add More Files</&>" /><input type="hidden" class="hidden" name="UpdateAttach" value="1" />
 </td></tr>
+
+<tr><td>&nbsp;</td><td><table>
+<td><% loc('Sign')%></td>
+<td><& /Widgets/Form/Boolean:InputOnly, Name => 'Sign', CurrentValue => $ARGS{'Sign'} &></td>
+<td><% loc('Encrypt')%></td>
+<td><& /Widgets/Form/Boolean:InputOnly, Name => 'Encrypt', CurrentValue => $ARGS{'Encrypt'} &></td>
+</table></td></tr>
+
 <tr><td align="right" valign="top"><&|/l&>Message</&>:</td><td>
 % $m->callback( CallbackName => 'BeforeMessageBox', %ARGS );
 % if (exists $ARGS{UpdateContent}) {
@@ -150,6 +158,14 @@
     $title = loc("Update ticket #[_1] ([_2])", $TicketObj->id, $TicketObj->Subject);
 }
 
+foreach ( qw(Sign Encrypt) ) {
+    $ARGS{ $_ } = $m->comp( '/Widgets/Form/Boolean:Process',
+        Name => $_,
+        DefaultValue => $TicketObj->QueueObj->$_,
+        Arguments => \%ARGS,
+    );
+}
+
 # Things needed in the template - we'll do the processing here, just
 # for the convenience:
 


More information about the Rt-commit mailing list