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

ruz at bestpractical.com ruz at bestpractical.com
Mon Dec 24 18:47:46 EST 2007


Author: ruz
Date: Mon Dec 24 18:47:46 2007
New Revision: 10075

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

Log:
 r9827 at cubic-pc (orig r9826):  ruz | 2007-12-05 21:43:53 +0300
 * use key selector


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 Dec 24 18:47:46 2007
@@ -153,7 +153,15 @@
 % if ( RT->Config->Get('GnuPG')->{'Enable'} ) {
 <tr>
 <td><% loc('Sign')%></td>
-<td><& /Widgets/Form/Boolean:InputOnly, Name => 'Sign', CurrentValue => $ARGS{'Sign'} &></td>
+<td><& /Widgets/Form/Boolean:InputOnly, Name => 'Sign', CurrentValue => $ARGS{'Sign'} &>
+<%PERL>
+    my @signers = ( 
+        ($QueueObj->CorrespondAddress || RT->Config->Get('CorrespondAddress')),
+        $session{'CurrentUser'}->EmailAddress,
+    );
+</%PERL>
+using <& /Elements/SelectKeyForSigning, Addresses => \@signers &>
+</td>
 <td><% loc('Encrypt')%></td>
 <td><& /Widgets/Form/Boolean:InputOnly, Name => 'Encrypt', CurrentValue => $ARGS{'Encrypt'} &></td>
 <td colspan="2">&nbsp;</td>


More information about the Rt-commit mailing list